Inherits from UIView
Declared in TSTabView.h

Properties

bounces

@property (nonatomic, assign) BOOL bounces

contentViewEdgeInsets

@property (nonatomic, assign) UIEdgeInsets contentViewEdgeInsets

dataSource

@property (nonatomic, weak) id<TSTabViewDataSource> dataSource

delegate

@property (nonatomic, weak) id<TSTabViewDelegate> delegate

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

parentViewController

Should be set appropriatly in case if tab’s content represented with UIVewController’s subclasses. Needed to keep valid UIViewControllers hierarchy.

@property (nonatomic, weak) UIViewController *parentViewController

Declared In

TSTabView.h

selectedTab

Currently selected tab.

@property (nonatomic, assign, readonly) NSInteger selectedTab

Declared In

TSTabView.h

Instance Methods

initWithFrame:navigationMenu:

- (id)initWithFrame:(CGRect)rect navigationMenu:(TSNavigationStripView *)navigationMenu

insertTabAtIndex:animated:

Content modification. Should be invoked when data source content has been changed.

- (void)insertTabAtIndex:(NSInteger)index animated:(BOOL)animated

Declared In

TSTabView.h

reloadData

- (void)reloadData

reloadTabsData

- (void)reloadTabsData

removeTabAtIndex:animated:

- (void)removeTabAtIndex:(NSInteger)index animated:(BOOL)animated

selectTabAtIndex:animated:

Selection.

- (void)selectTabAtIndex:(NSInteger)index animated:(BOOL)animated

Declared In

TSTabView.h