• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: High Scores local to iPhone app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >High Scores local to iPhone app (From: "Eric E. Dolecki" <email@hidden>)
 >Re: High Scores local to iPhone app (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: High Scores local to iPhone app
  • Next by Date: Re: How remove a clip path? SOLVED
  • Previous by thread: Re: High Scores local to iPhone app
  • Next by thread: Re: How to debug GC related EXC_BAD_ACCESS
  • Index(es):
    • Date
    • Thread