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
  • PrintPrint
Share this Page URL
Help

Hour 18. Using Core Data > Using Xcode to Design Objects

Using Xcode to Design Objects

This section shows you how to use Xcode’s data modeling tool to create a data model file and how to load the data model file from your code.

Creating a Core Data Project

iPhone OS 3.0 introduces a new Options check mark item when creating a new project. Checking this check mark adds an .xcdatamodel file to your project and adds a build phase to compile it. Name your project CoreData, and open the CoreData.xcdatamodel file (see Figure 18.2).


  

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
  • PrintPrint