         }
     }
     
-    func searchBar(searchBar: UISearchBar, textDidChange searchText: String) {
-
-    }
+    // MARK: UITableViewDataSource
     
     func numberOfSectionsInTableView(tableView: UITableView) -> Int {
         return 1

        searchBar.selectedScopeButtonIndex = -1
        self.searchSuggestionsTable.reloadData()
    }

    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
        selectedRow = indexPath.row
        performSegueWithIdentifier("GoToProductPage", sender: self)
    }
    
    override func shouldPerformSegueWithIdentifier(identifier: String, sender: AnyObject?) -> Bool {
        return selectedRow != nil

        // TODO: Implement product view stuff
        return cell
    }
    
    // MARK: UITableViewDelegate
    
    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
        selectedRow = indexPath.row
        performSegueWithIdentifier("GoToProductPage", sender: self)
    }
    
    // MARK: Helper Functions
    
    func changeSearchScope(index: Int) {
        let selectedTitle: String = selectedControl[index]
