ASViewController Class Reference
| Conforms to | * : ASDisplayNode DisplayNodeType __covariant |
|---|---|
| Declared in | ASViewController.h |
overrideDisplayTraitsWithTraitCollection
Set this block to customize the ASDisplayTraits returned when the VC transitions to the given traitCollection.
@property (nonatomic, copy) ASDisplayTraitsForTraitCollectionBlock overrideDisplayTraitsWithTraitCollectionDeclared In
ASViewController.h
overrideDisplayTraitsWithWindowSize
Set this block to customize the ASDisplayTraits returned when the VC transitions to the given window size.
@property (nonatomic, copy) ASDisplayTraitsForTraitWindowSizeBlock overrideDisplayTraitsWithWindowSizeDeclared In
ASViewController.h
interfaceState
Passthrough property to the the .interfaceState of the node.
@property (nonatomic, readonly) ASInterfaceState interfaceStateReturn Value
The current ASInterfaceState of the node, indicating whether it is visible and other situational properties.
See Also
Declared In
ASViewController.h
– nodeConstrainedSize
The constrained size used to measure the backing node.
- (ASSizeRange)nodeConstrainedSizeDiscussion
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.
Declared In
ASViewController.h