|
FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
See Map/Filter/Reduce for concept of functional tools. More...
#import <NSAFunctional.h>
Instance Methods | |
| (void) | - applyProcedureWithCount: |
| Apply procedure with count to objects. More... | |
| (NSArray *) | - arrayByMappingOperatorWithCount: |
| Maps mapper with index to objects and returns the result as array. More... | |
| (NSArray *) | - arrayByMapFilteringOperatorWithCount: |
| Maps mapper with index to objects and filters nil result and returns the result as array. More... | |
| (NSArray *) | - arrayByFilteringOperatorWithCount: |
| Filters objects with index and returns result as array. More... | |
See Map/Filter/Reduce for concept of functional tools.
Counted set has additional functions with count.
| - (void) applyProcedureWithCount: | (NSAObjectProcedureWithCount) | procedure |
| - (NSArray *) arrayByFilteringOperatorWithCount: | (NSAObjectPickerWithCount) | filter |
| - (NSArray *) arrayByMapFilteringOperatorWithCount: | (NSAObjectUnaryOperatorWithCount) | mapper |
Maps mapper with index to objects and filters nil result and returns the result as array.
A wrapper of NSAMapFilter
| - (NSArray *) arrayByMappingOperatorWithCount: | (NSAObjectUnaryOperatorWithCount) | mapper |