                     completion(nil, error as NSError)
                 }
             }
-            
             var results: [CNContact] = []
             for container in allContainers {
                 let fetchPredicate = CNContact.predicateForContactsInContainer(withIdentifier: container.identifier)

        self.infoText = infoText
        self.showPermissionAlertAutomatically = showPermissionAlert
        super.init(nibName: nil, bundle: nil)
        
        navigationItem.title = "Select Contacts"
        navigationItem.leftBarButtonItem = UIBarButtonItem(barButtonSystemItem: .cancel, target: self, action: #selector(cancel))
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: doneButtonTitle, style: .done, target: self, action: #selector(done))

    
    public typealias Completion = (Result, EmailPickerViewController) -> Void

    // MARK: - Properties
    
    private lazy var tokenInputView: CLTokenInputView = {
