Last active
July 2, 2017 10:32
-
-
Save mavris/d0c0857643f04b79d0b6830aa277edf5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "NSUserDefaults+MyUserDefaults.h" | |
@implementation NSUserDefaults (MyUserDefaults) | |
-(void)mySetObject:(id)value forKey:(NSString *)defaultName { | |
[self setObject:value forKey:defaultName]; | |
NSLog(@"Set object %@ for key %@",value,defaultName); | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment