Commit 95fe4442c7a0b344cf459ef3d4254d17d03872da

Authored by 毕珂
1 parent e713818a

0.0.23 tabBar添加方法切换显示索引

DSBaseModuleF.podspec
1 1 Pod::Spec.new do |s|
2 2  
3 3 s.name = "DSBaseModuleF"
4   - s.version = "0.0.22"
  4 + s.version = "0.0.23"
5 5 s.summary = "DSBaseModuleF"
6 6 s.homepage = "http://bj.gitlab.cnlive.com/DSIOSTeam"
7 7 s.authors = { "DSIOSTeam" => "694092596@qq.com" }
... ...
DSBaseModuleF/Frameworks/DSBaseModule.framework/DSBaseModule
No preview for this file type
DSBaseModuleF/Frameworks/DSBaseModule.framework/Headers/DSTabBarViewController.h
... ... @@ -38,11 +38,17 @@ NS_ASSUME_NONNULL_BEGIN
38 38 @property (nonatomic,strong) UIColor * selectColor;
39 39 /// 所有的子控制器
40 40 @property (nonatomic,strong,readonly) NSMutableArray<UIViewController*> * viewControllers;
41   -/// 当前显示的索引
  41 +/// 当前显示的索引 (用这个切换索引,有这个代理时tabBar:switchIndex:fromIndex:不会执行,只会切换索引)
42 42 @property (nonatomic,assign) NSUInteger displayIndex;
43 43 /// 当前显示的子控制器
44 44 @property (nonatomic,weak,readonly) UIViewController * displayViewController;
45 45  
  46 +#pragma mark - 方法
  47 +
  48 +/// 切换显示index (用这个切换索引,有这个代理时tabBar:switchIndex:fromIndex:会执行)
  49 +/// @param displayIndex 显示索引
  50 +-(void)switchDisplayIndex:(NSUInteger)displayIndex;
  51 +
46 52 #pragma mark - UI
47 53  
48 54 /**
... ...
DSBaseModuleF/Frameworks/DSBaseModule.framework/Info.plist
No preview for this file type