view controller node is resized to match layoutspec for cells

This commit is contained in:
Luke Parham
2015-12-09 13:13:39 -06:00
parent 5e34f10b81
commit eeb49859f0
5 changed files with 67 additions and 28 deletions

View File

@@ -93,6 +93,15 @@ typedef NSUInteger ASCellNodeAnimation;
*/
- (void)setNeedsLayout;
/* TODO: WRITE DOCUMENTATION */
- (instancetype)initWithViewControllerBlock:(ASDisplayNodeViewControllerBlock)viewControllerBlock;
- (instancetype)initWithViewControllerBlock:(ASDisplayNodeViewControllerBlock)viewControllerBlock didLoadBlock:(ASDisplayNodeDidLoadBlock)didLoadBlock;
@end