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
53
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
86
Proxy Server
izeeshan
1
370
Multi-Threading using NSOperation
izeeshan
0
290
Other Decks in Technology
See All in Technology
金融サービスにおける高速な価値提供とAIの役割 #BetAIDay
layerx
PRO
1
750
S3 Glacier のデータを Athena からクエリしようとしたらどうなるのか/try-to-query-s3-glacier-from-athena
emiki
0
190
Amazon Qで2Dゲームを作成してみた
siromi
0
110
【CEDEC2025】『ウマ娘 プリティーダービー』における映像制作のさらなる高品質化へ!~ 豊富な素材出力と制作フローの改善を実現するツールについて~
cygames
PRO
0
230
Google Agentspaceを実際に導入した効果と今後の展望
mixi_engineers
PRO
3
340
Kiroから考える AIコーディングツールの潮流
s4yuba
4
670
OPENLOGI Company Profile for engineer
hr01
1
37k
✨敗北解法コレクション✨〜Expertだった頃に足りなかった知識と技術〜
nanachi
1
570
Rubyの国のPerlMonger
anatofuz
3
730
Findy Freelance 利用シーン別AI活用例
ness
0
320
【新卒研修資料】数理最適化 / Mathematical Optimization
brainpadpr
25
12k
隙間時間で爆速開発! Claude Code × Vibe Coding で作るマニュアル自動生成サービス
akitomonam
3
250
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
2.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.2k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
Optimizing for Happiness
mojombo
379
70k
Six Lessons from altMBA
skipperchong
28
3.9k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Git: the NoSQL Database
bkeepers
PRO
431
65k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Raft: Consensus for Rubyists
vanstee
140
7.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Docker and Python
trallard
45
3.5k
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!