Skip to content

GDevTextField is a nice, flexible and customizable text field. This design is based on Google's Material Design and is very much customizable and extensible.

License

Notifications You must be signed in to change notification settings

gasigo/material-text-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Material Text Field

material-text-field is a nice, flexible and customizable text field. This design is based on Google's Material Design and is very much customizable and extensible.

Compatibility

material-text-field is compatible with Swift 3.

Installation

You can download the project from Github and after doing so, copy the files in the Sources folder to your project.

Usage

Interface Builder

Most of the material-text-field's properties are editable by the interface builder. This makes it much faster and easier to use. All you have to do is drag a UITextField and change it's Class to GDevTextField as shown below.

After that, you will be able to see IBDesignables properties on xcode as shown below.

Code

let textField = GDevTextField(frame: CGRect(x: 10, y: 10, width: 200, height: 45))
textField.titleText = "Name"
textField.placeholder = "Name"
self.view.addSubview(textField)

Contributing

All contributions are welcome.

About

GDevTextField is a nice, flexible and customizable text field. This design is based on Google's Material Design and is very much customizable and extensible.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages