Core Data
• What is it?
• A Framework, APIs
• Why shall we use it over sqlite?
• All objects, SQL-less queries, Lesser time...
• How does it work?
Slide 3
Slide 3 text
Core Data Terms
• A Model
• A Store
• A Coordinator
• A Context
Managed
Object
Context
Persistent
Store
Coordinator
Persistent
Store
Managed
Object
Model
Slide 4
Slide 4 text
Problem & Solution
Slide 5
Slide 5 text
Migration
• When is it required?
• Requirements for migration.
• Changes that don’t require migration.
• How it works?
• Initialization of Core Data
• The Process...
Slide 6
Slide 6 text
Migration Ways
• Lightweight
• ’s Term, Less work, Simple Changes...
• Manual
• A little more work, need mapping model
• Custom (For complex transformation)
• Fully Manual
Slide 7
Slide 7 text
Lightweight
• Adding a version
• Migrating with code
Slide 8
Slide 8 text
Manual
• Adding a version
• Adding a mapping model
• Migrating with code