[uikit] NSLayoutContraint fixes (#435)
- Fix missing [Internal] attribute. - Fix styling.
This commit is contained in:
Родитель
308db4d1ea
Коммит
7446afb5b7
|
@ -25,13 +25,13 @@ namespace XamCore.UIKit {
|
|||
[iOS (10, 0)]
|
||||
public NSLayoutAnchor<AnchorType> FirstAnchor<AnchorType> () where AnchorType : NSObject
|
||||
{
|
||||
return Runtime.GetNSObject<NSLayoutAnchor<AnchorType>> (_FirstAnchor ());
|
||||
return Runtime.GetNSObject<NSLayoutAnchor<AnchorType>> (_FirstAnchor ());
|
||||
}
|
||||
|
||||
[iOS (10, 0)]
|
||||
public NSLayoutAnchor<AnchorType> SecondAnchor<AnchorType> () where AnchorType : NSObject
|
||||
{
|
||||
return Runtime.GetNSObject<NSLayoutAnchor<AnchorType>> (_SecondAnchor ());
|
||||
return Runtime.GetNSObject<NSLayoutAnchor<AnchorType>> (_SecondAnchor ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -341,6 +341,7 @@ namespace XamCore.UIKit {
|
|||
|
||||
[iOS (10, 0)]
|
||||
[NullAllowed, Export ("secondAnchor", ArgumentSemantic.Copy)]
|
||||
[Internal]
|
||||
IntPtr _SecondAnchor<AnchorType> ();
|
||||
#endif
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче