This commit is contained in:
galad87 committed 2015-08-29 13:12:26 +02:00
1 parent bb241f46b1
commit ee94900e33
10 files changed
+56 -67

No files matched your search

@@ -1,5 +1,5 @@
//
// SBLogger.m
// NSMutableDictionary+Subscript.m
// Subler
//
@@ -8,10 +8,8 @@
@implementation NSMutableDictionary (Subscript)
+ (void)load
{
+ (void)load {
Class class = [self class];
SEL swizzledSelector = @selector(dg_setObject:forKeyedSubscript:);
Method swizzledMethod = class_getInstanceMethod(class, swizzledSelector);
@@ -22,8 +20,7 @@
);
}
- (void)dg_setObject:(id)object forKeyedSubscript:(id < NSCopying >)aKey
{
- (void)dg_setObject:(id)object forKeyedSubscript:(id < NSCopying >)aKey {
[self setObject:object forKey:aKey];
}