 class ViewController: UIViewController {
   
   @IBOutlet weak var tableView: UITableView!
+  let kAppId = "--get your own--"
+  let kAppKey = "at http://developer.nutritionix.com"
   
   var searchController: UISearchController!
   var suggestedSearchFoods: [String] = []

    self.filterContentForSearch(self.searchString!, scope: selectedScopeButtonIndex)
    self.tableView.reloadData()
  }
}



// MARK: UISearchBarDelegate
extension ViewController: UISearchBarDelegate {
  func searchBarSearchButtonClicked(searchBar: UISearchBar) {
    makeRequest(searchBar.text)
  }
}

// MARK: UISearchControllerDelegate
