SafeMethods of NSDictionary and NSArray
pod 'OCSafeMethod'
temp code:
NSDictionary *dictionary = [self getData];
NSString *result = [dictionary stringForKey:@"ret"];
NSInteger count = [dictionary integerForKey:@"count"];
SafeMethods of NSDictionary and NSArray
SafeMethods of NSDictionary and NSArray
pod 'OCSafeMethod'
temp code:
NSDictionary *dictionary = [self getData];
NSString *result = [dictionary stringForKey:@"ret"];
NSInteger count = [dictionary integerForKey:@"count"];
SafeMethods of NSDictionary and NSArray
MIT License