RBCollapsibleContainerView Class Reference
Inherits from | UIView |
---|---|
Conforms to | RBCollapsibleContainerHandleDelegate |
Declared in | RBCollapsibleContainerView.h |
view
The child view of the container.
@property (nonatomic, nullable) UIView *view
Discussion
The child view of the container.
Declared In
RBCollapsibleContainerView.h
state
The current state of the container.
@property (nonatomic) RBCollapsibleContainerState state
Discussion
The current state of the container.
Declared In
RBCollapsibleContainerView.h
– setState:animated:
Changes the state of the container.
- (void)setState:(RBCollapsibleContainerState)state animated:(BOOL)animated
Parameters
state |
The new state of the container to transition to. |
---|---|
animated |
Whether the transition should be animated. |
Discussion
Changes the state of the container.
Declared In
RBCollapsibleContainerView.h
animator
The RBAnimator
to use when animating state change transitions.
@property (nonatomic, readonly, nonnull) RBAnimator *animator
Discussion
The RBAnimator
to use when animating state change transitions.
Declared In
RBCollapsibleContainerView.h
shouldUseAnimations
Whether or not layouts should be performed immediately on state changes so that they can be included in parent animations.
@property (nonatomic) BOOL shouldUseAnimations
Discussion
Whether or not layouts should be performed immediately on state changes so that they can be included in parent animations.
Declared In
RBCollapsibleContainerView.h
– sizeThatFits:state:
- (CGSize)sizeThatFits:(CGSize)size state:(RBCollapsibleContainerState)state
Parameters
size |
The available size in the container. |
---|---|
state |
The state to calculate the size for. |
Return Value
The calculated CGSize
value.
Declared In
RBCollapsibleContainerView.h