Автор: Tim Isted, Tom Harrington
Издательство: Addison-Wesley Professional
Год: 2011
ISBN: 9780321670427
Формат: epub
Страниц: 304
Размер: 11,7 mb
Язык: English
In Core Data for iOS, two leading iOS developers teach you the entire Core Data framework from the ground up. Writing for intermediate-to-advanced iOS developers, Tim Isted and Tom Harrington thoroughly explain how Core Data is used on iOS devices, introduce each of its primary classes, and show how they interact to provide amazing functionality with minimal configuration. You’ll learn how to store, fetch, and validate data; provide it efficiently to views; and much more. Isted and Harrington first give you a firm grounding in the technology, and then present real-world examples. They present multiple sample projects, as well as a start-to-finish, chapter-length case study.
Coverage includes:
• Understanding Core Data’s features, classes, and interactions
• Using Core Data in MVC-based iOS app development
• Mapping relational data to object models, and building them with Xcode 4’s Data Modeler
• Working with managed objects and using UITableView to display them
• Creating predicates to match numbers, data, and objects
• Maintaining compatibility across versions of an app’s data model
• Tracking managed object contexts across view controllers
• Using Core Data’s automatic Undo functionality
• Integrating abstract entities, entity inheritance, and multiple view controllers into a complete app
• Optimizing for iOS devices’ tight memory limits
• Diagnosing and fixing common Core Data problems