FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSMutableArray(Functional) Category Reference

See Map/Filter/Reduce for concept of functional tools. More...

#import <NSAFunctional.h>

Instance Methods

(void) - map:
 Applies mapper to every item and replace original item to new one. More...
 
(void) - mapWithIndex:
 Applies mapper with index to every item and replace original item to new one. More...
 
(void) - mapFilter:
 Applies mapper to every item and replace original item to new one or remove if new one is nil. More...
 
(void) - mapFilterWithIndex:
 Applies mapper with index to every item and replace original item to new one or remove if new one is nil. More...
 
(void) - filter:
 Applies filter to every item and remove it if result is NO. More...
 
(void) - filterWithIndex:
 Applies filter with index to every item and remove it if result is NO. More...
 

Detailed Description

See Map/Filter/Reduce for concept of functional tools.

See also
NSAFunctional.h
NSArray(Functional)

Method Documentation

- (void) filter: (NSAObjectPicker filter

Applies filter to every item and remove it if result is NO.

See also
NSAFilter
- (void) filterWithIndex: (NSAObjectPickerWithIndex filter

Applies filter with index to every item and remove it if result is NO.

See also
NSAFilter
- (void) map: (NSAObjectUnaryOperator mapper

Applies mapper to every item and replace original item to new one.

See also
NSAMap
- (void) mapFilter: (NSAObjectUnaryOperator mapper

Applies mapper to every item and replace original item to new one or remove if new one is nil.

See also
NSAMapFilter
- (void) mapFilterWithIndex: (NSAObjectUnaryOperatorWithIndex mapper

Applies mapper with index to every item and replace original item to new one or remove if new one is nil.

See also
NSAMapFilter
- (void) mapWithIndex: (NSAObjectUnaryOperatorWithIndex mapper

Applies mapper with index to every item and replace original item to new one.

See also
NSAMap

The documentation for this category was generated from the following file: