Skip to content

Instantly share code, notes, and snippets.

View pratikshabhisikar's full-sized avatar

Pratiksha Bhisikar pratikshabhisikar

View GitHub Profile
@try {
if (versionOk == YES)
{
NSLog(@"Before Saving - Username: %@ and Password: %@", username.text, password.text);
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
[userDefaults setObject:username.text forKey:@"username"];