X-Cake

Cocoaheads Ireland and Northern Ireland

Hi all, i have a dilema choosing which method i will use to include data persistence for golf scorecard my application. For my application i need to create two separate data structures one to store an in depth breakdown of a players score as well as one to store course information. I know plists, SQLite3 and Core Data can be used to do this but which one would be the easiest to implement i.e. save to and load from.

Thanks for any suggestions

Views: 89

Reply to This

Replies to This Discussion

I think what Vinny's pointed out is one of the most frustrating things about Core Data. There are docs on importing data to your app but it can be quite annoying to get it all set up.

Vinny Coyne said:
If you decide to access SQLite directly, there's a really useful wrapper called FMDatabase: http://code.google.com/p/flycode/source/browse/trunk/fmdb

Core Data is great for more complex data models, but hardcoding data into it (so that it's there on first launch) can be a bit of a pain.
Oh. Core data all the way. It does great abstraction. It will take a couple of hours to get over the learning, but will be worth it.
Dermot.

Reply to Discussion

RSS

© 2013   Created by Matt Johnston.   Powered by

Badges  |  Report an Issue  |  Terms of Service