nsincrementalstore
play

NSIncrementalStore Journey To The Center Of Core Data C e m - PowerPoint PPT Presentation

NSIncrementalStore Journey To The Center Of Core Data C e m F l i g ? Jonathan Penn CocoaConf PDX August, 2013 @jonathanpenn Goals 1. Understand Core Data 2. Explore A Non-trivial Problem Slides n


  1. NSIncrementalStore Journey To The Center Of Core Data C  e  m  F  l  i  g ? Jonathan Penn CocoaConf PDX • August, 2013

  2. @jonathanpenn

  3. Goals 1. Understand Core Data 2. Explore A Non-trivial Problem

  4. Slides ‘n Sample Code cocoamanifest.net/features

  5. ...

  6. Mmmm, goodies! Object Graph

  7. For example...

  8. ROOT

  9. ROOT

  10. What if we only care about this portion? ROOT

  11. “Virtual Memory” ROOT

  12. NSArray *results = [context executeFetchRequest:request ...]; // ... JournalEntry *entry = results[3]; cell.textLabel.text = entry.name; Fault . . .

  13. NSArray *results = [context executeFetchRequest:request ...]; // ... JournalEntry *entry = results[3]; cell.textLabel.text = entry.name; Fault . . .

  14. The Core Data Stack Context Model StoreCoordinator ( ) store

  15. ? NSInMemoryStoreType NSBinaryStoreType NSSQLiteStoreType PlistIncrementalStoreType

  16. SAUSAGE...HOW IS IT MADE?

  17. PlistIncrementalStore Using A Custom Store Life Cycle Of A Fetch Request Validating And Saving Data Notifying For Changes

  18. [ insert demo here ]

  19. Incremental Stores Generate NSMangedObjectIDs Interpret fetch request criteria Save attributes to *whatever* Load to NSIncrementalStoreNodes

  20. Other Examples AFIncrementalStore github.com/AFNetworking/AFIncrementalStore Secure Incremental Store www.stoeger-it.de/en/secureincrementalstore/

  21. Thanks! (and please feedback) @jonathanpenn cocoamanifest.net

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend