HGCircularSlider

滑杆 · HamzaGhazouani · 分享于 3 个月前 · 248 次阅读 · 8 次下载
Licence: MIT
作者: HamzaGhazouani
分类: 滑杆
平台: iOS
设备: iPhone
大小: 1 M
更新: 3 个月前
关键字: slider

HGCircularSlider

Twitter: @GhazouaniHamza CI Status Version License Language Platform

codebeat badge Documentation Readme Score

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.1'

# 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.
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 by UICircularSlider

Author

Hamza Ghazouani, hamza.ghazouani@gmail.com

License

HGCircularSlider is available under the MIT license. See the LICENSE file for more info.

共收到 0 条回复
回帖