marko
marko

Reputation: 1366

How to manually add Core Data to project?

E.g. what "Use Core Data for storage" checkbox option means when creating new Window or Navigation based project?

How to add Core Data for Tab Bar Application?

How to initialize managedObjectModel, managedObjectContext, persistentStoreCoordinator?

Upvotes: 0

Views: 1298

Answers (1)

Marcus S. Zarra
Marcus S. Zarra

Reputation: 46718

Easiest way is to create a temp project with core data turned on and then copy the methods from the AppDelegate to your existing project. In addition you will need to create a model file and import the CoreData framework.

Those are the only differences that checkmark creates.

Upvotes: 5

Related Questions