Latest 0.2.1
Homepage https://github.com/ivsall2012/AHProgressSlider
License MIT
Platforms ios 8.0
Authors

Demo

AHProgressSlider

Usage

Creation

You can create it like any other UIView, either by code or through a storyboard or a nib

Configuration

slider.maximumTrackTintColor = UIColor.clear
slider.minimumTrackTintColor = UIColor.red
let thumbImg = UIImage(named: "player-thumb")
slider.setThumbImage(thumbImg, for: .normal)
/// Default is gray.
self.slider.loadedProgressTintColor = UIColor.green
slider.trackHeight = 2.0
slider.value = 0.3
slider.loadedProgress = 0.0

Example

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

Requirements

Installation

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

pod "AHProgressSlider"

Author

Andy Tong, [email protected]

License

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

Latest podspec

{
    "name": "AHProgressSlider",
    "version": "0.2.1",
    "summary": "A short description of AHProgressSlider.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/ivsall2012/AHProgressSlider",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "ivsall2012": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ivsall2012/AHProgressSlider.git",
        "tag": "0.2.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "AHProgressSlider/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This