Skip to content

habib-sust/FloatingLabelTextFieldSwift

Repository files navigation

FloatingLabelTextFieldSwift

FloatingLabelTextFieldSwift is a small and lightweight UIKit framework written in Swift that allows to create beautiful and customisable floating label textfield.

Requirements

  • iOS 11.0+
  • Xcode 12.5.1+
  • Swift 5.0

Usage

To start using the component add it to your project using CocoaPods or Manually.

The UI component can be used via the FloatingLabelTextField class. This control can be used very similar to UITextField - both from Interface Builder of from code.

For details, see the Example project

Example

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

Installation

CocoaPods

FloatingLabelTextFieldSwift is available through CocoaPods. CocoaPods can be installed using Ruby gems.

$ gem install cocoapods

Then simply add FloatingLabelTextFieldSwift to your Podfile:

pod 'FloatingLabelTextFieldSwift', '~> 1.0.0'

Manual

Download the latest file and copy the FloatingLabelTextField.swift file to your project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published