- Installation
- Usage
- Indeterminate Progress
- Determinate Progress
- [Circular Progress] (#circular-progress)
- Progress Bar
##CocoaPods CocoaPods 0.36 adds supports for Swift and embedded frameworks.
To integrate ProgressKit into your Xcode project using CocoaPods, specify it in your Podfile
:
use_frameworks!
pod 'ProgressKit'
Then, run the following command:
$ pod install
- Drag a View at desired location in
XIB
orStoryboard
- Change the Class to any of the desired progress Views
- Set the size such that width and height are equal
- Drag
IBOutlet
to View Controller - For
Indeterminate
Progress Views- Call
view.startAnimation()
andview.stopAnimation()
- Call
- For
Determinate
Progress Views:- Set
view.progress
to value in0...1
- Set
Progress indicators which animate indefinately are Indeterminate Progress
Views.
This are the InDeterminate Progress Indicators.
Determinate progress views can be used for tasks whos progress can be seen and determined gradually.