TKMutableArray Class Reference
Inherits from | NSObject |
Conforms to | NSFastEnumeration |
Declared in | TKMutableArray.h |
Instance Methods
addObject:
Adds an object to the array.
- (void)addObject:(id)object
Parameters
- object
The object which will be added to the array.
Declared In
TKMutableArray.h
count
Returns the count of objects.
- (NSUInteger)count
Return Value
The count.
Declared In
TKMutableArray.h
initWithArray:
- (instancetype)initWithArray:(NSArray *)array
Parameters
- array
The array used for initialization.
Declared In
TKMutableArray.h
objectAtIndex:
Returns a object at an index.
- (id)objectAtIndex:(NSUInteger)index
Parameters
- index
The object’s index.
Return Value
A object
Declared In
TKMutableArray.h
objectAtIndexedSubscript:
Returns the object at the specified index.
- (id)objectAtIndexedSubscript:(NSUInteger)idx
Parameters
- idx
The object’s index in the array
Declared In
TKMutableArray.h
removeObject:
Removes object from the array
- (void)removeObject:(id)object
Parameters
- object
The object which will be removed from the array.
Declared In
TKMutableArray.h