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
89
Proxy Server
izeeshan
1
370
Multi-Threading using NSOperation
izeeshan
0
300
Other Decks in Technology
See All in Technology
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
460
「Linux」という言葉が指すもの
sat
PRO
4
130
Android Audio: Beyond Winning On It
atsushieno
0
850
Function Body Macros で、SwiftUI の View に Accessibility Identifier を自動付与する/Function Body Macros: Autogenerate accessibility identifiers for SwiftUI Views
miichan
2
180
AI時代を生き抜くエンジニアキャリアの築き方 (AI-Native 時代、エンジニアという道は 「最大の挑戦の場」となる) / Building an Engineering Career to Thrive in the Age of AI (In the AI-Native Era, the Path of Engineering Becomes the Ultimate Arena of Challenge)
jeongjaesoon
0
150
DevIO2025_継続的なサービス開発のための技術的意思決定のポイント / how-to-tech-decision-makaing-devio2025
nologyance
1
400
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
12
4.8k
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
230
Webアプリケーションにオブザーバビリティを実装するRust入門ガイド
nwiizo
7
830
「全員プロダクトマネージャー」を実現する、Cursorによる仕様検討の自動運転
applism118
21
11k
はじめてのOSS開発からみえたGo言語の強み
shibukazu
1
110
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
2
450
Featured
See All Featured
BBQ
matthewcrist
89
9.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Designing for humans not robots
tammielis
253
25k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
We Have a Design System, Now What?
morganepeng
53
7.8k
Code Review Best Practice
trishagee
70
19k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
112
20k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
13k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.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!