         super.viewWillAppear(animated)
 
         navigationController?.setNavigationBarHidden(true, animated: true)
-
-        //(tabBarController as? YepTabBarController)?.setTabBarHidden(true, animated: true)
     }
 
     override func viewDidAppear(animated: Bool) {


    func searchBar(searchBar: UISearchBar, textDidChange searchText: String) {

        //searchControllerIsActive = !searchText.isEmpty

        let searchText = searchText.trimming(.Whitespace)
        updateSearchResultsWithText(searchText)

//        if searchText.isEmpty {
//            clearSearchResults()
//        }
    }

    func searchBarSearchButtonClicked(searchBar: UISearchBar) {

        hideKeyboard()

//        if let searchText = searchBar.text {
//            searchText.trimming(.Whitespace)
//            updateSearchResultsWithText(searchText)
//        }
    }

    private func clearSearchResults() {


    private var keyword: String?

    override func viewDidLoad() {
        super.viewDidLoad()

        title = "Search Contacts"

