Help w/ array of dictionaries in a tableview
问题 This is kinda confusing so please bear with me. I have an array (listOfStates) of dictionaries. Where listOfStates has this structure: {stateName} - {stateCapital} {Alabama} - {Montgomery} {Alaska} - {Juneau} {Arizona} - {Phoenix} ... {West Virginia} - {Charleston} {Wisconsin} - {Madison} {Wyoming} - {Cheyenne} This is the code used to obtain the 1st letter of each US State(stateName) in order to group them together alphabetically: listOfStates = [[NSArray alloc] init]; stateIndex = [