Developers are always looking for shortcuts. On the Apple platforms, Core Data is a terrific shortcut that does a lot of the hard work for you.
Whether you are developing for Mac OS X or the iPhone, at some point your Cocoa application is probably going to need to save data and read it back later. You could struggle with the raw SQLite database included on the iPhone, generate cumbersome XML, or create your own binary format from scratch. Or, you can save time and energy by taking advantage of Apple’s Core Data framework instead.
In Core Data: Apple’s API for Persisting Data on Mac OS X (Pragmatic Bookshelf, $32.95), author Marcus Zarra says, “If you plan on writing an application that saves data to disk, then you should be taking a very long look at Core Data. Whether you are focusing on the desktop or the iPhone, Core Data is the most efficient solution to data persistence.”
Core Data makes it easy for you to work with object graphs and to persist data—but there are plenty of pitfalls and issues to watch out for. This book shows you everything you need from versioning to integrating with Quick Look, Sync Services, and Spotlight. You’ll see how to boost performance and work in multithreaded applications, and work with Core Data on both the desktop and the iPhone.
As an extra bonus, you’ll see numerous recipes that are useful in unusual situations, or even in places where you wouldn’t have thought to use the Core Data API before. It will become another indispensable tool in your kit.
“At last we have a book to introduce people to this fantastic developer technology. Starting with a high-level overview and ending with advanced techniques, Marcus expertly guides developers on their journey from Core Data noob to expert.”—Steve Scott (Scotty), The Mac Developer Network
Apple’s API for Persisting Data on Mac OS X
ISBN: 9781934356326, 256 pages, $32.95US, $41.95CA, 7.5×9.
Pragmatic Bookshelf Titles are distributed to bookstores internationally by O’Reilly Media.
Sample chapters, table of contents, and more information is available on the book’s home page.
About Pragmatic Bookshelf
The Pragmatic Bookshelf features books written by developers for developers. The titles continue the well-known Pragmatic Programmer style, and continue to garner awards and rave reviews. As development gets more and more difficult, the Pragmatic Programmers will be there with more titles and products to help programmers stay on top of their game.
Press and Editorial Queries Only:
Contact Andy Hunt or Dave Thomas
800-699-7764 (+1 919-847-3884)