NSMutableArray (BDSortOrderingAdditions)

Inherits from:
NSObject
Declared in:
BDControl/BDSortOrdering.h

Class at a Glance

BDControl extends Foundation's NSMutableArray class by adding the ability to sort a mutable array in-place based on an array of sort ordering objects. See BDSortOrdering for details.


Class Description

BDControl extends Foundation's NSMutableArray class by adding the ability to sort a mutable array in-place based on an array of sort ordering objects. See BDSortOrdering for details.

This sorting operation may be memory-intensive. If a memory allocation fails, NSMallocException will be raised.


Method Types

Sorting
-sortArrayUsingKeyOrderArray:

Instance Methods

-sortArrayUsingKeyOrderArray:

- (void)sortArrayUsingKeyOrderArray:(NSArray *)keyOrderArray

Sorts a mutable array in-place using the given key-order array. The key-order array consists of BDSortOrdering objects that represent a particular way of sorting. In the key-order array they are ordered from most- to least-specific.


Copyright © 2002, 2003, bDistributed.com, Inc. All rights reserved worldwide.