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