thermogl / TITokenField

An iOS version of the NSTokenField (See To: field in Mail and Messages).
http://thermoglobalnuclearwar.com/opensource/
599 stars 172 forks source link

Simple enhancements - recipients label and popover position #67

Closed sigmundfridge closed 10 years ago

sigmundfridge commented 10 years ago

I am trying to use your token field as a tags field rather than as a recipient field. For this reason it'd be useful to allow users to customise the ' x recipients' label that appears when the field is full. Also, as I'd like the field can to appear in different places (rather than just the top of the screen) it would also be useful to customise the allowed positions of the UIPopoverArrow. Not sure if there is an easy fix for the tableview, as it gets slightly unworkable when the field is placed near the bottom of the screen (you get about 2 rows to deal with).

sigmundfridge commented 10 years ago

I also realise this second part of my suggestion might be fixable by just playing around with the view controller code.....

thermogl commented 10 years ago

Yeah the popover can be edited in the view controller code. The recipients text can be changed in the TITokenField code.

You could also make it a property I suppose. If you do, be sure to submit a pull request :)

dillan commented 10 years ago

Added popover position in https://github.com/thermogl/TITokenField/pull/84