Latest 1.0.1
Homepage https://github.com/mokagio/ImplicitSignednessKit
License MIT
Platforms ios
Frameworks UIKit

ImplicitSignednessKit, on top of having the most sad name ever seen in the world of open source libraries, is a tool for people that:

  1. Like to use Xcode in the hard mode.
  2. Don’t want to have to manually type cast things things like [array count] or indexPath.row.

Signedness

@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

Latest podspec

{
    "name": "ImplicitSignednessKit",
    "version": "1.0.1",
    "summary": "A set of categories to make working with the "Implicit Signedness Conversion" warning easire",
    "description": "ImplicitSignednessKit, on top of having the most sad name ever seen in the world of open source libraries, is a tool for people that:nn1. Like to use Xcode in the hard mode.n2. Don't want to have to manually type cast things things like `[array count]` or `indexPath.row`.n",
    "homepage": "https://github.com/mokagio/ImplicitSignednessKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Giovanni Lodi",
    "social_media_url": "http://twitter.com/mokagio",
    "source": {
        "git": "https://github.com/mokagio/ImplicitSignednessKit.git",
        "tag": "1.0.1"
    },
    "source_files": "ImplicitSignednessKit/**/*.{h,m}",
    "platforms": {
        "ios": null
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This