28 lines
584 B
C#
28 lines
584 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using MonoTouch.Foundation;
|
|
using MonoTouch.UIKit;
|
|
|
|
namespace BuildSample
|
|
{
|
|
[Register ("AppDelegate")]
|
|
public partial class AppDelegate : UIApplicationDelegate
|
|
{
|
|
private UIWindow _window;
|
|
private MainController _controller;
|
|
|
|
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
|
|
{
|
|
_window = new UIWindow(UIScreen.MainScreen.Bounds);
|
|
_controller = new MainController();
|
|
|
|
_window.RootViewController = _controller;
|
|
_window.MakeKeyAndVisible();
|
|
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
|