RBTabbedPageContainerViewController Class Reference
Inherits from | UIViewController |
---|---|
Conforms to | RBTabbedPageContainerViewDelegate |
Declared in | RBTabbedPageContainerViewController.h |
delegate
A delegate to receive tab page selection events.
@property (nonatomic, weak, nullable) id<RBTabbedPageContainerViewControllerDelegate> delegate
Discussion
A delegate to receive tab page selection events.
Declared In
RBTabbedPageContainerViewController.h
headerVisible
Whether or not the tab header should be visible.
@property (nonatomic) BOOL headerVisible
Discussion
Whether or not the tab header should be visible.
Declared In
RBTabbedPageContainerViewController.h
headerHeight
Whether or not the tab header should be positioned at the bottom (true) or not.
@property (nonatomic) CGFloat headerHeight
Discussion
Whether or not the tab header should be positioned at the bottom (true) or not.
Declared In
RBTabbedPageContainerViewController.h
barPositionAtBottom
Whether or not the container view should size to fit the current page, or all pages.
@property (nonatomic) BOOL barPositionAtBottom
Discussion
Whether or not the container view should size to fit the current page, or all pages.
Declared In
RBTabbedPageContainerViewController.h
pageControllerCount
The number of pages currently in the container.
@property (nonatomic, readonly) NSUInteger pageControllerCount
Discussion
The number of pages currently in the container.
Declared In
RBTabbedPageContainerViewController.h
currentPageIndex
Gets or sets the index of the current page.
@property (nonatomic) NSUInteger currentPageIndex
Discussion
Gets or sets the index of the current page.
Declared In
RBTabbedPageContainerViewController.h
currentPageViewController
The currently selected page view controller.
@property (nonatomic, nullable) UIViewController *currentPageViewController
Discussion
The currently selected page view controller.
Declared In
RBTabbedPageContainerViewController.h
– pageControllerAtIndex:
Retrieves the page view controller at the given index.
- (nullable UIViewController *)pageControllerAtIndex:(NSUInteger)index
Parameters
index |
The tab page index. |
---|
Return Value
The retrieved page view controller.
Discussion
Retrieves the page view controller at the given index.
Declared In
RBTabbedPageContainerViewController.h
– addPageController:withTitle:
Adds a page tab with the given title.
- (BOOL)addPageController:(nonnull UIViewController *)pageController withTitle:(nonnull NSString *)title
Parameters
pageController |
The page view controller to add. |
---|---|
title |
The title of the page to add. |
Return Value
Whether or not the operation was successful.
Discussion
Adds a page tab with the given title.
Declared In
RBTabbedPageContainerViewController.h
– addPageController:withTitle:usingButton:
Adds a page tab with the given title and button.
- (BOOL)addPageController:(nonnull UIViewController *)pageController withTitle:(nonnull NSString *)title usingButton:(nonnull RBTabbedPageContainerButtonView *)button
Parameters
pageController |
The page view controller to add. |
---|---|
title |
The title of the page to add. |
button |
The tab button to use in the header. |
Return Value
Whether or not the operation was successful.
Discussion
Adds a page tab with the given title and button.
Declared In
RBTabbedPageContainerViewController.h
– removePageController:
Removes the given tab page.
- (BOOL)removePageController:(nonnull UIViewController *)pageController
Parameters
pageController |
The page view controller to remove. |
---|
Return Value
Whether or not the operation was successful.
Discussion
Removes the given tab page.
Declared In
RBTabbedPageContainerViewController.h
– removeAllPageControllers
Removes all of the tab page view controllers.
- (void)removeAllPageControllers
Discussion
Removes all of the tab page view controllers.
Declared In
RBTabbedPageContainerViewController.h