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
56
0
Share
Core Data Migration
A presentation on database migration.
Zeeshan Khan
November 10, 2014
More Decks by Zeeshan Khan
See All by Zeeshan Khan
Multithreading using NSOperation - 2
izeeshan
0
110
Proxy Server
izeeshan
1
390
Multi-Threading using NSOperation
izeeshan
0
320
Other Decks in Technology
See All in Technology
AI時代にデータ基盤が持つべきCapabilityを考える + Snowflake Data Superheroやっていき宣言 / Considering the Capabilities Data Platforms Should Have in the AI Era + Declaration of Commitment as a Snowflake Data Superhero
civitaspo
0
120
昔はシンプルだった_AmazonS3
kawaji_scratch
0
320
え!?初参加で 300冊以上 も頒布!? これは大成功!そのはずなのに わいの財布は 赤字 の件
hellohazime
0
160
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
Rapid Start: Faster Internet Connections, with Ruby's Help
kazuho
2
160
自立を加速させる神器 - EMOasis #11
stanby_inc
0
130
こんなアーキテクチャ図はいやだ / Anti-pattern in AWS Architecture Diagrams
naospon
1
430
KGDC_13_Amazon Q Developerで挑む! 13事例から見えたAX組織変革の最前線_公開情報
kikugawa
0
110
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
390
小説執筆のハーネスエンジニアリング
yoshitetsu
0
440
Data Hubグループ 紹介資料
sansan33
PRO
0
2.9k
#jawsugyokohama 100 LT11, "My AWS Journey 2011-2026 - kwntravel"
shinichirokawano
0
340
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
480
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
110
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
170
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Faster Mobile Websites
deanohume
310
31k
A better future with KSS
kneath
240
18k
Building Applications with DynamoDB
mza
96
7k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
180
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
180
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!