Created
September 29, 2012 15:21
-
-
Save swarut/3804341 to your computer and use it in GitHub Desktop.
Objective-C : User preferencing with NSUserDefaults #objective-c #user-preference #nsuserdefaults
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
NSUserDefaults *userPreference = [NSUserDefaults standardUserDefaults]; | |
[userPreference setValue:user_info forKey:@"key"]; | |
[userPreference removeObjectForKey:@"key"] | |
[userPreference synchronize];] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment