Is there an direct way to convert an NSArray containing NSDictionary into an NSArray containing values of the dictionaries?
I have an array like this:
a = [ { name = "A"},{ name = "B"}, {name = "C" } ]
And I want this:
a = [ "A", "B", "C" ]
I can only think about iterating the previous array, and adding each field into the new mutable one, to ensure the same order. I'm wondering if there is a higher level operation or syntactic sugar that does that.
Thanks.