// // NSArray+JZExtension.m // JIZHANG // // Created by jikaipeng on 2017/11/21. // Copyright © 2017年 kuxuan. All rights reserved. // #import "NSArray+JZExtension.h" @implementation NSArray (JZExtension) - (id)objectAtIndexCheck:(NSUInteger)index { if (index >= [self count]) { return nil; } id value = [self objectAtIndex:index]; if (value == [NSNull null]) { return nil; } return value; } @end