         (tabBarController as? YepTabBarController)?.setTabBarHidden(false, animated: true)
 
         navigationController?.popViewControllerAnimated(true)
+    }
+
+    func searchBarSearchButtonClicked(searchBar: UISearchBar) {
+
+        hideKeyboard()
     }
 }
 

        }
    }

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    override func viewWillAppear(animated: Bool) {

    }
    */

    private func hideKeyboard() {

        searchBar.resignFirstResponder()
    }
}

// MARK: - UISearchBarDelegate
