Swift Persistence
Instructions
Step 1: Choose the framework
Ask if not already specified:
SwiftData or CoreData?
| | SwiftData | CoreData | |---|---|---| | Min iOS | iOS 17+ | iOS 8+ | | Syntax | @Model macro, Swift-native | NSManagedObject, Objective-C roots | | Recommended for | New projects on iOS 17+ | Legacy projects, complex migration needs |
Then load the matching reference:
- SwiftData →
references/swiftdata.md - CoreData →
references/coredata.md
Step 2: D
[Description truncada. Veja o README completo no GitHub.]