Core Data in Swift
Book information
Description
Cover......Page 1 Table of Contents......Page 7 What Is Core Data?......Page 10 Online Resources......Page 11 Test Application......Page 12 The Storyboard......Page 13 The Recipe List......Page 15 The Recipe Detail......Page 17 The Edit Workflow......Page 18 Ready for Core Data......Page 21 2. Under the Hood......Page 23 Introducing the NSManagedObjectModel......Page 25 Integrating with the NSPersistentStoreCoordinator......Page 27 Adding the NSManagedObjectContext......Page 30 Working with NSManagedObject Instances......Page 31 Building an NSFetchRequest......Page 38 NSSortDescriptor......Page 41 Wrapping Up......Page 42 How to Use the NSFetchedResultsController......Page 43 Under the Hood of the NSFetchedResultsController......Page 50 Building Our Own: MSZContextWatcher......Page 52 Wrapping Up......Page 55 4. Versioning and Migration......Page 56 Some Maintenance Before We Migrate......Page 57 A Simple Migration......Page 59 The Difference Between Light and Heavy Migrations......Page 62 A Heavy/Manual Migration......Page 63 Fundamentals of Core Data Versioning......Page 70 Wrapping Up......Page 73 Persistent Store Types......Page 74 Optimizing Your Data Model......Page 76 Fetching......Page 80 Faulting......Page 83 Access Patterns......Page 86 Wrapping Up......Page 87 6. Threading......Page 88 Threading and Core Data......Page 89 Working on the Main Queue......Page 90 Interqueue Communication......Page 92 Parent/Child NSManagedObjectContext Design......Page 95 Export Operation......Page 96 Import Operation......Page 102 Asynchronous Saving......Page 107 Debug Concurrency Checking......Page 110 Wrapping Up......Page 111 Running with Scissors......Page 112 Doing Bulk Updates......Page 113 Notifying the Application of Changes......Page 116 Bulk Deletes......Page 118 Things to Consider When Using the Bulk Change APIs......Page 119 Wrapping Up......Page 120 The Problem and the Approach......Page 121 The Solution......Page 122 Wrapping Up......Page 129 9. Using Core Data with iCloud......Page 130 Introducing the UIManagedDocument......Page 131 Direct NSManagedObjectContext to iCloud......Page 136 Consuming Changes from iCloud......Page 139 Under the Hood......Page 140 Migrating an Existing Application......Page 142 Desktop iCloud Integration......Page 145 Sharing Data Between iOS and OS X......Page 147 Wrapping Up......Page 149 Our Application......Page 150 Sharing the Data Model......Page 151 Building the Controller Layer......Page 152 Building the User Interface......Page 154 Adding a Splash of Code......Page 159 Wrapping Up......Page 162 11. Bindings, KVC, and KVO......Page 163 Key Value Coding......Page 164 Key Value Observing......Page 165 Cocoa Bindings and Core Data......Page 167 Other Interface Elements That Use KVO, KVC, and Core Data......Page 170 Wrapping Up......Page 174 12. Spotlight, Quick Look, and Core Data......Page 175 Integrating with Spotlight......Page 176 Integrating with Quick Look......Page 189 Wrapping Up......Page 194 ? C ?......Page 196 ? I ?......Page 197 ? N ?......Page 198 ? R ?......Page 199 ? X ?......Page 200
Similar books
Core animation: simplified animation techniques for Mac and iPhone development
Core Data in Objective-C
EPUB
Core Data in Swift: Data Storage and Management for iOS and OS X
AZW3
Introduction mathematique a la linguistique structurale
1968 · DJVU
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF