An UITextField replacement to select multiple e-mails
Add the line below to your Podfile:
pod 'PPJEmailPicker'#import "PPJEmailPicker.h"-(PPJEmailPicker *) createAutoCompleteFieldWithFrame:(CGRect)frame
{
PPJEmailPicker * actf = [[PPJEmailPicker alloc] initWithFrame:frame];
actf.pickerDelegate = self;
actf.possibleStrings = [[ListOfEmails emails] mutableCopy];
actf.placeholder = NSLocalizedString(@"Type e-mail to send recognition", nil);
return actf;
} actf.possibleStrings = @[@"email1@email.com", @"email2@email.com];Add a UITextField and change the class to PPJEmailPicker.
Don't forget to set the pickerDelegate and to pass a list of e-mails for autocompletion.
Contact me at Twitter: @ppaulojr

