Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.44 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.44 KB

SpringText

Language CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

img

Requirements

  • iOS 9.3

Usage

The usage is very similar to UITextField text properties. SPLabel has two options: Normal, Currency

lblAmount.text(num:192398)

isCurrency, showSymbol are display options

lbl_num1.isCurrency = false
lbl_num1.showSymbol = false
lbl_num1.text(num: 1000000000)

Default currency symbol is dollor sign $

lblAmount.setCurrency(symbol: "")
lblAmount.text(num:192398, showCurrency:true)

Installation

SpringText is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SpringText'

Author

comcxx11, comcxx11@gmail.com

License

SpringText is available under the MIT license. See the LICENSE file for more info.