Use Core Data For Storage for an existing Iphone project? -
According to Apple Core Data Tutorial, you have to use core data:
Options section, select the switch to use core data for storage.
How to do this for the current project? Do you have to import some files? Can this setting be active later?
Thanks
Choosing that option automatically adds CoreData.framework, a blank Data Model, and a little Core Data Code for AppDelegate and Visual Controller sections
If you want to start using the codedata in your existing project;
1) Add the coreadata framework to the project.
2) Go to "New File", "Resources" and add a new "Data Model" to the project.
3) Create a temporary new project (check that use the Core Data Box). After that, you can see and view core data-related code that is included in that template files. Carefully mix that existing content in your existing app delegate.
4) You should be ready to take a tutorial from that point.
Comments
Post a Comment