A new finish: In the long run My partner and i composed a plain XML trainer. Element names are generally planned to be able to Objective-C course labels and also property titles. PCDATA ideals inside factors had been converted into the kind of stated on the house referred to as with the factor. Kid factors as well as residence components have been settled to be able to item instances -- thereby via parsing an XML file a physical object graph and or chart was created. I had to get a handle on the actual Objective-C of teachings very first however ::)
Publish an importer coming from a few reasonable files structure (XML, JSON, etc.) and also transfer that will into iPhone 5 Case the Core Information wording about first run, and then help save your wording to a continual store.
In case your app merely requirements one persistent retailer, you'll be able to pre-populate the idea and also release your chronic keep together with your app's sources. If you Animal Galaxy S3 Case need several continual retailers, most pre-populated with the same default information, alternative One is probably likely to be easier, however you would use NSPersistenStoreCoordinator's migratePersistentStore:toURL:options:withType:mistake: (or the similar inside i phone Central Info -- still below NDA) to create the brand new keep from the pre-poplated keep for every brand new shop required.
http://iphonecaseuk.jimdo.com/?logout=1 |
没有评论:
发表评论