Tuya iOS Smart Life App SDK 5.15.0
<ThingTabBarControllerProtocol> Protocol Reference

#import <ThingTabBarControllerProtocol.h>

Inheritance diagram for <ThingTabBarControllerProtocol>:

Instance Methods

(void) - reloadData
 
(ThingTabItemAttribute *) - itemAttributeAtIndex:
 
(ThingTabItemAttribute *) - itemAttributeOfViewController:
 
(UIViewController *) - childViewControllerAtIndex:
 
(UIControl *) - customTabButtonAtIndex:
 
(UIControl *) - systemTabButtonAtIndex:
 
(void) - selectWithIndex:
 
(void) - reloadData
 
(ThingTabItemAttribute *) - itemAttributeAtIndex:
 
(ThingTabItemAttribute *) - itemAttributeOfViewController:
 
(UIViewController *) - childViewControllerAtIndex:
 
(UIControl *) - customTabButtonAtIndex:
 
(UIControl *) - systemTabButtonAtIndex:
 
(void) - selectWithIndex:
 

Properties

id< ThingTabBarControllerDataSourcething_dataSource
 
id< ThingTabBarControllerDelegatething_delegate
 
CGFloat tabBarHeight
 
UIImage * tabSeparatorImage
 
UIColor * tabBackgroundColor
 
UIImage * tabBackgroundImage
 
CGFloat tabBackgroundAlpha
 
UIViewContentMode tabBackgroundImageContentMode
 
CGFloat tabBackgroundImageHeightOffset
 
BOOL isHideSystemBackground
 
UIEdgeInsets itemImageInsets
 
UIOffset itemTitleOffset
 
NSArray< ThingTabItemAttribute * > * itemAttributes
 

Detailed Description

Definition at line 16 of file ThingTabBarControllerProtocol.h.

Method Documentation

◆ childViewControllerAtIndex: [1/2]

- (UIViewController *) childViewControllerAtIndex: (NSUInteger)  index

◆ childViewControllerAtIndex: [2/2]

- (UIViewController *) childViewControllerAtIndex: (NSUInteger)  index

◆ customTabButtonAtIndex: [1/2]

- (UIControl *) customTabButtonAtIndex: (NSUInteger)  index

◆ customTabButtonAtIndex: [2/2]

- (UIControl *) customTabButtonAtIndex: (NSUInteger)  index

◆ itemAttributeAtIndex: [1/2]

- (ThingTabItemAttribute *) itemAttributeAtIndex: (NSUInteger)  index

◆ itemAttributeAtIndex: [2/2]

- (ThingTabItemAttribute *) itemAttributeAtIndex: (NSUInteger)  index

◆ itemAttributeOfViewController: [1/2]

- (ThingTabItemAttribute *) itemAttributeOfViewController: (UIViewController *)  childController

◆ itemAttributeOfViewController: [2/2]

- (ThingTabItemAttribute *) itemAttributeOfViewController: (UIViewController *)  childController

◆ reloadData [1/2]

- (void) reloadData

◆ reloadData [2/2]

- (void) reloadData

◆ selectWithIndex: [1/2]

- (void) selectWithIndex: (NSUInteger)  index

◆ selectWithIndex: [2/2]

- (void) selectWithIndex: (NSUInteger)  index

◆ systemTabButtonAtIndex: [1/2]

- (UIControl *) systemTabButtonAtIndex: (NSUInteger)  index

◆ systemTabButtonAtIndex: [2/2]

- (UIControl *) systemTabButtonAtIndex: (NSUInteger)  index

Property Documentation

◆ isHideSystemBackground

- (BOOL) isHideSystemBackground
readwritenonatomicassign

隐藏系统的背景 默认为NO

Definition at line 43 of file ThingTabBarControllerProtocol.h.

◆ itemAttributes

- (NSArray< ThingTabItemAttribute * > *) itemAttributes
readnonatomicstrong

Definition at line 49 of file ThingTabBarControllerProtocol.h.

◆ itemImageInsets

- (UIEdgeInsets) itemImageInsets
readwritenonatomicassign

Definition at line 46 of file ThingTabBarControllerProtocol.h.

◆ itemTitleOffset

- (UIOffset) itemTitleOffset
readwritenonatomicassign

Definition at line 47 of file ThingTabBarControllerProtocol.h.

◆ tabBackgroundAlpha

- (CGFloat) tabBackgroundAlpha
readwritenonatomicassign

Definition at line 30 of file ThingTabBarControllerProtocol.h.

◆ tabBackgroundColor

- (UIColor *) tabBackgroundColor
readwritenonatomicstrong

Definition at line 27 of file ThingTabBarControllerProtocol.h.

◆ tabBackgroundImage

- (UIImage *) tabBackgroundImage
readwritenonatomicstrong

Definition at line 28 of file ThingTabBarControllerProtocol.h.

◆ tabBackgroundImageContentMode

- (UIViewContentMode) tabBackgroundImageContentMode
readwritenonatomicassign

Definition at line 32 of file ThingTabBarControllerProtocol.h.

◆ tabBackgroundImageHeightOffset

- (CGFloat) tabBackgroundImageHeightOffset
readwritenonatomicassign

背景图的高度偏移量 默认为0,即背景图高度为tabbar的高度

Definition at line 38 of file ThingTabBarControllerProtocol.h.

◆ tabBarHeight

- (CGFloat) tabBarHeight
readwritenonatomicassign

Definition at line 23 of file ThingTabBarControllerProtocol.h.

◆ tabSeparatorImage

- (UIImage *) tabSeparatorImage
readwritenonatomicstrong

如果设置tabSeparatorImage,请一并设置tabBackgroundColor/tabBackgroundImage 否则tabbar将是透明的

Definition at line 25 of file ThingTabBarControllerProtocol.h.

◆ thing_dataSource

- (id< ThingTabBarControllerDataSource >) thing_dataSource
readwritenonatomicweak

Definition at line 19 of file ThingTabBarControllerProtocol.h.

◆ thing_delegate

- (id< ThingTabBarControllerDelegate >) thing_delegate
readwritenonatomicweak

Definition at line 20 of file ThingTabBarControllerProtocol.h.


The documentation for this protocol was generated from the following files: