NSNumber
Extensions
NSNumber extensions for Nu programming.
Declared in: objc/Nu.h
Methods
| - |
(id) |
downTo: |
(id) number |
|
do: |
(id) block |
Iterate from the current value down to a specified limit.
On each iteration, evaluate the given block after passing in the index.
Indices begin at the receiver's value and end at the specified number.
in objc/Nu.h
| - |
(id) |
upTo: |
(id) number |
|
do: |
(id) block |
Iterate from the current value up to a specified limit.
On each iteration, evaluate the given block after passing in the index.
Indices begin at the receiver's value and end at the specified number.
in objc/Nu.h
Iterate a number of times corresponding to the message receiver.
On each iteration, evaluate the given block after passing in the iteration count.
Iteration counts begin at zero and end at n-1.
in objc/Nu.h