RBSwitchContainerView Class Reference
Inherits from | UIView |
---|---|
Declared in | RBSwitchContainerView.h |
currentView
Gets or sets the currently displayed view, or nil
if no view is currently displayed.
@property (nonatomic, nullable) UIView *currentView
Discussion
Gets or sets the currently displayed view, or nil
if no view is currently displayed.
Declared In
RBSwitchContainerView.h
viewCount
The number of views in the container.
@property (nonatomic, readonly) NSUInteger viewCount
Discussion
The number of views in the container.
Declared In
RBSwitchContainerView.h
– viewAtIndex:
Gets the child view at the given index.
- (nonnull UIView *)viewAtIndex:(NSUInteger)index
Parameters
index |
The index of the child view. |
---|
Return Value
The retrieved child view.
Discussion
Gets the child view at the given index.
Declared In
RBSwitchContainerView.h
– addView:
Add a new child view to the container.
- (void)addView:(nonnull UIView *)view
Parameters
view |
The child view. |
---|
Discussion
Add a new child view to the container.
Declared In
RBSwitchContainerView.h
– removeView:
Remove the child view.
- (void)removeView:(nonnull UIView *)view
Parameters
view |
The child view. |
---|
Discussion
Remove the child view.
Declared In
RBSwitchContainerView.h