Example #1
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            TentsViewController tvc = new TentsViewController();
             	navController = new UINavigationController();
            navController.PushViewController(tvc, false);
            navController.NavigationBar.BarStyle = UIBarStyle.Black;
            navController.TopViewController.Title = "Tents";
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.AddSubview (navController.View);
            window.MakeKeyAndVisible ();

            return true;
        }
Example #2
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            TentsViewController tvc = new TentsViewController();

            navController = new UINavigationController();
            navController.PushViewController(tvc, false);
            navController.NavigationBar.BarStyle  = UIBarStyle.Black;
            navController.TopViewController.Title = "Tents";
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.AddSubview(navController.View);
            window.MakeKeyAndVisible();

            return(true);
        }
Example #3
0
 public TableViewDelegate(TentsViewController controller, List <Tent> tents)
 {
     _tvc   = controller;
     _tents = tents;
 }
Example #4
0
 public TableViewDelegate(TentsViewController controller, List<Tent> tents)
 {
     _tvc = controller;
     _tents = tents;
 }