To run the example project, clone the repo, and run pod install
from the Example directory first.
- iOS 9.3
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)
SpringText is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SpringText'
comcxx11, [email protected]
SpringText is available under the MIT license. See the LICENSE file for more info.