| 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 #include "todomvc_presenter.h" | 5 #include "todomvc_presenter.h" |
| 6 | 6 |
| 7 #import <Foundation/Foundation.h> | 7 #import <Foundation/Foundation.h> |
| 8 | 8 |
| 9 @interface TodoItem : NSObject | 9 @interface TodoItem : NSObject |
| 10 | 10 |
| 11 @property NSString *itemName; | 11 @property NSString *itemName; |
| 12 @property BOOL completed; | 12 @property BOOL completed; |
| 13 @property event deleteEvent; | 13 @property event deleteEvent; |
| 14 @property event completeEvent; | 14 @property event completeEvent; |
| 15 @property event uncompleteEvent; | 15 @property event uncompleteEvent; |
| 16 | 16 |
| 17 @property (readonly) NSDate *creationDate; | 17 @property (readonly) NSDate *creationDate; |
| 18 | 18 |
| 19 - (void)dispatchDeleteEvent; | 19 - (void)dispatchDeleteEvent; |
| 20 - (void)dispatchCompleteEvent; | 20 - (void)dispatchCompleteEvent; |
| 21 - (void)dispatchUncompleteEvent; | 21 - (void)dispatchUncompleteEvent; |
| 22 | 22 |
| 23 @end | 23 @end |
| OLD | NEW |