Skip to content
UITextField extension with built-in toolbar, validation and scrolling support.
Objective-C Ruby
Latest commit ddccd43 Apr 7, 2016 @mehfuzh fixes
Failed to load latest commit information.
Demo/MHTextField fixes Apr 7, 2016
.gitignore demo app font update Dec 3, 2013
.travis.yml more udpate Jan 15, 2014
LICENSE demo app font update Dec 4, 2013
MHTextField.h fixes Apr 7, 2016
MHTextField.m fixes Apr 7, 2016
MHTextField.podspec fixes Apr 7, 2016 Correct the spelling of CocoaPods in README Feb 12, 2016

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.