Exemplo n.º 1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            base.FinishedLaunching(app, options);

            _splitController      = new UISplitViewController();
            _notesController      = new NotesTableControllerIPad();
            _noteDetailController = new NoteDetailControllerIPad();

            _splitDelegate            = new NoteDetailControllerIPad.SplitDelegate(_noteDetailController);
            _splitController.Delegate = _splitDelegate;

            _splitController.ViewControllers = new UIViewController[] { _notesController, _noteDetailController };

            window.AddSubview(_splitController.View);

            window.MakeKeyAndVisible();

            return(true);
        }
        public override bool FinishedLaunching (UIApplication app, NSDictionary options)
        {
            base.FinishedLaunching (app, options);
            
            _splitController = new UISplitViewController ();         
            _notesController = new NotesTableControllerIPad ();
            _noteDetailController = new NoteDetailControllerIPad ();
            
            _splitDelegate = new NoteDetailControllerIPad.SplitDelegate (_noteDetailController);
            _splitController.Delegate = _splitDelegate;

            _splitController.ViewControllers = new UIViewController[] { _notesController, _noteDetailController };
            
            window.AddSubview (_splitController.View);
            
            window.MakeKeyAndVisible ();
            
            return true;
        }
 public NotesTableSource (NotesTableControllerIPad controller)
 {
     _controller = controller;
 }
 public NotesTableSource(NotesTableControllerIPad controller)
 {
     _controller = controller;
 }