Developers
Data and architecture
- CloudKit sync with SwiftData and CKSyncEngine: rules, schema deploy, conflicts Make SwiftData models sync through CloudKit, deploy the schema to Production, and build custom sync with CKSyncEngine, including account changes and conflicts.
- Core Data to SwiftData migration: coexistence, reusing the store, and when to stay Move a Core Data app to SwiftData without losing data: reuse the existing store, run both stacks side by side, map types, and know what SwiftData still lacks.
- iOS app architecture in SwiftUI: MVVM, plain MV, TCA and clean architecture MVVM with @Observable, plain SwiftUI MV, The Composable Architecture and clean architecture compared honestly, with the app and team size each one fits.
- Modularize an iOS app with local Swift packages Split an iOS app into local Swift packages by feature: layout, public and package access, resources with Bundle.module, dependency direction and build times.
- SwiftData models and queries: @Model, @Query, #Predicate and @ModelActor Define SwiftData models and relationships, filter and sort with @Query and #Predicate, do background work with @ModelActor, and use model inheritance on iOS 26.
- SwiftData schema migrations: VersionedSchema, migration plans and the traps Version a SwiftData schema, write lightweight and custom migration stages, avoid the mistakes that crash at launch or lose data, and test upgrades by hand.