         }
     }
 
+    private let keyboardMan = KeyboardMan()
+
     override func viewDidLoad() {
         super.viewDidLoad()
 
-        // Do any additional setup after loading the view.
+        title = "Search Contacts"
+
+        keyboardMan.animateWhenKeyboardAppear = { [weak self] _, keyboardHeight, _ in
+            self?.resultsTableView.contentInset.bottom = keyboardHeight
+            self?.resultsTableView.scrollIndicatorInsets.bottom = keyboardHeight
+        }
+
+        keyboardMan.animateWhenKeyboardDisappear = { [weak self] _ in
+            self?.resultsTableView.contentInset.bottom = 0
+            self?.resultsTableView.scrollIndicatorInsets.bottom = 0
+        }
     }
 
     override func viewWillAppear(animated: Bool) {

    }
    */

}

// MARK: - UISearchBarDelegate

        (tabBarController as? YepTabBarController)?.setTabBarHidden(false, animated: true)

        navigationController?.popViewControllerAnimated(true)
    }

    func searchBarSearchButtonClicked(searchBar: UISearchBar) {

        hideKeyboard()
    }
}

