aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
authorGravatar Paul Young <paulyoungonline@gmail.com>2013-06-22 17:05:41 -0400
committerGravatar Paul Young <paulyoungonline@gmail.com>2013-06-22 17:05:41 -0400
commit23935690c4ba954eef4e55ab8143f5b8547ab98d (patch)
tree0affda109093872ea56e52204da6d9637030cda3 /example
parente4cb9c41ebc8de388da788e4825eaef3ffc5f525 (diff)
Fixed indentation.
* Consistently using spaces instead of tabs. * Tab width is set to 4 spaces.
Diffstat (limited to 'example')
-rw-r--r--example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m20
1 files changed, 10 insertions, 10 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m b/example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m
index f897b0d5..e2f0d2c5 100644
--- a/example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m
+++ b/example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m
@@ -17,21 +17,21 @@ NSString * const FetchFullMessageKey = @"FetchFullMessageEnabled";
@implementation SettingsViewController
- (void)done:(id)sender {
- [[NSUserDefaults standardUserDefaults] setObject:self.emailTextField.text ?: @"" forKey:UsernameKey];
- [[FXKeychain defaultKeychain] setObject:self.passwordTextField.text ?: @"" forKey:PasswordKey];
- [[NSUserDefaults standardUserDefaults] setObject:self.hostnameTextField.text ?: @"" forKey:HostnameKey];
+ [[NSUserDefaults standardUserDefaults] setObject:self.emailTextField.text ?: @"" forKey:UsernameKey];
+ [[FXKeychain defaultKeychain] setObject:self.passwordTextField.text ?: @"" forKey:PasswordKey];
+ [[NSUserDefaults standardUserDefaults] setObject:self.hostnameTextField.text ?: @"" forKey:HostnameKey];
[[NSUserDefaults standardUserDefaults] setBool:[self.fetchFullMessageSwitch isOn] forKey:FetchFullMessageKey];
-
- [self.delegate settingsViewControllerFinished:self];
+
+ [self.delegate settingsViewControllerFinished:self];
}
- (void)viewDidLoad {
[super viewDidLoad];
-
- self.view.backgroundColor = [UIColor underPageBackgroundColor];
- self.emailTextField.text = [[NSUserDefaults standardUserDefaults] stringForKey:UsernameKey];
- self.passwordTextField.text = [[FXKeychain defaultKeychain] objectForKey:PasswordKey];
- self.hostnameTextField.text = [[NSUserDefaults standardUserDefaults] stringForKey:HostnameKey];
+
+ self.view.backgroundColor = [UIColor underPageBackgroundColor];
+ self.emailTextField.text = [[NSUserDefaults standardUserDefaults] stringForKey:UsernameKey];
+ self.passwordTextField.text = [[FXKeychain defaultKeychain] objectForKey:PasswordKey];
+ self.hostnameTextField.text = [[NSUserDefaults standardUserDefaults] stringForKey:HostnameKey];
self.fetchFullMessageSwitch.on = [[NSUserDefaults standardUserDefaults] boolForKey:FetchFullMessageKey];
}