I have an NSArray that contains nested NSArrays. Im looking for a way to sort the parent array according to the object count of the nested arrays in ascending order. so if [array1 count]
is 4, [array2 count]
is 2 and [array3 count]
is 9, i would get : array2, array1, array3...
Join the Stack Overflow Community
Stack Overflow is a community of 7.1 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up
Join them; it only takes a minute:
|
|||
|
There are a few solutions, one of which is:
|
|||||||||||||||||
|
|
||||