All Projects → HamzaGhazouani → Hgcircularslider

HamzaGhazouani / Hgcircularslider

Licence: mit
A custom reusable circular / progress slider control for iOS application.

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to Hgcircularslider

Jocircularslider
A highly customisable and reusable circular slider for iOS applications.
Stars: ✭ 128 (-94.29%)
Mutual labels:  slider, progress, progress-bar, circle, circular, progress-circle
Mkringprogressview
⭕️ Ring progress view similar to Activity app on Apple Watch
Stars: ✭ 1,140 (-49.11%)
Mutual labels:  progress, progress-bar, circle, progress-circle
mp-progress
专注于小程序圆环形进度条的小工具
Stars: ✭ 72 (-96.79%)
Mutual labels:  progress, progress-bar, circle, progress-circle
Uicircularprogressring
A circular progress bar for iOS written in Swift
Stars: ✭ 1,658 (-25.98%)
Mutual labels:  timer, progress, clock, circular
ALProgressView
Animated and fully customizable progress view with 2 styles: ring and bar.
Stars: ✭ 72 (-96.79%)
Mutual labels:  progress-bar, circle, progress-circle
react-sweet-progress
A way to quickly add a progress bar to react app 🌈
Stars: ✭ 250 (-88.84%)
Mutual labels:  progress, progress-bar, progress-circle
Percircle
⭕️ CSS percentage circle built with jQuery
Stars: ✭ 217 (-90.31%)
Mutual labels:  progress-bar, circle, progress-circle
tox-progress
This JavaScript library was made to easily create animated radial progress bars.
Stars: ✭ 13 (-99.42%)
Mutual labels:  progress, progress-bar, circle
React Sweet Progress
A way to quickly add a progress bar to react app 🌈
Stars: ✭ 239 (-89.33%)
Mutual labels:  progress, progress-bar, progress-circle
rn-circular-slider
React Native circular slider based on react-native-svg
Stars: ✭ 25 (-98.88%)
Mutual labels:  slider, circle, circular
React Nprogress
⌛️ A React primitive for building slim progress bars.
Stars: ✭ 173 (-92.28%)
Mutual labels:  progress, progress-bar
React Timer Hook
React timer hook
Stars: ✭ 118 (-94.73%)
Mutual labels:  timer, clock
Swiftfortunewheel
The ultimate spinning wheel view that supports dynamic content and rich customization.
Stars: ✭ 114 (-94.91%)
Mutual labels:  circle, circular
Use Timer
A timer hook for React
Stars: ✭ 113 (-94.96%)
Mutual labels:  timer, clock
Rangeseekbar
A beautiful and powerful SeekBar what supports single、 range、steps、vetical、custom( 一款美观强大的支持单向、双向范围选择、分步、垂直、高度自定义的SeekBar)
Stars: ✭ 2,037 (-9.06%)
Mutual labels:  slider, slider-range
Linearprogressbar
Material Linear Progress Bar for your iOS apps
Stars: ✭ 131 (-94.15%)
Mutual labels:  progress, progress-bar
Flipdown
⏰ A lightweight and performant flip styled countdown clock
Stars: ✭ 136 (-93.93%)
Mutual labels:  timer, clock
Ruby Progressbar
Ruby/ProgressBar is a text progress bar library for Ruby.
Stars: ✭ 1,378 (-38.48%)
Mutual labels:  progress, progress-bar
Progress
基于Vue 2.x 的进度条,支持直线和环形(顺时针和逆时针)。Vue-based progress component, support line and circle(clockwise or couterclockwise).
Stars: ✭ 130 (-94.2%)
Mutual labels:  progress, circle
Circle Flags
A collection of 300+ minimal circular SVG country flags
Stars: ✭ 139 (-93.79%)
Mutual labels:  circle, circular

HGCircularSlider

Backers on Open Collective Sponsors on Open Collective Twitter: @GhazouaniHamza CI Status Version License Language Platform Carthage compatible

codebeat badge Documentation Readme Score

Example

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

You also may like

  • HGPlaceholders - Nice library to show placeholders for any UITableView in your project
  • HGRippleRadarView - A beautiful radar view to show nearby users with ripple animation, fully customizable

Requirements

  • iOS 9.0+
  • Xcode 11.4

Installation

HGCircularSlider is also available through Swift Package Manager

Follow this doc.

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

pod 'HGCircularSlider', '~> 2.2.1'

HGCircularSlider is also available through Carthage. To install it, simply add the following line to your Cartfile:

github "HamzaGhazouani/HGCircularSlider"

Usage

  1. Change the class of a view from UIView to CircularSlider, RangeCircularSlider or MidPointCircularSlider
  2. Programmatically:
let circularSlider = CircularSlider(frame: myFrame)
circularSlider.minimumValue = 0.0
circularSlider.maximumValue = 1.0
circularSlider.endPointValue = 0.2

OR

let circularSlider = RangeCircularSlider(frame: myFrame)
circularSlider.startThumbImage = UIImage(named: "Bedtime")
circularSlider.endThumbImage = UIImage(named: "Wake")

let dayInSeconds = 24 * 60 * 60
circularSlider.maximumValue = CGFloat(dayInSeconds)

circularSlider.startPointValue = 1 * 60 * 60
circularSlider.endPointValue = 8 * 60 * 60
circularSlider.numberOfRounds = 2 // Two rotations for full 24h range

OR

let circularSlider = MidPointCircularSlider(frame: myFrame)
circularSlider.minimumValue = 0.0
circularSlider.maximumValue = 10.0
circularSlider.distance = 1.0
circularSlider.midPointValue = 5.0
If you would like to use it like a progress view
let progressView = CircularSlider(frame: myFrame)
progressView.minimumValue = 0.0
progressView.maximumValue = 1.0
progressView.endPointValue = 0.2 // the progress 
progressView.userInteractionEnabled = false 
// to remove padding, for more details see issue #25
progressView.thumbLineWidth = 0.0
progressView.thumbRadius = 0.0

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, [email protected]

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].