NSArray+NBAdditions.h 499 B

1234567891011121314151617
  1. //
  2. // NSArray+NBAdditions.h
  3. // libPhoneNumber
  4. //
  5. // Created by Dave MacLachlan on 2/7/17.
  6. // Copyright © 2017 ohtalk.me. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface NSArray (NBAdditions)
  10. - (id)nb_safeObjectAtIndex:(NSUInteger)index class:(Class)clazz;
  11. - (NSString *)nb_safeStringAtIndex:(NSUInteger)index;
  12. - (NSNumber *)nb_safeNumberAtIndex:(NSUInteger)index;
  13. - (NSArray *)nb_safeArrayAtIndex:(NSUInteger)index;
  14. - (NSData *)nb_safeDataAtIndex:(NSUInteger)index;
  15. @end