Implement sizeToFit:

This commit is contained in:
Michael Schneider
2016-11-11 18:14:54 -08:00
parent f81c7a05b6
commit c819d716b4
3 changed files with 46 additions and 3 deletions

View File

@@ -269,6 +269,7 @@ extern NSInteger const ASDefaultDrawingPriority;
@property (nonatomic, readwrite, weak, nullable) id<ASDisplayNodeSizingDelegate> sizingDelegate;
- (void)invalidateSize;
- (void)sizeToFit;
- (CGSize)sizeThatFits:(CGSize)size;