evc

EVContactsPicker

Contacts Picker for iOS 9+ that uses the newer Contacts API

Showing:

Popularity

Downloads/wk

0

GitHub Stars

51

Maintenance

Last Commit

4yrs ago

Contributors

3

Package

Dependencies

1

License

MIT

Categories

Readme

EVContactsPicker

CI Status codecov Code Climate Version License Platform Downloads

EVContactsPickerMasthead

Swift Versions

Xcode 8.x / Swift 3.0

Screenshots

Screenshot0    Screenshot1

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

import EVContactsPicker

Requirements

  • iOS 9.0+
  • ARC
  • Swift 3.0

Installation

EVContactsPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "EVContactsPicker"

Example


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: [EVContactProtocol]?) {
        if let cons = contacts {
            for con in cons {
                print("\(con.fullname())")
            }
        }
        self.navigationController?.popViewControllerAnimated(true)
    }

    ...

}

Author

Edward Valentini, edward@interlook.com

License

EVContactsPicker is available under the MIT license. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100