/MaskProgressView

A custom progress view which can be masked with an image containing an alpha channel.

Primary LanguageSwiftMIT LicenseMIT

MaskProgressView

MaskProgressView is a custom progress view which can be masked with an image containing an alpha channel.

Example

How To Get Started

Carthage

Specify "MaskProgressView" in your Cartfile:

github "teambition/MaskProgressView"

Usage

progressView.direction = .vertical
progressView.maskImage = UIImage(named: "exampleIcon")
progressView.frontColor = UIColor(white: 195 / 255, alpha: 1)
progressView.backColor = UIColor(white: 235 / 255, alpha: 1)
progressView.animationDuration = 0.5
progressView.setProgress(0.35, animated: true)
print(progressView.progress)

Minimum Requirement

iOS 8.0

Release Notes

License

MaskProgressView is released under the MIT license. See LICENSE for details.

More Info

Have a question? Please open an issue!