Swift 3 support on master until Xcode8 out of beta
To run the example project, clone the repo, and run pod install from the Example directory first.
import EVContactsPicker- iOS 9.0+
- ARC
EVContactsPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "EVContactsPicker"import UIKit
import EVContactsPicker
class DemoController: UIViewController, EVContactsPickerDelegate {
...
func showPicker() {
let contactPicker = EVContactsPickerViewController()
contactPicker.delegate = self
self.navigationController?.pushViewController(contactPicker, animated: true)
}
func didChooseContacts(contacts: [EVContact]?) {
if let cons = contacts {
for con in cons {
print("\(con.fullname()")
}
}
self.navigationController?.popViewControllerAnimated(true)
}
...
}
Edward Valentini, edward@interlook.com
EVContactsPicker is available under the MIT license. See the LICENSE file for more info.

