Latest 1.0.0
Homepage https://github.com/NianJi/OCSafeMethod
License MIT
Platforms ios 6.0, requires ARC
Frameworks Foundation
Authors

SafeMethods of NSDictionary and NSArray

install

pod 'OCSafeMethod'

useage

temp code:

NSDictionary *dictionary = [self getData];

NSString *result = [dictionary stringForKey:@"ret"];

NSInteger count = [dictionary integerForKey:@"count"];

Latest podspec

{
    "name": "OCSafeMethod",
    "version": "1.0.0",
    "summary": "Safe methods of NSDictionary and NSArray",
    "description": "* get string or number immediate from NSDictionary and NSArrayn* No warry about crashs caused by type error.",
    "platforms": {
        "ios": "6.0"
    },
    "homepage": "https://github.com/NianJi/OCSafeMethod",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u5ff5u7eaa": "[email protected]"
    },
    "source": {
        "git": "https://github.com/NianJi/OCSafeMethod.git",
        "tag": "1.0.0"
    },
    "source_files": "OCSafeMethod/**/*.{h,m}",
    "requires_arc": true,
    "frameworks": "Foundation"
}

Pin It on Pinterest

Share This