Latest 0.3.6
License MIT
Platforms ios 8.4, requires ARC

A vertical slider UIControl element written in swift



The easiest way to add a NapySlider is in the storyboard. Add a UIView element and set its custom Class to NapySlider. Now you can define the inspectable properties, like min, max, step and all the colors.

NapySlider Attribute Inspector

And don’t forget to modify the tintColor

Add it programatically

Of course, you can add a slider by code.

var myNapySlider:NapySlider!

// add this lines to the viewDidLoad function, or wherever you like
myNapySlider = NapySlider(frame: yourFrame)
myNapySlider.min = 0
myNapySlider.max = 100
myNapySlider.step = 20


Latest podspec

    "name": "NapySlider",
    "version": "0.3.6",
    "summary": "A vertical slider UIControl element written in swift.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Jonas Schoch": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.3.6"
    "platforms": {
        "ios": "8.4"
    "swift_version": "5.0",
    "requires_arc": true,
    "source_files": "NapySlider/NapySlider.swift"

Pin It on Pinterest

Share This