Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 12. Reading and writing applicat... > Building the PocketTasks application

12.4. Building the PocketTasks application

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.

12.4.1. Examining the Xcode Core Data template

Before we look at the data model file, let’s quickly take a peek at the PocketTasksAppDelegate.m. Notice the following three methods:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint