Enable use of Core Data during development?

I decided to switch to using Core Data to save all the data in my navigation application. What are the steps required to provide Core Data in my application?

I do not want to start a new project using the "Use basic data for my application" checkbox and copy all existing codes into a new project.

Does anyone have manuals or tutorials?

Thank,

+3
source share
2 answers

You need a CoreData stack consisting of:

  • NSPersistentStoreCoordinator

  • NSManagedObjectModel

  • NSManagedObjectContext

- CoreData, App-Delegate . CoreData Framework.

+2

Source: https://habr.com/ru/post/1730870/


All Articles