From 13b196ec6b68fa9f4f0b7560263f3bccfbd5d90e Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 9 Feb 2018 13:10:41 -0600 Subject: [PATCH] [Appkit] Update to Xcode 9.3 beta 2 (#3433) --- src/appkit.cs | 8 +++++++- tests/xtro-sharpie/macOS-AppKit.todo | 5 ----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/appkit.cs b/src/appkit.cs index abe70ef46f..7e168355b8 100644 --- a/src/appkit.cs +++ b/src/appkit.cs @@ -2088,7 +2088,7 @@ namespace XamCore.AppKit { } [BaseType (typeof (NSControl))] - interface NSButton : NSAccessibilityButton { + interface NSButton : NSAccessibilityButton, NSUserInterfaceCompression { [Export ("initWithFrame:")] IntPtr Constructor (CGRect frameRect); @@ -13693,6 +13693,10 @@ namespace XamCore.AppKit { [Export ("customizationLabel")] string CustomizationLabel { get; set; } + + [Mac (10,13)] + [Export ("view")] + INSUserInterfaceCompression View { get; } } [BaseType (typeof (NSObject))] @@ -26015,6 +26019,8 @@ namespace XamCore.AppKit { NSUserInterfaceCompressionOptions StandardOptions { get; } } + interface INSUserInterfaceCompression { } + [Mac (10, 13)] [Protocol] interface NSUserInterfaceCompression diff --git a/tests/xtro-sharpie/macOS-AppKit.todo b/tests/xtro-sharpie/macOS-AppKit.todo index efb4870d9b..e69de29bb2 100644 --- a/tests/xtro-sharpie/macOS-AppKit.todo +++ b/tests/xtro-sharpie/macOS-AppKit.todo @@ -1,5 +0,0 @@ -!missing-protocol-conformance! NSButton should conform to NSUserInterfaceCompression -!missing-selector! NSButton::activeCompressionOptions not bound -!missing-selector! NSButton::compressWithPrioritizedCompressionOptions: not bound -!missing-selector! NSButton::minimumSizeWithPrioritizedCompressionOptions: not bound -!missing-selector! NSSliderTouchBarItem::view not bound