Skip to content

sengthaite/InteractiveTextField

Repository files navigation


InteractiveTextField

A customized UITextField including validation and inline message with regular expression.

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Package
  2. Getting Started
  3. License
  4. Contact

About The Package

Constructing TextField with customizations such as interactive border color and width, validations, and material styling is such a complicated process while developing an iOS application. That's why this package is created to support and speed up the development.

Some Features:

  • Pre-defined style: material(placeholder-title movement), normal
  • Additional customized UIElement: InteractiveTextFieldWithInline, InteractiveTextView, InlineLabel
  • Statically define config which assist on customizing some properties of the textfield
  • Validation logic with regular expression

TextField-Placeholder TextField-Inline-Message TextField-Inline-Error TextField-Title TextField-Prefix

Getting Started

Before using the package, please check this demo InteractiveTextFieldDemo to have a look at some examples. This package supports installation with: Cocopods (github), or SPM (Swift Package Manager).

Prerequisites

If using pod for the project, please check this link Cocoapods and install it.

Installation

Below is the installation of the package.

  1. Pod
    pod 'InteractiveTextField', :git => 'https://github.com/sengthaite/InteractiveTextField.git', :tag => 'v1.0.2'
    pod install
  2. SPM

License

Distributed under the MIT License. See LICENSE.md for more information.

Contact

Sengthai Te - (https://twitter.com/SengthaiTe) - [email protected]

back to top