TSTabView Class Reference
Inherits from | UIView |
Declared in | TSTabView.h |
Tasks
-
delegate
property -
dataSource
property -
navigationMenu
property -
navigationMenuEdgeInsets
property -
contentViewEdgeInsets
property -
selectedTab
property -
bounces
property -
parentViewController
property -
– initWithFrame:navigationMenu:
-
– reloadData
-
– reloadTabsData
-
– selectTabAtIndex:animated:
-
– insertTabAtIndex:animated:
-
– removeTabAtIndex:animated:
Properties
navigationMenu
Navigation control. Set during TSTabView initialization.
@property (nonatomic, strong, readonly) TSNavigationStripView *navigationMenu
Declared In
TSTabView.h
navigationMenuEdgeInsets
Customize position and bounds of TSNavigationStripView and tabs container in root view. By default both insets are UIEdgeInsetsZero: - TSNavigationStripView is located along top edge of TSTabView view. - Tabs container is located below and fill remaining space in TSTabView view. If navigationMenuEdgeInsets is UIEdgeInsetsZero, then contentViewEdgeInsets is applied considering TSNavigationStripView size. If navigationMenuEdgeInsets isn’t UIEdgeInsetsZero, then contentViewEdgeInsets is applied relative root view’s frame, size of TSNavigationStripView isn’t taken into account during layout calculation. This allows creating overlapping layouts when TSNavigationStripView is located above tabs container. @def UIEdgeInsetsZero
@property (nonatomic, assign) UIEdgeInsets navigationMenuEdgeInsets
Declared In
TSTabView.h
Instance Methods
initWithFrame:navigationMenu:
- (id)initWithFrame:(CGRect)rect navigationMenu:(TSNavigationStripView *)navigationMenu