Update to ARC and 10.9 deployment target.
This commit is contained in:
1 parent
e59092536b
commit
ac05736fed
67 files changed
+1240
-1694
No files matched your search
@@ -22,7 +22,7 @@
|
||||
}
|
||||
|
||||
- (id)dg_objectAtIndexedSubscript:(NSInteger)index {
|
||||
return [self objectAtIndex:index];
|
||||
return self[index];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
-(id)dg_objectForKeyedSubscript:(id)key {
|
||||
return [self objectForKey:key];
|
||||
return self[key];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -32,7 +32,7 @@
|
||||
[self addObject:anObject];
|
||||
}
|
||||
else {
|
||||
[self replaceObjectAtIndex:index withObject:anObject];
|
||||
self[index] = anObject;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
- (void)dg_setObject:(id)object forKeyedSubscript:(id < NSCopying >)aKey {
|
||||
[self setObject:object forKey:aKey];
|
||||
self[aKey] = object;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user