Inherits from TSNavigationStripSection : TSNavigationStripComponent : NSObject
Declared in TSTabViewModel.h

Overview

TSTabViewSection contains information about corresponding tab in TSTabView. This information includes appearance and content properties.

Properties

tabContent

UIView assotiated with this section

@property (nonatomic, strong) UIView *tabContent

Declared In

TSTabViewModel.h

tabController

UIViewController assotiated with this section

@property (nonatomic, strong) UIViewController *tabController

Declared In

TSTabViewModel.h

Instance Methods

initWithDictionary:

Initialize TSTabViewSection with dictionary which define content and appearance.

- (id)initWithDictionary:(NSDictionary *)dictionary

Parameters

info

Dictionary containes information about tab.

 NSDictionary *tabInfo = @{
     @"tabContent" : [[UIView alloc] init],
     @"title" : @"Tab 1"
 };

Declared In

TSTabViewModel.h

initWithTitle:andController:

Initialize TSTabViewSection with section title and corresponding UIViewController

- (id)initWithTitle:(NSString *)title andController:(UIViewController *)controller

Declared In

TSTabViewModel.h

initWithTitle:andView:

Initialize TSTabViewSection with section title and corresponding UIView

- (id)initWithTitle:(NSString *)title andView:(UIView *)view

Declared In

TSTabViewModel.h