SortingAnArrayOfMutableDictionaries
last edited July 13, 2005 21:44:58 (208.179.232.3)
| |
|---|---|
| Edit / History / New / Search | Quick Links: Home / Recent Changes / Glossary / Jobs / Forums / Help |
|
I currently have an NSMutableArray of NSMutableDictionary objects. I want to sort the array based on one of the fields from the mutable dictionaries. For example the dicationary has 2 keys "filename" and "filepath" I would like to be able to sort the array based on the values of those keys for the dictionary. Any help is much appreciated. Thanks
Look up the
Like Theo said, but here's some code:
And you could call it like this:
Much thanks. Worked perfectly. | |
| Edit / History / New / Search | Quick Links: Home / Recent Changes / Glossary / Jobs / Forums / Help |