Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
55
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
96
Proxy Server
izeeshan
1
380
Multi-Threading using NSOperation
izeeshan
0
310
Other Decks in Technology
See All in Technology
Reinforcement Fine-tuning 基礎〜実践まで
ch6noota
0
170
「Managed Instances」と「durable functions」で広がるAWS Lambdaのユースケース
lamaglama39
0
300
グレートファイアウォールを自宅に建てよう
ctes091x
0
140
AI時代の開発フローとともに気を付けたいこと
kkamegawa
0
2.9k
チーリンについて
hirotomotaguchi
6
1.8k
AWS re:Invent 2025で見たGrafana最新機能の紹介
hamadakoji
0
330
AWSを使う上で最低限知っておきたいセキュリティ研修を社内で実施した話 ~みんなでやるセキュリティ~
maimyyym
2
290
MapKitとオープンデータで実現する地図情報の拡張と可視化
zozotech
PRO
1
130
ガイドラインを軸にしたウェブアクセシビリティ改善
lycorptech_jp
PRO
1
100
AIと二人三脚で育てた、個人開発アプリグロース術
zozotech
PRO
1
710
re:Invent2025 コンテナ系アップデート振り返り(+CloudWatchログのアップデート紹介)
masukawa
0
350
因果AIへの招待
sshimizu2006
0
950
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
How to train your dragon (web standard)
notwaldorf
97
6.4k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Scaling GitHub
holman
464
140k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Code Reviewing Like a Champion
maltzj
527
40k
Writing Fast Ruby
sferik
630
62k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Faster Mobile Websites
deanohume
310
31k
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!