Inherits from NSObject
Conforms to NSCoding
NSCopying
NSFastEnumeration
Declared in CCArray.h

Overview

@def CCARRAY_FOREACH A convenience macro to iterate over a CCArray using. It is faster than the “fast enumeration” interface.

Class Methods

array

arrayWithArray:

arrayWithCapacity:

arrayWithNSArray:

Instance Methods

addObject:

addObjectsFromArray:

addObjectsFromNSArray:

capacity

containsObject:

count

exchangeObject:withObject:

exchangeObjectAtIndex:withObjectAtIndex:

fastRemoveObject:

fastRemoveObjectAtIndex:

getNSArray

indexOfObject:

initWithArray:

initWithCapacity:

initWithNSArray:

insertObject:atIndex:

insertionSort:

insertionSortUsingCFuncComparator:

isEqualToArray:

@since 1.1

- (BOOL)isEqualToArray:(CCArray *)otherArray

Availability

Declared In

CCArray.h

lastObject

makeObjectPerformSelectorWithArrayObjects:selector:

@since 1.1

- (void)makeObjectPerformSelectorWithArrayObjects:(id)object selector:(SEL)aSelector

Availability

Declared In

CCArray.h

makeObjectsPerformSelector:

makeObjectsPerformSelector:withObject:

mergesortLUsingCFuncComparator:

objectAtIndex:

qsortUsingCFuncComparator:

all since @1.1

- (void)qsortUsingCFuncComparator:(int ( *) ( const void *, const void *))comparator

Declared In

CCArray.h

randomObject

reduceMemoryFootprint

removeAllObjects

removeLastObject

removeObject:

removeObjectAtIndex:

removeObjectsInArray:

replaceObjectAtIndex:withObject:

@since 1.1

- (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject

Availability

Declared In

CCArray.h

reverseObjects

sortUsingFunction:context: