A circular gradient progress view implementation for iOS with efficient drawing using a series of arcs with linear gradient.
- Perfect circular gradient.
- Possibility to set both
startColor
andendColor
. - Possibility to set both
startAngle
andendAngle
. - Possibility to set
lineWidth
. - Possibility to set
progress
with or without animation. - Rounded edges for progress line.
- Looped circular gradient.
- Multiple colors for gradient.
- iOS 8.0+
- Xcode 6.3+
Embedded frameworks require a minimum deployment target of iOS 8.
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate SFProgressCircle into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
target '<Your Target Name>' do
pod 'SFProgressCircle'
end
Then, run the following command:
$ pod install
Please feel free to ask questions, open issues and submit pull requests.
SFProgressCircle is available under the MIT license. See the LICENSE file for more info.