Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You start by creating a new Window-based project that uses Core Data for storage (check the Use Core Data for Storage check box when creating the project). Let’s call it PocketTasks. Xcode automatically creates a PocketTasks.xcdatamodel where you’ll define all of your entities. One quick note about the listings in this chapter: for brevity’s sake, releasing instance variables in the dealloc methods of the different classes you build isn’t always explicitly mentioned. You’ll find them in the downloadable source code for this chapter, though.
Before we look at the data model file, let’s quickly take a peek at the PocketTasksAppDelegate.m. Notice the following three methods: