 
     // MARK: Actions
 
-    func updateDiscoverTableView() {
+    private func updateFriendsTableView() {
         friendsTableView.reloadSections(NSIndexSet(index: 0), withRowAnimation: UITableViewRowAnimation.Automatic)
     }
 

        static let NewFriends = "NewFriendsInContactsNotification"
    }

    @IBOutlet weak var friendsTableView: UITableView!
    @IBOutlet weak var activityIndicator: UIActivityIndicatorView!

    lazy var addressBook: APAddressBook = {
        let addressBook = APAddressBook()
        addressBook.fieldsMask = APContactField(rawValue: APContactField.Name.rawValue | APContactField.PhonesOnly.rawValue)
        return addressBook
        }()

    var discoveredUsers = [DiscoveredUser]() {
        didSet {
            if discoveredUsers.count > 0 {
                updateDiscoverTableView()

                NSNotificationCenter.defaultCenter().postNotificationName(Notification.NewFriends, object: nil)


            }
        }
    }
}

// MARK: UITableViewDataSource, UITableViewDelegate
