0

MFMailComposeViewController has this cool way of adding recipients. Either by picking from the address book or by autocompleting whatever the user types. Then the selected address is converted into this blue button-like thing. Backspacing deletes the blue thing/the address.

I would like to have exactly this way of recipients in my application to select some users. Does anybody know of an implementation with source available? Or has somebody a clear idea how Apple implemented it?

René

Krumelur
  • 32,180
  • 27
  • 124
  • 263

1 Answers1

0

If you find yourself capable in translation objective-c to C# then you could always look at the Three20 library. They have implemented it in their TT Message Controller.

rptwsthi
  • 10,094
  • 10
  • 68
  • 109
Luke
  • 3,665
  • 1
  • 19
  • 39
  • I find Three20 quite chaotic. I've tried to browse it a bit but cannot find which module would be the right one. Do you know the class name? – Krumelur Jan 17 '11 at 19:00
  • From Three20 I learned that one has to implement it from scratch. There is no built-in control. I ended up using a UIView which contains a textfield and adds custom buttons as recipients are added. A hidden textfield is used to allow "backspace" to delete a button. LayoutSubViews() is overriden to make everything look nice. – Krumelur Feb 01 '11 at 21:15
  • That sounds like awesome! Is it going to be in a public facing app? Looking forward to seeing it if it is – Luke Feb 08 '11 at 09:59