Need detailed Objective-C code to create tokens [closed]

asked 2012-03-14 05:39:29 -0600

athieme gravatar image

updated 2014-01-28 17:11:38 -0600

ngrennan gravatar image

I require detailed Objective-C code (.h and .m lines of code) to create tokens (rounded blue box around text) as a user types text in iPhone UITextField. As the user types, the code should look ahead to present options from the data source. My data source will be the iPhone address book. I would be happy with looking up against a Set or Array or any other simple data source.

I have searched long and hard, including Apple documentation and have been unable to find code that works for iPhone. I have seen mention of NSTokenField but that seems to only work for Mac desktop applications. I tried to find an iPhone delegate of NSTokenField, but things like NSTokenFieldDelegate appear to only work for Mac desktop applications. If I'm wrong, then again, detailed code would be helpful.

Note, I do not want to import any other code libraries since I'm trying to keep this application as small as possible with minimal (no) external dependencies.

Thanks in advance.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by dornhege
close date 2012-03-14 07:49:18

Comments

Look for an ios/objective-c forum, this is about ROS.

dornhege gravatar image dornhege  ( 2012-03-14 07:48:27 -0600 )edit