且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将Core数据添加到现有实用程序应用程序

更新时间:2023-09-21 10:53:58

You'll need to add the CoreData framework to your target, create a data model, and instantiate the NSManagedObjectModel, NSPersistentStoreCoordinator, and NSManagedObjectContext objects.

Adding Core Data to an existing application is discussed briefly in this Apple document (search for "existing application")

You should also view the Apple tutorial to get a feel for what is involved.

You can always consider just using SQLite as well.

相关阅读

推荐文章