Synopses & Reviews
Core Data is Apple's recommended way to persist data: it's easy to use, built-in, and integrated with iCloud. It's intricate, powerful, and necessary--and this book is your guide to harnessing its power.
Learn fundamental Core Data principles such as thread and memory management, discover how to use Core Data in your iPhone, iPad, and OS X projects by using NSPredicate to filter data, and see how to add iCloud to your applications.
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.
Geared toward intermediate to advanced developers, this book gets you comfortable with the basics of Core Data. 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. 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.
What You NeedMac OS X Mountain Lion and iOS 6. This book is for intermediate-level iOS developers.
Review
"I learned Core Data reading the first edition of this book. It has long been my go-to reference, but a lot has changed since the first edition hit the shelves. The coverage of iOS and iCloud is a welcome addition, and the updated chapters on versioning and threading are a must-read. Those getting started with Core Data and those already using it owe it to themselves to read this fantastic book."—Kirby Turner, Chief Code Monkey, White Peak Software, Inc.
"If you need to know Core Data inside and out, you need this book. Marcus not only communicates what you need to know but has deep experience in making Core Data applications. That experience shines through in every chapter and example."—Bill Dudney, Gala Factory Software, LLC
"If youre using Core Data and havent read this book, youre doing yourself and your customers a disservice. Marcus Zarra explains the fundamental components of the Core Data framework and shows how the framework is used in real-world programming. This book is a must-read for anyone new to Core Data, but theres plenty of great information even for seasoned veterans."—Jeff LaMarche, Author and Co-Founder, MartianCraft, LLC
About the Author
Marcus S. Zarra is the owner of Zarra Studios LLC. He has spoken at numerous conferences around the globe and has taught Objective-C at top U.S. colleges. Marcus has been developing iOS applications since day one and was one of the few developers to have an application available in the App Store on the first day.