Selecting this option automatically adds CoreData.framework, an empty data model, and some Core Data code to the AppDelegate and View Controllers classes.
If you want to start using CoreData in an existing project,
1) Add the CoreData.framework project to the project.
2) Make a "New file", go to "Resource" and add a new "Data Model" to the project.
3) Create a temporary new project (check the Use data core box). Then you can look and see the code associated with the underlying data that he added to these template files. Carefully merge this material into an existing AppDelegate.
4) You should be prepared to choose a textbook from this point.
source share