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 <Foundation/Foundation.h> | 5 #import <Foundation/Foundation.h> |
6 #import <UIKit/UIKit.h> | 6 #import <UIKit/UIKit.h> |
7 | 7 |
8 #import "CellPresenter.h" | 8 #import "CellPresenter.h" |
9 | 9 |
10 @interface SlidingWindowPresenter | 10 @interface SlidingWindowPresenter |
11 : NSObject <UITableViewDataSource, | 11 : NSObject <UITableViewDataSource, |
12 UITableViewDelegate, | 12 UITableViewDelegate, |
13 SlidingWindowPresenter> | 13 SlidingWindowPresenter> |
14 | 14 |
15 // TODO(zarah): Move access of tableView to controller. | 15 // TODO(zarah): Move access of tableView to controller. |
16 - (id)initWithCellPresenter:(id<CellPresenter>)cellPresenter | 16 - (id)initWithCellPresenter:(id<CellPresenter>)cellPresenter |
17 tableView:(UITableView*)tableView; | 17 tableView:(UITableView*)tableView; |
18 | 18 |
19 @end | 19 @end |
OLD | NEW |