Scaffolding for starting a new project in the MVVM style using SwiftUI and SPM
Make sure you have familiarized yourself somewhat with the concepts in the MVVM playground located here
- Clone repo
- Allow packages to resolve
- Name your project
- Rename project: Tap main project, top left -> File inspector -> Identity and Type -> Name -> enter new name and tap 'enter' -> Tap 'Rename'
- Rename the scheme: Tap the scheme -> Manage schemes -> change the name of the PROJECT_NAME scheme.
- In
EnvVars
andLiveDependencies
in the main target replace placeholders with your own environment values - In .xcconfig files insert your own urls
- Insert the project specific NStack keys in the NStack.plist file, located in the App folder
- Insert your own colors in Colors.xcassets and Colors.swift in Style bundle
- Insert your own fonts in /Fonts and Fonts.swift in Style bundle
- Fix font names in RegisterFonts.swift
- Drop your own shared assets in Assets.xcassets and Assets.swift in Style bundle
- Delete the
.git
folder and rungit init
, so you're using a new repo for your project and not the template repo