Latest 1.0.0
Homepage https://github.com/EurekaCommunity/FloatLabelRow
License MIT
Platforms ios 9.0, requires ARC
Dependencies Eureka
Authors

Build status
Platform iOSSwift 3 compatible
Carthage compatible
CocoaPods compatible
License: MIT

By Xmartlabs SRL.

Introduction

FloatLabelRow is an Eureka custom row that shows a float label.

FloatLabelRow example

Usage

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
        }
    }

}

Requirements

  • iOS 9.0+
  • Xcode 8.0+
  • Eureka 3.0+

Getting involved

  • 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.

Examples

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.

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

To install FloatLabelRow, simply add the following line to your Podfile:

pod 'FloatLabelRow', '~> 1.0'

Carthage

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

Author

FAQ

No content yet.

Change Log

This can be found in the CHANGELOG.md file.

Latest podspec

{
    "name": "FloatLabelRow",
    "version": "1.0.0",
    "summary": "Custom row types that support floating placeholders.",
    "homepage": "https://github.com/EurekaCommunity/FloatLabelRow",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Xmartlabs SRL": "swift@xmartlabs.com"
    },
    "source": {
        "git": "https://github.com/EurekaCommunity/FloatLabelRow.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "ios": {
        "source_files": [
            "Sources/**/*.{swift}"
        ],
        "frameworks": [
            "UIKit",
            "Foundation"
        ]
    },
    "dependencies": {
        "Eureka": [
            "~> 3.0"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This