1

My situation: I have an NSArray of NSDictionaries. The NSDictionary has 2 key/value pairs and I want to just want one of the key/value pairs.

I want grab the key/value pair at index 0:

enter image description here

What is the best method to accomplish this?

klmitchell2
  • 171
  • 2
  • 13

1 Answers1

1

NSDictionary has no concept of the order of the keys. You would need to use another type of collection class like Matt Gallagher's OrderedDictionary

cncool
  • 1,015
  • 11
  • 12