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

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...
 

Detailed Description

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

Counted set has additional functions with count.

See also
NSAFunctional.h

Method Documentation

- (void) applyProcedureWithCount: (NSAObjectProcedureWithCount procedure

Apply procedure with count to objects.

A wrapper of NSAApply

See also
NSAApply
- (NSArray *) arrayByFilteringOperatorWithCount: (NSAObjectPickerWithCount filter

Filters objects with index and returns result as array.

A wrapper of NSAFilter

See also
NSAFilter
- (NSArray *) arrayByMapFilteringOperatorWithCount: (NSAObjectUnaryOperatorWithCount mapper

Maps mapper with index to objects and filters nil result and returns the result as array.

A wrapper of NSAMapFilter

See also
NSAMapFilter
- (NSArray *) arrayByMappingOperatorWithCount: (NSAObjectUnaryOperatorWithCount mapper

Maps mapper with index to objects and returns the result as array.

A wrapper of NSAMap

See also
NSAMap

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