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 ...

Get Cocoa Programming for OS X: The Big Nerd Ranch Guide 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.