Concise guides for modern Swift/SwiftUI apps.
Create a new Xcode project: iOS App → SwiftUI + Swift. Then paste the minimal files from a guide into your project:
TodosVM.swift).TodosRepo.swift).ContentView.swift or a new view, and set it in @main App.Optional CLI helpers
# Open the current folder in Xcode (macOS)
open .
# Format with swift-format if installed
swift-format -i -r .
Tips
@MainActor on view models that publish UI state.See also: ../sandboxes/ios-swiftui for a minimal SwiftUI skeleton to drop code into.