Latest 1.0.0
Homepage https://github.com/tularovbeslan/InStatDownloadButton
License MIT
Platforms ios 10.0
Frameworks UIKit, MapKit
Authors

IMG_1268 TRIM 2019-03-12 16_27_11

CI Status
Version
License
Platform

Customize

func setupProgressView() {

    downloadButton.progressView.startAngle = -90
    downloadButton.progressView.progressThickness = 0.2
    downloadButton.progressView.trackThickness = 0.6
    downloadButton.progressView.clockwise = true
    downloadButton.progressView.gradientRotateSpeed = 2
    downloadButton.progressView.roundedCorners = false
    downloadButton.progressView.glowMode = .forward
    downloadButton.progressView.glowAmount = 0.9
    downloadButton.progressView.stopColor = UIColor.red.cgColor
    downloadButton.progressView.set(colors: UIColor.cyan, UIColor.orange)
}
func setupIndicatorView() {

    downloadButton.indicatorView.startAngle = -90
    downloadButton.indicatorView.progressThickness = 0.2
    downloadButton.indicatorView.trackThickness = 0.6
    downloadButton.indicatorView.gradientRotateSpeed = 2
    downloadButton.indicatorView.roundedCorners = false
    downloadButton.indicatorView.glowMode = .forward
    downloadButton.indicatorView.glowAmount = 0.9
    downloadButton.indicatorView.set(colors: UIColor.cyan)
    downloadButton.indicatorView.trackColor = .black
}

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

InStatDownloadButton is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'InStatDownloadButton'

Author

[email protected]

License

InStatDownloadButton is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "InStatDownloadButton",
    "version": "1.0.0",
    "summary": "InStatDownloadButton - progressive",
    "description": "InStatDownloadButton with indicator/progress",
    "homepage": "https://github.com/tularovbeslan/InStatDownloadButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tularovbeslan/InStatDownloadButton.git",
        "tag": "1.0.0"
    },
    "social_media_url": "https://twitter.com/JiromTomson",
    "swift_version": "4.2",
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "InStatDownloadButton/Classes/**/*",
    "frameworks": [
        "UIKit",
        "MapKit"
    ]
}

Pin It on Pinterest

Share This