SFSDKSafeMutableArray Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | SFSDKSafeMutableArray.h |
count
The number of elements in this array.
@property (nonatomic, readonly) NSUInteger countDeclared In
SFSDKSafeMutableArray.h
– mutableCopyWithZone:
Returns a new instance that’s a mutable copy of the receiver.
- (id)mutableCopyWithZone:(NSZone *)zoneDeclared In
SFSDKSafeMutableArray.h
– containsObject:
Returns true if the object exists in the array.
- (BOOL)containsObject:(id)anObjectDeclared In
SFSDKSafeMutableArray.h
– objectAtIndexedSubscript:
Returns the object at the specified index.
- (id)objectAtIndexedSubscript:(NSUInteger)idxDeclared In
SFSDKSafeMutableArray.h
– objectAtIndexed:
Returns the object at the specified index.
- (id)objectAtIndexed:(NSUInteger)idxDeclared In
SFSDKSafeMutableArray.h
– enumerateObjectsUsingBlock:
Enumerate objects in the array safely, using a block.
- (void)enumerateObjectsUsingBlock:(void ( ^ ) ( id obj , NSUInteger idx , BOOL *stop ))blockDeclared In
SFSDKSafeMutableArray.h
– addObject:
Inserts a given object at the end of the array.
- (void)addObject:(id)objDeclared In
SFSDKSafeMutableArray.h
– addObjectsFromArray:
Adds the objects contained in another given array to the end of the receiving array’s content.
- (void)addObjectsFromArray:(NSArray *)arrayDeclared In
SFSDKSafeMutableArray.h
– insertObject:atIndex:
Inserts a given object into the array’s contents at a given index.
- (void)insertObject:(id)obj atIndex:(NSUInteger)indexDeclared In
SFSDKSafeMutableArray.h
– removeLastObject
Removes the object with the highest-valued index in the array
- (void)removeLastObjectDeclared In
SFSDKSafeMutableArray.h
– removeObject:
Removes all occurrences in the array of a given object.
- (void)removeObject:(id)objectDeclared In
SFSDKSafeMutableArray.h
– removeObjectAtIndex:
Removes the object at index.
- (void)removeObjectAtIndex:(NSUInteger)indexDeclared In
SFSDKSafeMutableArray.h
– removeObjectsAtIndexes:
Removes the objects at the specified indexes from the array.
- (void)removeObjectsAtIndexes:(NSIndexSet *)indexesDeclared In
SFSDKSafeMutableArray.h
– removeObjectIdenticalTo:
Removes all occurrences of a given object in the array.
- (void)removeObjectIdenticalTo:(id)objectDeclared In
SFSDKSafeMutableArray.h
– removeObjectIdenticalTo:inRange:
Removes all occurrences of anObject within the specified range in the array.
- (void)removeObjectIdenticalTo:(id)object inRange:(NSRange)rangeDeclared In
SFSDKSafeMutableArray.h
– removeObject:inRange:
Removes all occurrences within a specified range in the array of a given object.
- (void)removeObject:(id)object inRange:(NSRange)rangeDeclared In
SFSDKSafeMutableArray.h
– removeObjectsInRange:
Removes from the array each of the objects within a given range.
- (void)removeObjectsInRange:(NSRange)rangeDeclared In
SFSDKSafeMutableArray.h
– setObject:atIndexedSubscript:
Replaces the object at the index with the new object, possibly adding the object..
- (void)setObject:(id)object atIndexedSubscript:(NSUInteger)indexDeclared In
SFSDKSafeMutableArray.h
– setArray:
Empties the receiving set, then adds each object contained in another given array.
- (void)setArray:(NSArray *)otherArrayDeclared In
SFSDKSafeMutableArray.h
– filterUsingPredicate:
Filter the array using a predicate.
- (void)filterUsingPredicate:(NSPredicate *)predicateDeclared In
SFSDKSafeMutableArray.h
+ array
A convenience method to allocate and initialize a new instance of a SFSDKSafeMutableArray.
+ (id)arrayReturn Value
A new SFSDKSafeMutableArray instance.
Declared In
SFSDKSafeMutableArray.h
+ arrayWithCapacity:
A convenience method to allocate and initialize a new instance of a SFSDKSafeMutableArrayWithCapacity.
+ (id)arrayWithCapacity:(NSUInteger)numItemsReturn Value
A new SFSDKSafeMutableArray instance.
Declared In
SFSDKSafeMutableArray.h