ImplicitSignednessKit 1.0.1

ImplicitSignednessKit 1.0.1

测试已测试
Lang语言 Obj-CObjective C
许可 MIT
发布最后发布2015年5月

Giovanni Lodi维护。



除了拥有全球开源库中最悲惨的名称之外,ImplicitSignednessKit是为以下人群设计的工具:

  1. 喜欢在硬模式下使用Xcode。
  2. 不想手动进行类型转换,例如[array count]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