I'm struggling trying to figure out how to store a list of high scores. I was planning on putting them in an NSMutableArray and sorting them. Sounded easy enough. I'm new to all of this, so I have only ever used NSMutableArrays with one value per instance. Now, for each instance I want to store a Name (NSString) and a Score (int). I have searched around and it looks like I may need to use an NSMutableDictionary?? I looked at the sample code in PeriodicElements, but it just confused me.
Does anyone have any sample code where you're using an NSMutableArray or NSMutableDictionary to store high scores?
Does anyone have any sample code where you're using an NSMutableArray or NSMutableDictionary to store high scores?