TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | May 2015 |
Maintained by Giovanni Lodi.
ImplicitSignednessKit, on top of having the most sad name ever seen in the world of open source libraries, is a tool for people that:
[array count]
or indexPath.row
.@interface NSArray (Signedness)
/**
* The number of objects in the array, type-casted to NSInteger.
*
* @return The number of objects in the array.
*/
- (NSInteger)integerCount;
@end
@interface NSIndexPath (Signedness)
/**
* An index number identifying a section, type-casted to unsigned integer. (read-only)
*/
@property (nonatomic, assign, readonly) NSUInteger unsignedSection;
/**
* An index number identifying a row in a section, type-casted to unsigned integer. (read-only)
*/
@property (nonatomic, assign, readonly) NSUInteger unsignedRow;
@end
(c) 2015 - Giovanni Lodi @mokagio