Type Safely

Type Safely

Separating SwiftUI Views And Models Into Swift Packages

Daily Coding Tip 070

Millie Sturgeon's avatar
Millie Sturgeon
Apr 23, 2022
∙ Paid
Image by ha11ok from Pixabay

MyViews package

Open Xcode and click File > New > Package… or alternatively press Command, Control, Shift and N. It’s useful to create a new folder for this project, which you can do with the New folder button when you’ve decided where you want to put your files. I called my new folder PackagesExample, but the name doesn’t mat…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture