public override void ViewDidLoad()
{
base.ViewDidLoad();
// Perform any additional setup after loading the view, typically from a nib.
//Declare the search bar and add it to the header of the table
searchBar = new UISearchBar();
searchBar.SizeToFit();
...