CCArray Class Reference
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.
Tasks
-
+ array
-
+ arrayWithCapacity:
-
+ arrayWithArray:
-
+ arrayWithNSArray:
-
– initWithCapacity:
-
– initWithArray:
-
– initWithNSArray:
-
– count
-
– capacity
-
– indexOfObject:
-
– objectAtIndex:
-
– containsObject:
-
– randomObject
-
– lastObject
-
– getNSArray
-
– isEqualToArray:
@since 1.1
-
– addObject:
-
– addObjectsFromArray:
-
– addObjectsFromNSArray:
-
– insertObject:atIndex:
-
– removeLastObject
-
– removeObject:
-
– removeObjectAtIndex:
-
– removeObjectsInArray:
-
– removeAllObjects
-
– fastRemoveObject:
-
– fastRemoveObjectAtIndex:
-
– exchangeObject:withObject:
-
– exchangeObjectAtIndex:withObjectAtIndex:
-
– replaceObjectAtIndex:withObject:
@since 1.1
-
– reverseObjects
-
– reduceMemoryFootprint
-
– qsortUsingCFuncComparator:
all since @1.1
-
– insertionSortUsingCFuncComparator:
-
– mergesortLUsingCFuncComparator:
-
– insertionSort:
-
– sortUsingFunction:context:
-
– makeObjectsPerformSelector:
-
– makeObjectsPerformSelector:withObject:
-
– makeObjectPerformSelectorWithArrayObjects:selector:
@since 1.1
Instance Methods
isEqualToArray:
@since 1.1
- (BOOL)isEqualToArray:(CCArray *)otherArray
Availability
Declared In
CCArray.h
makeObjectPerformSelectorWithArrayObjects:selector:
@since 1.1
- (void)makeObjectPerformSelectorWithArrayObjects:(id)object selector:(SEL)aSelector
Availability
Declared In
CCArray.h
qsortUsingCFuncComparator:
all since @1.1
- (void)qsortUsingCFuncComparator:(int ( *) ( const void *, const void *))comparator
Declared In
CCArray.h