This commit is contained in:
Ali 2021-09-21 01:14:05 +03:00
parent e658555ef4
commit 54e3543a6f
2 changed files with 0 additions and 27 deletions

View File

@ -11,19 +11,6 @@
- (id)customSafeObjectAtIndex:(NSUInteger)index; - (id)customSafeObjectAtIndex:(NSUInteger)index;
@end @end
@implementation NSArray (NBAdditions)
- (id)customSafeObjectAtIndex:(NSUInteger)index {
@synchronized(self) {
if (index >= [self count]) return nil;
id res = [self objectAtIndex:index];
if (res == nil || (NSNull*)res == [NSNull null]) {
return nil;
}
return res;
}
}
@end
#define kNBSRCDirectoryName @"src" #define kNBSRCDirectoryName @"src"
#define INDENT_TAB @" " #define INDENT_TAB @" "

View File

@ -10,20 +10,6 @@
- (id)customSafeObjectAtIndex:(NSUInteger)index; - (id)customSafeObjectAtIndex:(NSUInteger)index;
@end @end
@implementation NSArray (NBAdditions)
- (id)customSafeObjectAtIndex:(NSUInteger)index {
@synchronized(self) {
if (index >= [self count]) return nil;
id res = [self objectAtIndex:index];
if (res == nil || (NSNull*)res == [NSNull null]) {
return nil;
}
return res;
}
}
@end
@implementation NBPhoneNumberDesc @implementation NBPhoneNumberDesc
- (id)initWithData:(id)data - (id)initWithData:(id)data