SimpleSegmentControl
使用方法
segmentControl.segments = ["one","two","three"]
segmentControl.reloadSegments()
segmentControl.indexChangedHandler = { [weak self] index in
print(index)
}
示例
要运行示例项目,请先将仓库克隆,然后首先在 Example 目录下运行 pod install
。
要求
安装
SimpleSegmentControl 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中。
pod 'SimpleSegmentControl'
作者
托比亚斯,[邮箱地址隐藏]
许可协议
SimpleSegmentControl开源基于MIT许可证。更多详情请参阅LICENSE文件。