YoVDO

Core Data Migrations - Can We Do Better?

Offered By: try! Swift Conference via YouTube

Tags

try! Swift Conference Courses iOS Development Courses NoSQL Databases Courses Data Persistence Courses Database Migration Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

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

Related Courses

Mobile Application Experiences Part 1: From a Domain to an App Idea
Massachusetts Institute of Technology via edX
Programmation sur iPhone et iPad
Sorbonne University via France Université Numerique
Intro to iOS App Development with Swift
Udacity
Programmation sur iPhone et iPad (partie I)
Université Pierre et Marie CURIE via France Université Numerique
Introduction to Office 365 Development and APIs
Microsoft via edX