#import <ThingModuleTabRegisterProtocol.h>
◆ registModuleTabItems [1/2]
◆ registModuleTabItems [2/2]
◆ tabBarCanSelect:withItemAttribute: [1/2]
| - (BOOL) tabBarCanSelect: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
item是否允许被选中 该方法仅在defaultSelect无效时回调 如果实现此方法 请 不要 在此回调中处理业务逻辑 请 务必仅返回 YES/NO 默认根据TYTabItemAttribute.viewController判断
◆ tabBarCanSelect:withItemAttribute: [2/2]
| - (BOOL) tabBarCanSelect: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
item是否允许被选中 该方法仅在defaultSelect无效时回调 如果实现此方法 请 不要 在此回调中处理业务逻辑 请 务必仅返回 YES/NO 默认根据TYTabItemAttribute.viewController判断
◆ tabBarDidSelect:withItemAttribute: [1/2]
| - (void) tabBarDidSelect: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
◆ tabBarDidSelect:withItemAttribute: [2/2]
| - (void) tabBarDidSelect: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
◆ tabBarDidUnselect:withItemAttribute: [1/2]
| - (void) tabBarDidUnselect: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
◆ tabBarDidUnselect:withItemAttribute: [2/2]
| - (void) tabBarDidUnselect: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
◆ tabBarShouldSetBadge:withItemAttribute: [1/2]
| - (BOOL) tabBarShouldSetBadge: |
|
(nullable NSString *) |
badge |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
◆ tabBarShouldSetBadge:withItemAttribute: [2/2]
| - (BOOL) tabBarShouldSetBadge: |
|
(nullable NSString *) |
badge |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
◆ tabBarShouldShow:withItemAttribute: [1/2]
| - (BOOL) tabBarShouldShow: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
用户点击tab后,是否允许展示对应vc,每次点击均有回调 返回NO则会打断点击流程, -tabBarDidSelect:withItemAttribute: 方法将会无回调
◆ tabBarShouldShow:withItemAttribute: [2/2]
| - (BOOL) tabBarShouldShow: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
用户点击tab后,是否允许展示对应vc,每次点击均有回调 返回NO则会打断点击流程, -tabBarDidSelect:withItemAttribute: 方法将会无回调
◆ tabBarWillAdd:withItemAttribute: [1/2]
| - (void) tabBarWillAdd: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
◆ tabBarWillAdd:withItemAttribute: [2/2]
| - (void) tabBarWillAdd: |
|
(nullable UIViewController *) |
controller |
| withItemAttribute: |
|
(ThingTabItemAttribute *) |
attribute |
|
|
| |
|
optional |
The documentation for this protocol was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingModuleManager/ThingModuleManager.xcframework/ios-x86_64-simulator/ThingModuleManager.framework/Headers/ThingModuleTabRegisterProtocol.h
- /Users/humtong/Downloads/Pods_副本/ThingModuleManager/ThingModuleManager.xcframework/ios-arm64/ThingModuleManager.framework/Headers/ThingModuleTabRegisterProtocol.h