TKLayer Class Reference
Inherits from | CALayer |
Declared in | TKLayer.h |
Properties
Instance Methods
sizeThatFits:
Return ‘best’ size to fit given size. does not actually resize view. Default is return existing view size
- (CGSize)sizeThatFits:(CGSize)size
Parameters
- size
The size
Declared In
TKLayer.h
sizeToFit
Calls sizeThatFits: with current view bounds and changes bounds size.
- (void)sizeToFit
Declared In
TKLayer.h