Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You followed the instructions in Recipe 13.1 and you want to know how to create code based on your object model.
Follow these steps:
In Xcode, find the file with the xcdatamodel extension that was created for your application when you created the application itself in Xcode. Click on the file, and you should see the editor on the righthand side of the Xcode window.
Select the Person entity that we created earlier (see Recipe 13.1).
Select File?New File in Xcode.
In the New File dialog, make sure you have selected iOS as
the main category and Core Data as the subcategory. Then choose
the NSManagedObject subclass
item from the righthand side of the dialog and press Next, as
shown in Figure 13-11.