I can't find a clear description of these steps in Apple docs...
- I have a xcdatamodeld in my xcode project
- At launch time, my app parses a XML (project resource) to fill the Core Data Store (SQLLite)
- During lifetime of my app, I add, remove, update data of that Store
Now, I want to stop doing that heavy XML parsing process on device and directly include a Store containing the required data.
I have some questions regarding this :
- Can I fill a store with a OS X app and then include this store in my XCode-iOs project ?
- My store does not appear in Xcode. In fact it is created at run time. How can I add a store in the project and link it to my xcdatamodeld ?
- I have read that doing so will prevent my store from being writable... I guess I have to copy it in the right place at launch time (the Core Data utility Tutorial is a great help for that). Am I right ?
Thanks for your hints. URL or other SO questions would be really appreciate !
Kheraud
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…