Book: Core Data: Data Storage and Management for iOS, OS X, and iCloud (Pragmatic Programmers)
Publisher: Pragmatic Bookshelf
Core Data is intricate, powerful, necessary – and this book is your guide to harnessing its power. Core Data is Apple's recommended way to persist data: it's easy to use, built-in, and integrated with iCloud. You'll learn fundamental Core Data principles such as thread and memory management, and you'll discover how to use Core Data in your iPhone, iPad, and OS X projects by using NSPredicate to filter data and adding iCloud to your applications.
What You Need:
Mac OS X Mountain Lion and iOS 6
Cocoa expert Marcus Zarra walks you through developing a full-featured application based around the Core Data APIs. You'll build up a single application throughout the book, learning key Core Data principles such as NSPredicate, thread management, and memory management.
You'll start with the basics of Core Data and learn how to use it to develop your application. Then you'll delve deep into the details of the API. You'll explore not only how to get Core Data integrated into your application properly, but even better, how to work with the API's flexibility to create convenience methods to improve your application's maintainability. You'll learn how to reduce your number of mapping models, integrate your Core Data app with Spotlight and Quick Look, connect your application with sync services, and find out how to use Core Data in a multithreaded environment. By the end of the book, you'll have built a full-featured application, gained a complete understanding of Core Data, and learned how to integrate your application into the iPhone/iPad platform.
This second edition updates all examples for OS X Mountain Lion and iOS 6, gets you up to speed on changes in multithreading, and provides new chapters covering iCloud and NSFetchedResultsController.