Default dataset for Core Data based iPhone application

后端 未结 2 1406
小蘑菇
小蘑菇 2021-02-01 10:35

I am writing an iPhone 3.0 application that uses Core Data to persist the model. I\'d like the application to be installed with a default dataset. When developing for iPhone <

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-01 11:21

    You can use Plist to store the initial data and populate your persistent store on first run. This approach is easier than having to write your own custom XML parser.

提交回复
热议问题