Giter Site home page Giter Site logo

icanswiftabit / gdevtextfield Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gasigo/material-text-field

0.0 1.0 0.0 33 KB

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: MIT License

Objective-C 6.22% Swift 93.78%

gdevtextfield's Introduction

GDevTextField

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.

Compatibility

GDevTextField 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 GDevTextField'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.

gdevtextfield's People

Contributors

gasigo avatar icanswiftabit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.