Skip to content

A simple, lightweight, yet equally powerful version of Three20's TTPickerTextField

Notifications You must be signed in to change notification settings

unteleported/APTokenField

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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.

License

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.

About

A simple, lightweight, yet equally powerful version of Three20's TTPickerTextField

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 97.4%
  • Ruby 2.6%