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 "TodoListTableViewController.h" | 5 #import "TodoListTableViewController.h" |
6 #import "AddTodoItemViewController.h" | 6 #import "AddTodoItemViewController.h" |
7 #import "TodoItem.h" | 7 #import "TodoItem.h" |
8 | 8 |
9 #include "todomvc_service.h" | 9 #include "todomvc_service.h" |
10 #include "todomvc_presenter.h" | 10 #include "todomvc_presenter.h" |
11 | 11 |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 | 250 |
251 #pragma mark - Table view delegate | 251 #pragma mark - Table view delegate |
252 | 252 |
253 - (void)tableView:(UITableView *)tableView | 253 - (void)tableView:(UITableView *)tableView |
254 didSelectRowAtIndexPath:(NSIndexPath *)indexPath { | 254 didSelectRowAtIndexPath:(NSIndexPath *)indexPath { |
255 [tableView deselectRowAtIndexPath:indexPath animated:NO]; | 255 [tableView deselectRowAtIndexPath:indexPath animated:NO]; |
256 self.impl->toggleItem(indexPath.row); | 256 self.impl->toggleItem(indexPath.row); |
257 } | 257 } |
258 | 258 |
259 @end | 259 @end |
OLD | NEW |