From d9e6fe898ac41c0bea5335812173b87e8eac0ada Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 6 Jan 2021 22:44:53 +0000 Subject: Added initial UI and commands. Also created initial icon. --- R2D2/ViewController.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'R2D2/ViewController.cs') diff --git a/R2D2/ViewController.cs b/R2D2/ViewController.cs index de5674f..ff6885c 100644 --- a/R2D2/ViewController.cs +++ b/R2D2/ViewController.cs @@ -31,7 +31,10 @@ namespace R2D2 { base.ViewDidLoad(); - // Do any additional setup after loading the view. + foreach (string name in Command.GetNames()) + { + commandList.Add(new NSString(name)); + } } public override NSObject RepresentedObject @@ -46,5 +49,13 @@ namespace R2D2 // Update the view, if already loaded. } } + + partial void DoScan(NSObject sender) + { + } + + partial void DoSendCommand(NSObject sender) + { + } } } -- cgit v1.2.3