SSProgressBar is an elegant progressbar with many customization options.
- Horizontal Gradient
- Vertical Gradient
- Custom shadow
- Corner radious
- CocoaPods
- iOS 10.0+
- Xcode 9+
CocoaPods
-
You can use CocoaPods to install SSSpinnerButton by adding it to your Podfile:
use_frameworks! pod 'SSProgressBar'
-
import UIKit import SSProgressBar
Manually
- Download and drop SSProgressBar folder in your project.
- Congratulations!
-
In the storyboard add a UIView and change its class to SSProgressBar
Set up gradient
viewProgres.withProgressGradientBackground(from: UIColor.red, to: UIColor.purple, direction: .topToBottom)
Edit properties at anytime
self.viewProgres.progress = 120 self.viewProgres.gradientDirection = .leftToRight self.viewProgres.colors = [UIColor.blue.cgColor,UIColor.cyan.cgColor,UIColor.black.cgColor]
- We would love you for the contribution to SSProgressBar, check the LICENSE file for more info.
- Distributed under the MIT license. See LICENSE for more information.