void ReleaseDesignerOutlets () { if (SearchBar != null) { SearchBar.Dispose (); SearchBar = null; } if (searchDisplayController != null) { searchDisplayController.Dispose (); searchDisplayController = null; } } }