测试已测试 | ✗ |
语言语言 | SwiftSwift |
许可协议 | MIT |
发布上次发布 | 2017年6月 |
SwiftSwift版本 | 3.0.2 |
SPM支持SPM | ✗ |
由Leonardo Cardoso维护。
另一个任务指示器
如果您不希望使用上述任何一个依赖管理器,您可以手动将SendIndicator集成到项目中。
您可以在Storyboard上使用SendIndicator
,或者如果您想进行程序化操作,可以类似于创建UIView那样创建它。
let indicator = SendIndicator(frame: CGRect(x: 0, y: 0, width: 60, height: 35), palette: Palette(indicatorColor: .red)) // Choose a ration 12/7 for width/height
self.parentView.addSubview(downloadButton)
indicator.startAnimation()
indicator.stopAnimation()
最后,您可以直接从Interface Builder或Storyboard中自定义SendIndicator
属性。
SendIndicator采用MIT许可协议发布。有关详细信息,请参阅LICENSE。