asar1 / CustomTextFieldFramework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CustomTextFieldFramework

This customTextFieldframework provides a lot of reusable functionalities to help in multiple scenarios.

Currently it features the following effects :

  • Padding
  • background Color
  • Corner Radius
  • border Width
  • border Color
  • Shadow Radius
  • Shadow Offset
  • Shadow opacity
  • Shadow Color
  • Error Animation

Screens

StoryBoard Attribute Inspector



Installation

You can use CocoaPods to install TextField by adding it to your Podfile:

pod 'CustomTextFieldFramework', :git => 'https://github.com/asar1/CustomTextFieldFramework.git'

To get the full benefits import PasswordTextField wherever you import UIKit

import UIKit
import CustomTextFieldFramework

Example

To run the example project, clone the repo or download it and run pod install from the this project directory first.

How to use them

Every effect is properly documented in the source code, this is the best way to both understand and see what they do. There is also an example project included with all the effects and their settings.

Interface Builder

The library is a simple drop-in, as soon as you import CustomTextFieldFramework at top of your controller and assign CustomTextField class to native Floating Textfield. Now you will be able to see all the IBDesignable settings in the storyboard.

License

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

Created by

Muhammad Asar Saleem, @asar1

About

License:MIT License


Languages

Language:Swift 84.2%Language:Ruby 8.5%Language:Objective-C 7.3%