Skip to content

iOS Module - Select your contacts' telephone like Whatsapp application + Multiple telephone selection

Notifications You must be signed in to change notification settings

pinda/MultiContactsSelector-ios

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a fully customizable control to select data in a list (i.e. Telephone numbers) like the Whatsapp application. Supports multiselection + English and Spanish. It's Easy to use and customizable.

Example:

    SMContactsSelector *controller = [[SMContactsSelector alloc] initWithNibName:@"SMContactsSelector" bundle:nil];
    controller.delegate = self;

    // Select your returned data type
    controller.requestData = DATA_CONTACT_ID; //DATA_CONTACT_EMAIL , DATA_CONTACT_TELEPHONE
    
    // Set your contact list setting record ids (optional)
    controller.recordIDs = [NSArray arrayWithObjects:@"1", @"2", nil];
    
    [self presentModalViewController:controller animated:YES];
    [controller release];

This control implements one delegate methods:

- (void)numberOfRowsSelected:(NSInteger)numberRows withData:(NSArray *)data andDataType:(DATA_CONTACT)type;

Loop over delegate method to parse each kind of data.

About

iOS Module - Select your contacts' telephone like Whatsapp application + Multiple telephone selection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 92.0%
  • D 6.0%
  • C 2.0%