Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 738 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 738 Bytes

STNumberLabel

A scroll number label

GIF

image

Usage

  1. init the label with frame and font STNumberLabel(frame: CGRect(x: 150, y: 200, width: 200, height: 50), digit: 4, font: UIFont.systemFont(ofSize: 22.0), singleNumberSize: CGSize(width: 20, height: 50))
  2. call numberlabel.scrollToNumber(number) when you want the label to scroll number

Minimum Requirement

  • iOS 8.0

License

  • STNumberLabel is released under the MIT license. See LICENSE for details.

More Info