NSMutableArray (EDExtensions)


Declared In:
NSArray+Extensions.h


Category Description

Various common extensions to NSMutableArray.


Method Types

Rearranging the array
- shuffle
- sort
- sortByComparingAttribute:

Instance Methods

shuffle

- (void)shuffle

Randomly changes the order of the objects in the receiving array.


sort

- (void)sort

Sorts objects according to their compare: method


sortByComparingAttribute:

- (void)sortByComparingAttribute:(NSString *)attributeName

Sorts objects according to the values of their attributeName. These are retrieved using key/value coding.


Version 2.2 Copyright ©2003. All Rights Reserved.