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 "MenuPresenter.h" | 5 #import "MenuPresenter.h" |
6 | 6 |
7 @interface MenuPresenter () | 7 @interface MenuPresenter () |
8 | 8 |
9 @property (weak) MenuNode* root; | 9 @property (weak) MenuNode* root; |
10 @property UINavigationController* navigationController; | 10 @property UINavigationController* navigationController; |
11 | 11 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 return cell; | 72 return cell; |
73 } | 73 } |
74 | 74 |
75 - (void)tableView:(UITableView*)tableView | 75 - (void)tableView:(UITableView*)tableView |
76 didSelectRowAtIndexPath:(NSIndexPath*)indexPath { | 76 didSelectRowAtIndexPath:(NSIndexPath*)indexPath { |
77 MenuItemNode* item = self.root.items[indexPath.row]; | 77 MenuItemNode* item = self.root.items[indexPath.row]; |
78 item.select(); | 78 item.select(); |
79 } | 79 } |
80 | 80 |
81 @end | 81 @end |
OLD | NEW |