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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
100
Proxy Server
izeeshan
1
390
Multi-Threading using NSOperation
izeeshan
0
310
Other Decks in Technology
See All in Technology
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
500
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
180
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
480
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.4k
入社1ヶ月でデータパイプライン講座を作った話
waiwai2111
1
260
AWS Network Firewall Proxyを触ってみた
nagisa53
0
160
なぜ今、コスト最適化(倹約)が必要なのか? ~AWSでのコスト最適化の進め方「目的編」~
htan
1
110
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
4.9k
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
140
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
570
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
420
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
220
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
310
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
Prompt Engineering for Job Search
mfonobong
0
160
Leo the Paperboy
mayatellez
4
1.4k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
300
Balancing Empowerment & Direction
lara
5
880
Ethics towards AI in product and experience design
skipperchong
2
190
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.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!