Swiftdata

Implement, review, or improve data persistence using SwiftData. Use when defining @Model classes with @Attribute, @Relationship, @Transient, @Unique, or @Index; when querying with @Query, #Predicate, FetchDescriptor, or SortDescriptor; when configuring ModelContainer and ModelContext for SwiftUI or background work with @ModelActor; when planning schema migrations with VersionedSchema and SchemaMigrationPlan; when setting up CloudKit sync with ModelConfiguration; or when coexisting with or migrating from Core Data.

jordancoin a7927bd 4 files · 70.8 KB Updated

File contents

jordancoin/ios-skills-collection/tree/main/skills/dpearson2699--swiftdata commit a7927bd222

Frequently asked questions

npx skillmds@latest add jordancoin/swiftdata