MODULAR IOS

How to make reusable SwiftUI code using frameworks

Learn how to modularise a SwiftUI based framework for iOS

Photo by Tekton on Unsplash

This is an update to my original post Reusing code with Swift frameworks. The original post showed how to reuse UIKit based code packaged as a framework. Since then Apple has introduced SwiftUI and this post will show you how to reuse your

--

--

--

Senior iOS Engineer at Travelperk. 7+ years experience with iOS and Swift. Blogging my knowledge and experience.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Xcodegen vs. Tuist vs. Bazel — Comparing the 3 Tools to Supercharge Your iOS Projects

Protocols in Swift Programming

4 iOS tips to speed up development with XcodeProjects

Using SF Symbols in SwiftUI — Tutorial

Creating a scheduled XCUITest(iOS) regression pipeline using GitLab

Swift for AWS Lambda — 2

Integrating Firebase Crashlytics for Multiple Targets in iOS — Part II

Hunting down phantom mock instances in XCTestCases

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Anurag Ajwani

Anurag Ajwani

Senior iOS Engineer at Travelperk. 7+ years experience with iOS and Swift. Blogging my knowledge and experience.

More from Medium

Use Read Write lock to solve data racing in Swift

iOS | CI on fastlane and github actions [1]

Batch Convert XCode String files, from utf-16 to utf-8

Format On Save — Xcode / Swift