APTokenField is a class that behaves similarly to the 'To:' field in iOS's MFMailComposeViewController. Similar functionality can be found in 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.
APTokenField.minto your project.
- Add the
QuartzCoreframeworks to your project.
- Create an object that conforms to the
APTokenFieldDataSourceprotocol to use as the data source for your
- Create an instance of an
APTokenField, assign your
tokenFieldDataSoureproperty then add the token field to your view hierarchy.
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.