CHDivideEquallyChannelView
效果
使用
self.divideEquallyChannelView = [[CHDivideEquallyChannelView alloc] init];
[self.view addSubview:self.divideEquallyChannelView];
[self.divideEquallyChannelView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.offset(0);
make.height.offset(44);
make.top.equalTo(self.mas_topLayoutGuide);
}];
[self.divideEquallyChannelView reloadData];
安装
使用 CocoaPods 集成。首先在 podfile 中
pod 'CHDivideEquallyChannelView'
安装 pod
#import <CHDivideEquallyChannelView/CHDivideEquallyChannelView.h>
更新记录
版本 | 更新内容 |
---|---|
0.0.5 | 新增 twigView 距离底边距离 |
0.0.4 | 修复偶数个布局时的 Bug |
0.0.3 | 新增一个 TwigView 的过度动画 |
0.0.2 | 修复不能设置 0.0.1 版本 TwigView 颜色的 Bug |
0.0.1 | 支持设置 TwigView,是否隐藏等。正常/选中状态字体,文字颜色设置。 |