NSMutableArray(BMKitAdditions) Category Reference
Declared in | NSMutableArray+BMKitAdditions.h |
Tasks
Removing Objects
-
– removeFirstObject
Removes the object with the lowest-valued index in the array.
Filtering Content
-
– filterUsingPredicateBlock:
Evaluates a given predicate block against the arrayâs content and leaves only objects for which the predicate block returns tru
Transforming Content
-
– transformUsingTransformator:
Invokes the transformator on each object in the receiving array and replaces the elements with the objects returned from the transformator.
Instance Methods
filterUsingPredicateBlock:
Evaluates a given predicate block against the arrayâs content and leaves only objects for which the predicate block returns tru
- (void)filterUsingPredicateBlock:(BMPredicateBlock)predicateBlock
Parameters
- predicateBlock
The predicate block to evaluate against the array’s elements.
Declared In
NSMutableArray+BMKitAdditions.h
removeFirstObject
Removes the object with the lowest-valued index in the array.
- (void)removeFirstObject
Discussion
removeFirstObject
raises an NSRangeException
if there are no objects in the array.
Declared In
NSMutableArray+BMKitAdditions.h
transformUsingTransformator:
Invokes the transformator on each object in the receiving array and replaces the elements with the objects returned from the transformator.
- (void)transformUsingTransformator:(BMTransformator)aTransformator
Parameters
- aTransformator
The transformator to invoke on the receiving array’s elements.
Declared In
NSMutableArray+BMKitAdditions.h