Expose ASViewController's constrained size for subclass customization

This commit is contained in:
Levi McCallum
2015-10-27 11:40:43 -07:00
parent 2c8626e1f6
commit 03bd1f4358
2 changed files with 18 additions and 3 deletions

View File

@@ -20,4 +20,13 @@
- (instancetype)initWithNode:(ASDisplayNode *)node;
/**
* The constrained size used to measure the backing node.
*
* @discussion Defaults to providing a size range that uses the view controller view's bounds as
* both the min and max definitions. Override this method to provide a custom size range to the
* backing node.
*/
- (ASSizeRange)nodeConstrainedSize;
@end