Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Core Data Migration

Core Data Migration

A presentation on database migration.

Zeeshan Khan

November 10, 2014
Tweet

More Decks by Zeeshan Khan

Other Decks in Technology

Transcript

  1. 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?
  2. Core Data Terms • A Model • A Store •

    A Coordinator • A Context Managed Object Context Persistent Store Coordinator Persistent Store Managed Object Model
  3. Migration • When is it required? • Requirements for migration.

    • Changes that don’t require migration. • How it works? • Initialization of Core Data • The Process...
  4. Migration Ways • Lightweight • ’s Term, Less work, Simple

    Changes... • Manual • A little more work, need mapping model • Custom (For complex transformation) • Fully Manual