High Score Save/Load/Sort Coding article

Discussion in 'Mac Programming' started by ArtandStructure, Jul 4, 2009.

  1. ArtandStructure
    Expand Collapse
    macrumors member

    Joined:
    Jan 14, 2008
    Location:
    Klamath Falls, Oregon
    #1
    Hello all.


    I have consolidated and annotated the code from a method for dealing with high scores in an article on my web site, Working with High Scores. Like the photography section of my site I hope to add articles periodically.

    When searching for a method to tackle high scores in the iPhone SDK I found no similar approach laid out, at least not in code. I think this is a unique solution, at least as far as spelling it out for people, in a compact and powerful form.

    I know the iPhone SDK is a very close cousin to developing on OS X itself, so I hope this will be of interest/use for all you folks as well.

    Let me know if anything is unclear about the article.


    All the best,


    Jesse Widener
    Art and Structure
     
  2. kainjow
    Expand Collapse
    Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Don't forget you don't need to always use C data types. NSArray and NSDictionary make doing things like this a snap :)
     
  3. ArtandStructure
    Expand Collapse
    thread starter macrumors member

    Joined:
    Jan 14, 2008
    Location:
    Klamath Falls, Oregon
    #3
    I appreciate the suggestion.

    I am new to the iPhone SDK and had looked briefly into NSArray and NSDictionary but from what I saw, and the examples people were using, it didn't seem as though it would be any easier to use than the method I chose. In fact it appeared it would take more code to accomplish the same thing. Am I mistaken?

    I would surely be interested in knowing if there is an even easier, more compact, more efficient way.


    All the best,


    Jesse Widener
    Art and Structure
     

Share This Page