OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE.md file. | |
4 | |
5 #import "TodoItem.h" | |
6 | |
7 @implementation TodoItem | |
8 | |
9 - (void)dispatchDeleteEvent { | |
10 TodoMVCPresenter::dispatch(self.deleteEvent); | |
11 } | |
12 | |
13 - (void)dispatchCompleteEvent { | |
14 TodoMVCPresenter::dispatch(self.completeEvent); | |
15 } | |
16 | |
17 - (void)dispatchUncompleteEvent { | |
18 TodoMVCPresenter::dispatch(self.uncompleteEvent); | |
19 } | |
20 | |
21 @end | |
OLD | NEW |