CircleProgressView
is an Infuse like circle progress view
CircleProgressView
is inspired by the work of FireCore.
This library is for now a tvOS Framework target but may become an iOS one too in the near future.
The primary goal of the library is to display a completion percentage using a circle.
Try CircleProgressView
with the demo project available in this repo. (soon)
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate CircleProgressView
into your Xcode project using Carthage, specify it in your Cartfile
:
github "CedricEugeni/CircleProgressView"
Run carthage update
to build the framework and drag the built CircleProgressView.framework
(in Carthage/Build/tvOS folder) into your Xcode project (Linked Frameworks and Libraries in Targets
).
- Drag the
CircleProgressView.xcodeproj
file into your project. - Add the
CircleProgressView
framework intoEmbedded Binaries
. - Near
Run
button, selectManage scheme
. - Select your app scheme.
- Click on
Edit
. - Select
Build
on the left menu. - Uncheck
Find Implicit Dependencies
. This will prevent Xcode from compiling library each time you compile your app.
(see sample Xcode project in /Demo
)
CircleProgressView
is a UIView subclass. Everything goes with a property progress
added to this class. When you set the progress
property, this circle progress view is drawn in the frame you gave to this UIView
.
To specify stroke and fille color, use the tintColor
UIView attribute.
Just put a UIView in your storyboard or Xib file and tell this view its class is CircleProgressView
in the inspector.
If you have feature requests or bug reports, feel free to help out by sending pull requests or by creating new issues.
CircleProgressView
is distributed under the terms and conditions of the MIT license.
CircleProgressView
is brought to you by Cédric Eugeni and contributors to the project. If you're using CircleProgressView
in your project, attribution would be very appreciated.