Skip to content

hasansedaghat/HSIndicatorTextfield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HSIndicatorTextfield

TextField with bottom indicator written with Swift

alt tag

Features

  • Bottom indicator pattern
  • Change indicator height
  • Change indicator color
  • Change selected indicator color
  • Set Placeholder Text With Custom Color and Font

Installation

Download the file from source folder and copy to your project.

Getting Started

Setup from InterfaceBuilder

  1. Drag a UITextField instance into your UIViewController/UIView
  2. Change the class of the UIView instance to HSIndicatorTextfield.
  3. Link to the IBOutlet instance of your UIViewController/UIView.

Setup Programmitacally

34 Create an HSIndicatorTextfield instance and add to superview 35

let indicatorTXF = HSIndicatorTextfield(frame: frame)
self.view.addSubview(indicatorTXF)

License

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

Author

Hasan Sedaghat - [email protected]

About

Textfield with bottom indicator written with Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages