|
Nimbus
0.9.3 - Nimbus is proudly hosted on Github
An iOS framework whose growth is bounded by O(documentation).
|
For general purpose foundation type manipulation.
Functions | |
| CGFloat | boundf (CGFloat value, CGFloat min, CGFloat max) |
| NSInteger | boundi (NSInteger value, NSInteger min, NSInteger max) |
| CGFloat boundf | ( | CGFloat | value, |
| CGFloat | min, | ||
| CGFloat | max | ||
| ) |
Bounds a given value within the min and max values.
If max < min then value will be min.
Definition at line 63 of file NIFoundationMethods.m.
| NSInteger boundi | ( | NSInteger | value, |
| NSInteger | min, | ||
| NSInteger | max | ||
| ) |
Bounds a given value within the min and max values.
If max < min then value will be min.
Definition at line 79 of file NIFoundationMethods.m.