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
Share
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…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture