KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have an NSDictionary where each key points to an array. I later want to merge all of the values into one array. Is there a way to use the API to do something more efficient than say: NSArray *anArray = [someDictionary allValues]; NSMutableArray *newArray = [NSMutableArray array]; start outter loop on anArray start inner loop on objects in anArray add objectAtIndex to newArray
Tags (comma-separated)
Save Edits
Cancel