By Xmartlabs SRL.
FloatLabelRow is an Eureka custom row that shows a float label.
import Eureka
import FloatLabelRow
class ExampleViewController: FormViewController {
override func viewDidLoad() {
super.viewDidLoad()
form +++ Section()
<<< TextFloatLabelRow() {
$0.title = "Text Field"
$0.value = "Placeholder"
}
<<< IntFloatLabelRow() {
$0.title = "Int field"
$0.value = 2017
}
<<< PasswordFloatLabelRow() {
$0.title = "Password field"
$0.value = "password"
}
+++ Section()
<<< DecimalFloatLabelRow() {
$0.title = "Scientific style"
$0.value = 2017
let formatter = NumberFormatter()
formatter.locale = .current
formatter.numberStyle = .scientific
$0.formatter = formatter
}
<<< IntFloatLabelRow() {
$0.title = "Spell out style"
$0.value = 2017
let formatter = NumberFormatter()
formatter.locale = .current
formatter.numberStyle = .spellOut
$0.formatter = formatter
}
}
}
- iOS 9.0+
- Xcode 8.0+
- Eureka 3.0+
- If you want to contribute please feel free to submit pull requests.
- If you have a feature request please open an issue.
- If you found a bug or need help please check older issues, FAQ and threads on StackOverflow (Tag 'FloatLabelRow') before submitting an issue.
Before contribute check the CONTRIBUTING file for more info.
If you use FloatLabelRow in your app we would love to hear about it! Drop us a line on twitter.
Follow these 3 steps to run Example project: Clone FloatLabelRow repository, open FloatLabelRow workspace and run the Example project.
You can also experiment and learn with the FloatLabelRow Playground which is contained in FloatLabelRow.workspace.
CocoaPods is a dependency manager for Cocoa projects.
To install FloatLabelRow, simply add the following line to your Podfile:
pod 'FloatLabelRow', '~> 1.0'
Carthage is a simple, decentralized dependency manager for Cocoa.
To install FloatLabelRow, simply add the following line to your Cartfile:
github "EurekaCommunity/FloatLabelRow" ~> 1.0
No content yet.
This can be found in the CHANGELOG.md file.