Chapter    8

Core Data Basics

In earlier chapters, we showed you various ways that Cocoa lets you display data in view objects, from manually getting and setting values based on the contents of model objects to having the data automatically synchronized between model and view objects using Cocoa Bindings, which eliminates the need for a lot of boring controller code. Now it’s time to learn about Core Data, a powerful framework that gives our model objects a complete set of built-in capabilities. We’ll start by talking about what Core Data is and how it fits in with the other parts of Cocoa. Then we’ll use Core Data to create a full-featured database application called MythBase, including a GUI that allows us to create, search, edit, and delete ...

Get Learn Cocoa on the Mac, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.