Latest 0.4.1
Homepage https://github.com/maximbilan/SwiftlyScrollSlider
License MIT
Platforms ios 8.0, requires ARC
Authors

Version
License
Platform
CocoaPods
CocoaPods

A custom scroll slider for UIScrollView.

alt tag

Installation

CocoaPods:

pod 'SwiftlyScrollSlider'

Manual:

Just copy the SwiftlyScrollSlider.swift into your project.

Using

Using is really simple. Please create for the example UITextView and UIView for the scroll slider in Storyboard or XIB, and set up a class to SwiftlyScrollSlider for this UIView.

alt tag

And the delegate of UITextView should be SwiftlyScrollSlider.

alt tag

That’s all.

Examples of customization:

scrollSlider.thumbImageView?.image = UIImage(named: "ScrollSliderCustom.png")       // Change an image of the scroll slider
scrollSlider.lineBackgroundView?.backgroundColor = UIColor.yellowColor()            // A color of the line
scrollSlider.lineBackgroundView?.layer.borderColor = UIColor.yellowColor().CGColor  // A border of the line color 

You can easily found the example in this repository.

License

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

Latest podspec

{
    "name": "SwiftlyScrollSlider",
    "version": "0.4.1",
    "summary": "Swiftly Scroll Slider",
    "description": "Swiftly Scroll Slider - a custom slider to UIScrollView",
    "homepage": "https://github.com/maximbilan/SwiftlyScrollSlider",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "Maxim Bilan": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/maximbilan/SwiftlyScrollSlider.git",
        "tag": "0.4.1"
    },
    "source_files": [
        "Classes",
        "SwiftlyScrollSlider/Sources/**/*.{swift}"
    ],
    "resources": "SwiftlyScrollSlider/Assets/*.*",
    "requires_arc": true
}

Pin It on Pinterest

Share This