Custom progress bar written in swift 3.
Fully customisable, comes in different styles!
- iOS 10.0+
- Swift 3.0+
Copy & paste CustomProgressBar.swift and Extensions.swift in your project
Create your own xib file and link the outlets
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate EYProgressBar into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/iOS-AllProjects/EYProgressBar.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Project Name>' do
pod 'EYProgressBar', '0.1.0'
end
Or
source 'https://github.com/iOS-AllProjects/EYProgressBar.git'
platform :ios, '10.0'
use_frameworks!
Drag a UIView into your storyboard! Change the class to CustomProgressBar. The view will be updated!
backgroundCircleLayer.lineDashPattern = layerBackgroundDash ? [2,6] : nil
//The first number specifies dash length
//The second number specifies space length between dashes strokeAnimation.duration = 2Background Color. Image. Title. Value. Minimum Font size.
LayerWidth
Layer Background Color. Layer Background Dash.
Layer Progress Color.
Node Color. Node Width.
Slider Minimum Value Slider Maximum Value
@IBOutlet weak var tracker: CustomProgressBar! //Example
tracker.sliderTextField = "\(tracker.value)"And that's it!


