SectionedUITableViewSample.AppDelegate.FinishedLaunching C# (CSharp) Method

FinishedLaunching() public method

public FinishedLaunching ( UIApplication app, NSDictionary options ) : bool
app UIApplication
options NSDictionary
return bool
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // If you have defined a view, add it here:
            // window.AddSubview (navigationController.View);

            TableViewDataSource tvdc = new TableViewDataSource();
            this.tvc.TableView.DataSource = tvdc;

            this.searchBar.Delegate = new SearchDelegate(tvc, tvdc);

            window.AddSubview(this.tvc.View);

            window.MakeKeyAndVisible ();

            return true;
        }