OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 // Copyright (c) 2015 Google Inc. All rights reserved. | 4 // Copyright (c) 2015 Google Inc. All rights reserved. |
5 | 5 |
6 #import <Foundation/Foundation.h> | 6 #import <Foundation/Foundation.h> |
7 #import <UIKit/UIKit.h> | 7 #import <UIKit/UIKit.h> |
8 #import "ViewPresenter.h" | 8 #import "ViewPresenter.h" |
9 #import "Immi.h" | 9 #import "Immi.h" |
10 | 10 |
11 @interface LoginPresenter : UIViewController <ViewPresenter, | 11 @interface LoginPresenter : UIViewController <ViewPresenter, |
12 LoginPresenter, | 12 LoginPresenter, |
13 UITextFieldDelegate> | 13 UITextFieldDelegate> |
14 @property (weak,nonatomic) IBOutlet UITextField* username; | 14 @property (weak,nonatomic) IBOutlet UITextField* username; |
15 @property (weak,nonatomic) IBOutlet UITextField* password; | 15 @property (weak,nonatomic) IBOutlet UITextField* password; |
16 @property (weak,nonatomic) IBOutlet UILabel* response; | 16 @property (weak,nonatomic) IBOutlet UILabel* response; |
17 @property (weak,nonatomic) IBOutlet UILabel* user; | 17 @property (weak,nonatomic) IBOutlet UILabel* user; |
18 @property (weak,nonatomic) IBOutlet UIButton* loginButton; | 18 @property (weak,nonatomic) IBOutlet UIButton* loginButton; |
19 @property (weak,nonatomic) IBOutlet UIButton* logoutButton; | 19 @property (weak,nonatomic) IBOutlet UIButton* logoutButton; |
20 | 20 |
21 @property (readonly) UIViewController* viewController; | 21 @property (readonly) UIViewController* viewController; |
22 @end | 22 @end |
OLD | NEW |