欢迎光临
我们一直在努力

【Swift】HGCircularSlider

建站超值云服务器,限时71元/月

【Swift】HGCircularSlider

项目介绍:

HGCircularSlider

一款可以自定义的滑杆,可以做出iOS10闹钟的钟表效果。

https://github.com/HamzaGhazouani/HGCircularSlider

Example




To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 7.1+

  • Xcode 8.0

Installation

HGCircularSlider is available through CocoaPods. To install
it, simply add the following line to your Podfile:


# Swift 3.0 - Xcode 8
pod 'HGCircularSlider', '~> 1.0.0'

# Swift 2.2 - Xcode 7.3.1 (Checkout Swift2_Xcode7.3 branche)
pod 'HGCircularSlider', '~> 0.1.2'

Usage

  1. Change the class of a view from UIView to CircularSlider, RangeCircularSlider or MidPointCircularSlider

  2. Programmatically:

let circularSlider = CircularSlider(frame: myFrame)

OR

let circularSlider = RangeCircularSlider(frame: myFrame)

OR

 let circularSlider = MidPointCircularSlider(frame: myFrame)

Documentation

Full documentation is available on CocoaDocs.<br/>
You can also install documentation locally using jazzy.

References

The UI examples of the demo project inspired from Dribbble.

Player
BasicExample
OClock

The project is Inspired from UICircularSlider

Author

Hamza Ghazouani, hamza.ghazouani@gmail.com

code4app

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 【Swift】HGCircularSlider
分享到: 更多 (0)