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 <Foundation/Foundation.h> | |
6 #import <UIKit/UIKit.h> | |
7 | |
8 #import "Immi.h" | |
9 | |
10 @protocol CellPresenter | |
11 | |
12 @property (readonly) CGFloat minimumCellHeight; | |
13 | |
14 - (UITableViewCell*)tableView:(UITableView*)tableView | |
15 indexPath:(NSIndexPath*)indexPath | |
16 present:(Node*)node; | |
17 | |
18 - (CGFloat)tableView:(UITableView*)tableView | |
19 heightForRowAtIndexPath:(NSIndexPath*)indexPath; | |
20 | |
21 - (CGFloat)tableView:(UITableView*)tableView | |
22 estimatedHeightForRowAtIndexPath:(NSIndexPath*)indexPath; | |
23 @end | |
OLD | NEW |