reorder NSArray in objective-c
Posted
by Jonathan
on Stack Overflow
See other posts from Stack Overflow
or by Jonathan
Published on 2010-05-23T09:15:37Z
Indexed on
2010/05/23
9:20 UTC
Read the original article
Hit count: 373
I have an NSArray of JSON file locations. There are stored in the user's/app's Document directory and inside each JSON file is a name value.
I'm able to retreive the data from JSON files, I don't need help with tht. But I need help on sorting NSArrays I have no idea how I can do that based on a value inside the file, while not being pathetically slow.
This is on the iPhone btw.
In sum how do I customly reorder NSArrays.
© Stack Overflow or respective owner