O'Reilly logo

Cocoa Programming for OS X: The Big Nerd Ranch Guide by Aaron Hillegass, Adam Preble, Nate Chandler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

13 Basic Core Data

At this point, you have implemented an application that keeps track of an array of objects, takes care of undo, and handles saving and loading from a file. As you can imagine, there are an awful lot of applications like the one you just wrote.

Apple has made this type of application very easy to write. You have already seen how bindings and NSArrayController allow you to skip writing a lot of tedious, uninteresting code. With Core Data, you can even skip writing the data objects, saving and loading, and even undo.

That is right: using Core Data and bindings, the RaiseMan application you have written can be created with no code at all. In this chapter, you are going to create a simple Core Data application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required