To run the example project, clone the repo, and run pod install
from the Example directory first.
To use JKSteppedProgressBar Xcode 8.0 or later is required
JKSteppedProgressBar is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'JKSteppedProgressBar'
JKSteppedProgressBar can be added and configured directly from storyboard.
- Add a blank UIView and set constraints
- Set the Class & Module from identity inspector
- Set the active & inactive color from Attributes inspector
- Use the IBOutlet instance to set properties
- Set your title array to titles property
progressbar.titles = ["Step 1", "Step 2", "Step 3"]
- Use the IBOutlet instance to set properties
- Set your title array to titles property
- Set your images array to images property
progressbar.titles = ["Step 1", "Step 2", "Step 3"]
progressbar.images = [
UIImage(named: "DaisyDuck")!,
UIImage(named: "MickeyMouse")!,
UIImage(named: "MinnieMouse")!,
]
- Add image for steps
- Respect language direction for drawing
Johnykutty, [email protected]
JKSteppedProgressBar is available under the MIT license. See the LICENSE file for more info.