Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
UITextField extension with built-in toolbar, validation and scrolling support.
branch: master

MHTextField Build Status

MHTextField is an iOS drop-in class that extends UITextField with built-in toolbar, validation and scrolling support.


MHTextField works on iOS 5 and above and is compatible with ARC projects. It depends on the following Apple frameworks:

  • Foundation.framework
  • UIKit.framework

Including MHTextField to your project

Source files

You can directly add the MHTextField.h and MHTextField.m source files to your project.

  1. Download the latest zip from github or clone the source in your desired directory.
  2. Open your project in Xcode, then drag and drop MHTextField.h and MHTextField.m onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
  3. Include MHTextField with #import "MHTextField.h".


CocoaPods is the recommended way to add MHTextField to your project.

  1. Add a pod entry for MHTextField to your Podfile pod 'MHTextField', '~> 0.5'
  2. Install the pod(s) by running pod install.
  3. Include MHTextField with #import "MHTextField.h".


This code is distributed under the terms and conditions of the MIT license.

Something went wrong with that request. Please try again.