Latest 1.0.0
Homepage https://github.com/immago/DBNumberedSlider
License Apache-2.0
Platforms ios 9.0
Authors

pod_ver pod_platform pod_license

IB_Designable UISlider with number inside thumb

dbnumberedslider

Installation

CocoaPods

pod 'DBNumberedSlider'

If you have IB Designables render error add use_frameworks! to your pod file.
err

Manual

Copy DBNumberedSlider.h and DBNumberedSlider.m from Classes directory to your project.

Usage

Create DBNumberedSlider slider (subclass of UISlider) in storyboard or programmatically. No additional configuration needed.

Properties

NSString *labelFormat - Label format string (stringWithFormat:labelFormat). Default: %.0f
UIColor  *textColor - Color of label
CGFloat  fontSize - Size of font (above 0)
NSString *fontName - Name of font (fontWithName:fontName) Example: Menlo-BoldItalic List: http://iosfonts.com/
UIFont *font - Set font directly

Latest podspec

{
    "name": "DBNumberedSlider",
    "version": "1.0.0",
    "summary": "IB_Designable UISlider with value label inside thumb",
    "description": "IB_Designable UISlider with value UILabel inside thumb.",
    "homepage": "https://github.com/immago/DBNumberedSlider",
    "license": {
        "type": "Apache-2.0",
        "file": "LICENSE"
    },
    "authors": {
        "Dmitry Byankin": "[email protected]"
    },
    "source": {
        "git": "https://github.com/immago/DBNumberedSlider.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Classes/**/*"
}

Pin It on Pinterest

Share This