[uikit] NSLayoutContraint fixes (#435)

- Fix missing [Internal] attribute.
- Fix styling.
This commit is contained in:
Vincent Dondain 2016-07-20 00:33:16 +02:00 коммит произвёл Sebastien Pouliot
Родитель 308db4d1ea
Коммит 7446afb5b7
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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
}