Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Core Data Migration
Search
Zeeshan Khan
November 10, 2014
Technology
0
46
Core Data Migration
A presentation on database migration.
Zeeshan Khan
November 10, 2014
Tweet
Share
More Decks by Zeeshan Khan
See All by Zeeshan Khan
Multithreading using NSOperation - 2
izeeshan
0
78
Proxy Server
izeeshan
1
350
Multi-Threading using NSOperation
izeeshan
0
270
Other Decks in Technology
See All in Technology
2.5Dモデルのすべて
yu4u
2
830
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
57k
現場の種を事業の芽にする - エンジニア主導のイノベーションを事業戦略に装着する方法 -
kzkmaeda
2
2k
AndroidXR 開発ツールごとの できることできないこと
donabe3
0
130
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
2
330
【Developers Summit 2025】プロダクトエンジニアから学ぶ、 ユーザーにより高い価値を届ける技術
niwatakeru
2
1.3k
データ資産をシームレスに伝達するためのイベント駆動型アーキテクチャ
kakehashi
PRO
2
510
オブザーバビリティの観点でみるAWS / AWS from observability perspective
ymotongpoo
8
1.4k
「海外登壇」という 選択肢を与えるために 〜Gophers EX
logica0419
0
700
リーダブルテストコード 〜メンテナンスしやすい テストコードを作成する方法を考える〜 #DevSumi #DevSumiB / Readable test code
nihonbuson
11
7.1k
白金鉱業Meetup Vol.17_あるデータサイエンティストのデータマネジメントとの向き合い方
brainpadpr
5
600
Swiftの “private” を テストする / Testing Swift "private"
yutailang0119
0
130
Featured
See All Featured
Making Projects Easy
brettharned
116
6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Statistics for Hackers
jakevdp
797
220k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
Side Projects
sachag
452
42k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Faster Mobile Websites
deanohume
306
31k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
Into the Great Unknown - MozCon
thekraken
35
1.6k
Transcript
Core Data Migration @zeeshan_khan
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?
Core Data Terms • A Model • A Store •
A Coordinator • A Context Managed Object Context Persistent Store Coordinator Persistent Store Managed Object Model
Problem & Solution
Migration • When is it required? • Requirements for migration.
• Changes that don’t require migration. • How it works? • Initialization of Core Data • The Process...
Migration Ways • Lightweight • ’s Term, Less work, Simple
Changes... • Manual • A little more work, need mapping model • Custom (For complex transformation) • Fully Manual
Lightweight • Adding a version • Migrating with code
Manual • Adding a version • Adding a mapping model
• Migrating with code
Manual Demo
The mo-generator
What next?
References • iWrite (Presentation Data) • iCode (Sample Code)
Thanks!