Re: High Scores local to iPhone app
Re: High Scores local to iPhone app
- Subject: Re: High Scores local to iPhone app
- From: Peter Blazejewicz <email@hidden>
- Date: Tue, 5 May 2009 21:43:27 +0200
hi Eric,
On May 5, 2009, at 8:23 PM, Bill Bumgarner wrote:
On May 5, 2009, at 11:18 AM, Eric E. Dolecki wrote:
I am looking to save and read name/score pairs and started looking
at SQLite
to do this. I'm checking the Books sample application and there
seems to be
tons of code in there to basically provide the solution. Is there a
better
option than SQLite to do this in Obj-C (iPhone)?
How many pairs do you plan on storing?
If the answer is less than "several hundred", just stick 'em in a
property list or plain old text file and write it to the filesystem.
b.bum
this will work (plist file - also mentioned in other advice as
dictionaries/arrays) as storing from ActionScript to SharedObject
(without serialization, key/values are OK). Bill advice is fine and
easy to implement. For future implementation you could look into SDK
3.0 and CoreData concepts - as I assume you're targeting iPhone SDK as
well,
regards,
Peter Blazejewicz
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden