A simple, lightweight, yet equally powerful version of Three20's TTPickerTextField
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



APTokenField is a class that behaves similarly to the 'To:' field in iOS's MFMailComposeViewController. Similar functionality can be found in Three20 three20's TTPickerTextField, but it's hard to use and requires integrating the entire Three20 framework into your app... so this is better :-). APTokenField has been tested on iOS 4.0 and and later (including iPad), and the code is released under the BSD 3-clause license. To find out more, check out the [project homepage] homepage.

Getting Started

  1. Add APTokenField.h and APTokenField.m into your project.
  2. Add the CoreGraphics and QuartzCore frameworks to your project.
  3. Create an object that conforms to the APTokenFieldDataSource protocol to use as the data source for your APTokenField instance.
  4. Create an instance of an APTokenField, assign your APTokenFieldDataSource to it's tokenFieldDataSoure property then add the token field to your view hierarchy.


Copyright 2012. [Arash Payan] arash. This library is distributed under the terms of the [BSD 3-clause license] bsd ("BSD New" or "BSD Simlpified").

While not required, I greatly encourage and appreciate any improvements that you make to this library be contributed back for the benefit of all who use APTokenField.