Overview
Syllabus
Intro
Core Data Stack: ios10
Managed Object Model
Schema Changes
The Dreaded Persistent Store / Data Model Mismatch Exception
Option 1: Delete the app and reinstall
Option 2: Core Data Migrations
Lightweight Migrations
Configure Core Data Stack
Some help from editor
Case 2
Define Custom Mapping
Case 3
Custom Migration Policy (3/3)
Manual
Testif Migration is Needed
Migrate Stores Progressively
Identity Model compatible with Store
Migrate Store from src to dst model
Find Mapping Model
NoSQL Option for Persisting Data
Data Modeling
JSON to Native Mapping
NoSQL: Example 2
Couchbase Lite
Resources
Taught by
try! Swift Conference