Okay, let's get started with the fastest way to get Core Data up and running. It's also a way that amply demonstrates how well Core Data is designed to integrate seamlessly with Cocoa Bindings, and therefore also with Interface Builder.
It is, in fact, possible to create a simple app that uses Core Data and synchronizes it with its UI, without writing more than one single line of code.
Create a new project using the Cocoa Application
template. The app will list the crew of a Star Trek starship, so you may wish to name the project more imaginatively than the 5623_14_code
name that this book uses.
Note
If you do choose to use a name that starts with a digit, that starting digit will be replaced by an underscore in one or two places where names must begin with an underscore or letter character. So, the .xcdatamodedl
file created by Xcode for this chapter's project will be called _623_14_code.xcdatamodeld
, for example.
Be sure to tick both...