From 7446afb5b73b50c3d405dcf101de349f4410941f Mon Sep 17 00:00:00 2001 From: Vincent Dondain Date: Wed, 20 Jul 2016 00:33:16 +0200 Subject: [PATCH] [uikit] NSLayoutContraint fixes (#435) - Fix missing [Internal] attribute. - Fix styling. --- src/UIKit/NSLayoutConstraint.cs | 4 ++-- src/uikit.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/UIKit/NSLayoutConstraint.cs b/src/UIKit/NSLayoutConstraint.cs index 33138090b1..6e4a778677 100644 --- a/src/UIKit/NSLayoutConstraint.cs +++ b/src/UIKit/NSLayoutConstraint.cs @@ -25,13 +25,13 @@ namespace XamCore.UIKit { [iOS (10, 0)] public NSLayoutAnchor FirstAnchor () where AnchorType : NSObject { - return Runtime.GetNSObject> (_FirstAnchor ()); + return Runtime.GetNSObject> (_FirstAnchor ()); } [iOS (10, 0)] public NSLayoutAnchor SecondAnchor () where AnchorType : NSObject { - return Runtime.GetNSObject> (_SecondAnchor ()); + return Runtime.GetNSObject> (_SecondAnchor ()); } } } diff --git a/src/uikit.cs b/src/uikit.cs index 07482fd16b..e637493bd3 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -341,6 +341,7 @@ namespace XamCore.UIKit { [iOS (10, 0)] [NullAllowed, Export ("secondAnchor", ArgumentSemantic.Copy)] + [Internal] IntPtr _SecondAnchor (); #endif }