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 | 4 |
5 #import "LoginPresenter.h" | 5 #import "LoginPresenter.h" |
6 | 6 |
7 @interface LoginPresenter() | 7 @interface LoginPresenter() |
8 @property UINavigationController* navigationController; | 8 @property UINavigationController* navigationController; |
9 @property Node* loginState; | 9 @property Node* loginState; |
10 @end | 10 @end |
11 | 11 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 LoggedInStateNode* loggedIn = [self.loginState as:LoggedInStateNode.class]; | 100 LoggedInStateNode* loggedIn = [self.loginState as:LoggedInStateNode.class]; |
101 loggedIn.logout(); | 101 loggedIn.logout(); |
102 } | 102 } |
103 } | 103 } |
104 | 104 |
105 - (UIViewController*)viewController { | 105 - (UIViewController*)viewController { |
106 return self.navigationController; | 106 return self.navigationController; |
107 } | 107 } |
108 | 108 |
109 @end | 109 @end |
OLD | NEW |