该库是对JXSegmentedView的扩展及优化,目前的JXSegmentedView版本是1.3.0,JXSegmentedViewExt版本是1.0.1
1、增加方法,可动态刷新标题和指示器颜色
/// 刷新所有cell状态
func gk_refreshCellState()
/// 刷新所有指示器状态
func gk_refreshIndicatorState()
/// 刷新所有cell和指示器状态
func gk_refreshCellAndIndicatorState()
2、增加属性isSelectItemOnScrollHalf,可控制在滑动到一半的时候选中下一个item
1、修复某些情况下导致的Unbalanced calls to begin/end appearance transitions for XXXX
JXSegmentedViewExt优化了JXSegmentedView的pod方式,将不同组件进行拆分,可按需pod
pod 'JXSegmentedViewExt' 或 pod 'JXSegmentedViewExt/Core'
// 文字
pod 'JXSegmentedViewExt/Title'
// 文字+副标题
pod 'JXSegmentedViewExt/SubTitle'
// 图片
pod 'JXSegmentedViewExt/Image'
// 文字+图片
pod 'JXSegmentedViewExt/TitleImage'
// 富文本
pod 'JXSegmentedViewExt/TitleAttribute'
// title+小红点
pod 'JXSegmentedViewExt/Dot'
// title+小红点缩放
pod 'JXSegmentedViewExt/DotZoom'
// title+数字
pod 'JXSegmentedViewExt/Number'
// title+(文字、数字、红点混合)
pod 'JXSegmentedViewExt/Badge'
// title垂直滚动缩放
pod 'JXSegmentedViewExt/VerticalZoomTitle'
// 背景
pod 'JXSegmentedViewExt/Background'
// 线
pod 'JXSegmentedViewExt/Indicator/Line'
// 线+对齐
pod 'JXSegmentedViewExt/Indicator/AlignmentLine'
// 线+彩虹效果
pod 'JXSegmentedViewExt/Indicator/RainbowLine'
// 图片
pod 'JXSegmentedViewExt/Indicator/Image'
// 背景渐变
pod 'JXSegmentedViewExt/Indicator/Gradient'
// 线渐变
pod 'JXSegmentedViewExt/Indicator/GradientLine'
// 三角形
pod 'JXSegmentedViewExt/Indicator/Triangle'
// 点线
pod 'JXSegmentedViewExt/Indicator/DotLine'
// 双线
pod 'JXSegmentedViewExt/Indicator/DoubleLine'
- 1.0.4 2024.05.16 修复bug,更新JXSegmentedView,Badge类型支持图片,添加苹果隐私协议文件
- 1.0.3 2023.06.06 支持SPM
- 1.0.2 2022.07.12 JXSegmentedTitleImage支持多种组合方式
- 1.0.1 2022.04.25 优化及bug修改,将pod拆分为多个