[Previous] [Up] [Next]

NSMutableArray

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSMutableArray

NSMutableArray

Declared in: Foundation/NSArray.h

Inherits from: NSArray

Conforms to: NSCoding


Instance Variables

Methods


Class Methods

arrayWithCapacity:

+ (id) arrayWithCapacity: (unsigned int)numItems;


Instances Methods

addObject:

- (void) addObject: (id)anObject;

addObjectsFromArray:

- (void) addObjectsFromArray: (NSArray*)otherArray;

initWithCapacity:

- (id) initWithCapacity: (unsigned int)numItems;

insertObject:

- (void) insertObject: (id)anObject;

removeAllObjects

- (void) removeAllObjects;

removeLastObject

- (void) removeLastObject;

removeObject:

- (void) removeObject: (id)anObject;

removeObject:

- (void) removeObject: (id)anObject;

removeObjectAtIndex:

- (void) removeObjectAtIndex: (unsigned int)index;

removeObjectIdenticalTo:

- (void) removeObjectIdenticalTo: (id)anObject;

removeObjectIdenticalTo:

- (void) removeObjectIdenticalTo: (id)anObject;

removeObjectsFromIndices:numIndices:

- (void) removeObjectsFromIndices: (unsigned int*)indices numIndices: (unsigned int)count;

removeObjectsInArray:

- (void) removeObjectsInArray: (NSArray*)otherArray;

removeObjectsInRange:

- (void) removeObjectsInRange: (NSRange)aRange;

replaceObjectAtIndex:withObject:

- (void) replaceObjectAtIndex: (unsigned int)index withObject: (id)anObject;

replaceObjectsInRange:withObjectsFromArray:

- (void) replaceObjectsInRange: (NSRange)aRange withObjectsFromArray: (NSArray*)otherArray;

replaceObjectsInRange:withObjectsFromArray:

- (void) replaceObjectsInRange: (NSRange)aRange withObjectsFromArray: (NSArray*)otherArray;

setArray:

- (void) setArray: (NSArray*)otherArray;

sortUsingFunction:context:

- (void) sortUsingFunction: (int(*)(id,id,void*))compare context: (void*)context;

sortUsingSelector:

- (void) sortUsingSelector: (SEL)comparator;