zhxnlai / ZLPeoplePickerViewController

A multilingual replacement for ABPeoplePickerNavigationController (address book picker) that supports UILocalized​Indexed​Collation
MIT License
189 stars 48 forks source link

Improvements to single person selection and few other minor fixes #8

Closed king7532 closed 9 years ago

king7532 commented 9 years ago

I know you gave me push access, but I wanted to run this by you first, because it changes the basic functionality of the single user selection. If you approve, I'll push them or you can merge them. Thanks!

  1. Improved usability when numberOfSelectedPeople == 1
    • Changes the selectedPeople set as you pick a new person, so you don't have to un-select the previous person to select a new person
    • When adding a new person by pressing Done in the ABNewPersonViewController and in modal view mode, dismiss back to the presenting view controller and didReturn delegate called with the new person
  2. Set UITableViewCell selection style to none => No more flicker when you select a user
  3. Fixed a few compiler warnings and added some nullability specifiers to ZLPeopePickerViewController.[mh]