Latest 0.1.0
Homepage https://github.com/messeb/MSProgressSlider
License MIT
Platforms ios 8.0, requires ARC

CI Status
Version
License
Platform

The MSProgressSlider extends the UISlider with a second value, progressValue. This value is displayed as a line behind the value line.
It can be used to show a loading progress.

Animated Progress

Usage

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

You can configure the progress over progressValue, like the value

let progressSlider = MSProgressSlider()
progressSlider.minimumValue = 0.0
progressSlider.maximumValue = 1.0
progressSlider.progressValue = 0.5
progressSlider.value = 0.25

UI

The colors can be configured with UIAppearance protocol properties

  • completeColor
  • progressColor
  • valueColor

and over the Interface Builder via IBInspectable

Interface Builder

Installation

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

pod "MSProgressSlider"

Author

messeb

License

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

Latest podspec

{
    "name": "MSProgressSlider",
    "version": "0.1.0",
    "summary": "MSProgressSlider adds a second value to an UISlider",
    "description": "The MSProgressSlider extends the UISlider with a second value. This value is displayed as a line behind the value line.nIt can be used to show a loading progress.",
    "homepage": "https://github.com/messeb/MSProgressSlider",
    "license": "MIT",
    "authors": "messeb",
    "source": {
        "git": "https://github.com/messeb/MSProgressSlider.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "MSProgressSlider": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This