Skip to content
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.
/ DBNumberedSlider Public archive

IB_Designable UISlider with value label inside thumb

License

Notifications You must be signed in to change notification settings

immago/DBNumberedSlider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBNumberedSlider

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

About

IB_Designable UISlider with value label inside thumb

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published