blob: a1cb84a267f8ef03a6b5b512d2ca4c8cfacb78bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
//
// SettingsViewController.h
// iOS UI Test
//
// Created by Jonathan Willing on 4/8/13.
// Copyright (c) 2013 AppJon. All rights reserved.
//
#import <UIKit/UIKit.h>
extern NSString * const UsernameKey;
extern NSString * const PasswordKey;
extern NSString * const HostnameKey;
extern NSString * const FetchFullMessageKey;
extern NSString * const OAuthEnabledKey;
@protocol SettingsViewControllerDelegate;
@interface SettingsViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextField *emailTextField;
@property (weak, nonatomic) IBOutlet UITextField *passwordTextField;
@property (weak, nonatomic) IBOutlet UITextField *hostnameTextField;
@property (weak, nonatomic) IBOutlet UISwitch *fetchFullMessageSwitch;
@property (weak, nonatomic) IBOutlet UISwitch *useOAuth2Switch;
@property (nonatomic, weak) id<SettingsViewControllerDelegate> delegate;
- (IBAction)done:(id)sender;
@end
@protocol SettingsViewControllerDelegate <NSObject>
- (void)settingsViewControllerFinished:(SettingsViewController *)viewController;
@end
|