I’ve created an app, and want to add core data functionality.
I have two classes – project and photo, is there a way to easily add them to my core data model. I know it is possible to do the reverse and create a class from an Entity in the model.
I’m using Xcode 4.3.
There is no built-in tool that looks at your class and updates the core data model in Xcode.
However, it isn’t particularly difficult to do. Assuming these classes are principally used for data storage:
If you’re talking about updating an existing app that is using plists to store, and you want to migrate existing data into your core data store, that is a separate routine you would have to include in your app to run on the first launch of the new version.