Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. - (id)jkobjectAtIndex:(NSUInteger)index {
  2. if (index >= self.count) {
  3. YTLog(@"数组越界了------%@", [self class]);
  4. return nil;
  5. }
  6.  
  7. return [self jkobjectAtIndex:index];
  8. }
  9.  
  10. - (void)jkinsertObject:(id)anObject atIndex:(NSUInteger)index {
  11. if (!anObject) {
  12. YTLog(@"数组内插入了一个nil对象--------%@", [self class]);
  13. return;
  14. }
  15.  
  16. return [self jkinsertObject:anObject atIndex:index];
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement