From f7ac5e08f253c57cd5a2a27f042040e57c823c91 Mon Sep 17 00:00:00 2001 From: kspearrin Date: Fri, 3 Jun 2016 17:54:49 -0400 Subject: [PATCH] Fixed issues with storyboard with xamarin studio --- src/iOS.Extension/ActionViewController.cs | 6 ++-- .../ActionViewController.designer.cs | 27 +++++++++------ src/iOS.Extension/MainInterface.storyboard | 34 ++++++++----------- 3 files changed, 33 insertions(+), 34 deletions(-) diff --git a/src/iOS.Extension/ActionViewController.cs b/src/iOS.Extension/ActionViewController.cs index 71bd472f5..228948f63 100644 --- a/src/iOS.Extension/ActionViewController.cs +++ b/src/iOS.Extension/ActionViewController.cs @@ -125,8 +125,8 @@ namespace Bit.iOS.Extension } } - partial void DoneClicked(NSObject sender) - { + partial void DoneClicked(Foundation.NSObject sender) + { NSDictionary itemData = null; if(ProviderType == UTType.PropertyList) { @@ -324,7 +324,7 @@ namespace Bit.iOS.Extension return default(T); } - private T DeserializeString(NSString jsonString) + private T DeserializeString(NSString jsonString) { if(jsonString != null) { diff --git a/src/iOS.Extension/ActionViewController.designer.cs b/src/iOS.Extension/ActionViewController.designer.cs index 4925b123f..e65d8d214 100644 --- a/src/iOS.Extension/ActionViewController.designer.cs +++ b/src/iOS.Extension/ActionViewController.designer.cs @@ -11,17 +11,22 @@ using UIKit; namespace Bit.iOS.Extension { - [Register("ActionViewController")] - partial class ActionViewController - { - [Outlet] - UIImageView imageView { get; set; } + [Register ("ActionViewController")] + partial class ActionViewController + { + [Outlet] + [GeneratedCode ("iOS Designer", "1.0")] + UIImageView logo { get; set; } - [Action("DoneClicked:")] - partial void DoneClicked(NSObject sender); + [Action ("DoneClicked:")] + partial void DoneClicked (Foundation.NSObject sender); - void ReleaseDesignerOutlets() - { - } - } + void ReleaseDesignerOutlets () + { + if (logo != null) { + logo.Dispose (); + logo = null; + } + } + } } diff --git a/src/iOS.Extension/MainInterface.storyboard b/src/iOS.Extension/MainInterface.storyboard index 76eede89d..61b8bdde2 100644 --- a/src/iOS.Extension/MainInterface.storyboard +++ b/src/iOS.Extension/MainInterface.storyboard @@ -1,13 +1,14 @@ - + - + + - + - + @@ -16,38 +17,33 @@ - - - - + + + + - - - - - - + @@ -55,9 +51,7 @@ - - - - - - + + + + \ No newline at end of file