Главная
Study mode:
on
1
Intro
2
Core Data Stack: ios10
3
Managed Object Model
4
Schema Changes
5
The Dreaded Persistent Store / Data Model Mismatch Exception
6
Option 1: Delete the app and reinstall
7
Option 2: Core Data Migrations
8
Lightweight Migrations
9
Configure Core Data Stack
10
Some help from editor
11
Case 2
12
Define Custom Mapping
13
Case 3
14
Custom Migration Policy (3/3)
15
Manual
16
Testif Migration is Needed
17
Migrate Stores Progressively
18
Identity Model compatible with Store
19
Migrate Store from src to dst model
20
Find Mapping Model
21
NoSQL Option for Persisting Data
22
Data Modeling
23
JSON to Native Mapping
24
NoSQL: Example 2
25
Couchbase Lite
26
Resources
Description:
Explore Core Data migration strategies and a NoSQL alternative in this 25-minute conference talk from try! Swift NYC 2017. Dive into lightweight and custom migration techniques for handling database schema changes in Core Data. Learn about the challenges of data migrations and discover how NoSQL databases, specifically Couchbase Mobile, can eliminate the need for data models and simplify the migration process. Gain insights from speaker Priya Rajagopal, a Mobile Developer Advocate, as she walks through practical examples and provides a comprehensive overview of database migration options for Swift developers.

Core Data Migrations - Can We Do Better?

try! Swift Conference
Add to list
0:00 / 0:00