Skip to content

A circular gradient progress view implementation for iOS (supports partial circle)

License

Notifications You must be signed in to change notification settings

sfcd/SFProgressCircle

Repository files navigation

SFProgressCircle

Build Status CocoaPods Platform Twitter

A circular gradient progress view implementation for iOS with efficient drawing using a series of arcs with linear gradient.

Example Usage Example Usage

Features

  • Perfect circular gradient.
  • Possibility to set both startColor and endColor.
  • Possibility to set both startAngle and endAngle.
  • Possibility to set lineWidth.
  • Possibility to set progress with or without animation.
  • Rounded edges for progress line.

TODO

  • Looped circular gradient.
  • Multiple colors for gradient.

Requirements

  • iOS 8.0+
  • Xcode 6.3+

Installation

Embedded frameworks require a minimum deployment target of iOS 8.

CocoaPods

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

Contribution

Please feel free to ask questions, open issues and submit pull requests.

License

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

About

A circular gradient progress view implementation for iOS (supports partial circle)

Resources

License

Stars

Watchers

Forks

Packages

No packages published