Skip to content

IB_Designable UISlider with value label inside thumb

License

Notifications You must be signed in to change notification settings

khanhduytran0/DBNumberedSlider

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 90.7%
  • Ruby 9.3%