FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSARangeEnumerator Class Reference

This enumerator generate number through a range. More...

#import <NSAEnumerator.h>

Inheritance diagram for NSARangeEnumerator:

Instance Methods

(instancetype) - initWithCount:
 Initialize and returns an enumerator with given count. More...
 
(instancetype) - initWithRange:
 Initialize and returns an enumerator with given range. More...
 

Class Methods

(instancetype) + enumeratorWithCount:
 
(instancetype) + enumeratorWithRange:
 

Protected Attributes

NSRange _range
 

Detailed Description

This enumerator generate number through a range.

Method Documentation

+ (instancetype) enumeratorWithCount: (NSUInteger)  count
+ (instancetype) enumeratorWithRange: (NSRange)  range
- (instancetype) initWithCount: (NSUInteger)  count

Initialize and returns an enumerator with given count.

Start point is assumed to 0.

- (instancetype) initWithRange: (NSRange)  range

Initialize and returns an enumerator with given range.

Member Data Documentation

- (NSRange) _range
protected

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