diff --git a/Make.config b/Make.config index 82fe6a1e2995..683e41c28aad 100644 --- a/Make.config +++ b/Make.config @@ -223,8 +223,8 @@ MIN_SHARPIE_URL=https://download.visualstudio.microsoft.com/download/pr/7336f72c # Minimum OSX versions for building XI/XM MIN_OSX_BUILD_VERSION=12.5 # Minimum OSX version for executing XI/XM tooling. -MIN_OSX_VERSION_FOR_IOS=10.11 -MIN_OSX_VERSION_FOR_MAC=10.11 +MIN_OSX_VERSION_FOR_IOS=10.15 +MIN_OSX_VERSION_FOR_MAC=10.15 # Bump the *_NUGET_VERSION variables in Make.versions instead, because that makes sure the computed commit distance for the version is correct. IOS_SDK_VERSION=$(word 1, $(subst ., ,$(IOS_NUGET_VERSION))).$(word 2, $(subst ., ,$(IOS_NUGET_VERSION))) @@ -243,19 +243,19 @@ MAX_TVOS_SIMULATOR_VERSION=$(TVOS_SDK_VERSION) MAX_WATCH_SIMULATOR_VERSION=$(WATCH_SDK_VERSION) # Minimum OS versions for running XI/XM apps. -MIN_IOS_SDK_VERSION=7.0 -MIN_MACOS_SDK_VERSION=10.9 -MIN_WATCHOS_SDK_VERSION=2.0 +MIN_IOS_SDK_VERSION=11.0 +MIN_MACOS_SDK_VERSION=10.15 +MIN_WATCHOS_SDK_VERSION=4.0 MIN_WATCHOS64_32_SDK_VERSION=5.1 -MIN_WATCH_OS_VERSION=2.0 -MIN_TVOS_SDK_VERSION=9.0 +MIN_WATCH_OS_VERSION=4.0 +MIN_TVOS_SDK_VERSION=11.0 MIN_MACCATALYST_SDK_VERSION=13.1 -# Minimum OS versions for dotnet6 support -DOTNET_MIN_IOS_SDK_VERSION=10.0 -DOTNET_MIN_TVOS_SDK_VERSION=10.0 +# Minimum OS versions for .NET 8 support +DOTNET_MIN_IOS_SDK_VERSION=11.0 +DOTNET_MIN_TVOS_SDK_VERSION=11.0 DOTNET_MIN_MACCATALYST_SDK_VERSION=13.1 -DOTNET_MIN_MACOS_SDK_VERSION=10.14 +DOTNET_MIN_MACOS_SDK_VERSION=10.15 # The min simulator version available in the Xcode we're using MIN_IOS_SIMULATOR_VERSION=12.4 diff --git a/Versions-ios.plist.in b/Versions-ios.plist.in index 15e50d8b3aae..7f4800956965 100644 --- a/Versions-ios.plist.in +++ b/Versions-ios.plist.in @@ -8,21 +8,6 @@ iOS - 7.0 - 7.1 - 8.0 - 8.1 - 8.2 - 8.3 - 8.4 - 9.0 - 9.1 - 9.2 - 9.3 - 10.0 - 10.1 - 10.2 - 10.3 11.0 11.1 11.2 @@ -55,12 +40,6 @@ tvOS - 9.0 - 9.1 - 9.2 - 10.0 - 10.1 - 10.2 11.0 11.1 11.2 @@ -88,12 +67,6 @@ watchOS - 2.0 - 2.1 - 2.2 - 3.0 - 3.1 - 3.2 4.0 4.1 4.2 diff --git a/Versions-mac.plist.in b/Versions-mac.plist.in index d4b3b41a177c..a6120deae482 100644 --- a/Versions-mac.plist.in +++ b/Versions-mac.plist.in @@ -10,12 +10,6 @@ macOS - 10.9 - 10.10 - 10.11 - 10.12 - 10.13 - 10.14 10.15 10.16 11.0 diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macos-viewcontroller/ViewController1.xib b/dotnet/Templates/Microsoft.macOS.Templates/macos-viewcontroller/ViewController1.xib index 16694739f764..dc11a2ac6ea2 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macos-viewcontroller/ViewController1.xib +++ b/dotnet/Templates/Microsoft.macOS.Templates/macos-viewcontroller/ViewController1.xib @@ -1,7 +1,8 @@ - + + - - + + diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macos/.template.config/template.json b/dotnet/Templates/Microsoft.macOS.Templates/macos/.template.config/template.json index bf5a33352767..bfed2460006b 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macos/.template.config/template.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macos/.template.config/template.json @@ -34,7 +34,7 @@ "description": "Overrides SupportedOSPlatformVersion in the project file", "replaces": "minOSVersion", "datatype": "string", - "defaultValue": "10.14" + "defaultValue": "10.15" } }, "defaultName": "macOSApp1" diff --git a/msbuild/Xamarin.Shared/Xamarin.Shared.props b/msbuild/Xamarin.Shared/Xamarin.Shared.props index 10f0530f89ab..5ba9b007e9a6 100644 --- a/msbuild/Xamarin.Shared/Xamarin.Shared.props +++ b/msbuild/Xamarin.Shared/Xamarin.Shared.props @@ -193,10 +193,9 @@ Copyright (C) 2020 Microsoft. All rights reserved. x86_64 - i386 + x86_64 ARMv7k - ARM64 - ARMv7 + ARM64 diff --git a/src/AVFoundation/AVAudioConverterPrimeInfo.cs b/src/AVFoundation/AVAudioConverterPrimeInfo.cs index 6b415bf7e316..bbeed0225428 100644 --- a/src/AVFoundation/AVAudioConverterPrimeInfo.cs +++ b/src/AVFoundation/AVAudioConverterPrimeInfo.cs @@ -32,13 +32,10 @@ namespace AVFoundation { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [StructLayout (LayoutKind.Sequential)] public struct AVAudioConverterPrimeInfo { diff --git a/src/AVFoundation/AVAudioFormat.cs b/src/AVFoundation/AVAudioFormat.cs index 2ede34982867..1be5afb79b8d 100644 --- a/src/AVFoundation/AVAudioFormat.cs +++ b/src/AVFoundation/AVAudioFormat.cs @@ -38,14 +38,14 @@ public partial class AVAudioFormat { [Export ("StreamDescription")] #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #endif public virtual AudioStreamBasicDescription StreamDescription { #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] diff --git a/src/AVFoundation/AVAudioRecorder.cs b/src/AVFoundation/AVAudioRecorder.cs index 6051456694f2..62efd2148d40 100644 --- a/src/AVFoundation/AVAudioRecorder.cs +++ b/src/AVFoundation/AVAudioRecorder.cs @@ -64,13 +64,10 @@ public partial class AVAudioRecorder { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] - [Mac (10, 12)] #endif public static AVAudioRecorder? Create (NSUrl url, AVAudioFormat? format, out NSError? error) { diff --git a/src/AVFoundation/AVBeatRange.cs b/src/AVFoundation/AVBeatRange.cs index 5105ee6f347d..661312d17b29 100644 --- a/src/AVFoundation/AVBeatRange.cs +++ b/src/AVFoundation/AVBeatRange.cs @@ -32,13 +32,10 @@ namespace AVFoundation { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [StructLayout (LayoutKind.Sequential)] public struct AVBeatRange { diff --git a/src/AVFoundation/AVCaptureVideoPreviewLayer.cs b/src/AVFoundation/AVCaptureVideoPreviewLayer.cs index 7816a2c1d954..7435367ef867 100644 --- a/src/AVFoundation/AVCaptureVideoPreviewLayer.cs +++ b/src/AVFoundation/AVCaptureVideoPreviewLayer.cs @@ -15,11 +15,9 @@ public partial class AVCaptureVideoPreviewLayer { public enum InitMode { WithConnection, #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (8, 0)] #endif WithNoConnection, } diff --git a/src/AVFoundation/AVPlayerItem.cs b/src/AVFoundation/AVPlayerItem.cs index 2d1e2039d585..60c221426449 100644 --- a/src/AVFoundation/AVPlayerItem.cs +++ b/src/AVFoundation/AVPlayerItem.cs @@ -11,15 +11,12 @@ namespace AVFoundation { public partial class AVPlayerItem { #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] #else - [TV (11, 0)] [NoWatch] - [Mac (10, 13)] - [iOS (11, 0)] #endif public AVVideoApertureMode VideoApertureMode { get { return AVVideoApertureModeExtensions.GetValue (_VideoApertureMode); } diff --git a/src/AVFoundation/AVPlayerLayer.cs b/src/AVFoundation/AVPlayerLayer.cs index 8f1d8509ba41..0d9cfd5a7409 100644 --- a/src/AVFoundation/AVPlayerLayer.cs +++ b/src/AVFoundation/AVPlayerLayer.cs @@ -17,13 +17,10 @@ namespace AVFoundation { public partial class AVPlayerLayer { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public CVPixelBufferAttributes? PixelBufferAttributes { get { diff --git a/src/AVFoundation/AVTypes.cs b/src/AVFoundation/AVTypes.cs index f6e66f073cb2..f6753b6dc665 100644 --- a/src/AVFoundation/AVTypes.cs +++ b/src/AVFoundation/AVTypes.cs @@ -305,7 +305,6 @@ public static CGRect WithAspectRatio (this CGRect self, CGSize aspectRatio) [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("tvos")] #else - [Mac (10, 10)] [NoiOS] [NoWatch] [NoTV] @@ -331,7 +330,6 @@ public struct AVSampleCursorSyncInfo { [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("tvos")] #else - [Mac (10, 10)] [NoiOS] [NoWatch] [NoTV] @@ -366,7 +364,6 @@ public struct AVSampleCursorDependencyInfo { [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("tvos")] #else - [Mac (10, 10)] [NoiOS] [NoWatch] [NoTV] @@ -386,7 +383,6 @@ public struct AVSampleCursorStorageRange { [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("tvos")] #else - [Mac (10, 10)] [NoiOS] [NoWatch] [NoTV] @@ -412,10 +408,8 @@ public struct AVSampleCursorChunkInfo { #if MONOMAC || __MACCATALYST__ #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst15.0")] -#else - [Mac (10,15)] #endif [StructLayout (LayoutKind.Sequential)] public struct AVSampleCursorAudioDependencyInfo { diff --git a/src/AVFoundation/AudioRendererWasFlushedAutomaticallyEventArgs.cs b/src/AVFoundation/AudioRendererWasFlushedAutomaticallyEventArgs.cs index 3824687651c5..35436d97b2c7 100644 --- a/src/AVFoundation/AudioRendererWasFlushedAutomaticallyEventArgs.cs +++ b/src/AVFoundation/AudioRendererWasFlushedAutomaticallyEventArgs.cs @@ -8,15 +8,12 @@ namespace AVFoundation { #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] #else - [TV (11, 0)] [NoWatch] - [Mac (10, 13)] - [iOS (11, 0)] #endif public partial class AudioRendererWasFlushedAutomaticallyEventArgs { public CMTime AudioRendererFlushTime { diff --git a/src/AVFoundation/Enums.cs b/src/AVFoundation/Enums.cs index 0ce57ceefbe9..c93a8fd6d31f 100644 --- a/src/AVFoundation/Enums.cs +++ b/src/AVFoundation/Enums.cs @@ -136,8 +136,6 @@ public enum AVCaptureExposureMode : long { Locked, AutoExpose, ContinuousAutoExposure, - [iOS (8, 0)] - [Mac (10, 15)] [MacCatalyst (14, 0)] Custom, } @@ -342,8 +340,6 @@ public enum AVVideoFieldMode : long { Both, TopOnly, BottomOnly, Deinterlace } - [Mac (10, 15)] - [iOS (8, 0)] [TV (12, 0)] [Watch (7, 0)] [MacCatalyst (13, 1)] @@ -354,7 +350,6 @@ public enum AVAudioSessionInterruptionOptions : ulong { ShouldResume = 1 } - [Mac (10, 15)] [Watch (7, 0)] [MacCatalyst (13, 1)] [Flags] @@ -364,7 +359,6 @@ public enum AVAudioSessionSetActiveOptions : ulong { NotifyOthersOnDeactivation = 1 } - [Mac (10, 15)] [Watch (7, 0)] [MacCatalyst (13, 1)] [Native] @@ -378,7 +372,6 @@ public enum AVAudioSessionPortOverride : ulong { Speaker = 0x73706b72 // 'spkr' } - [Mac (10, 15)] [Watch (7, 0)] [MacCatalyst (13, 1)] [Native] @@ -412,19 +405,13 @@ public enum AVAudioSessionCategoryOptions : ulong { DefaultToSpeaker = 8, [NoMac] // Removed in Xcode 12 GM - [iOS (9, 0)] [MacCatalyst (13, 1)] InterruptSpokenAudioAndMixWithOthers = 17, [NoMac] // Removed in Xcode 12 GM - [Watch (3, 0)] - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] AllowBluetoothA2DP = 32, [NoMac] // Removed in Xcode 12 GM [NoWatch] - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] AllowAirPlay = 64, [NoMac] @@ -435,7 +422,6 @@ public enum AVAudioSessionCategoryOptions : ulong { OverrideMutedMicrophoneInterruption = 128, } - [Mac (10, 15)] [Watch (7, 0)] [MacCatalyst (13, 1)] [Native] @@ -444,7 +430,6 @@ public enum AVAudioSessionInterruptionType : ulong { Ended, Began } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Native] // NSInteger - AVAudioSession.h @@ -497,7 +482,6 @@ public enum AVSampleRateConverterAlgorithm : int { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [Mac (10, 14)] [NoWatch] [NoTV] [Native] @@ -506,7 +490,6 @@ public enum AVAuthorizationStatus : long { NotDetermined, Restricted, Denied, Authorized } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Native] // NSInteger - AVSpeechSynthesis.h @@ -515,7 +498,6 @@ public enum AVSpeechBoundary : long { Word } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum AVAudioCommonFormat : ulong { @@ -533,20 +515,15 @@ public enum AVAudio3DMixingRenderingAlgorithm : long { HRTF = 2, SoundField = 3, StereoPassThrough = 5, - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] HrtfHQ = 6, [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] Auto = 7, } - [iOS (8, 0)] - [Mac (10, 15)] [TV (12, 0)] [Watch (7, 0)] [MacCatalyst (13, 1)] @@ -557,8 +534,6 @@ public enum AVAudioSessionRecordPermission : ulong { Granted = 1735552628 /*'grnt'*/ } - [iOS (8, 0)] - [Mac (10, 15)] [Watch (7, 0)] [MacCatalyst (13, 1)] [Native] @@ -640,7 +615,6 @@ public enum AVAudioEnvironmentDistanceAttenuationModel : long { Linear = 3 } - [TV (10, 2)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Native] @@ -649,7 +623,6 @@ public enum AVQueuedSampleBufferRenderingStatus : long { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [iOS (8, 0)] [NoWatch] [NoTV] [Native] @@ -663,11 +636,9 @@ public enum AVCaptureVideoStabilizationMode : long { Auto = -1 } - [Mac (10, 15)] [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoTV] [NoWatch] - [iOS (8, 0)] [Native] public enum AVCaptureAutoFocusSystem : long { None, @@ -679,7 +650,6 @@ public enum AVCaptureAutoFocusSystem : long { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoTV] [NoWatch] - [iOS (9, 0)] [Native] [NoMac] public enum AVCaptureSessionInterruptionReason : long { @@ -693,8 +663,6 @@ public enum AVCaptureSessionInterruptionReason : long { } #endif - [iOS (9, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Native] public enum AVSpeechSynthesisVoiceQuality : long { @@ -702,8 +670,6 @@ public enum AVSpeechSynthesisVoiceQuality : long { Enhanced } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum AVAudioConverterPrimeMethod : long { @@ -712,8 +678,6 @@ public enum AVAudioConverterPrimeMethod : long { None = 2 } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum AVAudioConverterInputStatus : long { @@ -722,8 +686,6 @@ public enum AVAudioConverterInputStatus : long { EndOfStream = 2 } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum AVAudioConverterOutputStatus : long { @@ -733,8 +695,6 @@ public enum AVAudioConverterOutputStatus : long { Error = 3 } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -746,7 +706,6 @@ public enum AVMusicSequenceLoadOptions : ulong { [NoTV] [iOS (13, 0)] [Watch (6, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -773,7 +732,6 @@ public enum AVContentAuthorizationStatus : long { [iOS (15, 0)] [TV (15, 0)] [Watch (8, 0)] - [Mac (10, 10)] [MacCatalyst (15, 0)] [Native] public enum AVSampleBufferRequestDirection : long { @@ -785,13 +743,11 @@ public enum AVSampleBufferRequestDirection : long { [iOS (15, 0)] [TV (15, 0)] [Watch (8, 0)] - [Mac (10, 10)] [MacCatalyst (15, 0)] [Native] public enum AVSampleBufferRequestMode : long { Immediate, Scheduled, - [Mac (10, 15)] [MacCatalyst (13, 1)] Opportunistic = 2, } @@ -799,8 +755,6 @@ public enum AVSampleBufferRequestMode : long { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoTV] [NoWatch] - [Mac (10, 15)] - [iOS (10, 0)] [Native] public enum AVCaptureColorSpace : long { Srgb = 0, @@ -811,7 +765,6 @@ public enum AVCaptureColorSpace : long { HlgBT2020 = 2, } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum AVMusicTrackLoopCount : long { @@ -819,9 +772,6 @@ public enum AVMusicTrackLoopCount : long { } [Watch (6, 0)] - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum AVPlayerTimeControlStatus : long { @@ -832,8 +782,6 @@ public enum AVPlayerTimeControlStatus : long { [NoWatch] [NoTV] - [iOS (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Native] public enum AVAudioSessionIOType : long { @@ -842,9 +790,6 @@ public enum AVAudioSessionIOType : long { } [Watch (6, 0)] - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum AVPlayerLooperStatus : long { @@ -855,7 +800,6 @@ public enum AVPlayerLooperStatus : long { } [NoiOS] - [TV (10, 0)] [NoWatch] [NoMac] [NoMacCatalyst] @@ -867,7 +811,6 @@ public enum AVContentProposalAction : long { } [NoiOS] - [TV (10, 0)] [NoWatch] [NoMac] [NoMacCatalyst] @@ -877,9 +820,6 @@ public enum AVPlayerViewControllerSkippingBehavior : long { SkipItem } - [TV (10, 2)] - [Mac (10, 12, 4)] - [iOS (10, 3)] [Watch (7, 0)] [MacCatalyst (13, 1)] [Native] @@ -892,9 +832,6 @@ public enum AVContentKeyRequestStatus : long { Failed } - [TV (10, 2)] - [Mac (10, 12, 4)] - [iOS (10, 3)] [Watch (7, 0)] [MacCatalyst (13, 1)] public enum AVContentKeyRequestRetryReason { @@ -906,18 +843,12 @@ public enum AVContentKeyRequestRetryReason { ReceivedObsoleteContentKey, } - [TV (10, 2)] - [Mac (10, 12, 4)] - [iOS (10, 3)] [Watch (7, 0)] [MacCatalyst (13, 1)] public enum AVContentKeySystem { [Field ("AVContentKeySystemFairPlayStreaming")] FairPlayStreaming = 0, - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("AVContentKeySystemClearKey")] ClearKey = 1, @@ -928,7 +859,6 @@ public enum AVContentKeySystem { AVContentKeySystemClearKey = ClearKey, [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVContentKeySystemAuthorizationToken")] @@ -939,15 +869,12 @@ public enum AVContentKeySystem { [NoWatch] [MacCatalyst (13, 1)] public enum AVAssetExportSessionPreset { - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetLowQuality")] LowQuality = 0, // AVAssetExportPresetLowQuality - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetMediumQuality")] MediumQuality = 1, // AVAssetExportPresetMediumQuality - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetHighestQuality")] HighestQuality = 2, // AVAssetExportPresetHighestQuality @@ -960,8 +887,6 @@ public enum AVAssetExportSessionPreset { [Field ("AVAssetExportPreset1920x1080")] Preset1920x1080 = 6, // AVAssetExportPreset1920x1080 - [iOS (9, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPreset3840x2160")] Preset3840x2160 = 7, // AVAssetExportPreset3840x2160 @@ -971,17 +896,11 @@ public enum AVAssetExportSessionPreset { [Field ("AVAssetExportPresetPassthrough")] Passthrough = 9, // AVAssetExportPresetPassthrough - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Obsolete ("Use 'AVOutputSettingsPreset.PresetHevc1920x1080' instead.")] [Field ("AVOutputSettingsPresetHEVC1920x1080")] PresetHevc1920x1080 = 11, - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Obsolete ("Use 'AVOutputSettingsPreset.PresetHevc3840x2160' instead.")] [Field ("AVOutputSettingsPresetHEVC3840x2160")] @@ -989,7 +908,6 @@ public enum AVAssetExportSessionPreset { } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] public enum AVOutputSettingsPreset { [Field ("AVOutputSettingsPreset640x480")] @@ -1004,29 +922,20 @@ public enum AVOutputSettingsPreset { [Field ("AVOutputSettingsPreset1920x1080")] Preset1920x1080 = 3, - [Mac (10, 10)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("AVOutputSettingsPreset3840x2160")] Preset3840x2160 = 4, - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVOutputSettingsPresetHEVC1920x1080")] PresetHevc1920x1080 = 11, // we added the wrong value in the export enum, we use the same so that they can be swap - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVOutputSettingsPresetHEVC3840x2160")] PresetHevc3840x2160 = 12, // we added the wrong value in the export enum, we use the same so that they can be swap [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVOutputSettingsPresetHEVC1920x1080WithAlpha")] @@ -1034,7 +943,6 @@ public enum AVOutputSettingsPreset { [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVOutputSettingsPresetHEVC3840x2160WithAlpha")] @@ -1050,20 +958,13 @@ public enum AVOutputSettingsPreset { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [TV (11, 0)] [NoWatch] - [Mac (10, 13)] - [iOS (11, 0)] [Native] public enum AVDepthDataAccuracy : long { Relative = 0, Absolute = 1, } - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum AVAudioEngineManualRenderingMode : long { @@ -1071,10 +972,6 @@ public enum AVAudioEngineManualRenderingMode : long { Realtime = 1 } - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum AVAudioEngineManualRenderingStatus : long { @@ -1084,10 +981,7 @@ public enum AVAudioEngineManualRenderingStatus : long { CannotDoInCurrentContext = 2 } - [TV (11, 0)] [Watch (5, 0)] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum AVAudioSessionRouteSharingPolicy : ulong { @@ -1102,10 +996,6 @@ public enum AVAudioSessionRouteSharingPolicy : ulong { LongFormVideo = 3, } - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum AVAudioPlayerNodeCompletionCallbackType : long { @@ -1114,10 +1004,6 @@ public enum AVAudioPlayerNodeCompletionCallbackType : long { PlayedBack = 2 } - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] public enum AVAudioEngineManualRenderingError { InvalidMode = -80800, @@ -1127,7 +1013,6 @@ public enum AVAudioEngineManualRenderingError { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoTV] - [iOS (11, 0)] [NoWatch] [Native] public enum AVCaptureLensStabilizationStatus : long { @@ -1138,11 +1023,9 @@ public enum AVCaptureLensStabilizationStatus : long { Unavailable = 4 } - [Mac (10, 15)] [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] [NoTV] - [iOS (11, 0)] [Native] public enum AVCaptureOutputDataDroppedReason : long { None = 0, @@ -1151,10 +1034,7 @@ public enum AVCaptureOutputDataDroppedReason : long { Discontinuity = 3, } - [TV (11, 0)] [NoWatch] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] public enum AVVideoApertureMode { [Field ("AVVideoApertureModeCleanAperture")] @@ -1169,7 +1049,6 @@ public enum AVVideoApertureMode { [NoWatch] [NoTV] [Mac (12, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] public enum AVAssetDownloadedAssetEvictionPriority { [Field ("AVAssetDownloadedAssetEvictionPriorityDefault")] @@ -1180,9 +1059,6 @@ public enum AVAssetDownloadedAssetEvictionPriority { } [NoWatch] - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] public enum AVAssetWriterInputMediaDataLocation { [Field ("AVAssetWriterInputMediaDataLocationInterleavedWithMainMediaData")] @@ -1192,10 +1068,7 @@ public enum AVAssetWriterInputMediaDataLocation { BeforeMainMediaDataNotInterleaved = 1, } - [TV (11, 0)] [NoWatch] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (15, 0)] public enum AVVideoCodecType { [Field ("AVVideoCodecTypeH264")] @@ -1215,7 +1088,6 @@ public enum AVVideoCodecType { [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (15, 0)] [Field ("AVVideoCodecTypeAppleProRes422HQ")] @@ -1223,7 +1095,6 @@ public enum AVVideoCodecType { [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (15, 0)] [Field ("AVVideoCodecTypeAppleProRes422LT")] @@ -1231,7 +1102,6 @@ public enum AVVideoCodecType { [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (15, 0)] [Field ("AVVideoCodecTypeAppleProRes422Proxy")] @@ -1239,7 +1109,6 @@ public enum AVVideoCodecType { [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (15, 0)] [Field ("AVVideoCodecTypeHEVCWithAlpha")] @@ -1247,10 +1116,7 @@ public enum AVVideoCodecType { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [TV (11, 0)] [NoWatch] - [Mac (10, 13)] - [iOS (11, 0)] [Native] public enum AVDepthDataQuality : long { Low = 0, @@ -1287,7 +1153,6 @@ public enum AVPlayerHdrMode : long { [Watch (5, 0)] [TV (12, 0)] [iOS (12, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -1305,7 +1170,6 @@ public enum AVAudioSessionPromptStyle : ulong { [Watch (6, 0)] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Native] public enum AVSpeechSynthesisVoiceGender : long { @@ -1327,7 +1191,6 @@ public enum AVCapturePhotoQualityPrioritization : long { [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -1340,7 +1203,6 @@ public enum AVAudioEnvironmentOutputType : long { [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -1353,7 +1215,6 @@ public enum AVAudio3DMixingSourceMode : long { [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -1428,16 +1289,12 @@ public enum AVAudioRoutingArbitrationCategory : long { } #if !WATCH - [TV (10, 2)] - [Mac (10, 12, 4)] - [iOS (10, 3)] [NoWatch] [MacCatalyst (13, 1)] public enum AVContentKeyResponseDataType { FairPlayStreamingKeyResponseData, [TV (13, 0)] [NoWatch] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] AuthorizationTokenData, diff --git a/src/AVKit/Enums.cs b/src/AVKit/Enums.cs index 945e4f1bb1fb..5f590ad73848 100644 --- a/src/AVKit/Enums.cs +++ b/src/AVKit/Enums.cs @@ -19,7 +19,6 @@ public enum AVPlayerViewControlsStyle : long { // The version of the AVError.h header file in the tvOS SDK is much newer than in the iOS SDKs, // (copyright 2016 vs 2019), so this is reflecting the tvOS SDK. - [iOS (9, 0)] [TV (13, 0)] #if NET [NoMac] @@ -52,7 +51,6 @@ public enum AVAudioSessionRouteSelection : long { [NoiOS] [NoWatch] [NoTV] - [Mac (10, 15)] [NoMacCatalyst] [Native] public enum AVRoutePickerViewButtonState : long { diff --git a/src/AppKit/Enums.cs b/src/AppKit/Enums.cs index c475504363eb..51cc262a743d 100644 --- a/src/AppKit/Enums.cs +++ b/src/AppKit/Enums.cs @@ -71,7 +71,6 @@ public enum NSApplicationPresentationOptions : ulong { FullScreen = (1 << 10), AutoHideToolbar = (1 << 11), - [Mac (10, 11, 2)] DisableCursorLocationAssistance = (1 << 12), } @@ -135,21 +134,21 @@ public enum NSComposite : ulong { [Deprecated (PlatformName.MacOSX, 10, 10, message: "Use NSCompositeSourceOver instead.")] Highlight, PlusLighter, - [Mac (10, 10)] Multiply, - [Mac (10, 10)] Screen, - [Mac (10, 10)] Overlay, - [Mac (10, 10)] Darken, - [Mac (10, 10)] Lighten, - [Mac (10, 10)] ColorDodge, - [Mac (10, 10)] ColorBurn, - [Mac (10, 10)] SoftLight, - [Mac (10, 10)] HardLight, - [Mac (10, 10)] Difference, - [Mac (10, 10)] Exclusion, - [Mac (10, 10)] Hue, - [Mac (10, 10)] Saturation, - [Mac (10, 10)] Color, - [Mac (10, 10)] Luminosity + Multiply, + Screen, + Overlay, + Darken, + Lighten, + ColorDodge, + ColorBurn, + SoftLight, + HardLight, + Difference, + Exclusion, + Hue, + Saturation, + Color, + Luminosity } [NoMacCatalyst] @@ -191,7 +190,7 @@ public enum NSColorRenderingIntent : long { } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSRectEdge : ulong { MinXEdge, MinYEdge, MaxXEdge, MaxYEdge @@ -307,9 +306,7 @@ public enum NSCellImagePosition : ulong { ImageBelow, ImageAbove, ImageOverlaps, - [Mac (10, 12)] ImageLeading, - [Mac (10, 12)] ImageTrailing, } @@ -406,7 +403,6 @@ public enum NSImageCacheMode : ulong { } [NoMacCatalyst] - [Mac (10, 10)] [Native (ConvertToNative = "NSImageResizingModeExtensions.ToNative", ConvertToManaged = "NSImageResizingModeExtensions.ToManaged")] public enum NSImageResizingMode : long { Stretch, @@ -423,7 +419,6 @@ public enum NSAlertStyle : ulong { } [NoMacCatalyst] - [Mac (10, 9)] [Native] public enum NSModalResponse : long { OK = 1, @@ -476,7 +471,6 @@ public enum NSEventType : ulong { QuickLook = 33, Pressure = 34, // 10.10.3, 64-bit-only DirectTouch = 37, // 10.10 - [Mac (10, 15)] ChangeMode = 38, } @@ -515,7 +509,6 @@ public enum NSEventMask : ulong { SmartMagnify = 1UL << (int) NSEventType.SmartMagnify, Pressure = 1UL << (int) NSEventType.Pressure, // 10.10.3, 64-bit-only DirectTouch = 1UL << (int) NSEventType.DirectTouch, // 10.10 - [Mac (10, 15)] ChangeMode = 1UL << (int) NSEventType.ChangeMode, AnyEvent = unchecked((ulong) UInt64.MaxValue) } @@ -848,7 +841,6 @@ public enum NSViewLayerContentsRedrawPolicy : long { OnSetNeedsDisplay, DuringViewResize, BeforeViewResize, - [Mac (10, 9)] Crossfade = 4, } @@ -893,7 +885,7 @@ public enum NSWindowStyle : ulong { UnifiedTitleAndToolbar = 1 << 12, Hud = 1 << 13, FullScreenWindow = 1 << 14, - [Mac (10, 10)] FullSizeContentView = 1 << 15 + FullSizeContentView = 1 << 15 } [NoMacCatalyst] @@ -923,11 +915,11 @@ public enum NSWindowCollectionBehavior : ulong { FullScreenPrimary = 1 << 7, FullScreenAuxiliary = 1 << 8, FullScreenNone = 1 << 9, - [Mac (10, 11)] FullScreenAllowsTiling = 1 << 11, - [Mac (10, 11)] FullScreenDisallowsTiling = 1 << 12, - [Mac (10, 13)] Primary = 1 << 16, - [Mac (10, 13)] Auxiliary = 1 << 17, - [Mac (10, 13)] CanJoinAllApplications = 1 << 18, + FullScreenAllowsTiling = 1 << 11, + FullScreenDisallowsTiling = 1 << 12, + Primary = 1 << 16, + Auxiliary = 1 << 17, + CanJoinAllApplications = 1 << 18, } [NoMacCatalyst] @@ -1091,35 +1083,20 @@ public enum NSCompositingOperation : ulong { Highlight, PlusLighter, - [Mac (10, 10)] Multiply, - [Mac (10, 10)] Screen, - [Mac (10, 10)] Overlay, - [Mac (10, 10)] Darken, - [Mac (10, 10)] Lighten, - [Mac (10, 10)] ColorDodge, - [Mac (10, 10)] ColorBurn, - [Mac (10, 10)] SoftLight, - [Mac (10, 10)] HardLight, - [Mac (10, 10)] Difference, - [Mac (10, 10)] Exclusion, - [Mac (10, 10)] Hue, - [Mac (10, 10)] Saturation, - [Mac (10, 10)] Color, - [Mac (10, 10)] Luminosity } @@ -1243,7 +1220,6 @@ public enum NSRulerOrientation : ulong { #region NSGestureRecognizer [NoMacCatalyst] - [Mac (10, 10)] [Native] public enum NSGestureRecognizerState : long { Possible, @@ -1288,7 +1264,6 @@ public enum NSStackViewGravity : long { #endregion [NoMacCatalyst] - [Mac (10, 11)] [Native] public enum NSStackViewDistribution : long { GravityAreas = -1, @@ -1653,9 +1628,7 @@ public enum NSFontSymbolicTraits : int { // uint32_t NSFontSymbolicTraits MonoSpaceTrait = (1 << 10), VerticalTrait = (1 << 11), UIOptimizedTrait = (1 << 12), - [Mac (10, 13)] TraitTightLeading = 1 << 15, - [Mac (10, 13)] TraitLooseLeading = 1 << 16, TraitEmphasized = BoldTrait, UnknownClass = 0 << 28, @@ -1698,13 +1671,13 @@ public enum NSPasteboardWritingOptions : ulong { WritingPromised = 1 << 9 } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSToolbarDisplayMode : ulong { Default, IconAndLabel, Icon, Label } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSToolbarSizeMode : ulong { Default, Regular, Small @@ -1840,7 +1813,6 @@ public enum NSSplitViewDividerStyle : long { } [NoMacCatalyst] - [Mac (10, 11)] [Native] public enum NSSplitViewItemBehavior : long { Default, @@ -1867,7 +1839,7 @@ public enum NSSegmentStyle : long { TexturedSquare = 4, Capsule = 5, SmallSquare = 6, - [Mac (10, 10)] Separated = 8 + Separated = 8 } [NoMacCatalyst] @@ -1990,7 +1962,6 @@ public enum NSCollectionViewDropOperation : long { } [MacCatalyst (13, 1)] - [Mac (10, 11)] [Native] public enum NSCollectionViewItemHighlightState : long { None = 0, @@ -1999,8 +1970,7 @@ public enum NSCollectionViewItemHighlightState : long { AsDropTarget = 3 } - [MacCatalyst (13, 0)] - [Mac (10, 11)] // Not marked 10.11 in the headers, but doesn't exist in the 10.10 headers + [MacCatalyst (13, 1)] [Native] [Flags] public enum NSCollectionViewScrollPosition : ulong { @@ -2018,7 +1988,6 @@ public enum NSCollectionViewScrollPosition : ulong { } [MacCatalyst (13, 1)] - [Mac (10, 11)] [Native] public enum NSCollectionElementCategory : long { Item, @@ -2028,7 +1997,6 @@ public enum NSCollectionElementCategory : long { } [NoMacCatalyst] - [Mac (10, 11)] [Native] public enum NSCollectionUpdateAction : long { Insert, @@ -2039,7 +2007,6 @@ public enum NSCollectionUpdateAction : long { } [MacCatalyst (13, 1)] - [Mac (10, 11)] [Native] public enum NSCollectionViewScrollDirection : long { Vertical, @@ -2614,7 +2581,6 @@ public enum NSTableViewRowSizeStyle : long { } [NoMacCatalyst] - [Mac (10, 11)] [Native] public enum NSTableRowActionEdge : long { Leading, @@ -2622,7 +2588,6 @@ public enum NSTableRowActionEdge : long { } [NoMacCatalyst] - [Mac (10, 11)] [Native] public enum NSTableViewRowActionStyle : long { Regular, @@ -2789,35 +2754,21 @@ public enum NSVisualEffectMaterial : long { Dark, Titlebar, Selection, - [Mac (10, 11)] Menu, - [Mac (10, 11)] Popover, - [Mac (10, 11)] Sidebar, - [Mac (10, 11)] [Advice ("Use a semantic material instead.")] MediumLight, - [Mac (10, 11)] [Advice ("Use a semantic material instead.")] UltraDark, - [Mac (10, 14)] HeaderView = 10, - [Mac (10, 14)] Sheet = 11, - [Mac (10, 14)] WindowBackground = 12, - [Mac (10, 14)] HudWindow = 13, - [Mac (10, 14)] FullScreenUI = 15, - [Mac (10, 14)] ToolTip = 17, - [Mac (10, 14)] ContentBackground = 18, - [Mac (10, 14)] UnderWindowBackground = 21, - [Mac (10, 14)] UnderPageBackground = 22, } @@ -2838,7 +2789,6 @@ public enum NSVisualEffectState : long { #endregion [NoMacCatalyst] - [Mac (10, 10, 3)] [Native] public enum NSPressureBehavior : long { Unknown = -1, @@ -2851,7 +2801,6 @@ public enum NSPressureBehavior : long { } [NoMacCatalyst] - [Mac (10, 11)] [Native] public enum NSHapticFeedbackPattern : long { Generic = 0, @@ -2860,7 +2809,6 @@ public enum NSHapticFeedbackPattern : long { } [NoMacCatalyst] - [Mac (10, 11)] [Native] public enum NSHapticFeedbackPerformanceTime : ulong { Default = 0, @@ -2869,7 +2817,6 @@ public enum NSHapticFeedbackPerformanceTime : ulong { } [NoMacCatalyst] - [Mac (10, 11)] [Native] public enum NSSpringLoadingHighlight : long { None = 0, @@ -2879,7 +2826,6 @@ public enum NSSpringLoadingHighlight : long { [NoMacCatalyst] [Flags] - [Mac (10, 11)] [Native] public enum NSSpringLoadingOptions : ulong { Disabled = 0, @@ -2890,14 +2836,12 @@ public enum NSSpringLoadingOptions : ulong { [NoMacCatalyst] [Flags] - [Mac (10, 12)] [Native] public enum NSWindowListOptions : long { OrderedFrontToBack = (1 << 0) } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSStatusItemBehavior : ulong { RemovalAllowed = (1 << 1), @@ -2905,7 +2849,6 @@ public enum NSStatusItemBehavior : ulong { } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSWindowTabbingMode : long { Automatic, @@ -2914,7 +2857,6 @@ public enum NSWindowTabbingMode : long { } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSWindowUserTabbingPreference : long { Manual, @@ -2923,7 +2865,6 @@ public enum NSWindowUserTabbingPreference : long { } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSGridCellPlacement : long { Inherited = 0, @@ -2937,7 +2878,6 @@ public enum NSGridCellPlacement : long { } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSGridRowAlignment : long { Inherited = 0, @@ -2947,7 +2887,6 @@ public enum NSGridRowAlignment : long { } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSImageLayoutDirection : long { Unspecified = -1, @@ -2956,7 +2895,6 @@ public enum NSImageLayoutDirection : long { } [NoMacCatalyst] - [Mac (10, 12)] [Native] [Flags] public enum NSCloudKitSharingServiceOptions : ulong { @@ -2968,7 +2906,6 @@ public enum NSCloudKitSharingServiceOptions : ulong { } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSDisplayGamut : long { Srgb = 1, @@ -2976,7 +2913,6 @@ public enum NSDisplayGamut : long { } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSTabPosition : ulong { None = 0, @@ -2987,7 +2923,6 @@ public enum NSTabPosition : ulong { } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSTabViewBorderType : ulong { None = 0, @@ -2996,14 +2931,12 @@ public enum NSTabViewBorderType : ulong { } [NoMacCatalyst] - [Mac (10, 12)] [Native] public enum NSPasteboardContentsOptions : ulong { CurrentHostOnly = 1, } [NoMacCatalyst] - [Mac (10, 12, 2)] [Native] public enum NSTouchType : long { Direct, @@ -3011,7 +2944,6 @@ public enum NSTouchType : long { } [NoMacCatalyst] - [Mac (10, 12, 2)] [Native] [Flags] public enum NSTouchTypeMask : ulong { @@ -3020,7 +2952,6 @@ public enum NSTouchTypeMask : ulong { } [NoMacCatalyst] - [Mac (10, 12, 2)] [Native] public enum NSScrubberMode : long { Fixed = 0, @@ -3028,7 +2959,6 @@ public enum NSScrubberMode : long { } [NoMacCatalyst] - [Mac (10, 12, 2)] [Native] public enum NSScrubberAlignment : long { None = 0, @@ -3038,7 +2968,6 @@ public enum NSScrubberAlignment : long { } [NoMacCatalyst] - [Mac (10, 13)] public enum NSFontError : int { AssetDownloadError = 66304, ErrorMinimum = 66304, @@ -3046,7 +2975,6 @@ public enum NSFontError : int { } [NoMacCatalyst] - [Mac (10, 13)] [Native] public enum NSAccessibilityAnnotationPosition : long { FullRange, @@ -3055,7 +2983,6 @@ public enum NSAccessibilityAnnotationPosition : long { } [NoMacCatalyst] - [Mac (10, 13)] [Native] public enum NSAccessibilityCustomRotorSearchDirection : long { Previous, @@ -3063,7 +2990,6 @@ public enum NSAccessibilityCustomRotorSearchDirection : long { } [NoMacCatalyst] - [Mac (10, 13)] [Native] public enum NSAccessibilityCustomRotorType : long { Custom = 0, @@ -3091,7 +3017,6 @@ public enum NSAccessibilityCustomRotorType : long { } [NoMacCatalyst] - [Mac (10, 13)] [Native] public enum NSColorType : long { ComponentBased, @@ -3100,7 +3025,6 @@ public enum NSColorType : long { } [NoMacCatalyst] - [Mac (10, 13)] [Native] [Flags] public enum NSFontAssetRequestOptions : ulong { @@ -3108,7 +3032,6 @@ public enum NSFontAssetRequestOptions : ulong { } [NoMacCatalyst] - [Mac (10, 13)] [Native] [Flags] public enum NSFontPanelModeMask : ulong { @@ -3126,7 +3049,6 @@ public enum NSFontPanelModeMask : ulong { } [NoMacCatalyst] - [Mac (10, 13)] [Native] public enum NSLevelIndicatorPlaceholderVisibility : long { Automatic = 0, @@ -3135,7 +3057,6 @@ public enum NSLevelIndicatorPlaceholderVisibility : long { } [NoMacCatalyst] - [Mac (10, 13)] [Native] public enum NSSegmentDistribution : long { Fit = 0, @@ -3145,7 +3066,6 @@ public enum NSSegmentDistribution : long { } [NoMacCatalyst] - [Mac (10, 14)] [Native] public enum NSColorSystemEffect : long { None, @@ -3156,7 +3076,6 @@ public enum NSColorSystemEffect : long { } [NoMacCatalyst] - [Mac (10, 14)] [Native] public enum NSWorkspaceAuthorizationType : long { CreateSymbolicLink, diff --git a/src/AppKit/NSAccessibility.cs b/src/AppKit/NSAccessibility.cs index d6a7631085c9..e09c40ece089 100644 --- a/src/AppKit/NSAccessibility.cs +++ b/src/AppKit/NSAccessibility.cs @@ -24,15 +24,11 @@ public partial interface INSAccessibility { } #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10, 9)] // but the field/notifications are in 10.9 #endif public partial class NSAccessibility { #if !COREBUILD #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.AppKitLibrary)] static extern CGRect NSAccessibilityFrameInView (NSView parentView, CGRect frame); @@ -44,8 +40,6 @@ public static CGRect GetFrameInView (NSView parentView, CGRect frame) #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.AppKitLibrary)] static extern CGPoint NSAccessibilityPointInView (NSView parentView, CGPoint point); diff --git a/src/AppKit/NSBezierPath.cs b/src/AppKit/NSBezierPath.cs index 7ab3feaa3692..1e11665a037e 100644 --- a/src/AppKit/NSBezierPath.cs +++ b/src/AppKit/NSBezierPath.cs @@ -126,8 +126,6 @@ public unsafe void AppendPathWithGlyphs (uint [] glyphs, NSFont font) #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] #endif public unsafe void Append (uint [] glyphs, NSFont font) { diff --git a/src/AppKit/NSButton.cs b/src/AppKit/NSButton.cs index d2f59a3fe356..99b3413256d1 100644 --- a/src/AppKit/NSButton.cs +++ b/src/AppKit/NSButton.cs @@ -47,8 +47,6 @@ public partial class NSButton { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] #endif public static NSButton CreateButton (string title, NSImage image, Action action) { @@ -61,8 +59,6 @@ public static NSButton CreateButton (string title, NSImage image, Action action) #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] #endif public static NSButton CreateButton (string title, Action action) { @@ -75,8 +71,6 @@ public static NSButton CreateButton (string title, Action action) #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] #endif public static NSButton CreateButton (NSImage image, Action action) { @@ -89,8 +83,6 @@ public static NSButton CreateButton (NSImage image, Action action) #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] #endif public static NSButton CreateCheckbox (string title, Action action) { @@ -103,8 +95,6 @@ public static NSButton CreateCheckbox (string title, Action action) #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] #endif public static NSButton CreateRadioButton (string title, Action action) { diff --git a/src/AppKit/NSCollectionLayoutAnchor.cs b/src/AppKit/NSCollectionLayoutAnchor.cs index ab6d3e4ecbc3..16fb069ce780 100644 --- a/src/AppKit/NSCollectionLayoutAnchor.cs +++ b/src/AppKit/NSCollectionLayoutAnchor.cs @@ -11,9 +11,7 @@ namespace AppKit { #if NET - [SupportedOSPlatform ("macos10.15")] -#else - [Mac (10, 15)] + [SupportedOSPlatform ("macos")] #endif public enum NSCollectionLayoutAnchorOffsetType { Absolute, diff --git a/src/AppKit/NSCollectionView.cs b/src/AppKit/NSCollectionView.cs index bfbe8169d9cd..2be6fe1e8461 100644 --- a/src/AppKit/NSCollectionView.cs +++ b/src/AppKit/NSCollectionView.cs @@ -18,7 +18,6 @@ public void RegisterClassForSupplementaryView (Type viewClass, NSString kind, st } #if !NET - [Mac (10, 11)] [Obsolete ("Use 'GetLayoutAttributes' instead.")] public virtual NSCollectionViewLayoutAttributes? GetLayoutAttributest (string kind, NSIndexPath indexPath) { diff --git a/src/AppKit/NSCollectionViewDelegate.cs b/src/AppKit/NSCollectionViewDelegate.cs index 03c402fdc7c4..21f98b3ce9b5 100644 --- a/src/AppKit/NSCollectionViewDelegate.cs +++ b/src/AppKit/NSCollectionViewDelegate.cs @@ -7,7 +7,6 @@ namespace AppKit { public partial class NSCollectionViewDelegate { - [Mac (10, 11)] [Obsolete ("Use 'ValidateDropOperation (NSCollectionView collectionView, NSDraggingInfo draggingInfo, ref NSIndexPath proposedDropIndexPath, ref NSCollectionViewDropOperation proposedDropOperation)' instead.")] public virtual NSDragOperation ValidateDrop (NSCollectionView collectionView, NSDraggingInfo draggingInfo, out NSIndexPath proposedDropIndexPath, out NSCollectionViewDropOperation proposedDropOperation) { @@ -18,7 +17,6 @@ public virtual NSDragOperation ValidateDrop (NSCollectionView collectionView, NS } public partial class NSCollectionViewDelegateFlowLayout { - [Mac (10, 11)] [Obsolete ("Use 'ValidateDropOperation (NSCollectionView collectionView, NSDraggingInfo draggingInfo, ref NSIndexPath proposedDropIndexPath, ref NSCollectionViewDropOperation proposedDropOperation)' instead.")] public virtual NSDragOperation ValidateDrop (NSCollectionView collectionView, NSDraggingInfo draggingInfo, out NSIndexPath proposedDropIndexPath, out NSCollectionViewDropOperation proposedDropOperation) { @@ -29,7 +27,6 @@ public virtual NSDragOperation ValidateDrop (NSCollectionView collectionView, NS } public static partial class NSCollectionViewDelegate_Extensions { - [Mac (10, 11)] [Obsolete ("Use 'ValidateDropOperation (NSCollectionView collectionView, NSDraggingInfo draggingInfo, ref NSIndexPath proposedDropIndexPath, ref NSCollectionViewDropOperation proposedDropOperation)' instead.")] public static NSDragOperation ValidateDrop (this INSCollectionViewDelegate This, NSCollectionView collectionView, NSDraggingInfo draggingInfo, out NSIndexPath proposedDropIndexPath, out NSCollectionViewDropOperation proposedDropOperation) { diff --git a/src/AppKit/NSFont.cs b/src/AppKit/NSFont.cs index 7e8c3780bd80..f60197e1ad3e 100644 --- a/src/AppKit/NSFont.cs +++ b/src/AppKit/NSFont.cs @@ -24,8 +24,6 @@ public partial class NSFont { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] #endif public unsafe CGRect [] GetBoundingRects (CGGlyph [] glyphs) { @@ -46,8 +44,6 @@ public unsafe CGRect [] GetBoundingRects (CGGlyph [] glyphs) #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] #endif public unsafe CGSize [] GetAdvancements (CGGlyph [] glyphs) { @@ -205,8 +201,6 @@ public virtual NSFont? ScreenFont { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 11)] #endif public static NSFont? SystemFontOfSize (nfloat fontSize, nfloat weight) { @@ -229,8 +223,6 @@ public virtual NSFont? ScreenFont { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 11)] #endif public static NSFont? MonospacedDigitSystemFontOfSize (nfloat fontSize, nfloat weight) { @@ -239,10 +231,8 @@ public virtual NSFont? ScreenFont { } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 15)] #endif public static NSFont? MonospacedSystemFont (nfloat fontSize, nfloat weight) { diff --git a/src/AppKit/NSSegmentedControl.cs b/src/AppKit/NSSegmentedControl.cs index 003ff78f5f3e..53b837cc43a3 100644 --- a/src/AppKit/NSSegmentedControl.cs +++ b/src/AppKit/NSSegmentedControl.cs @@ -26,8 +26,6 @@ public partial class NSSegmentedControl { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] #endif public static NSSegmentedControl FromLabels (string [] labels, NSSegmentSwitchTracking trackingMode, Action action) { @@ -40,8 +38,6 @@ public static NSSegmentedControl FromLabels (string [] labels, NSSegmentSwitchTr #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] #endif public static NSSegmentedControl FromImages (NSImage [] images, NSSegmentSwitchTracking trackingMode, Action action) { diff --git a/src/AppKit/NSSlider.cs b/src/AppKit/NSSlider.cs index 0a834040549a..6f3c24ffa138 100644 --- a/src/AppKit/NSSlider.cs +++ b/src/AppKit/NSSlider.cs @@ -42,8 +42,6 @@ public partial class NSSlider { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] #endif public static NSSlider FromTarget (Action action) { @@ -56,8 +54,6 @@ public static NSSlider FromTarget (Action action) #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] #endif public static NSSlider FromValue (double value, double minValue, double maxValue, Action action) { diff --git a/src/AppKit/NSTextContainer.cs b/src/AppKit/NSTextContainer.cs index 00a38548182e..1493f83a4fa4 100644 --- a/src/AppKit/NSTextContainer.cs +++ b/src/AppKit/NSTextContainer.cs @@ -28,8 +28,6 @@ internal NSTextContainer (CGSize size, bool isContainer) [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 11)] #endif public static NSTextContainer FromSize (CGSize size) { diff --git a/src/AudioToolbox/AudioFile.cs b/src/AudioToolbox/AudioFile.cs index b99910ed33d7..6aff032cf849 100644 --- a/src/AudioToolbox/AudioFile.cs +++ b/src/AudioToolbox/AudioFile.cs @@ -53,15 +53,12 @@ public enum AudioFileType { // UInt32 AudioFileTypeID AIFC = 0x41494643, // AIFC WAVE = 0x57415645, // WAVE #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else [NoWatch] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif RF64 = 0x52463634, // RF64 SoundDesigner2 = 0x53643266, // Sd2f @@ -79,26 +76,22 @@ public enum AudioFileType { // UInt32 AudioFileTypeID ThreeGP2 = 0x33677032, // 3gp2 AMR = 0x616d7266, // amrf #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else [NoWatch] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif FLAC = 0x666c6163, // flac #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [NoWatch] [iOS (13, 0)] - [Mac (10, 15)] [TV (13, 0)] #endif LatmInLoas = 0x6c6f6173, // loas @@ -263,13 +256,12 @@ public string? Name { #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [NoWatch] [iOS (13, 0)] - [Mac (10, 15)] [TV (13, 0)] #endif [StructLayout (LayoutKind.Sequential)] @@ -281,13 +273,12 @@ public struct AudioPacketRangeByteCountTranslation { #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [NoWatch] [iOS (13, 0)] - [Mac (10, 15)] [TV (13, 0)] #endif [StructLayout (LayoutKind.Sequential)] @@ -298,13 +289,12 @@ public struct AudioPacketRollDistanceTranslation { #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [NoWatch] [iOS (13, 0)] - [Mac (10, 15)] [TV (13, 0)] #endif [StructLayout (LayoutKind.Sequential)] @@ -315,13 +305,12 @@ public struct AudioIndependentPacketTranslation { #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [NoWatch] [iOS (13, 0)] - [Mac (10, 15)] [TV (13, 0)] #endif [StructLayout (LayoutKind.Sequential)] diff --git a/src/AudioToolbox/AudioQueue.cs b/src/AudioToolbox/AudioQueue.cs index 307c98213223..b3ad22976872 100644 --- a/src/AudioToolbox/AudioQueue.cs +++ b/src/AudioToolbox/AudioQueue.cs @@ -73,13 +73,10 @@ public enum AudioQueueStatus { // Implictly cast to OSType InvalidOfflineMode = -66626, BufferEnqueuedTwice = -66666, #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] - [Mac (10, 12)] #endif CannotStartYet = -66665, diff --git a/src/AudioToolbox/AudioToolbox.cs b/src/AudioToolbox/AudioToolbox.cs index e382ed4265fa..f0e04d3da6c9 100644 --- a/src/AudioToolbox/AudioToolbox.cs +++ b/src/AudioToolbox/AudioToolbox.cs @@ -99,8 +99,6 @@ public static class SoundBank { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.AudioToolboxLibrary)] extern static OSStatus CopyInstrumentInfoFromSoundBank (/* CFURLRef */ IntPtr inURL, /* CFSArrayRef */ ref IntPtr outInstrumentInfo); @@ -110,8 +108,6 @@ public static class SoundBank { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public static InstrumentInfo []? GetInstrumentInfo (NSUrl url) { diff --git a/src/AudioToolbox/AudioType.cs b/src/AudioToolbox/AudioType.cs index 08036ce09131..45f7af8543bf 100644 --- a/src/AudioToolbox/AudioType.cs +++ b/src/AudioToolbox/AudioType.cs @@ -84,13 +84,12 @@ public enum AudioFormatType : uint { // UInt32 in AudioStreamBasicDescription -- Flac = 0x666c6163, // 'flac' #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [NoWatch] [iOS (13, 0)] - [Mac (10, 15)] [TV (13, 0)] #endif LatmInLoas = 0x6c6f6173, // 'loas' @@ -375,9 +374,6 @@ public override string ToString () } } -#if !NET - [Watch (3, 0)] -#endif [Flags] public enum AudioChannelFlags : uint { // UInt32 in AudioPanningInfo -- AudioFormat.h AllOff = 0, @@ -1169,9 +1165,6 @@ public enum SmpteTimeFlags : uint { // UInt32 TimeRunning = 1 << 1 } -#if !NET - [Watch (3, 0)] -#endif public enum MPEG4ObjectID { // long AacMain = 1, AacLc = 2, diff --git a/src/AudioToolbox/Enums.cs b/src/AudioToolbox/Enums.cs index a466fda19b0d..50c3a7046c9d 100644 --- a/src/AudioToolbox/Enums.cs +++ b/src/AudioToolbox/Enums.cs @@ -6,9 +6,6 @@ namespace AudioToolbox { [NoWatch] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Flags] public enum AudioSettingsFlags : uint { diff --git a/src/AudioToolbox/SystemSound.cs b/src/AudioToolbox/SystemSound.cs index da09f510ec9f..439abc3bad73 100644 --- a/src/AudioToolbox/SystemSound.cs +++ b/src/AudioToolbox/SystemSound.cs @@ -215,13 +215,10 @@ static void TrampolineAction (IntPtr blockPtr) } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [BindingImpl (BindingImplOptions.Optimizable)] public void PlayAlertSound (Action onCompletion) @@ -241,13 +238,10 @@ public void PlayAlertSound (Action onCompletion) } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public Task PlayAlertSoundAsync () { @@ -259,13 +253,10 @@ public Task PlayAlertSoundAsync () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [BindingImpl (BindingImplOptions.Optimizable)] public void PlaySystemSound (Action onCompletion) @@ -285,13 +276,10 @@ public void PlaySystemSound (Action onCompletion) } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public Task PlaySystemSoundAsync () { @@ -303,25 +291,19 @@ public Task PlaySystemSoundAsync () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.AudioToolboxLibrary)] static extern void AudioServicesPlayAlertSoundWithCompletion (uint inSystemSoundID, ref BlockLiteral inCompletionBlock); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.AudioToolboxLibrary)] static extern void AudioServicesPlaySystemSoundWithCompletion (uint inSystemSoundID, ref BlockLiteral inCompletionBlock); diff --git a/src/AudioUnit/AUEnums.cs b/src/AudioUnit/AUEnums.cs index 43a8902878c6..7b87a6094c58 100644 --- a/src/AudioUnit/AUEnums.cs +++ b/src/AudioUnit/AUEnums.cs @@ -64,13 +64,13 @@ public enum AudioUnitStatus { // Implictly cast to OSType Initialized = -10849, InvalidOfflineRender = -10848, Unauthorized = -10847, - [iOS (11, 0), Mac (10, 13), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] MidiOutputBufferFull = -66753, - [iOS (11, 3), Mac (10, 13, 4), TV (11, 3), NoWatch] + [iOS (11, 3), TV (11, 3), NoWatch] [MacCatalyst (13, 1)] InvalidParameterValue = -66743, - [iOS (11, 0), Mac (10, 13), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] ExtensionNotFound = -66744, } @@ -84,7 +84,6 @@ public enum AudioComponentStatus { // Implictly cast to OSType NotPermitted = -66748, InitializationTimedOut = -66747, InvalidFormat = -66746, - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] RenderTimeout = -66745, } @@ -142,7 +141,6 @@ public enum AudioUnitParameterFlag : uint // UInt32 in AudioUnitParameterInfo { CFNameRelease = (1 << 4), - [iOS (8, 0)] [MacCatalyst (13, 1)] OmitFromPresets = (1 << 13), PlotHistory = (1 << 14), @@ -290,14 +288,11 @@ enum AudioUnitPropertyIDType { // UInt32 AudioUnitPropertyID ParameterHistoryInfo = 53, Nickname = 54, OfflineRender = 37, - [iOS (8, 0)] [MacCatalyst (13, 1)] ParameterIDName = 34, - [iOS (8, 0)] [MacCatalyst (13, 1)] ParameterStringFromValue = 33, ParameterClumpName = 35, - [iOS (8, 0)] [MacCatalyst (13, 1)] ParameterValueFromString = 38, ContextName = 25, @@ -305,7 +300,6 @@ enum AudioUnitPropertyIDType { // UInt32 AudioUnitPropertyID ClassInfoFromDocument = 50, RequestViewController = 56, ParametersForOverview = 57, - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] SupportsMpe = 58, [iOS (15, 0), TV (15, 0), Mac (12, 0), MacCatalyst (15, 0)] @@ -407,7 +401,6 @@ enum AudioUnitPropertyIDType { // UInt32 AudioUnitPropertyID MatrixLevels = 3006, MatrixDimensions = 3009, MeterClipping = 3011, - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] InputAnchorTimeStamp = 3016, @@ -528,10 +521,8 @@ public enum AudioUnitParameterType // UInt32 in AudioUnitParameterInfo ReverbFilterFrequency = 14, ReverbFilterBandwidth = 15, ReverbFilterGain = 16, - [iOS (8, 0)] [MacCatalyst (13, 1)] ReverbFilterType = 17, - [iOS (8, 0)] [MacCatalyst (13, 1)] ReverbFilterEnable = 18, @@ -692,7 +683,6 @@ public enum AudioUnitParameterType // UInt32 in AudioUnitParameterInfo ObstructionAttenuation = 11, } - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum SpatialMixerAttenuation { Power = 0, @@ -702,7 +692,6 @@ public enum SpatialMixerAttenuation { } [Flags] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum SpatialMixerRenderingFlags { InterAuralDelay = (1 << 0), @@ -717,16 +706,10 @@ public enum ScheduledAudioSliceFlag { BeganToRender = 0x02, BeganToRenderLate = 0x04, - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] Loop = 0x08, - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] Interrupt = 0x10, - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] InterruptAtLoop = 0x20, } @@ -779,7 +762,6 @@ public enum AUEventSampleTime : long { Immediate = unchecked((long) 0xffffffff00000000), } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] public enum AudioComponentInstantiationOptions : uint { OutOfProcess = 1, @@ -899,7 +881,6 @@ public enum AUSpatialMixerRenderingFlags : uint { DistanceAttenuation = (1 << 2), } - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] public enum AUParameterAutomationEventType : uint { Value = 0, diff --git a/src/AudioUnit/AudioComponent.cs b/src/AudioUnit/AudioComponent.cs index 12d8128f9ff2..6bea174dccf1 100644 --- a/src/AudioUnit/AudioComponent.cs +++ b/src/AudioUnit/AudioComponent.cs @@ -59,14 +59,12 @@ namespace AudioUnit { // keys are not constants and had to be found in AudioToolbox.framework/Headers/AudioComponent.h #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] #else [NoWatch] [NoTV] - [Mac (10, 13)] - [iOS (11, 0)] #endif #if ((WATCH || TVOS) && !NET) [Obsolete ("This API is not available on this platform.")] @@ -127,14 +125,12 @@ public bool? TemporaryExceptionReadWrite { // keys are not constants and had to be found in AudioToolbox.framework/Headers/AudioComponent.h #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] #else [NoWatch] [NoTV] - [Mac (10, 13)] - [iOS (11, 0)] #endif #if ((WATCH || TVOS) && !NET) [Obsolete ("This API is not available on this platform.")] @@ -465,7 +461,6 @@ public double LastActiveTime { [UnsupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("macos11.0")] #else - [Mac (10,11)] [Deprecated (PlatformName.MacOSX, 11, 0)] #endif [DllImport (Constants.AudioUnitLibrary)] @@ -478,7 +473,6 @@ public double LastActiveTime { [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] #else - [Mac (10,11)] [Deprecated (PlatformName.MacOSX, 11, 0)] #endif public AppKit.NSImage? GetIcon () @@ -665,42 +659,36 @@ public void ValidateAsync (NSDictionary? validationParameters, #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] #else [NoWatch] [NoTV] - [Mac (10,13)] - [iOS (11,0)] #endif [DllImport (Constants.AudioUnitLibrary)] static extern int /* OSStatus */ AudioUnitExtensionSetComponentList (IntPtr /* CFString */ extensionIdentifier, /* CFArrayRef */ IntPtr audioComponentInfo); #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] #else [NoWatch] [NoTV] - [Mac (10,13)] - [iOS (11,0)] #endif [DllImport (Constants.AudioUnitLibrary)] static extern /* CFArrayRef */ IntPtr AudioUnitExtensionCopyComponentList (IntPtr /* CFString */ extensionIdentifier); #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] #else [NoWatch] [NoTV] - [Mac (10,13)] - [iOS (11,0)] #endif public AudioComponentInfo[]? ComponentList { get { diff --git a/src/AudioUnit/AudioComponentDescription.cs b/src/AudioUnit/AudioComponentDescription.cs index 12c5c5b0deb5..933647d8ffde 100644 --- a/src/AudioUnit/AudioComponentDescription.cs +++ b/src/AudioUnit/AudioComponentDescription.cs @@ -102,12 +102,10 @@ public enum AudioTypeOutput { // OSType in AudioComponentDescription System=0x73797320, // 'sys' #endif #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 15)] #endif Remote = 0x72696f63, // 'rioc' VoiceProcessingIO = 0x7670696f // 'vpio' @@ -120,12 +118,10 @@ public enum AudioTypeMusicDevice { // OSType in AudioComponentDescription Sampler = 0x73616d70, // 'samp' #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif MidiSynth = 0x6d73796e, // 'msyn' } @@ -181,12 +177,10 @@ public enum AudioTypeEffect { // OSType in AudioComponentDescription Delay = 0x64656c79, // 'dely' #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif SampleDelay = 0x73646c79, // 'sdly' Distortion = 0x64697374, // 'dist' @@ -216,12 +210,11 @@ public enum AudioTypeEffect { // OSType in AudioComponentDescription AUiPodEQ = 0x69706571, // 'ipeq' #endif #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [Unavailable (PlatformName.MacCatalyst)] #endif Reverb2 = 0x72766232, // 'rvb2' diff --git a/src/AudioUnit/AudioUnit.cs b/src/AudioUnit/AudioUnit.cs index 19da562f2cc5..604ce7a8616a 100644 --- a/src/AudioUnit/AudioUnit.cs +++ b/src/AudioUnit/AudioUnit.cs @@ -1374,13 +1374,10 @@ public struct AURecordedParameterEvent { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] - [Mac (10, 12)] #endif [StructLayout (LayoutKind.Sequential)] public struct AUParameterAutomationEvent { diff --git a/src/BusinessChat/Enums.cs b/src/BusinessChat/Enums.cs index 983ebe41ba8e..86a95e390493 100644 --- a/src/BusinessChat/Enums.cs +++ b/src/BusinessChat/Enums.cs @@ -5,7 +5,7 @@ namespace BusinessChat { - [Mac (10, 13, 4), iOS (11, 3)] + [iOS (11, 3)] [MacCatalyst (13, 1)] [Native] public enum BCChatButtonStyle : long { @@ -15,7 +15,7 @@ public enum BCChatButtonStyle : long { [Deprecated (PlatformName.MacOSX, 13, 1)] [Deprecated (PlatformName.iOS, 16, 2)] - [Mac (10, 13, 4), iOS (11, 3)] + [iOS (11, 3)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 16, 2)] public enum BCParameterName { diff --git a/src/CFNetwork/CFHTTPMessage.cs b/src/CFNetwork/CFHTTPMessage.cs index b0bf3a53269b..be99d5c9b25a 100644 --- a/src/CFNetwork/CFHTTPMessage.cs +++ b/src/CFNetwork/CFHTTPMessage.cs @@ -297,7 +297,6 @@ public enum AuthenticationScheme { [ObsoletedOSPlatform ("macos10.14", "Not available anymore.")] [ObsoletedOSPlatform ("ios12.0", "Not available anymore.")] #else - [Mac (10, 9)] [Deprecated (PlatformName.iOS, 12, 0, message: "Not available anymore.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Not available anymore.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Not available anymore.")] diff --git a/src/ClockKit/CLKEnums.cs b/src/ClockKit/CLKEnums.cs index 8f40d472df46..02b5466f0920 100644 --- a/src/ClockKit/CLKEnums.cs +++ b/src/ClockKit/CLKEnums.cs @@ -23,9 +23,7 @@ public enum CLKComplicationFamily : long { UtilitarianLarge, CircularSmall, // nothing has the value of 5 - [Watch (3, 0)] UtilitarianSmallFlat = 6, - [Watch (3, 0)] ExtraLarge = 7, [Watch (5, 0)] GraphicCorner, diff --git a/src/CloudKit/CKCompat.cs b/src/CloudKit/CKCompat.cs index 8c8821d6e92e..c3fb92a09a88 100644 --- a/src/CloudKit/CKCompat.cs +++ b/src/CloudKit/CKCompat.cs @@ -86,7 +86,6 @@ public partial class CKDiscoverAllContactsOperation { } #endif - [iOS (8, 0), Mac (10, 10)] public delegate void CKDiscoverUserInfosCompletionHandler (NSDictionary emailsToUserInfos, NSDictionary userRecordIdsToUserInfos, NSError operationError); #if !WATCH @@ -103,7 +102,6 @@ protected CKDiscoverUserInfosOperation (Foundation.NSObjectFlag t) protected CKDiscoverUserInfosOperation (NativeHandle handle) => throw new NotSupportedException (); - [iOS (8, 0), Mac (10, 10)] [Obsolete ("Empty stub (not a public API).")] public virtual CKDiscoverUserInfosCompletionHandler? Completed { get; set; } @@ -140,7 +138,6 @@ public CKSubscription (CKRecordZoneID zoneId, string subscriptionId, CKSubscript #if MONOMAC || IOS public partial class CKDiscoveredUserInfo { - [iOS (9,0)][Mac (10,11)] [Obsolete ("Empty stub (not public API).")] public virtual CNContact? DisplayContact { get; } diff --git a/src/CloudKit/Enums.cs b/src/CloudKit/Enums.cs index 5b8650a93a10..02041b912cc2 100644 --- a/src/CloudKit/Enums.cs +++ b/src/CloudKit/Enums.cs @@ -7,9 +7,6 @@ namespace CloudKit { // NSInteger -> CKContainer.h - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum CKAccountStatus : long { @@ -22,9 +19,6 @@ public enum CKAccountStatus : long { } // NSUInteger -> CKContainer.h - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -33,9 +27,6 @@ public enum CKApplicationPermissions : ulong { } // NSInteger -> CKContainer.h - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum CKApplicationPermissionStatus : long { @@ -46,9 +37,6 @@ public enum CKApplicationPermissionStatus : long { } // NSInteger -> CKError.h - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("CKErrorDomain")] @@ -93,9 +81,6 @@ public enum CKErrorCode : long { } // NSInteger -> CKModifyRecordsOperation.h - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum CKRecordSavePolicy : long { @@ -105,9 +90,6 @@ public enum CKRecordSavePolicy : long { } // NSInteger -> CKNotification.h - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum CKNotificationType : long { @@ -115,13 +97,10 @@ public enum CKNotificationType : long { RecordZone = 2, ReadNotification = 3, [MacCatalyst (13, 1)] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] Database = 4, + Database = 4, } // NSInteger -> CKNotification.h - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum CKQueryNotificationReason : long { @@ -131,16 +110,12 @@ public enum CKQueryNotificationReason : long { } // NSUInteger -> CKRecordZone.h - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Flags] [Native] public enum CKRecordZoneCapabilities : ulong { FetchChanges = 1 << 0, Atomic = 1 << 1, - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] Sharing = 1 << 2, [Mac (12, 0), iOS (15, 0), TV (15, 0)] @@ -150,9 +125,6 @@ public enum CKRecordZoneCapabilities : ulong { } // NSUInteger -> CKReference.h - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum CKReferenceAction : ulong { @@ -162,25 +134,21 @@ public enum CKReferenceAction : ulong { // NSInteger -> CKSubscription.h [Watch (6, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum CKSubscriptionType : long { Query = 1, RecordZone = 2, [MacCatalyst (13, 1)] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] Database = 3, + Database = 3, } // NSInteger -> CKSubscription.h #if !NET [NoWatch] - [iOS (8, 0)] [Obsoleted (PlatformName.iOS, 14, 0, message: "Use 'CKQuerySubscriptionOptions' instead.")] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'CKQuerySubscriptionOptions' instead.")] - [Mac (10, 10)] [Obsoleted (PlatformName.MacOSX, 10, 16, message: "Use 'CKQuerySubscriptionOptions' instead.")] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Use 'CKQuerySubscriptionOptions' instead.")] [Flags] @@ -193,8 +161,6 @@ public enum CKSubscriptionOptions : ulong { } #endif - [Watch (3, 0)] - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum CKDatabaseScope : long { @@ -203,8 +169,6 @@ public enum CKDatabaseScope : long { Shared, } - [Watch (3, 0)] - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum CKShareParticipantAcceptanceStatus : long { @@ -214,8 +178,6 @@ public enum CKShareParticipantAcceptanceStatus : long { Removed, } - [Watch (3, 0)] - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum CKShareParticipantPermission : long { @@ -225,10 +187,6 @@ public enum CKShareParticipantPermission : long { ReadWrite, } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'CKShareParticipantRole' instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'CKShareParticipantRole' instead.")] [Deprecated (PlatformName.WatchOS, 5, 0, message: "Use 'CKShareParticipantRole' instead.")] @@ -244,7 +202,6 @@ public enum CKShareParticipantType : long { } [Watch (6, 0)] - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum CKQuerySubscriptionOptions : ulong { @@ -254,7 +211,6 @@ public enum CKQuerySubscriptionOptions : ulong { FiresOnce = 1 << 3, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum CKOperationGroupTransferSize : long { @@ -268,7 +224,7 @@ public enum CKOperationGroupTransferSize : long { HundredsOfGigabytes, } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum CKShareParticipantRole : long { diff --git a/src/Compression/Compression.cs b/src/Compression/Compression.cs index ab30fb7e0854..084391d448cd 100644 --- a/src/Compression/Compression.cs +++ b/src/Compression/Compression.cs @@ -19,13 +19,10 @@ namespace Compression { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public partial class CompressionStream : Stream { private const int DefaultBufferSize = 8192; diff --git a/src/Compression/CompressionStreamStruct.cs b/src/Compression/CompressionStreamStruct.cs index c11f5ea3528b..fbbad7af9d72 100644 --- a/src/Compression/CompressionStreamStruct.cs +++ b/src/Compression/CompressionStreamStruct.cs @@ -8,13 +8,10 @@ namespace Compression { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [StructLayout (LayoutKind.Sequential)] struct CompressionStreamStruct { diff --git a/src/Compression/Enums.cs b/src/Compression/Enums.cs index 7636cad432fe..c2aaf973f35f 100644 --- a/src/Compression/Enums.cs +++ b/src/Compression/Enums.cs @@ -6,9 +6,6 @@ namespace Compression { // this enum as per the headers is an int NOT an NSInteger -#if !NET - [iOS (9, 0), Mac (10, 11)] -#endif public enum CompressionAlgorithm { LZ4 = 0x100, LZ4Raw = 0x101, diff --git a/src/Contacts/CNEnums.cs b/src/Contacts/CNEnums.cs index 64edf6af042f..521b5c1b55ee 100644 --- a/src/Contacts/CNEnums.cs +++ b/src/Contacts/CNEnums.cs @@ -16,7 +16,6 @@ namespace Contacts { // NSInteger -> CNContact.h - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum CNContactType : long { @@ -25,7 +24,6 @@ public enum CNContactType : long { } // NSInteger -> CNContact.h - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum CNContactSortOrder : long { @@ -36,7 +34,6 @@ public enum CNContactSortOrder : long { } // NSInteger -> CNContactFormatter.h - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum CNContactFormatterStyle : long { @@ -45,7 +42,6 @@ public enum CNContactFormatterStyle : long { } // NSInteger -> CNContactFormatter.h - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum CNContactDisplayNameOrder : long { @@ -55,7 +51,6 @@ public enum CNContactDisplayNameOrder : long { } // NSInteger -> CNContactStore.h - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum CNEntityType : long { @@ -63,7 +58,6 @@ public enum CNEntityType : long { } // NSInteger -> CNContactStore.h - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum CNAuthorizationStatus : long { @@ -74,7 +68,6 @@ public enum CNAuthorizationStatus : long { } // NSInteger -> CNContainer.h - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum CNContainerType : long { @@ -85,7 +78,6 @@ public enum CNContainerType : long { } // NSInteger -> CNError.h - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("CNErrorDomain")] @@ -120,15 +112,12 @@ public enum CNErrorCode : long { } // NSInteger -> CNPostalAddressFormatter.h - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum CNPostalAddressFormatterStyle : long { MailingAddress, } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Flags] public enum CNContactOptions : long { diff --git a/src/CoreAnimation/CAEnums.cs b/src/CoreAnimation/CAEnums.cs index b49011e37c00..a91b83e32ef0 100644 --- a/src/CoreAnimation/CAEnums.cs +++ b/src/CoreAnimation/CAEnums.cs @@ -51,9 +51,6 @@ public enum CAEdgeAntialiasingMask : uint { } [NoWatch] // headers not updated - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -70,7 +67,7 @@ public enum CACornerMask : ulong { [NoiOS] [NoTV] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum CAAutoresizingMask : uint { NotSizable = 0, MinXMargin = 1 << 0, @@ -85,7 +82,7 @@ public enum CAAutoresizingMask : uint { [NoiOS] [NoTV] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum CAConstraintAttribute { MinX, MidX, diff --git a/src/CoreAnimation/CALayer.cs b/src/CoreAnimation/CALayer.cs index d06cbd7bc4cc..6dd4279ce8aa 100644 --- a/src/CoreAnimation/CALayer.cs +++ b/src/CoreAnimation/CALayer.cs @@ -136,15 +136,10 @@ public virtual CAAutoresizingMask AutoresizinMask { } #endif #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public CAContentsFormat ContentsFormat { get { return CAContentsFormatExtensions.GetValue (_ContentsFormat); } diff --git a/src/CoreBluetooth/AdvertisementDataOptions.cs b/src/CoreBluetooth/AdvertisementDataOptions.cs index 310f47209340..3e38909e3b32 100644 --- a/src/CoreBluetooth/AdvertisementDataOptions.cs +++ b/src/CoreBluetooth/AdvertisementDataOptions.cs @@ -44,8 +44,6 @@ namespace CoreBluetooth { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public class StartAdvertisingOptions : DictionaryContainer { #if !COREBUILD diff --git a/src/CoreBluetooth/CBUUID.cs b/src/CoreBluetooth/CBUUID.cs index 14bc295bd3be..00c864df2f70 100644 --- a/src/CoreBluetooth/CBUUID.cs +++ b/src/CoreBluetooth/CBUUID.cs @@ -120,7 +120,6 @@ public unsafe string ToString (bool fullUuid) #if MONOMAC && !NET // workaround for 27160443 – Trello: https://trello.com/c/oqB27JA6 // try new constant (10.13+) and fallback to the old/misnamed one - [Mac (10, 13)] public static NSString CharacteristicValidRangeString { get { return CBUUIDCharacteristicValidRangeString ?? CBUUIDValidRangeString; diff --git a/src/CoreBluetooth/Enums.cs b/src/CoreBluetooth/Enums.cs index 69add2da2cd1..26c73abdb8d2 100644 --- a/src/CoreBluetooth/Enums.cs +++ b/src/CoreBluetooth/Enums.cs @@ -15,9 +15,6 @@ namespace CoreBluetooth { - [Mac (10, 13)] - [Watch (4, 0)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum CBManagerState : long { @@ -60,22 +57,18 @@ public enum CBPeripheralManagerState : long { } // NSInteger -> CBPeripheralManager.h - [Watch (4, 0)] [MacCatalyst (13, 1)] [Native] public enum CBPeripheralState : long { Disconnected, Connecting, Connected, - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] Disconnecting, } #if !NET // NSInteger -> CBPeripheralManager.h - [Watch (4, 0)] [Native] public enum CBPeripheralManagerAuthorizationStatus : long { NotDetermined, @@ -86,7 +79,6 @@ public enum CBPeripheralManagerAuthorizationStatus : long { #endif // !NET // NSUInteger -> CBCharacteristic.h - [Watch (4, 0)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -99,15 +91,12 @@ public enum CBCharacteristicProperties : ulong { Indicate = 32, AuthenticatedSignedWrites = 64, ExtendedProperties = 128, - [Mac (10, 9)] [MacCatalyst (13, 1)] NotifyEncryptionRequired = 0x100, - [Mac (10, 9)] [MacCatalyst (13, 1)] IndicateEncryptionRequired = 0x200 } - [Watch (4, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("CBErrorDomain")] [Native] // NSInteger -> CBError.h @@ -134,7 +123,6 @@ public enum CBError : long { LEGattNearBackgroundNotificationLimit = 18, } - [Watch (4, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("CBATTErrorDomain")] [Native] // NSInteger -> CBError.h @@ -160,7 +148,6 @@ public enum CBATTError : long { } // NSInteger -> CBPeripheral.h - [Watch (4, 0)] [MacCatalyst (13, 1)] [Native] public enum CBCharacteristicWriteType : long { @@ -169,8 +156,6 @@ public enum CBCharacteristicWriteType : long { } // NSUInteger -> CBCharacteristic.h - [Mac (10, 9)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -182,7 +167,6 @@ public enum CBAttributePermissions : ulong { } // NSInteger -> CBPeripheralManager.h - [Watch (4, 0)] [MacCatalyst (13, 1)] [Native] public enum CBPeripheralManagerConnectionLatency : long { @@ -191,7 +175,7 @@ public enum CBPeripheralManagerConnectionLatency : long { High } - [iOS (13, 0), TV (13, 0), Watch (6, 0), Mac (10, 15)] + [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Native] public enum CBConnectionEvent : long { @@ -206,7 +190,7 @@ public enum CBCentralManagerFeature : ulong { ExtendedScanAndConnect = 1uL << 0, } - [iOS (13, 0), TV (13, 0), Watch (6, 0), Mac (10, 15)] + [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Native] public enum CBManagerAuthorization : long { diff --git a/src/CoreBluetooth/PeripheralConnectionOptions.cs b/src/CoreBluetooth/PeripheralConnectionOptions.cs index ace214bf2e26..4c7237fa0b01 100644 --- a/src/CoreBluetooth/PeripheralConnectionOptions.cs +++ b/src/CoreBluetooth/PeripheralConnectionOptions.cs @@ -40,8 +40,6 @@ namespace CoreBluetooth { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public class PeripheralConnectionOptions : DictionaryContainer { #if !COREBUILD diff --git a/src/CoreData/Enums.cs b/src/CoreData/Enums.cs index ecf781fff110..783f46b6f8d5 100644 --- a/src/CoreData/Enums.cs +++ b/src/CoreData/Enums.cs @@ -53,10 +53,8 @@ public enum NSAttributeType : ulong { Boolean = 800, Date = 900, Binary = 1000, - [iOS (11, 0), TV (11, 0), Mac (10, 13), Watch (4, 0)] [MacCatalyst (13, 1)] Uuid = 1100, - [iOS (11, 0), TV (11, 0), Mac (10, 13), Watch (4, 0)] [MacCatalyst (13, 1)] Uri = 1200, Transformable = 1800, @@ -90,7 +88,6 @@ public enum NSPersistentStoreRequestType : ulong { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] BatchInsert = 5, BatchUpdate = 6, @@ -125,7 +122,6 @@ public enum NSBatchUpdateRequestResultType : ulong { UpdatedObjectsCount = 2 } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum NSBatchDeleteRequestResultType : ulong { @@ -150,7 +146,6 @@ public enum ValidationErrorType : ulong { StringTooLong = 1660, StringTooShort = 1670, StringPatternMatching = 1680, - [iOS (11, 0), TV (11, 0), Mac (10, 13), Watch (4, 0)] [MacCatalyst (13, 1)] InvalidUri = 1690, } @@ -189,12 +184,10 @@ public enum MigrationErrorType { EntityMigrationPolicy = 134170, InferredMappingModel = 134190, ExternalRecordImport = 134200, - [iOS (11, 0), TV (11, 0), Mac (10, 13), Watch (4, 0)] [MacCatalyst (13, 1)] HistoryTokenExpired = 134301, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum NSFetchIndexElementType : ulong { @@ -202,7 +195,6 @@ public enum NSFetchIndexElementType : ulong { RTree } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum NSPersistentHistoryChangeType : long { @@ -211,7 +203,6 @@ public enum NSPersistentHistoryChangeType : long { Delete } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum NSPersistentHistoryResultType : long { @@ -223,7 +214,7 @@ public enum NSPersistentHistoryResultType : long { TransactionsAndChanges = 5 } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum NSBatchInsertRequestResultType : ulong { @@ -232,7 +223,7 @@ public enum NSBatchInsertRequestResultType : ulong { Count = 2, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Flags] [Native] diff --git a/src/CoreData/NSEntityDescription.cs b/src/CoreData/NSEntityDescription.cs index fb66439c492d..f77413f6edc7 100644 --- a/src/CoreData/NSEntityDescription.cs +++ b/src/CoreData/NSEntityDescription.cs @@ -14,13 +14,10 @@ namespace CoreData { public partial class NSEntityDescription { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public NSObject [] [] UniquenessConstraints { get { return NSArray.FromArrayOfArray (_UniquenessConstraints); } diff --git a/src/CoreFoundation/CFStream.cs b/src/CoreFoundation/CFStream.cs index 1fdc9fd9ef8b..f39bd236ee7a 100644 --- a/src/CoreFoundation/CFStream.cs +++ b/src/CoreFoundation/CFStream.cs @@ -739,8 +739,6 @@ protected override void Dispose (bool disposing) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreFoundationLibrary)] extern static void CFReadStreamSetDispatchQueue (/* CFReadStreamRef */ IntPtr stream, /* dispatch_queue_t */ IntPtr queue); @@ -750,8 +748,6 @@ protected override void Dispose (bool disposing) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreFoundationLibrary)] extern static void CFWriteStreamSetDispatchQueue (/* CFWriteStreamRef */ IntPtr stream, /* dispatch_queue_t */ IntPtr queue); @@ -761,8 +757,6 @@ protected override void Dispose (bool disposing) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreFoundationLibrary)] extern static /* dispatch_queue_t */ IntPtr CFReadStreamCopyDispatchQueue (/* CFReadStreamRef */ IntPtr stream); @@ -772,8 +766,6 @@ protected override void Dispose (bool disposing) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreFoundationLibrary)] extern static /* dispatch_queue_t */ IntPtr CFWriteStreamCopyDispatchQueue (/* CFWriteStreamRef */ IntPtr stream); @@ -783,8 +775,6 @@ protected override void Dispose (bool disposing) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public DispatchQueue ReadDispatchQueue { get { @@ -800,8 +790,6 @@ public DispatchQueue ReadDispatchQueue { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public DispatchQueue WriteDispatchQueue { get { diff --git a/src/CoreFoundation/CFUrl.cs b/src/CoreFoundation/CFUrl.cs index 1a04ee46cb21..45f893f467d8 100644 --- a/src/CoreFoundation/CFUrl.cs +++ b/src/CoreFoundation/CFUrl.cs @@ -139,8 +139,6 @@ public string? FileSystemPath { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreFoundationLibrary)] [return: MarshalAs (UnmanagedType.I1)] @@ -151,8 +149,6 @@ public string? FileSystemPath { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public bool IsFileReference { get { diff --git a/src/CoreFoundation/Dispatch.cs b/src/CoreFoundation/Dispatch.cs index 4c242543d012..3ff344e85ecd 100644 --- a/src/CoreFoundation/Dispatch.cs +++ b/src/CoreFoundation/Dispatch.cs @@ -166,14 +166,9 @@ public void SetTargetQueue (DispatchQueue queue) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] #endif public void Activate () { @@ -182,14 +177,9 @@ public void Activate () #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] #endif [DllImport (Constants.libcLibrary)] extern static void dispatch_activate (/* dispatch_object_t */ IntPtr @object); @@ -240,14 +230,9 @@ public DispatchQueue (string label, bool concurrent) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] #endif public DispatchQueue (string label, Attributes attributes, DispatchQueue? target = null) : base (dispatch_queue_create_with_target (label, attributes?.Create () ?? IntPtr.Zero, target.GetHandle ()), true) @@ -524,12 +509,9 @@ public void SetSpecific (IntPtr key, object context) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif public DispatchQualityOfService GetQualityOfService (out int relative_priority) { @@ -541,12 +523,9 @@ public DispatchQualityOfService GetQualityOfService (out int relative_priority) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif public DispatchQualityOfService QualityOfService { get { @@ -569,14 +548,9 @@ static IntPtr dispatch_queue_create (string label, IntPtr attr) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] #endif static IntPtr dispatch_queue_create_with_target (string label, IntPtr attr, IntPtr target) { @@ -647,12 +621,9 @@ static IntPtr dispatch_queue_create_with_target (string label, IntPtr attr, IntP #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif [DllImport (Constants.libcLibrary)] unsafe extern static /* dispatch_qos_class_t */ DispatchQualityOfService dispatch_queue_get_qos_class (/* dispatch_queue_t */ IntPtr queue, /* int *_Nullable */ int* relative_priority); @@ -709,48 +680,32 @@ public class Attributes { #if NET [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] #endif public bool IsInitiallyInactive { get; set; } #if NET [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] #endif public AutoreleaseFrequency? AutoreleaseFrequency { get; set; } #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif public int RelativePriority { get; set; } #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif public DispatchQualityOfService? QualityOfService { get; set; } @@ -775,36 +730,23 @@ internal IntPtr Create () #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] #endif [DllImport (Constants.libcLibrary)] static extern /* dispatch_queue_attr_t */ IntPtr dispatch_queue_attr_make_initially_inactive (/* dispatch_queue_attr_t _Nullable */ IntPtr attr); #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] #endif [DllImport (Constants.libcLibrary)] static extern /* dispatch_queue_attr_t */ IntPtr dispatch_queue_attr_make_with_autorelease_frequency (/* dispatch_queue_attr_t _Nullable */ IntPtr attr, /* dispatch_autorelease_frequency_t */ nuint frequency); #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] -#else - [Mac (10, 10)] - [iOS (8, 0)] + [SupportedOSPlatform ("ios")] #endif [DllImport (Constants.libcLibrary)] static extern /* dispatch_queue_attr_t */ IntPtr dispatch_queue_attr_make_with_qos_class (/* dispatch_queue_attr_t _Nullable */ IntPtr attr, /* dispatch_qos_class_t */ DispatchQualityOfService qos_class, int relative_priority); @@ -812,14 +754,9 @@ internal IntPtr Create () #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] #endif [Native] public enum AutoreleaseFrequency : ulong /* unsigned long */ diff --git a/src/CoreFoundation/DispatchBlock.cs b/src/CoreFoundation/DispatchBlock.cs index c3b45adaf349..3c623a07dcb9 100644 --- a/src/CoreFoundation/DispatchBlock.cs +++ b/src/CoreFoundation/DispatchBlock.cs @@ -24,13 +24,10 @@ namespace CoreFoundation { #if !COREBUILD #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public sealed class DispatchBlock : NativeObject { [Preserve (Conditional = true)] diff --git a/src/CoreFoundation/OSLog.cs b/src/CoreFoundation/OSLog.cs index 24d6052f7a91..5ac6d1e89f40 100644 --- a/src/CoreFoundation/OSLog.cs +++ b/src/CoreFoundation/OSLog.cs @@ -37,14 +37,9 @@ namespace CoreFoundation { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 12)] - [iOS (10, 0)] - [Watch (3, 0)] - [TV (10, 0)] #endif public sealed class OSLog : NativeObject { diff --git a/src/CoreGraphics/CGColor.cs b/src/CoreGraphics/CGColor.cs index 809c1f99b50e..61814c11bd2e 100644 --- a/src/CoreGraphics/CGColor.cs +++ b/src/CoreGraphics/CGColor.cs @@ -308,13 +308,10 @@ public CGPattern? Pattern { extern static void CGColorRelease (/* CGColorRef */ IntPtr color); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.CoreGraphicsLibrary)] static extern /* CGColorRef __nullable */ IntPtr CGColorCreateCopyByMatchingToColorSpace ( @@ -322,13 +319,10 @@ public CGPattern? Pattern { /* CGColorRef __nullable */ IntPtr color, /* __nullable CFDictionaryRef */ IntPtr options); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif static public CGColor? CreateByMatchingToColorSpace (CGColorSpace space, CGColorRenderingIntent intent, CGColor color, NSDictionary options) @@ -338,12 +332,11 @@ public CGPattern? Pattern { } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -352,12 +345,11 @@ public CGPattern? Pattern { static extern /* CGColorRef* */ IntPtr CGColorCreateSRGB (nfloat red, nfloat green, nfloat blue, nfloat alpha); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -369,12 +361,11 @@ public CGPattern? Pattern { } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -383,12 +374,11 @@ public CGPattern? Pattern { static extern /* CGColorRef* */ IntPtr CGColorCreateGenericGrayGamma2_2 (nfloat gray, nfloat alpha); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] diff --git a/src/CoreGraphics/CGColorConversionInfo.cs b/src/CoreGraphics/CGColorConversionInfo.cs index a172b2ec9ce2..123db8c47e7b 100644 --- a/src/CoreGraphics/CGColorConversionInfo.cs +++ b/src/CoreGraphics/CGColorConversionInfo.cs @@ -23,15 +23,10 @@ namespace CoreGraphics { #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] #endif [StructLayout (LayoutKind.Sequential)] #if NET @@ -46,15 +41,10 @@ public struct GColorConversionInfoTriple { // CGColorConverter.h #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] #endif public partial class CGColorConversionInfo : NativeObject { [Preserve (Conditional = true)] @@ -162,12 +152,11 @@ public CGColorConversionInfo (CGColorSpace source, CGColorSpace destination) } #if NET - [SupportedOSPlatform ("macos10.14.6")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14, 6)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -186,12 +175,11 @@ static IntPtr Create (CGColorSpace source, CGColorSpace destination, NSDictionar } #if NET - [SupportedOSPlatform ("macos10.14.6")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14, 6)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -202,12 +190,11 @@ public CGColorConversionInfo (CGColorSpace source, CGColorSpace destination, NSD } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] diff --git a/src/CoreGraphics/CGColorConverter.cs b/src/CoreGraphics/CGColorConverter.cs index f962ee165316..c89f5f2194e4 100644 --- a/src/CoreGraphics/CGColorConverter.cs +++ b/src/CoreGraphics/CGColorConverter.cs @@ -23,8 +23,6 @@ namespace CoreGraphics { #if !NET - [TV (9, 2)] - [iOS (9, 3)] [Obsoleted (PlatformName.TvOS, 10, 0, message: "Replaced by 'CGColorConversionInfoTriple'.")] [Obsoleted (PlatformName.iOS, 10, 0, message: "Replaced by 'CGColorConversionInfoTriple'.")] [StructLayout (LayoutKind.Sequential)] @@ -37,8 +35,6 @@ public struct CGColorConverterTriple { // CGColorConverter.h #if !NET - [TV (9, 2)] - [iOS (9, 3)] [Obsoleted (PlatformName.TvOS, 10, 0, message: "Replaced by 'CGColorConversionInfo'.")] [Obsoleted (PlatformName.iOS, 10, 0, message: "Replaced by 'CGColorConversionInfo'.")] public class CGColorConverter : NativeObject { diff --git a/src/CoreGraphics/CGColorSpace.cs b/src/CoreGraphics/CGColorSpace.cs index f42ea3e608ee..537b11c67105 100644 --- a/src/CoreGraphics/CGColorSpace.cs +++ b/src/CoreGraphics/CGColorSpace.cs @@ -289,12 +289,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static CGColorSpace? CreateGenericGray () { @@ -302,12 +300,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static CGColorSpace? CreateGenericRgb () { @@ -315,12 +311,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public static CGColorSpace? CreateGenericCmyk () { @@ -328,12 +322,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static CGColorSpace? CreateGenericRgbLinear () { @@ -341,12 +333,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public static CGColorSpace? CreateAdobeRgb1988 () { @@ -354,12 +344,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public static CGColorSpace? CreateSrgb () { @@ -367,12 +355,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public static CGColorSpace? CreateGenericGrayGamma2_2 () { @@ -380,13 +366,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static CGColorSpace? CreateGenericXyz () { @@ -394,13 +377,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static CGColorSpace? CreateAcesCGLinear () { @@ -408,13 +388,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static CGColorSpace? CreateItuR_709 () { @@ -422,13 +399,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static CGColorSpace? CreateItuR_2020 () { @@ -436,13 +410,10 @@ public static CGColorSpace CreateDeviceRGB () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static CGColorSpace? CreateRommRgb () { @@ -511,15 +482,10 @@ public byte [] GetColorTable () extern static /* CGColorSpaceRef */ IntPtr CGColorSpaceCreateWithICCProfile (/* CFDataRef */ IntPtr data); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] extern static /* CGColorSpaceRef */ IntPtr CGColorSpaceCreateWithICCData (/* CFTypeRef cg_nullable */ IntPtr data); @@ -549,13 +515,10 @@ public byte [] GetColorTable () } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] - [Mac (10, 12)] #endif public static CGColorSpace? CreateIccData (NSData data) { @@ -563,15 +526,10 @@ public byte [] GetColorTable () } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] #endif public static CGColorSpace? CreateIccData (CGDataProvider provider) { @@ -647,29 +605,19 @@ public byte [] GetColorTable () } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] static extern /* CFDataRef* */ IntPtr CGColorSpaceCopyICCData (/* CGColorSpaceRef */ IntPtr space); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] #endif public NSData? GetIccData () { @@ -678,25 +626,19 @@ public byte [] GetColorTable () } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 0)] - [TV (10, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] static extern unsafe /* CFStringRef* */ IntPtr CGColorSpaceCopyName (/* CGColorSpaceRef */ IntPtr space); #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 0)] - [TV (10, 0)] #endif public string? Name { get { @@ -705,30 +647,20 @@ public string? Name { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool CGColorSpaceIsWideGamutRGB (/* CGColorSpaceRef */ IntPtr space); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] #endif public bool IsWideGamutRgb { get { @@ -737,28 +669,20 @@ public bool IsWideGamutRgb { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool CGColorSpaceSupportsOutput (/* CGColorSpaceRef */ IntPtr space); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] #endif public bool SupportsOutput { get { @@ -767,42 +691,33 @@ public bool SupportsOutput { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Watch (5, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] static extern IntPtr CGColorSpaceCopyPropertyList (IntPtr space); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Watch (5, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] static extern IntPtr CGColorSpaceCreateWithPropertyList (IntPtr plist); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Watch (5, 0)] #endif public CFPropertyList? ToPropertyList () @@ -814,7 +729,7 @@ public bool SupportsOutput { } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] @@ -822,7 +737,6 @@ public bool SupportsOutput { [ObsoletedOSPlatform ("tvos13.4")] [ObsoletedOSPlatform ("ios13.4")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -836,7 +750,7 @@ public bool SupportsOutput { static extern bool CGColorSpaceIsHDR (/* CGColorSpaceRef */ IntPtr space); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] @@ -844,7 +758,6 @@ public bool SupportsOutput { [ObsoletedOSPlatform ("tvos13.4")] [ObsoletedOSPlatform ("ios13.4")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] diff --git a/src/CoreGraphics/CGContext.cs b/src/CoreGraphics/CGContext.cs index 143b10e2b8cd..533b4ed4fc8f 100644 --- a/src/CoreGraphics/CGContext.cs +++ b/src/CoreGraphics/CGContext.cs @@ -490,29 +490,19 @@ public void EOClip () } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] - [Watch (4, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] extern static void CGContextResetClip (/* CGContextRef */ IntPtr c); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] - [Watch (4, 0)] #endif public void ResetClip () { diff --git a/src/CoreGraphics/CGContextPDF.cs b/src/CoreGraphics/CGContextPDF.cs index ec39cfc10857..a4e21f80c096 100644 --- a/src/CoreGraphics/CGContextPDF.cs +++ b/src/CoreGraphics/CGContextPDF.cs @@ -307,12 +307,11 @@ public void SetDestination (string name, CGRect rect) } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -321,12 +320,11 @@ public void SetDestination (string name, CGRect rect) static extern void CGPDFContextBeginTag (/* CGContextRef* */ IntPtr context, CGPdfTagType tagType, /* CFDictionaryRef* _Nullable */ IntPtr tagProperties); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -337,12 +335,11 @@ public void BeginTag (CGPdfTagType tagType, NSDictionary tagProperties) } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -354,12 +351,11 @@ public void BeginTag (CGPdfTagType tagType, CGPdfTagProperties tagProperties) } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -368,12 +364,11 @@ public void BeginTag (CGPdfTagType tagType, CGPdfTagProperties tagProperties) static extern void CGPDFContextEndTag (/* CGContextRef* */ IntPtr context); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] diff --git a/src/CoreGraphics/CGEnums.cs b/src/CoreGraphics/CGEnums.cs index 12556e88ac23..a06284d787b4 100644 --- a/src/CoreGraphics/CGEnums.cs +++ b/src/CoreGraphics/CGEnums.cs @@ -107,7 +107,6 @@ public enum CGBlendMode { PlusLighter, } - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] public enum CGPdfTagType /* int32_t */ { @@ -175,7 +174,6 @@ public enum CGPDFObjectType { Stream, }; - [iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] public enum CGPDFAccessPermissions : uint { AllowsLowQualityPrinting = (1 << 0), @@ -191,9 +189,7 @@ public enum CGPDFAccessPermissions : uint { #if !NET // uint32_t enum -> CGColorConverter.h // this enum does not exist in the headers anymore - [TV (9, 2)] [Obsoleted (PlatformName.TvOS, 10, 0, message: "Replaced by 'CGColorConversionInfoTransformType'.")] - [iOS (9, 3)] [Obsoleted (PlatformName.iOS, 10, 0, message: "Replaced by 'CGColorConversionInfoTransformType'.")] [NoWatch] [NoMac] @@ -205,10 +201,6 @@ public enum CGColorConverterTransformType : uint { #endif // uint32_t enum -> CGColorConversionInfo.h - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] public enum CGColorConversionInfoTransformType : uint { FromSpace = 0, diff --git a/src/CoreGraphics/CGImage.cs b/src/CoreGraphics/CGImage.cs index ac1ab9366696..1275828ad2e5 100644 --- a/src/CoreGraphics/CGImage.cs +++ b/src/CoreGraphics/CGImage.cs @@ -526,26 +526,20 @@ public CGBitmapFlags BitmapInfo { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.CoreGraphicsLibrary)] static extern IntPtr /* CFStringRef */ CGImageGetUTType (/* __nullable CGImageRef* */ IntPtr image); // we return an NSString, instead of a string, as all our UTType constants are NSString (see mobilecoreservices.cs) #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public NSString? UTType { get { @@ -561,7 +555,6 @@ public NSString? UTType { [SupportedOSPlatform ("maccatalyst")] #else [iOS (12, 0)] - [Mac (10, 14)] [TV (12, 0)] [Watch (5, 0)] #endif @@ -575,7 +568,6 @@ public NSString? UTType { [SupportedOSPlatform ("maccatalyst")] #else [iOS (12, 0)] - [Mac (10, 14)] [TV (12, 0)] [Watch (5, 0)] #endif @@ -588,7 +580,6 @@ public NSString? UTType { [SupportedOSPlatform ("maccatalyst")] #else [iOS (12, 0)] - [Mac (10, 14)] [TV (12, 0)] [Watch (5, 0)] #endif @@ -602,7 +593,6 @@ public NSString? UTType { [SupportedOSPlatform ("maccatalyst")] #else [iOS (12, 0)] - [Mac (10, 14)] [TV (12, 0)] [Watch (5, 0)] #endif diff --git a/src/CoreGraphics/CGPDFArray.cs b/src/CoreGraphics/CGPDFArray.cs index 3d87e23d591e..28e88405e07d 100644 --- a/src/CoreGraphics/CGPDFArray.cs +++ b/src/CoreGraphics/CGPDFArray.cs @@ -242,7 +242,6 @@ static bool ApplyBlockHandler (IntPtr block, nint index, IntPtr value, IntPtr in [SupportedOSPlatform ("maccatalyst")] #else [iOS (12, 0)] - [Mac (10, 14)] [TV (12, 0)] [Watch (5, 0)] #endif @@ -257,7 +256,6 @@ static bool ApplyBlockHandler (IntPtr block, nint index, IntPtr value, IntPtr in [SupportedOSPlatform ("maccatalyst")] #else [iOS (12, 0)] - [Mac (10, 14)] [TV (12, 0)] [Watch (5, 0)] #endif diff --git a/src/CoreGraphics/CGPDFDocument.cs b/src/CoreGraphics/CGPDFDocument.cs index 051f6ec5f674..0a444afb9dfa 100644 --- a/src/CoreGraphics/CGPDFDocument.cs +++ b/src/CoreGraphics/CGPDFDocument.cs @@ -205,29 +205,19 @@ public CGPDFDictionary GetInfo () } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] - [Watch (4, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] extern static void CGPDFContextSetOutline (/* CGPDFDocumentRef */ IntPtr document, IntPtr /* dictionary */ outline); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] - [Watch (4, 0)] #endif public void SetOutline (CGPDFOutlineOptions? options) { @@ -235,29 +225,19 @@ public void SetOutline (CGPDFOutlineOptions? options) } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] - [Watch (4, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] extern static /* CFDictionaryPtry */ IntPtr CGPDFDocumentGetOutline (/* CGPDFDocumentRef */ IntPtr document); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] - [Watch (4, 0)] #endif public CGPDFOutlineOptions GetOutline () { @@ -266,29 +246,19 @@ public CGPDFOutlineOptions GetOutline () } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] - [Watch (4, 0)] #endif [DllImport (Constants.CoreGraphicsLibrary)] extern static CGPDFAccessPermissions CGPDFDocumentGetAccessPermissions (IntPtr document); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] - [Watch (4, 0)] #endif public CGPDFAccessPermissions GetAccessPermissions () { diff --git a/src/CoreGraphics/CGPath.cs b/src/CoreGraphics/CGPath.cs index b1ecd13872a3..578bb7a08bba 100644 --- a/src/CoreGraphics/CGPath.cs +++ b/src/CoreGraphics/CGPath.cs @@ -819,8 +819,6 @@ static unsafe CGPath _FromRoundedRect (CGRect rectangle, nfloat cornerWidth, nfl [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif static unsafe public CGPath FromRoundedRect (CGRect rectangle, nfloat cornerWidth, nfloat cornerHeight) { @@ -832,8 +830,6 @@ static unsafe public CGPath FromRoundedRect (CGRect rectangle, nfloat cornerWidt [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif static public unsafe CGPath FromRoundedRect (CGRect rectangle, nfloat cornerWidth, nfloat cornerHeight, CGAffineTransform transform) { @@ -848,8 +844,6 @@ static public unsafe CGPath FromRoundedRect (CGRect rectangle, nfloat cornerWidt [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public unsafe void AddRoundedRect (CGAffineTransform transform, CGRect rect, nfloat cornerWidth, nfloat cornerHeight) { @@ -861,8 +855,6 @@ public unsafe void AddRoundedRect (CGAffineTransform transform, CGRect rect, nfl [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public unsafe void AddRoundedRect (CGRect rect, nfloat cornerWidth, nfloat cornerHeight) { diff --git a/src/CoreGraphics/CGPdfTagType.cs b/src/CoreGraphics/CGPdfTagType.cs index e506bcb6ce31..f60a1c6dc55c 100644 --- a/src/CoreGraphics/CGPdfTagType.cs +++ b/src/CoreGraphics/CGPdfTagType.cs @@ -16,12 +16,11 @@ namespace CoreGraphics { #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] diff --git a/src/CoreGraphics/CGVector.cs b/src/CoreGraphics/CGVector.cs index 262191a46538..969744d836e6 100644 --- a/src/CoreGraphics/CGVector.cs +++ b/src/CoreGraphics/CGVector.cs @@ -85,23 +85,19 @@ public override bool Equals (object? other) #if MONOTOUCH #if !COREBUILD #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] -#else - [iOS (8,0)] #endif [DllImport (Constants.UIKitLibrary)] extern static IntPtr NSStringFromCGVector (CGVector vector); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] -#else - [iOS (8,0)] #endif public override string? ToString () { @@ -109,23 +105,19 @@ public override bool Equals (object? other) } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] -#else - [iOS (8,0)] #endif [DllImport (Constants.UIKitLibrary)] extern static CGVector CGVectorFromString (IntPtr str); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] -#else - [iOS (8,0)] #endif static public CGVector FromString (string s) { diff --git a/src/CoreHaptics/Enums.cs b/src/CoreHaptics/Enums.cs index b96255a102b3..612689087910 100644 --- a/src/CoreHaptics/Enums.cs +++ b/src/CoreHaptics/Enums.cs @@ -14,7 +14,7 @@ namespace CoreHaptics { - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] public enum CHHapticEventParameterId { [Field ("CHHapticEventParameterIDHapticIntensity")] @@ -48,7 +48,7 @@ public enum CHHapticEventParameterId { AudioBrightness, } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] public enum CHHapticDynamicParameterId { [Field ("CHHapticDynamicParameterIDHapticIntensityControl")] @@ -88,7 +88,7 @@ public enum CHHapticDynamicParameterId { AudioReleaseTimeControl, } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] public enum CHHapticEventType { [Field ("CHHapticEventTypeHapticTransient")] @@ -104,7 +104,7 @@ public enum CHHapticEventType { AudioCustom, } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [Native] public enum CHHapticErrorCode : long { @@ -134,7 +134,7 @@ public enum CHHapticErrorCode : long { MemoryError = -4899, } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [Native] public enum CHHapticEngineFinishedAction : long { @@ -142,7 +142,7 @@ public enum CHHapticEngineFinishedAction : long { LeaveEngineRunning = 2, } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [Native] public enum CHHapticEngineStoppedReason : long { diff --git a/src/CoreImage/CIContext.cs b/src/CoreImage/CIContext.cs index 4875dbf0f50c..42c35f783c8e 100644 --- a/src/CoreImage/CIContext.cs +++ b/src/CoreImage/CIContext.cs @@ -99,8 +99,6 @@ public int? CIImageFormat { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 12)] #endif public bool? PriorityRequestLow { get { @@ -136,13 +134,10 @@ public bool? OutputPremultiplied { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] - [Mac (10, 12)] #endif public bool? CacheIntermediates { get { @@ -156,12 +151,11 @@ public bool? CacheIntermediates { #if NET [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] #endif public bool? AllowLowPower { get { @@ -195,12 +189,10 @@ public string? Name { public partial class CIContext { #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public CIContext (CIContextOptions options) : this (options?.Dictionary) diff --git a/src/CoreImage/CIDetectorOptions.cs b/src/CoreImage/CIDetectorOptions.cs index 709113b1d5e5..e510ef8111bb 100644 --- a/src/CoreImage/CIDetectorOptions.cs +++ b/src/CoreImage/CIDetectorOptions.cs @@ -20,13 +20,10 @@ public partial class CIDetectorOptions { public float? MinFeatureSize { get; set; } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] - [Mac (10, 12)] #endif public int? MaxFeatureCount { get; set; } diff --git a/src/CoreImage/CIFilter.cs b/src/CoreImage/CIFilter.cs index 887bc6291496..88a5d7b6731d 100644 --- a/src/CoreImage/CIFilter.cs +++ b/src/CoreImage/CIFilter.cs @@ -122,12 +122,10 @@ namespace CoreImage { public partial class CIFilter { #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif protected CIFilter () : base () { diff --git a/src/CoreImage/CIImage.cs b/src/CoreImage/CIImage.cs index 5a70cc41f9b5..9171b1e9a4ce 100644 --- a/src/CoreImage/CIImage.cs +++ b/src/CoreImage/CIImage.cs @@ -58,21 +58,17 @@ public class CIAutoAdjustmentFilterOptions { public CIImageOrientation? ImageOrientation; #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public bool? AutoAdjustCrop; #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public bool? AutoAdjustLevel; diff --git a/src/CoreImage/Enums.cs b/src/CoreImage/Enums.cs index acc6820d5e2f..3c0e9f3b8e52 100644 --- a/src/CoreImage/Enums.cs +++ b/src/CoreImage/Enums.cs @@ -76,9 +76,6 @@ public enum CIFormat { RGf = 22 } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum CIQRCodeErrorCorrectionLevel : long { @@ -88,9 +85,6 @@ public enum CIQRCodeErrorCorrectionLevel : long { H = 72, } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum CIDataMatrixCodeEccVersion : long { @@ -102,9 +96,6 @@ public enum CIDataMatrixCodeEccVersion : long { V200 = 200, } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum CIRenderDestinationAlphaMode : ulong { diff --git a/src/CoreLocation/CLEnums.cs b/src/CoreLocation/CLEnums.cs index f35bbd90795f..707e302bc619 100644 --- a/src/CoreLocation/CLEnums.cs +++ b/src/CoreLocation/CLEnums.cs @@ -109,7 +109,6 @@ public enum CLActivityType : long { [iOS (12, 0)] [TV (12, 0)] [Watch (5, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] Airborne, } diff --git a/src/CoreLocation/CoreLocation.cs b/src/CoreLocation/CoreLocation.cs index 4913f069264c..ca9e1b1e8ec3 100644 --- a/src/CoreLocation/CoreLocation.cs +++ b/src/CoreLocation/CoreLocation.cs @@ -81,12 +81,11 @@ public override string ToString () #if IOS && !COREBUILD // This code comes from Intents.CLPlacemark_INIntentsAdditions Category public partial class CLPlacemark { #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] #else - [iOS (10, 0)] [Mac (11,0)] #endif static public CLPlacemark GetPlacemark (CLLocation location, string name, CNPostalAddress postalAddress) diff --git a/src/CoreMedia/CMBufferQueue.cs b/src/CoreMedia/CMBufferQueue.cs index a8adb386bb7e..b6033394593c 100644 --- a/src/CoreMedia/CMBufferQueue.cs +++ b/src/CoreMedia/CMBufferQueue.cs @@ -26,9 +26,8 @@ namespace CoreMedia { public delegate int CMBufferCompare (INativeObject first, INativeObject second); #if NET - // [SupportedOSPlatform ("ios7.1")] - SupportedOSPlatform is not valid on this declaration type "delegate" + // [SupportedOSPlatform ("ios")] - SupportedOSPlatform is not valid on this declaration type "delegate" #else - [iOS (7, 1)] [Watch (6, 0)] #endif public delegate nint CMBufferGetSize (INativeObject buffer); @@ -320,25 +319,19 @@ public CMTime Duration { } #if NET - [SupportedOSPlatform ("ios7.1")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (7, 1)] - [Mac (10, 10)] #endif [DllImport (Constants.CoreMediaLibrary)] extern static /* size_t */ nint CMBufferQueueGetTotalSize (/* CMBufferQueueRef */ IntPtr queue); #if NET - [SupportedOSPlatform ("ios7.1")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (7, 1)] - [Mac (10, 10)] #endif public nint GetTotalSize () { diff --git a/src/CoreMedia/CMFormatDescription.cs b/src/CoreMedia/CMFormatDescription.cs index b14572f67f72..8fe1dd4f0f06 100644 --- a/src/CoreMedia/CMFormatDescription.cs +++ b/src/CoreMedia/CMFormatDescription.cs @@ -376,8 +376,6 @@ public CMVideoDimensions Dimensions { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreMediaLibrary)] static extern /* OSStatus */ CMFormatDescriptionError CMVideoFormatDescriptionCreateFromH264ParameterSets ( @@ -393,8 +391,6 @@ public CMVideoDimensions Dimensions { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public static CMVideoFormatDescription? FromH264ParameterSets (List parameterSets, int nalUnitHeaderLength, out CMFormatDescriptionError error) { @@ -437,8 +433,6 @@ public CMVideoDimensions Dimensions { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreMediaLibrary)] static extern /* OSStatus */ CMFormatDescriptionError CMVideoFormatDescriptionGetH264ParameterSetAtIndex ( @@ -454,8 +448,6 @@ public CMVideoDimensions Dimensions { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public byte []? GetH264ParameterSet (nuint index, out nuint parameterSetCount, out int nalUnitHeaderLength, out CMFormatDescriptionError error) { @@ -495,14 +487,10 @@ public bool VideoMatchesImageBuffer (CVImageBuffer imageBuffer) } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif [DllImport (Constants.CoreMediaLibrary)] static extern /* OSStatus */ CMFormatDescriptionError CMVideoFormatDescriptionCreateFromHEVCParameterSets ( @@ -515,14 +503,10 @@ public bool VideoMatchesImageBuffer (CVImageBuffer imageBuffer) /* CMFormatDescriptionRef* */ out IntPtr formatDescriptionOut); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif public static CMVideoFormatDescription? FromHevcParameterSets (List parameterSets, int nalUnitHeaderLength, NSDictionary extensions, out CMFormatDescriptionError error) { @@ -561,14 +545,10 @@ public bool VideoMatchesImageBuffer (CVImageBuffer imageBuffer) } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif [DllImport (Constants.CoreMediaLibrary)] static extern /* OSStatus */ CMFormatDescriptionError CMVideoFormatDescriptionGetHEVCParameterSetAtIndex ( @@ -580,14 +560,10 @@ public bool VideoMatchesImageBuffer (CVImageBuffer imageBuffer) /* int* */ out int nalUnitHeaderLengthOut); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif public byte []? GetHevcParameterSet (nuint index, out nuint parameterSetCount, out int nalUnitHeaderLength, out CMFormatDescriptionError error) { diff --git a/src/CoreMedia/CMSampleBuffer.cs b/src/CoreMedia/CMSampleBuffer.cs index 60f29f8bdbeb..82eef83b0e61 100644 --- a/src/CoreMedia/CMSampleBuffer.cs +++ b/src/CoreMedia/CMSampleBuffer.cs @@ -655,8 +655,6 @@ public CMSampleBufferError TrackDataReadiness (CMSampleBuffer bufferToTrack) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreMediaLibrary)] extern static /* OSStatus */ CMSampleBufferError CMSampleBufferCopyPCMDataIntoAudioBufferList (/* CMSampleBufferRef */ IntPtr sbuf, /* int32_t */ int frameOffset, /* int32_t */ int numFrames, /* AudioBufferList* */ IntPtr bufferList); @@ -666,8 +664,6 @@ public CMSampleBufferError TrackDataReadiness (CMSampleBuffer bufferToTrack) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public CMSampleBufferError CopyPCMDataIntoAudioBufferList (int frameOffset, int numFrames, AudioBuffers bufferList) { @@ -678,13 +674,10 @@ public CMSampleBufferError CopyPCMDataIntoAudioBufferList (int frameOffset, int } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif [DllImport (Constants.CoreMediaLibrary)] extern static /* OSStatus */ CMSampleBufferError CMAudioSampleBufferCreateReadyWithPacketDescriptions ( @@ -697,13 +690,10 @@ public CMSampleBufferError CopyPCMDataIntoAudioBufferList (int frameOffset, int /* CMSampleBufferRef* */ out IntPtr sBufOut); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static CMSampleBuffer? CreateReadyWithPacketDescriptions (CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, int samplesCount, CMTime sampleTimestamp, AudioStreamPacketDescription []? packetDescriptions, out CMSampleBufferError error) @@ -725,13 +715,10 @@ public CMSampleBufferError CopyPCMDataIntoAudioBufferList (int frameOffset, int } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif [DllImport (Constants.CoreMediaLibrary)] extern static /* OSStatus */ CMSampleBufferError CMSampleBufferCreateReady ( @@ -746,13 +733,10 @@ public CMSampleBufferError CopyPCMDataIntoAudioBufferList (int frameOffset, int /* CMSampleBufferRef* */ out IntPtr sBufOut); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static CMSampleBuffer? CreateReady (CMBlockBuffer dataBuffer, CMFormatDescription? formatDescription, int samplesCount, CMSampleTimingInfo []? sampleTimingArray, nuint []? sampleSizeArray, @@ -777,13 +761,10 @@ public CMSampleBufferError CopyPCMDataIntoAudioBufferList (int frameOffset, int } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif [DllImport (Constants.CoreMediaLibrary)] extern static /* OSStatus */ CMSampleBufferError CMSampleBufferCreateReadyWithImageBuffer ( @@ -796,8 +777,6 @@ public CMSampleBufferError CopyPCMDataIntoAudioBufferList (int frameOffset, int #if !NET #if !WATCH [Obsolete ("Use the 'CreateReadyWithImageBuffer' overload with a single ref, not array, 'CMSampleTimingInfo' parameter.")] - [iOS (8, 0)] - [Mac (10, 10)] public static CMSampleBuffer CreateReadyWithImageBuffer (CVImageBuffer imageBuffer, CMFormatDescription formatDescription, CMSampleTimingInfo [] sampleTiming, out CMSampleBufferError error) { @@ -810,13 +789,10 @@ public static CMSampleBuffer CreateReadyWithImageBuffer (CVImageBuffer imageBuff #endif // !WATCH #endif // !NET #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static CMSampleBuffer? CreateReadyWithImageBuffer (CVImageBuffer imageBuffer, CMFormatDescription formatDescription, ref CMSampleTimingInfo sampleTiming, out CMSampleBufferError error) @@ -999,12 +975,10 @@ public string? DroppedFrameReason { #if !WATCH #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] -#else - [iOS (9, 0)] #endif public LensStabilizationStatus StillImageLensStabilizationStatus { get { diff --git a/src/CoreMedia/CMSync.cs b/src/CoreMedia/CMSync.cs index efc4b75eb1b0..0bb135b9c78f 100644 --- a/src/CoreMedia/CMSync.cs +++ b/src/CoreMedia/CMSync.cs @@ -69,8 +69,6 @@ public CMTime CurrentTime { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.CoreMediaLibrary)] extern static /* OSStatus */ CMClockError CMAudioClockCreate (/* CFAllocatorRef */ IntPtr allocator, /* CMClockRef* */ out IntPtr clockOut); @@ -753,7 +751,7 @@ bool IsDeprecated () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("tvos9.0", "Use 'CMTimebaseGetMasterTimebase' instead.")] @@ -761,8 +759,6 @@ bool IsDeprecated () [ObsoletedOSPlatform ("ios9.0", "Use 'CMTimebaseGetMasterTimebase' instead.")] [UnsupportedOSPlatform ("maccatalyst")] #else - [iOS (9, 0)] - [Mac (10, 11)] [NoMacCatalyst] [Deprecated (PlatformName.iOS, 9, 0, message: "Use 'CMTimebaseGetMasterTimebase' instead.")] [Deprecated (PlatformName.TvOS, 9, 0, message: "Use 'CMTimebaseGetMasterTimebase' instead.")] @@ -773,7 +769,7 @@ bool IsDeprecated () static extern unsafe /* CMTimebaseRef */ IntPtr CMTimebaseCopyMasterTimebase (/* CMTimebaseRef */ IntPtr timebase); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] @@ -782,8 +778,6 @@ bool IsDeprecated () [ObsoletedOSPlatform ("macos10.11", "Use 'CMTimebaseGetMasterClock' instead.")] [ObsoletedOSPlatform ("ios9.0", "Use 'CMTimebaseGetMasterClock' instead.")] #else - [iOS (9, 0)] - [Mac (10, 11)] [Deprecated (PlatformName.iOS, 9, 0, message: "Use 'CMTimebaseGetMasterClock' instead.")] [Deprecated (PlatformName.TvOS, 9, 0, message: "Use 'CMTimebaseGetMasterClock' instead.")] [Deprecated (PlatformName.MacOSX, 10, 11, message: "Use 'CMTimebaseGetMasterClock' instead.")] @@ -793,7 +787,7 @@ bool IsDeprecated () static extern unsafe /* CMClockRef */ IntPtr CMTimebaseCopyMasterClock (/* CMTimebaseRef */ IntPtr timebase); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("tvos9.0", "Use 'CMTimebaseGetMaster' instead.")] @@ -801,8 +795,6 @@ bool IsDeprecated () [ObsoletedOSPlatform ("ios9.0", "Use 'CMTimebaseGetMaster' instead.")] [UnsupportedOSPlatform ("maccatalyst")] #else - [iOS (9, 0)] - [Mac (10, 11)] [NoMacCatalyst] [Deprecated (PlatformName.iOS, 9, 0, message: "Use 'CMTimebaseGetMaster' instead.")] [Deprecated (PlatformName.TvOS, 9, 0, message: "Use 'CMTimebaseGetMaster' instead.")] @@ -813,7 +805,7 @@ bool IsDeprecated () static extern unsafe IntPtr /* void* */ CMTimebaseCopyMaster (/* CMTimebaseRef */ IntPtr timebase); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("tvos9.0", "Use 'CMTimebaseGetUltimateMasterClock' instead.")] @@ -821,8 +813,6 @@ bool IsDeprecated () [ObsoletedOSPlatform ("ios9.0", "Use 'CMTimebaseGetUltimateMasterClock' instead.")] [UnsupportedOSPlatform ("maccatalyst")] #else - [iOS (9, 0)] - [Mac (10, 11)] [NoMacCatalyst] [Deprecated (PlatformName.iOS, 9, 0, message: "Use 'CMTimebaseGetUltimateMasterClock' instead.")] [Deprecated (PlatformName.TvOS, 9, 0, message: "Use 'CMTimebaseGetUltimateMasterClock' instead.")] diff --git a/src/CoreMedia/CMTime.cs b/src/CoreMedia/CMTime.cs index f9b40c0e6af3..d12411f15a3e 100644 --- a/src/CoreMedia/CMTime.cs +++ b/src/CoreMedia/CMTime.cs @@ -236,25 +236,19 @@ public static CMTime Multiply (CMTime time, double multiplier) } #if NET - [SupportedOSPlatform ("ios7.1")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (7, 1)] - [Mac (10, 10)] #endif [DllImport (Constants.CoreMediaLibrary)] extern static CMTime CMTimeMultiplyByRatio (CMTime time, /* int32_t */ int multiplier, /* int32_t */ int divisor); #if NET - [SupportedOSPlatform ("ios7.1")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (7, 1)] - [Mac (10, 10)] #endif public static CMTime Multiply (CMTime time, int multiplier, int divisor) { @@ -329,7 +323,6 @@ public static CMTime GetMinimum (CMTime time1, CMTime time2) [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif [DllImport (Constants.CoreMediaLibrary)] @@ -342,7 +335,6 @@ public static CMTime GetMinimum (CMTime time1, CMTime time2) [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif public static CMTime Fold (CMTime time, CMTimeRange foldRange) diff --git a/src/CoreMedia/CoreMedia.cs b/src/CoreMedia/CoreMedia.cs index 092055727e5a..0fdbb3907884 100644 --- a/src/CoreMedia/CoreMedia.cs +++ b/src/CoreMedia/CoreMedia.cs @@ -59,35 +59,26 @@ public struct CMTimeRange { public static readonly CMTimeRange InvalidRange; #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static readonly CMTimeRange InvalidMapping; #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static NSString? TimeMappingSourceKey { get; private set; } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static NSString? TimeMappingTargetKey { get; private set; } @@ -131,13 +122,10 @@ public struct CMTimeMapping { #if !COREBUILD #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static CMTimeMapping Create (CMTimeRange source, CMTimeRange target) { @@ -145,13 +133,10 @@ public static CMTimeMapping Create (CMTimeRange source, CMTimeRange target) } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static CMTimeMapping CreateEmpty (CMTimeRange target) { @@ -159,13 +144,10 @@ public static CMTimeMapping CreateEmpty (CMTimeRange target) } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static CMTimeMapping CreateFromDictionary (NSDictionary dict) { @@ -173,13 +155,10 @@ public static CMTimeMapping CreateFromDictionary (NSDictionary dict) } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public NSDictionary AsDictionary () { @@ -187,13 +166,10 @@ public NSDictionary AsDictionary () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public string? Description { get { @@ -202,61 +178,46 @@ public string? Description { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.CoreMediaLibrary)] static extern CMTimeMapping CMTimeMappingMake (CMTimeRange source, CMTimeRange target); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.CoreMediaLibrary)] static extern CMTimeMapping CMTimeMappingMakeEmpty (CMTimeRange target); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.CoreMediaLibrary)] static extern IntPtr /* CFDictionaryRef* */ CMTimeMappingCopyAsDictionary (CMTimeMapping mapping, IntPtr allocator); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.CoreMediaLibrary)] static extern CMTimeMapping CMTimeMappingMakeFromDictionary (/* CFDictionaryRef* */ IntPtr dict); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.CoreMediaLibrary)] static extern IntPtr /* CFStringRef* */ CMTimeMappingCopyDescription (IntPtr allocator, CMTimeMapping mapping); diff --git a/src/CoreMedia/Enums.cs b/src/CoreMedia/Enums.cs index 9cf0a86bf13e..939ced53805d 100644 --- a/src/CoreMedia/Enums.cs +++ b/src/CoreMedia/Enums.cs @@ -26,19 +26,15 @@ enum CMSampleBufferAttachmentKey { DisplayImmediately, [Field ("kCMSampleAttachmentKey_DoNotDisplay")] DoNotDisplay, - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleAttachmentKey_HEVCTemporalLevelInfo")] HevcTemporalLevelInfo, - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleAttachmentKey_HEVCTemporalSubLayerAccess")] HevcTemporalSubLayerAccess, - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleAttachmentKey_HEVCStepwiseTemporalSubLayerAccess")] HevcStepwiseTemporalSubLayerAccess, - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleAttachmentKey_HEVCSyncSampleNALUnitType")] HevcSyncSampleNalUnitType, @@ -76,24 +72,18 @@ enum CMSampleBufferAttachmentKey { SampleReferenceByteOffset, [Field ("kCMSampleBufferAttachmentKey_GradualDecoderRefresh")] GradualDecoderRefresh, - [Mac (10, 14)] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferAttachmentKey_DroppedFrameReason")] DroppedFrameReason, - [iOS (9, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferAttachmentKey_StillImageLensStabilizationInfo")] StillImageLensStabilizationInfo, - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferAttachmentKey_CameraIntrinsicMatrix")] CameraIntrinsicMatrix, - [Mac (10, 14)] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferAttachmentKey_DroppedFrameReasonInfo")] DroppedFrameReasonInfo, - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferAttachmentKey_ForceKeyFrame")] ForceKeyFrame, diff --git a/src/CoreMidi/MidiCIDeviceIdentification.cs b/src/CoreMidi/MidiCIDeviceIdentification.cs index a8746f58b842..84ec8a8379af 100644 --- a/src/CoreMidi/MidiCIDeviceIdentification.cs +++ b/src/CoreMidi/MidiCIDeviceIdentification.cs @@ -17,7 +17,6 @@ namespace CoreMidi { #else [NoWatch] [NoTV] - [Mac (10, 14)] [iOS (12, 0)] #endif [NativeName ("MIDICIDeviceIdentification")] diff --git a/src/CoreMidi/MidiServices.cs b/src/CoreMidi/MidiServices.cs index a8d07352bcc5..a6a79a8b5bab 100644 --- a/src/CoreMidi/MidiServices.cs +++ b/src/CoreMidi/MidiServices.cs @@ -1664,11 +1664,10 @@ public string? UserPatchNameFile { } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] #endif public string? NameConfigurationDictionary { diff --git a/src/CoreMotion/CMDeviceMotion.cs b/src/CoreMotion/CMDeviceMotion.cs index cc745d7b17eb..8815e6d30a07 100644 --- a/src/CoreMotion/CMDeviceMotion.cs +++ b/src/CoreMotion/CMDeviceMotion.cs @@ -12,11 +12,9 @@ namespace CoreMotion { // CMDeviceMotion.h #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 15)] #endif [StructLayout (LayoutKind.Sequential)] public struct CMCalibratedMagneticField { diff --git a/src/CoreMotion/CMMagnetometer.cs b/src/CoreMotion/CMMagnetometer.cs index 507c52a1b32a..2852b080e4ca 100644 --- a/src/CoreMotion/CMMagnetometer.cs +++ b/src/CoreMotion/CMMagnetometer.cs @@ -15,11 +15,9 @@ namespace CoreMotion { // CMMagnetometer.h #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 15)] #endif [StructLayout (LayoutKind.Sequential)] public struct CMMagneticField { diff --git a/src/CoreServices/FSEvents.cs b/src/CoreServices/FSEvents.cs index cddf27ce2836..52dd0dce8c3e 100644 --- a/src/CoreServices/FSEvents.cs +++ b/src/CoreServices/FSEvents.cs @@ -31,14 +31,10 @@ public enum FSEventStreamCreateFlags : uint { FileEvents = 0x00000010, #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10,9)] #endif MarkSelf = 0x00000020, #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10,13)] #endif UseExtendedData = 0x00000040, #if NET @@ -77,8 +73,6 @@ public enum FSEventStreamEventFlags : uint { ItemIsLastHardlink = 0x00200000, #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10,14)] #endif ItemCloned = 0x00400000, } diff --git a/src/CoreServices/LaunchServices.cs b/src/CoreServices/LaunchServices.cs index 1270570bf785..00a407a42e1d 100644 --- a/src/CoreServices/LaunchServices.cs +++ b/src/CoreServices/LaunchServices.cs @@ -95,16 +95,12 @@ public static class LaunchServices #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.CoreServicesLibrary)] static extern IntPtr LSCopyDefaultApplicationURLForURL (IntPtr inUrl, LSRoles inRole, /*out*/ IntPtr outError); #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10, 10)] #endif public static NSUrl? GetDefaultApplicationUrlForUrl (NSUrl url, LSRoles roles = LSRoles.All) { @@ -118,16 +114,12 @@ public static class LaunchServices #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.CoreServicesLibrary)] static extern IntPtr LSCopyDefaultApplicationURLForContentType (IntPtr inContentType, LSRoles inRole, /*out*/ IntPtr outError); #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10, 10)] #endif public static NSUrl? GetDefaultApplicationUrlForContentType (string contentType, LSRoles roles = LSRoles.All) { @@ -180,16 +172,12 @@ public static bool CanUrlAcceptUrl (NSUrl itemUrl, NSUrl targetUrl, #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.CoreServicesLibrary)] static extern IntPtr LSCopyApplicationURLsForBundleIdentifier (IntPtr inBundleIdentifier, /*out*/ IntPtr outError); #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10, 10)] #endif public static NSUrl [] GetApplicationUrlsForBundleIdentifier (string bundleIdentifier) { diff --git a/src/CoreSpotlight/CSEnums.cs b/src/CoreSpotlight/CSEnums.cs index 38bae8841657..bf7fd77f3a42 100644 --- a/src/CoreSpotlight/CSEnums.cs +++ b/src/CoreSpotlight/CSEnums.cs @@ -16,7 +16,6 @@ namespace CoreSpotlight { // NSInteger -> CNContact.h [NoTV] // CS_TVOS_UNAVAILABLE - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("CSIndexErrorDomain")] @@ -31,8 +30,6 @@ public enum CSIndexErrorCode : long { } [NoTV] - [iOS (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [ErrorDomain ("CSSearchQueryErrorDomain")] [Native] @@ -43,7 +40,6 @@ public enum CSSearchQueryErrorCode : long { Cancelled = -2003 } - [iOS (9, 0)] [NoTV] [NoMac] [MacCatalyst (13, 1)] diff --git a/src/CoreSpotlight/CSSearchableItemAttributeSet.cs b/src/CoreSpotlight/CSSearchableItemAttributeSet.cs index 33aa7eb4e6e1..44fc02577858 100644 --- a/src/CoreSpotlight/CSSearchableItemAttributeSet.cs +++ b/src/CoreSpotlight/CSSearchableItemAttributeSet.cs @@ -23,12 +23,10 @@ public INSSecureCoding? this [CSCustomAttributeKey key] { // Manually deal with these properties until we get BindAs working #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [iOS (11,0)] #endif public bool? IsUserCreated { get { @@ -39,12 +37,10 @@ public bool? IsUserCreated { } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [iOS (11,0)] #endif public bool? IsUserOwned { get { @@ -55,12 +51,10 @@ public bool? IsUserOwned { } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [iOS (11,0)] #endif public bool? IsUserCurated { get { diff --git a/src/CoreTelephony/CTEnums.cs b/src/CoreTelephony/CTEnums.cs index b639438cd47a..015c8685c9c2 100644 --- a/src/CoreTelephony/CTEnums.cs +++ b/src/CoreTelephony/CTEnums.cs @@ -14,7 +14,6 @@ public enum CTErrorDomain { } [NoMacCatalyst] - [iOS (9, 0)] [Native] public enum CTCellularDataRestrictedState : ulong { Unknown, diff --git a/src/CoreText/CTFont.cs b/src/CoreText/CTFont.cs index 262dcca98c7a..da8fd7e61a25 100644 --- a/src/CoreText/CTFont.cs +++ b/src/CoreText/CTFont.cs @@ -1669,15 +1669,10 @@ public string? Name { } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [Watch (4, 0)] - [TV (11, 0)] #endif public bool? Hidden { get { return Adapter.GetBoolValue (Dictionary, CTFontVariationAxisKey.Hidden); } @@ -2090,12 +2085,11 @@ public CTFont (CTFontUIFontType uiType, nfloat size, string language) #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (13, 0)] - [Mac (10, 15)] [TV (13, 0)] [Watch (6, 0)] #endif @@ -2108,12 +2102,11 @@ public CTFont (CTFontUIFontType uiType, nfloat size, string language) #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (13, 0)] - [Mac (10, 15)] [TV (13, 0)] [Watch (6, 0)] #endif diff --git a/src/CoreText/CTFontDescriptor.cs b/src/CoreText/CTFontDescriptor.cs index 5676273f9953..c0cb3abe1bf9 100644 --- a/src/CoreText/CTFontDescriptor.cs +++ b/src/CoreText/CTFontDescriptor.cs @@ -737,8 +737,6 @@ public CTFontDescriptor [] GetMatchingFontDescriptors (NSSet? mandatoryAttribute [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif #if NET [DllImport (Constants.CoreTextLibrary)] @@ -757,8 +755,6 @@ static extern bool CTFontDescriptorMatchFontDescriptorsWithProgressHandler (IntP [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public static bool MatchFontDescriptors (CTFontDescriptor [] descriptors, NSSet mandatoryAttributes, Func progressHandler) { diff --git a/src/CoreText/CTFontManager.cs b/src/CoreText/CTFontManager.cs index 0ed97e8fc71b..06d567545419 100644 --- a/src/CoreText/CTFontManager.cs +++ b/src/CoreText/CTFontManager.cs @@ -221,13 +221,12 @@ static NSArray EnsureNonNullArray (object [] items, string name) #if NET // [SupportedOSPlatform ("tvos13.0")] - Not valid on delegate declaration - // [SupportedOSPlatform ("macos10.15")] + // [SupportedOSPlatform ("macos")] // [SupportedOSPlatform ("ios13.0")] // [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public delegate bool CTFontRegistrationHandler (NSError [] errors, bool done); @@ -244,13 +243,12 @@ static unsafe bool TrampolineRegistrationHandler (IntPtr block, /* NSArray */ In #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.CoreTextLibrary)] @@ -258,13 +256,12 @@ static unsafe bool TrampolineRegistrationHandler (IntPtr block, /* NSArray */ In #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.CoreTextLibrary)] @@ -272,13 +269,12 @@ static unsafe bool TrampolineRegistrationHandler (IntPtr block, /* NSArray */ In #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [BindingImpl (BindingImplOptions.Optimizable)] @@ -362,13 +358,12 @@ public static void RegisterFonts (NSUrl [] fontUrls, CTFontManagerScope scope, b #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.CoreTextLibrary)] @@ -376,13 +371,12 @@ public static void RegisterFonts (NSUrl [] fontUrls, CTFontManagerScope scope, b #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.CoreTextLibrary)] @@ -390,13 +384,12 @@ public static void RegisterFonts (NSUrl [] fontUrls, CTFontManagerScope scope, b #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [BindingImpl (BindingImplOptions.Optimizable)] @@ -540,13 +533,12 @@ public static NSObject ObserveRegisteredFontsChanged (EventHandler CVBuffer.h - [Watch (4, 0)] [MacCatalyst (13, 1)] public enum CVAttachmentMode : uint { ShouldNotPropagate = 0, @@ -44,7 +43,6 @@ public enum CVAttachmentMode : uint { } [Flags] - [Watch (4, 0)] [MacCatalyst (13, 1)] #if NET public enum CVPixelBufferLock : ulong { @@ -58,7 +56,6 @@ public enum CVPixelBufferLock : uint { } // int32_t -> CVReturn.h - [Watch (4, 0)] [MacCatalyst (13, 1)] public enum CVReturn : int { Success = 0, @@ -85,21 +82,18 @@ public enum CVReturn : int { // uint64_t -> CVBase.h - [Watch (4, 0)] [MacCatalyst (13, 1)] public enum CVOptionFlags : long { None = 0, } [Flags] - [Watch (4, 0)] [MacCatalyst (13, 1)] public enum CVTimeFlags : int { IsIndefinite = 1 << 0, } [Flags] - [Watch (4, 0)] [MacCatalyst (13, 1)] public enum CVTimeStampFlags : ulong { VideoTimeValid = (1 << 0), @@ -114,14 +108,12 @@ public enum CVTimeStampFlags : ulong { } [Flags] - [Watch (4, 0)] [MacCatalyst (13, 1)] public enum CVSMPTETimeFlags : uint { Valid = (1 << 0), Running = (1 << 1) } - [Watch (4, 0)] [MacCatalyst (13, 1)] public enum CVSMPTETimeType : uint { Type24 = 0, @@ -135,16 +127,13 @@ public enum CVSMPTETimeType : uint { } // CVOptionFlags (uint64_t) -> CVPixelBufferPool.h - [Watch (4, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] public enum CVPixelBufferPoolFlushFlags : ulong { FlushExcessBuffers = 1, } #if !WATCH - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] public enum CVImageBufferAlphaChannelMode { [Field ("kCVImageBufferAlphaChannelMode_StraightAlpha")] diff --git a/src/CoreVideo/CVImageBuffer.cs b/src/CoreVideo/CVImageBuffer.cs index dea80ba3c528..06bb3a36abbc 100644 --- a/src/CoreVideo/CVImageBuffer.cs +++ b/src/CoreVideo/CVImageBuffer.cs @@ -46,8 +46,6 @@ namespace CoreVideo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public partial class CVImageBuffer : CVBuffer { #if !COREBUILD @@ -142,27 +140,19 @@ public CGColorSpace? ColorSpace { #endif #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif [DllImport (Constants.CoreVideoLibrary)] extern static int CVYCbCrMatrixGetIntegerCodePointForString (IntPtr yCbCrMatrixString); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif public static int GetCodePoint (CVImageBufferYCbCrMatrix yCbCrMatrix) { @@ -170,27 +160,19 @@ public static int GetCodePoint (CVImageBufferYCbCrMatrix yCbCrMatrix) } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif [DllImport (Constants.CoreVideoLibrary)] extern static int CVColorPrimariesGetIntegerCodePointForString (IntPtr colorPrimariesString); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif public static int GetCodePoint (CVImageBufferColorPrimaries color) { @@ -198,27 +180,19 @@ public static int GetCodePoint (CVImageBufferColorPrimaries color) } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif [DllImport (Constants.CoreVideoLibrary)] extern static int CVTransferFunctionGetIntegerCodePointForString (IntPtr colorPrimariesString); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif public static int GetCodePoint (CVImageBufferTransferFunction function) { @@ -226,27 +200,19 @@ public static int GetCodePoint (CVImageBufferTransferFunction function) } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif [DllImport (Constants.CoreVideoLibrary)] extern static IntPtr CVYCbCrMatrixGetStringForIntegerCodePoint (int yCbCrMatrixCodePoint); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif public static CVImageBufferYCbCrMatrix GetYCbCrMatrixOption (int yCbCrMatrixCodePoint) { @@ -255,27 +221,19 @@ public static CVImageBufferYCbCrMatrix GetYCbCrMatrixOption (int yCbCrMatrixCode } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif [DllImport (Constants.CoreVideoLibrary)] extern static IntPtr CVColorPrimariesGetStringForIntegerCodePoint (int colorPrimariesCodePoint); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif public static CVImageBufferColorPrimaries GetColorPrimariesOption (int colorPrimariesCodePoint) { @@ -284,27 +242,19 @@ public static CVImageBufferColorPrimaries GetColorPrimariesOption (int colorPrim } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif [DllImport (Constants.CoreVideoLibrary)] extern static IntPtr CVTransferFunctionGetStringForIntegerCodePoint (int transferFunctionCodePoint); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] #endif public static CVImageBufferTransferFunction GetTransferFunctionOption (int transferFunctionCodePoint) { diff --git a/src/CoreVideo/CVMetalTexture.cs b/src/CoreVideo/CVMetalTexture.cs index 23341f1459c9..0c1981080af7 100644 --- a/src/CoreVideo/CVMetalTexture.cs +++ b/src/CoreVideo/CVMetalTexture.cs @@ -27,12 +27,11 @@ namespace CoreVideo { #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos12.0")] [SupportedOSPlatform ("maccatalyst15.0")] [SupportedOSPlatform ("tvos")] #else - [iOS (8, 0)] [Mac (12, 0)] [MacCatalyst (15, 0)] #endif diff --git a/src/CoreVideo/CVPixelBuffer.cs b/src/CoreVideo/CVPixelBuffer.cs index 295d310117c0..509cc67638ea 100644 --- a/src/CoreVideo/CVPixelBuffer.cs +++ b/src/CoreVideo/CVPixelBuffer.cs @@ -28,8 +28,6 @@ namespace CoreVideo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public partial class CVPixelBuffer : CVImageBuffer { #if !COREBUILD diff --git a/src/CoreVideo/CVPixelBufferAttributes.cs b/src/CoreVideo/CVPixelBufferAttributes.cs index 535358019741..49903a9adbe7 100644 --- a/src/CoreVideo/CVPixelBufferAttributes.cs +++ b/src/CoreVideo/CVPixelBufferAttributes.cs @@ -39,8 +39,6 @@ namespace CoreVideo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public class CVPixelBufferAttributes : DictionaryContainer { #if !COREBUILD @@ -207,12 +205,10 @@ public bool? OpenGLESCompatibility { #endif #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] -#else - [iOS (8, 0)] #endif public bool? MetalCompatibility { set { diff --git a/src/CoreVideo/CVPixelBufferIOSurface.cs b/src/CoreVideo/CVPixelBufferIOSurface.cs index 6b2eac1798e8..245e8b18275d 100644 --- a/src/CoreVideo/CVPixelBufferIOSurface.cs +++ b/src/CoreVideo/CVPixelBufferIOSurface.cs @@ -19,14 +19,11 @@ namespace CoreVideo { public partial class CVPixelBuffer : CVImageBuffer { #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [NoWatch] #endif [DllImport (Constants.CoreVideoLibrary)] @@ -35,14 +32,11 @@ public partial class CVPixelBuffer : CVImageBuffer { ); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [NoWatch] #endif public IOSurface.IOSurface? GetIOSurface () @@ -58,14 +52,11 @@ public partial class CVPixelBuffer : CVImageBuffer { } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [NoWatch] #endif [DllImport (Constants.CoreVideoLibrary)] @@ -77,14 +68,11 @@ public partial class CVPixelBuffer : CVImageBuffer { ); #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [NoWatch] #endif public static CVPixelBuffer? Create (IOSurface.IOSurface surface, out CVReturn result, CVPixelBufferAttributes? pixelBufferAttributes = null) @@ -107,14 +95,11 @@ public partial class CVPixelBuffer : CVImageBuffer { } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [NoWatch] #endif public static CVPixelBuffer? Create (IOSurface.IOSurface surface, CVPixelBufferAttributes? pixelBufferAttributes = null) diff --git a/src/CoreVideo/CVPixelBufferPool.cs b/src/CoreVideo/CVPixelBufferPool.cs index 18686775cb73..b3264591ebcc 100644 --- a/src/CoreVideo/CVPixelBufferPool.cs +++ b/src/CoreVideo/CVPixelBufferPool.cs @@ -30,8 +30,6 @@ namespace CoreVideo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public partial class CVPixelBufferPool : NativeObject { #if !COREBUILD @@ -155,26 +153,20 @@ public CVPixelBufferPool (CVPixelBufferPoolSettings? settings, CVPixelBufferAttr #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.CoreVideoLibrary)] static extern void CVPixelBufferPoolFlush (/* CVPixelBufferPoolRef __nonnull */ IntPtr pool, CVPixelBufferPoolFlushFlags options); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public void Flush (CVPixelBufferPoolFlushFlags options) { diff --git a/src/CoreVideo/CVPixelBufferPoolSettings.cs b/src/CoreVideo/CVPixelBufferPoolSettings.cs index 5a5df15a8597..f11120e03e7c 100644 --- a/src/CoreVideo/CVPixelBufferPoolSettings.cs +++ b/src/CoreVideo/CVPixelBufferPoolSettings.cs @@ -40,8 +40,6 @@ namespace CoreVideo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public class CVPixelBufferPoolSettings : DictionaryContainer { #if !COREBUILD @@ -80,8 +78,6 @@ public double? MaximumBufferAgeInSeconds { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public partial class CVPixelBufferPoolAllocationSettings : DictionaryContainer { #if !COREBUILD diff --git a/src/CoreVideo/CVPixelFormatDescription.cs b/src/CoreVideo/CVPixelFormatDescription.cs index c70a5320ce86..29547de4fce5 100644 --- a/src/CoreVideo/CVPixelFormatDescription.cs +++ b/src/CoreVideo/CVPixelFormatDescription.cs @@ -40,8 +40,6 @@ namespace CoreVideo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public static class CVPixelFormatDescription { #if !COREBUILD @@ -73,64 +71,46 @@ public static class CVPixelFormatDescription { public static readonly NSString FillExtendedPixelsCallbackKey; #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static readonly NSString ContainsRgb; #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static readonly NSString ContainsYCbCr; #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 10)] #endif public static readonly NSString ComponentRangeKey; #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 10)] #endif public static readonly NSString ComponentRangeFullRangeKey; #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 10)] #endif public static readonly NSString ComponentRangeVideoRangeKey; #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 10)] #endif public static readonly NSString ComponentRangeWideRangeKey; @@ -143,7 +123,6 @@ public static class CVPixelFormatDescription { [iOS (12, 0)] [TV (12, 0)] [Watch (5, 0)] - [Mac (10, 14)] #endif public static readonly NSString ContainsGrayscaleKey; diff --git a/src/CoreVideo/CVPixelFormatType.cs b/src/CoreVideo/CVPixelFormatType.cs index 11d4f5ef2288..1180cdf79333 100644 --- a/src/CoreVideo/CVPixelFormatType.cs +++ b/src/CoreVideo/CVPixelFormatType.cs @@ -38,9 +38,6 @@ namespace CoreVideo { // for which ObjC API uses `int` instead of the enum // untyped enum, some are 4CC -> CVPixelBuffer.h -#if !NET - [Watch (3, 0)] -#endif public enum CVPixelFormatType : uint { // FIXME: These all start with integers; what should we do here? CV1Monochrome = 0x00000001, diff --git a/src/CoreVideo/CVTime.cs b/src/CoreVideo/CVTime.cs index 840b11c3f1c4..5709460e2c2e 100644 --- a/src/CoreVideo/CVTime.cs +++ b/src/CoreVideo/CVTime.cs @@ -40,8 +40,6 @@ namespace CoreVideo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public struct CVTime { diff --git a/src/CoreVideo/CoreVideo.cs b/src/CoreVideo/CoreVideo.cs index 42e21f9027cc..9080389ab975 100644 --- a/src/CoreVideo/CoreVideo.cs +++ b/src/CoreVideo/CoreVideo.cs @@ -41,8 +41,6 @@ namespace CoreVideo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public struct CVPlanarComponentInfo { public /* int32_t */ int Offset; @@ -55,8 +53,6 @@ public struct CVPlanarComponentInfo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public struct CVPlanarPixelBufferInfo { public CVPlanarComponentInfo [] ComponentInfo; @@ -68,8 +64,6 @@ public struct CVPlanarPixelBufferInfo { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public struct CVPlanarPixelBufferInfo_YCbCrPlanar { public CVPlanarComponentInfo ComponentInfoY; @@ -82,8 +76,6 @@ public struct CVPlanarPixelBufferInfo_YCbCrPlanar { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public struct CVPlanarPixelBufferInfo_YCbCrBiPlanar { public CVPlanarComponentInfo ComponentInfoY; @@ -95,8 +87,6 @@ public struct CVPlanarPixelBufferInfo_YCbCrBiPlanar { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public struct CVTimeStamp { public UInt32 Version; @@ -115,8 +105,6 @@ public struct CVTimeStamp { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public struct CVSMPTETime { public Int16 Subframes; @@ -135,8 +123,6 @@ public struct CVSMPTETime { [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] #endif public struct CVFillExtendedPixelsCallBackData { public nint /* CFIndex */ Version; @@ -144,8 +130,5 @@ public struct CVFillExtendedPixelsCallBackData { public IntPtr UserInfo; } -#if !NET - [Watch (4, 0)] -#endif public delegate bool CVFillExtendedPixelsCallBack (IntPtr pixelBuffer, IntPtr refCon); } diff --git a/src/CoreWlan/CWInterface.cs b/src/CoreWlan/CWInterface.cs index f7723204d537..4793a269d7bb 100644 --- a/src/CoreWlan/CWInterface.cs +++ b/src/CoreWlan/CWInterface.cs @@ -48,8 +48,6 @@ public static string []? InterfaceNames { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] #endif public CWNetwork []? ScanForNetworksWithSsid (NSData ssid, bool includeHidden, out NSError? error) { @@ -60,8 +58,6 @@ public static string []? InterfaceNames { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] #endif public CWNetwork []? ScanForNetworksWithName (string networkName, bool includeHidden, out NSError? error) { diff --git a/src/CoreWlan/CWKeychain.cs b/src/CoreWlan/CWKeychain.cs index 33aca0603924..3123ad76a8c2 100644 --- a/src/CoreWlan/CWKeychain.cs +++ b/src/CoreWlan/CWKeychain.cs @@ -25,8 +25,6 @@ public static partial class CWKeychain { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreWlanLibrary)] static extern OSStatus CWKeychainCopyWiFiEAPIdentity (/* CWKeychainDomain */ nint domain, NSDataRef ssid, out SecIdentityRef identity); @@ -34,8 +32,6 @@ public static partial class CWKeychain { #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, out SecIdentity? identity, out OSStatus status) { @@ -52,8 +48,6 @@ public static bool TryFindWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, out SecIdentity? identity) => TryFindWiFiEAPIdentity (domain, ssid, out identity, out var _); @@ -61,8 +55,6 @@ public static bool TryFindWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreWlanLibrary)] static extern OSStatus CWKeychainDeleteWiFiEAPUsernameAndPassword (/* CWKeychainDomain */ nint domain, NSDataRef ssid); @@ -70,8 +62,6 @@ public static bool TryFindWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryDeleteWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid, out OSStatus status) { @@ -82,8 +72,6 @@ public static bool TryDeleteWiFiEAPUsernameAndPassword (CWKeychainDomain domain, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryDeleteWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid) => TryDeleteWiFiEAPUsernameAndPassword (domain, ssid, out var _); @@ -91,8 +79,6 @@ public static bool TryDeleteWiFiEAPUsernameAndPassword (CWKeychainDomain domain, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreWlanLibrary)] static extern OSStatus CWKeychainDeleteWiFiPassword (/* CWKeychainDomain */ nint domain, NSDataRef ssid); @@ -100,8 +86,6 @@ public static bool TryDeleteWiFiEAPUsernameAndPassword (CWKeychainDomain domain, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryDeleteWiFiPassword (CWKeychainDomain domain, NSData ssid, out OSStatus status) { @@ -112,8 +96,6 @@ public static bool TryDeleteWiFiPassword (CWKeychainDomain domain, NSData ssid, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryDeleteWiFiPassword (CWKeychainDomain domain, NSData ssid) => TryDeleteWiFiPassword (domain, ssid, out var _); @@ -121,8 +103,6 @@ public static bool TryDeleteWiFiPassword (CWKeychainDomain domain, NSData ssid) #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreWlanLibrary)] static extern OSStatus CWKeychainFindWiFiEAPUsernameAndPassword (/* CWKeychainDomain */ nint domain, NSDataRef ssid, out NSStringRef username, out NSStringRef password); @@ -130,8 +110,6 @@ public static bool TryDeleteWiFiPassword (CWKeychainDomain domain, NSData ssid) #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid, out NSString? username, out NSString? password, out OSStatus status) { @@ -152,8 +130,6 @@ public static bool TryFindWiFiEAPUsernameAndPassword (CWKeychainDomain domain, N #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid, out NSString? username, out NSString? password) => TryFindWiFiEAPUsernameAndPassword (domain, ssid, out username, out password, out var _); @@ -161,8 +137,6 @@ public static bool TryFindWiFiEAPUsernameAndPassword (CWKeychainDomain domain, N #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid, out string? username, out string? password, out OSStatus status) { @@ -175,8 +149,6 @@ public static bool TryFindWiFiEAPUsernameAndPassword (CWKeychainDomain domain, N #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid, out string? username, out string? password) => TryFindWiFiEAPUsernameAndPassword (domain, ssid, out username, out password, out var _); @@ -184,8 +156,6 @@ public static bool TryFindWiFiEAPUsernameAndPassword (CWKeychainDomain domain, N #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreWlanLibrary)] static extern OSStatus CWKeychainFindWiFiPassword (/* CWKeychainDomain */ nint domain, NSDataRef ssid, out NSStringRef password); @@ -193,8 +163,6 @@ public static bool TryFindWiFiEAPUsernameAndPassword (CWKeychainDomain domain, N #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiPassword (CWKeychainDomain domain, NSData ssid, out NSString? password, out OSStatus status) { @@ -210,8 +178,6 @@ public static bool TryFindWiFiPassword (CWKeychainDomain domain, NSData ssid, ou #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiPassword (CWKeychainDomain domain, NSData ssid, out NSString? password) => TryFindWiFiPassword (domain, ssid, out password, out var _); @@ -219,8 +185,6 @@ public static bool TryFindWiFiPassword (CWKeychainDomain domain, NSData ssid, ou #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiPassword (CWKeychainDomain domain, NSData ssid, out string? password, out OSStatus status) { @@ -232,8 +196,6 @@ public static bool TryFindWiFiPassword (CWKeychainDomain domain, NSData ssid, ou #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TryFindWiFiPassword (CWKeychainDomain domain, NSData ssid, out string? password) => TryFindWiFiPassword (domain, ssid, out password, out var _); @@ -241,8 +203,6 @@ public static bool TryFindWiFiPassword (CWKeychainDomain domain, NSData ssid, ou #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreWlanLibrary)] static extern OSStatus CWKeychainSetWiFiEAPIdentity (/* CWKeychainDomain */ nint domain, NSDataRef ssid, SecIdentityRef identity); @@ -250,8 +210,6 @@ public static bool TryFindWiFiPassword (CWKeychainDomain domain, NSData ssid, ou #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, SecIdentity? identity, out OSStatus status) { @@ -262,8 +220,6 @@ public static bool TrySetWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, SecIdentity? identity) => TrySetWiFiEAPIdentity (domain, ssid, identity, out var _); @@ -271,8 +227,6 @@ public static bool TrySetWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreWlanLibrary)] static extern OSStatus CWKeychainSetWiFiEAPUsernameAndPassword (/* CWKeychainDomain */ nint domain, NSDataRef ssid, NSStringRef username, NSStringRef password); @@ -280,8 +234,6 @@ public static bool TrySetWiFiEAPIdentity (CWKeychainDomain domain, NSData ssid, #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid, NSString? username, NSString? password, out OSStatus status) { @@ -292,8 +244,6 @@ public static bool TrySetWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NS #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid, NSString? username, NSString? password) => TrySetWiFiEAPUsernameAndPassword (domain, ssid, username, password, out var _); @@ -301,8 +251,6 @@ public static bool TrySetWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NS #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid, string? username, string? password, out OSStatus status) { @@ -317,8 +265,6 @@ public static bool TrySetWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NS #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NSData ssid, string? username, string? password) => TrySetWiFiEAPUsernameAndPassword (domain, ssid, username, password, out var _); @@ -326,8 +272,6 @@ public static bool TrySetWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NS #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.CoreWlanLibrary)] static extern OSStatus CWKeychainSetWiFiPassword (/* CWKeychainDomain */ nint domain, NSDataRef ssid, NSStringRef password); @@ -335,8 +279,6 @@ public static bool TrySetWiFiEAPUsernameAndPassword (CWKeychainDomain domain, NS #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiPassword (CWKeychainDomain domain, NSData ssid, NSString password, out OSStatus status) { @@ -347,8 +289,6 @@ public static bool TrySetWiFiPassword (CWKeychainDomain domain, NSData ssid, NSS #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiPassword (CWKeychainDomain domain, NSData ssid, NSString password) => TrySetWiFiPassword (domain, ssid, password, out var _); @@ -356,8 +296,6 @@ public static bool TrySetWiFiPassword (CWKeychainDomain domain, NSData ssid, NSS #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiPassword (CWKeychainDomain domain, NSData ssid, string password, out OSStatus status) { @@ -370,8 +308,6 @@ public static bool TrySetWiFiPassword (CWKeychainDomain domain, NSData ssid, str #if NET [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public static bool TrySetWiFiPassword (CWKeychainDomain domain, NSData ssid, string password) => TrySetWiFiPassword (domain, ssid, password, out var _); diff --git a/src/CoreWlan/Enums.cs b/src/CoreWlan/Enums.cs index 96e194e1f463..d5c518ccae2f 100644 --- a/src/CoreWlan/Enums.cs +++ b/src/CoreWlan/Enums.cs @@ -83,11 +83,8 @@ public enum CWSecurity : ulong { WPAEnterpriseMixed = 8, WPA2Enterprise = 9, Enterprise = 10, - [Mac (10, 15)] Wpa3Personal = 11, - [Mac (10, 15)] Wpa3Enterprise = 12, - [Mac (10, 15)] Wpa3Transition = 13, [Mac (13, 0)] Owe = 14, diff --git a/src/EventKit/EKEnums.cs b/src/EventKit/EKEnums.cs index d05dc0081cb1..4ac03bd1d665 100644 --- a/src/EventKit/EKEnums.cs +++ b/src/EventKit/EKEnums.cs @@ -94,8 +94,6 @@ public enum EKDay { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] // NSInteger (size change from previously untyped enum) public enum EKWeekday : long { diff --git a/src/EventKitUI/EKUIBundle.cs b/src/EventKitUI/EKUIBundle.cs index d988f42bb0d0..a221829941a7 100644 --- a/src/EventKitUI/EKUIBundle.cs +++ b/src/EventKitUI/EKUIBundle.cs @@ -16,10 +16,8 @@ namespace EventKitUI { #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] #endif public static class EKUIBundle { diff --git a/src/ExternalAccessory/EAEnums.cs b/src/ExternalAccessory/EAEnums.cs index 7c58ac33e4d1..badf37c983f1 100644 --- a/src/ExternalAccessory/EAEnums.cs +++ b/src/ExternalAccessory/EAEnums.cs @@ -10,8 +10,6 @@ namespace ExternalAccessory { [NoMac] - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -22,8 +20,6 @@ public enum EAWiFiUnconfiguredAccessoryProperties : ulong { } [NoMac] - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum EAWiFiUnconfiguredAccessoryBrowserState : long { @@ -35,8 +31,6 @@ public enum EAWiFiUnconfiguredAccessoryBrowserState : long { // NSInteger -> EAWiFiUnconfiguredAccessoryBrowser.h [NoMac] - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum EAWiFiUnconfiguredAccessoryConfigurationStatus : long { @@ -46,8 +40,6 @@ public enum EAWiFiUnconfiguredAccessoryConfigurationStatus : long { } // NSInteger -> EAAccessoryManager.h - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native ("EABluetoothAccessoryPickerErrorCode")] [ErrorDomain ("EABluetoothAccessoryPickerErrorDomain")] diff --git a/src/FileProvider/Compat.cs b/src/FileProvider/Compat.cs index dcc89d6c90ad..120561767953 100644 --- a/src/FileProvider/Compat.cs +++ b/src/FileProvider/Compat.cs @@ -25,7 +25,6 @@ public interface INSFileProviderItemDecorating : INSFileProviderItem { [iOS (13, 0)] [Obsoleted (PlatformName.iOS, 14, 0)] - [Mac (10, 15)] [Obsoleted (PlatformName.MacOSX, 11, 0)] public interface INSFileProviderItemFlags : INativeObject, IDisposable { bool Hidden { get; } diff --git a/src/Foundation/Enum.cs b/src/Foundation/Enum.cs index a53dae818dfa..02c8b32afbba 100644 --- a/src/Foundation/Enum.cs +++ b/src/Foundation/Enum.cs @@ -590,10 +590,10 @@ public enum NSDirectoryEnumerationOptions : ulong { SkipsSubdirectoryDescendants = 1 << 0, SkipsPackageDescendants = 1 << 1, SkipsHiddenFiles = 1 << 2, - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] IncludesDirectoriesPostOrder = 1 << 3, - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] ProducesRelativePathUrls = 1 << 4, } @@ -693,16 +693,12 @@ public enum NSNumberFormatterStyle : ulong { Percent = 3, Scientific = 4, SpellOut = 5, - [Mac (10, 11)] [MacCatalyst (13, 1)] OrdinalStyle = 6, - [Mac (10, 11)] [MacCatalyst (13, 1)] CurrencyIsoCodeStyle = 8, - [Mac (10, 11)] [MacCatalyst (13, 1)] CurrencyPluralStyle = 9, - [Mac (10, 11)] [MacCatalyst (13, 1)] CurrencyAccountingStyle = 10, } @@ -745,12 +741,8 @@ public enum NSFileVersionAddingOptions : ulong { public enum NSFileCoordinatorReadingOptions : ulong { WithoutChanges = 1, ResolvesSymbolicLink = 1 << 1, - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] ImmediatelyAvailableMetadataOnly = 1 << 2, - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] ForUploading = 1 << 3 } @@ -762,8 +754,6 @@ public enum NSFileCoordinatorWritingOptions : ulong { ForMoving = 2, ForMerging = 4, ForReplacing = 8, - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] ContentIndependentMetadataOnly = 16, } @@ -803,13 +793,12 @@ public enum NSJsonReadingOptions : ulong { [Native] public enum NSJsonWritingOptions : ulong { PrettyPrinted = 1, - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] SortedKeys = (1 << 1), - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] FragmentsAllowed = (1 << 2), - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] WithoutEscapingSlashes = (1 << 3), } @@ -969,27 +958,20 @@ public enum NSCalendarOptions : ulong { None = 0, WrapCalendarComponents = 1 << 0, - [Mac (10, 9)] [MacCatalyst (13, 1)] MatchStrictly = 1 << 1, - [Mac (10, 9)] [MacCatalyst (13, 1)] SearchBackwards = 1 << 2, - [Mac (10, 9)] [MacCatalyst (13, 1)] MatchPreviousTimePreservingSmallerUnits = 1 << 8, - [Mac (10, 9)] [MacCatalyst (13, 1)] MatchNextTimePreservingSmallerUnits = 1 << 9, - [Mac (10, 9)] [MacCatalyst (13, 1)] MatchNextTime = 1 << 10, - [Mac (10, 9)] [MacCatalyst (13, 1)] MatchFirst = 1 << 12, - [Mac (10, 9)] [MacCatalyst (13, 1)] MatchLast = 1 << 13, } @@ -1006,22 +988,17 @@ public enum NSUrlRequestNetworkServiceType : ulong { Video, Background, Voice, - [Mac (10, 14)] [iOS (12, 0)] [Watch (5, 0)] [TV (12, 0)] [MacCatalyst (13, 1)] ResponsiveData = 6, - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] AVStreaming = 8, - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] ResponsiveAV = 9, - [Mac (10, 12)] - [iOS (10, 0)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] CallSignaling = 11, } @@ -1116,8 +1093,6 @@ public enum NSTimeZoneNameStyle : long { ShortGeneric } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum NSItemProviderErrorCode : long { @@ -1129,8 +1104,6 @@ public enum NSItemProviderErrorCode : long { } [Native] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum NSDateComponentsFormatterUnitsStyle : long { Positional = 0, @@ -1138,18 +1111,12 @@ public enum NSDateComponentsFormatterUnitsStyle : long { Short, Full, SpellOut, - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] Brief, } [Flags] [Native] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum NSDateComponentsFormatterZeroFormattingBehavior : ulong { None = (0), @@ -1162,8 +1129,6 @@ public enum NSDateComponentsFormatterZeroFormattingBehavior : ulong { } [Native] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum NSFormattingContext : long { Unknown = 0, @@ -1174,8 +1139,6 @@ public enum NSFormattingContext : long { MiddleOfSentence = 5 } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum NSDateIntervalFormatterStyle : ulong { @@ -1186,8 +1149,6 @@ public enum NSDateIntervalFormatterStyle : ulong { Full = 4 } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum NSEnergyFormatterUnit : long { @@ -1197,8 +1158,6 @@ public enum NSEnergyFormatterUnit : long { Kilocalorie = (7 << 8) + 2 } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum NSFormattingUnitStyle : long { @@ -1207,8 +1166,6 @@ public enum NSFormattingUnitStyle : long { Long } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum NSMassFormatterUnit : long { @@ -1219,8 +1176,6 @@ public enum NSMassFormatterUnit : long { Stone = (6 << 8) + 3 } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum NSLengthFormatterUnit : long { @@ -1234,8 +1189,6 @@ public enum NSLengthFormatterUnit : long { Mile = (5 << 8) + 4 } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum NSQualityOfService : long { @@ -1246,10 +1199,6 @@ public enum NSQualityOfService : long { Default = -1 } - [Mac (10, 10, 3)] - [Watch (4, 0)] - [TV (11, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum NSProcessInfoThermalState : long { @@ -1318,7 +1267,6 @@ public enum NSMatchingFlags : ulong { InternalError = 1 << 4 } - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -1326,7 +1274,6 @@ public enum NSPersonNameComponentsFormatterOptions : ulong { Phonetic = (1 << 1) } - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum NSPersonNameComponentsFormatterStyle : long { @@ -1337,8 +1284,6 @@ public enum NSPersonNameComponentsFormatterStyle : long { Abbreviated } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum NSDecodingFailurePolicy : long { @@ -1346,10 +1291,6 @@ public enum NSDecodingFailurePolicy : long { SetErrorAndReturn } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -1364,7 +1305,6 @@ public enum NSIso8601DateFormatOptions : ulong { DashSeparatorInDate = 1 << 8, ColonSeparatorInTime = 1 << 9, ColonSeparatorInTimeZone = 1 << 10, - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] FractionalSeconds = 1 << 11, FullDate = Year | Month | Day | DashSeparatorInDate, @@ -1372,10 +1312,6 @@ public enum NSIso8601DateFormatOptions : ulong { InternetDateTime = FullDate | FullTime, } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum NSUrlSessionTaskMetricsResourceFetchType : long { @@ -1385,10 +1321,6 @@ public enum NSUrlSessionTaskMetricsResourceFetchType : long { LocalCache } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -1399,7 +1331,6 @@ public enum NSMeasurementFormatterUnitOptions : ulong { } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum NSItemProviderRepresentationVisibility : long { @@ -1413,14 +1344,12 @@ public enum NSItemProviderRepresentationVisibility : long { OwnProcess = 3, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum NSItemProviderFileOptions : long { OpenInPlace = 1, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum NSLinguisticTaggerUnit : long { @@ -1430,7 +1359,6 @@ public enum NSLinguisticTaggerUnit : long { Document, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum NSUrlSessionDelayedRequestDisposition : long { diff --git a/src/Foundation/EnumDesktop.cs b/src/Foundation/EnumDesktop.cs index eaef7de4b6f9..143595edb5d3 100644 --- a/src/Foundation/EnumDesktop.cs +++ b/src/Foundation/EnumDesktop.cs @@ -47,7 +47,7 @@ public enum NSTaskTerminationReason : long { // The following constants where taken from MonoDevelop Carbon.cs MacInterop file [NoiOS, NoTV, NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum AEEventID : uint { OpenApplication = 1868656752, // 'oapp' ReopenApplication = 1918988400, //'rapp' @@ -61,7 +61,7 @@ public enum AEEventID : uint { } [NoiOS, NoTV, NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum AEEventClass : uint { Mouse = 1836021107, // 'mous' Keyboard = 1801812322, // 'keyb' @@ -96,7 +96,6 @@ public enum NSUserNotificationActivationType : long { AdditionalActionClicked = 4 } - [Mac (10, 11)] [NoiOS, NoTV, NoWatch, NoMacCatalyst] [Native] [Flags] diff --git a/src/Foundation/Enums.cs b/src/Foundation/Enums.cs index 686e9d28880b..81dbd1d8b63f 100644 --- a/src/Foundation/Enums.cs +++ b/src/Foundation/Enums.cs @@ -61,7 +61,6 @@ public enum NSRunLoopMode { Other = 1000 } - [Mac (10, 9)] [MacCatalyst (13, 1)] public enum NSItemDownloadingStatus { [Field (null)] @@ -77,8 +76,6 @@ public enum NSItemDownloadingStatus { NotDownloaded, } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] public enum NSStringTransform { [Field ("NSStringTransformLatinToKatakana")] @@ -130,7 +127,7 @@ public enum NSStringTransform { StripDiacritics, } - [NoWatch, NoTV, NoMac, iOS (11, 0)] + [NoWatch, NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum NSUrlSessionMultipathServiceType : long { diff --git a/src/Foundation/NSArray.cs b/src/Foundation/NSArray.cs index 63d3c9987e7f..6a3a576942a5 100644 --- a/src/Foundation/NSArray.cs +++ b/src/Foundation/NSArray.cs @@ -475,9 +475,9 @@ static bool DiffEqualityHandler (IntPtr block, IntPtr first, IntPtr second) } #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public NSOrderedCollectionDifference GetDifferenceFromArray (NSArray other, NSOrderedCollectionDifferenceCalculationOptions options, NSOrderedCollectionDifferenceEquivalenceTest equivalenceTest) { diff --git a/src/Foundation/NSArray_1.cs b/src/Foundation/NSArray_1.cs index fe603b18a804..46637c714cf4 100644 --- a/src/Foundation/NSArray_1.cs +++ b/src/Foundation/NSArray_1.cs @@ -104,25 +104,25 @@ public TKey this [nint idx] { #if false // https://github.com/xamarin/xamarin-macios/issues/15577 #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public NSOrderedCollectionDifference? GetDifference (TKey[] other, NSOrderedCollectionDifferenceCalculationOptions options) => Runtime.GetNSObject > (_GetDifference (NSArray.FromNSObjects (other), options)); #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public NSOrderedCollectionDifference? GetDifference (TKey[] other) => Runtime.GetNSObject > (_GetDifference (NSArray.FromNSObjects (other))); #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public TKey[]? GetArrayByApplyingDifference (NSOrderedCollectionDifference difference) => NSArray.ArrayFromHandle (_GetArrayByApplyingDifference (difference)); @@ -141,9 +141,9 @@ static bool DiffEqualityHandlerGeneric (IntPtr block, IntPtr first, IntPtr secon } #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public NSOrderedCollectionDifference? GetDifferenceFromArray (NSArray other, NSOrderedCollectionDifferenceCalculationOptions options, NSOrderedCollectionDifferenceEquivalenceTest equivalenceTest) { diff --git a/src/Foundation/NSAttributedStringDocumentAttributes.cs b/src/Foundation/NSAttributedStringDocumentAttributes.cs index 0e07bd68304d..c42ffd9aec06 100644 --- a/src/Foundation/NSAttributedStringDocumentAttributes.cs +++ b/src/Foundation/NSAttributedStringDocumentAttributes.cs @@ -207,12 +207,11 @@ public bool ReadOnly { // documentation is unclear if an NSString or an NSUrl should be used... // but providing an `NSString` throws a `NSInvalidArgumentException Reason: (null) is not a file URL` #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] #else - [Mac (10, 15)] [iOS (13, 0)] #endif public NSUrl? ReadAccessUrl { diff --git a/src/Foundation/NSCalendar.cs b/src/Foundation/NSCalendar.cs index f67952df09d2..8713a1779e13 100644 --- a/src/Foundation/NSCalendar.cs +++ b/src/Foundation/NSCalendar.cs @@ -59,22 +59,16 @@ public enum NSCalendarType { EthiopicAmeteMihret, #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif IslamicTabular, #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif IslamicUmmAlQura, } diff --git a/src/Foundation/NSCoder.cs b/src/Foundation/NSCoder.cs index 677575db57c6..66b656a2ec82 100644 --- a/src/Foundation/NSCoder.cs +++ b/src/Foundation/NSCoder.cs @@ -178,13 +178,10 @@ public bool TryDecode (string key, out byte [] result) } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public NSObject DecodeTopLevelObject (Type type, string key, out NSError error) { @@ -194,13 +191,10 @@ public NSObject DecodeTopLevelObject (Type type, string key, out NSError error) } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public NSObject DecodeTopLevelObject (Type [] types, string key, out NSError error) { diff --git a/src/Foundation/NSExpression.cs b/src/Foundation/NSExpression.cs index 0f31cf129fcc..eea476067795 100644 --- a/src/Foundation/NSExpression.cs +++ b/src/Foundation/NSExpression.cs @@ -94,12 +94,9 @@ public virtual NSExpression LeftExpression { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 11)] - [iOS (9, 0)] #endif [Export ("trueExpression")] public virtual NSExpression TrueExpression { @@ -115,12 +112,9 @@ public virtual NSExpression TrueExpression { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 11)] - [iOS (9, 0)] #endif [Export ("falseExpression")] public virtual NSExpression FalseExpression { diff --git a/src/Foundation/NSIndexPath.cs b/src/Foundation/NSIndexPath.cs index 62708b0a86dd..8f4e7e679eac 100644 --- a/src/Foundation/NSIndexPath.cs +++ b/src/Foundation/NSIndexPath.cs @@ -72,13 +72,10 @@ public unsafe nuint [] GetIndexes () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public unsafe nuint [] GetIndexes (NSRange range) { diff --git a/src/Foundation/NSItemProvider.cs b/src/Foundation/NSItemProvider.cs index f5c9791b1ff9..f26d53372a4c 100644 --- a/src/Foundation/NSItemProvider.cs +++ b/src/Foundation/NSItemProvider.cs @@ -27,15 +27,10 @@ public virtual Task RegisterCloudKitShar #endif #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif public NSProgress LoadObject (Action completionHandler) where T : NSObject, INSItemProviderReading { @@ -48,15 +43,10 @@ public NSProgress LoadObject (Action completionHandler) where T : } #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif public Task LoadObjectAsync () where T : NSObject, INSItemProviderReading { @@ -70,15 +60,10 @@ public Task LoadObjectAsync () where T : NSObject, INSItemProviderReading } #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif public Task LoadObjectAsync (out NSProgress result) where T : NSObject, INSItemProviderReading { diff --git a/src/Foundation/NSLayoutConstraint.cs b/src/Foundation/NSLayoutConstraint.cs index 9b879eab20d4..ef690ccee228 100644 --- a/src/Foundation/NSLayoutConstraint.cs +++ b/src/Foundation/NSLayoutConstraint.cs @@ -119,12 +119,10 @@ public static NSLayoutConstraint Create (NSObject view1, NSLayoutAttribute attri #if !MONOMAC || NET #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 0)] #endif public NSLayoutAnchor FirstAnchor () where AnchorType : NSObject { @@ -132,12 +130,10 @@ public NSLayoutAnchor FirstAnchor () where AnchorType : } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 0)] #endif public NSLayoutAnchor SecondAnchor () where AnchorType : NSObject { diff --git a/src/Foundation/NSMetadataItem.cs b/src/Foundation/NSMetadataItem.cs index b05b555e3075..a8b69efb7c18 100644 --- a/src/Foundation/NSMetadataItem.cs +++ b/src/Foundation/NSMetadataItem.cs @@ -91,13 +91,10 @@ public NSDate? FileSystemContentChangeDate { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 9)] #endif public NSString? ContentType { get { @@ -106,13 +103,10 @@ public NSString? ContentType { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 9)] #endif public NSString? []? ContentTypeTree { get { @@ -154,8 +148,6 @@ public bool UbiquitousItemHasUnresolvedConflicts { [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif #if NET public NSItemDownloadingStatus UbiquitousItemDownloadingStatus { @@ -242,8 +234,6 @@ public double UbiquitousItemPercentUploaded { [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public NSError? UbiquitousItemDownloadingError { get { @@ -256,8 +246,6 @@ public NSError? UbiquitousItemDownloadingError { [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public NSError? UbiquitousItemUploadingError { get { @@ -266,13 +254,10 @@ public NSError? UbiquitousItemUploadingError { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif #if NET public bool? UbiquitousItemDownloadRequested { @@ -289,13 +274,10 @@ public bool UbiquitousItemDownloadRequested { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif #if NET public bool? UbiquitousItemIsExternalDocument { @@ -312,13 +294,10 @@ public bool UbiquitousItemIsExternalDocument { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 9)] #endif public NSString? UbiquitousItemContainerDisplayName { get { @@ -327,13 +306,10 @@ public NSString? UbiquitousItemContainerDisplayName { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 9)] #endif public NSUrl? UbiquitousItemUrlInLocalContainer { get { @@ -351,7 +327,6 @@ public NSUrl? UbiquitousItemUrlInLocalContainer { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Keywords { get { @@ -368,7 +343,6 @@ public string? []? Keywords { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Title { get { @@ -385,7 +359,6 @@ public string? Title { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Authors { get { @@ -402,7 +375,6 @@ public string? []? Authors { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Editors { get { @@ -419,7 +391,6 @@ public string? []? Editors { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Participants { get { @@ -436,7 +407,6 @@ public string? []? Participants { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Projects { get { @@ -453,7 +423,6 @@ public string? []? Projects { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public NSDate? DownloadedDate { get { @@ -470,7 +439,6 @@ public NSDate? DownloadedDate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? WhereFroms { get { @@ -487,7 +455,6 @@ public string? []? WhereFroms { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Comment { get { @@ -504,7 +471,6 @@ public string? Comment { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Copyright { get { @@ -521,7 +487,6 @@ public string? Copyright { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public NSDate? LastUsedDate { get { @@ -538,7 +503,6 @@ public NSDate? LastUsedDate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public NSDate? ContentCreationDate { get { @@ -555,7 +519,6 @@ public NSDate? ContentCreationDate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public NSDate? ContentModificationDate { get { @@ -572,7 +535,6 @@ public NSDate? ContentModificationDate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public NSDate? DateAdded { get { @@ -589,7 +551,6 @@ public NSDate? DateAdded { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? DurationSeconds { get { @@ -606,7 +567,6 @@ public double? DurationSeconds { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? ContactKeywords { get { @@ -623,7 +583,6 @@ public string? []? ContactKeywords { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Version { get { @@ -640,7 +599,6 @@ public string? Version { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? PixelHeight { get { @@ -657,7 +615,6 @@ public nint? PixelHeight { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? PixelWidth { get { @@ -674,7 +631,6 @@ public nint? PixelWidth { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? PixelCount { get { @@ -691,7 +647,6 @@ public nint? PixelCount { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? ColorSpace { get { @@ -708,7 +663,6 @@ public string? ColorSpace { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? BitsPerSample { get { @@ -725,7 +679,6 @@ public nint? BitsPerSample { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public bool? FlashOnOff { get { @@ -742,7 +695,6 @@ public bool? FlashOnOff { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? FocalLength { get { @@ -759,7 +711,6 @@ public double? FocalLength { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? AcquisitionMake { get { @@ -776,7 +727,6 @@ public string? AcquisitionMake { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? AcquisitionModel { get { @@ -793,7 +743,6 @@ public string? AcquisitionModel { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? IsoSpeed { get { @@ -810,7 +759,6 @@ public double? IsoSpeed { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? Orientation { get { @@ -827,7 +775,6 @@ public nint? Orientation { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? LayerNames { get { @@ -844,7 +791,6 @@ public string? []? LayerNames { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? WhiteBalance { get { @@ -861,7 +807,6 @@ public double? WhiteBalance { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? Aperture { get { @@ -878,7 +823,6 @@ public double? Aperture { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? ProfileName { get { @@ -895,7 +839,6 @@ public string? ProfileName { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? ResolutionWidthDpi { get { @@ -912,7 +855,6 @@ public nint? ResolutionWidthDpi { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? ResolutionHeightDpi { get { @@ -929,7 +871,6 @@ public nint? ResolutionHeightDpi { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? ExposureMode { get { @@ -946,7 +887,6 @@ public nint? ExposureMode { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? ExposureTimeSeconds { get { @@ -963,7 +903,6 @@ public double? ExposureTimeSeconds { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? ExifVersion { get { @@ -980,7 +919,6 @@ public string? ExifVersion { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? CameraOwner { get { @@ -997,7 +935,6 @@ public string? CameraOwner { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? FocalLength35mm { get { @@ -1014,7 +951,6 @@ public nint? FocalLength35mm { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? LensModel { get { @@ -1031,7 +967,6 @@ public string? LensModel { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? ExifGpsVersion { get { @@ -1048,7 +983,6 @@ public string? ExifGpsVersion { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? Altitude { get { @@ -1065,7 +999,6 @@ public double? Altitude { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? Latitude { get { @@ -1082,7 +1015,6 @@ public double? Latitude { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? Longitude { get { @@ -1099,7 +1031,6 @@ public double? Longitude { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? Speed { get { @@ -1116,7 +1047,6 @@ public double? Speed { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public NSDate? Timestamp { get { @@ -1133,7 +1063,6 @@ public NSDate? Timestamp { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? GpsTrack { get { @@ -1150,7 +1079,6 @@ public double? GpsTrack { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? ImageDirection { get { @@ -1167,7 +1095,6 @@ public double? ImageDirection { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? NamedLocation { get { @@ -1184,7 +1111,6 @@ public string? NamedLocation { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? GpsStatus { get { @@ -1201,7 +1127,6 @@ public string? GpsStatus { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? GpsMeasureMode { get { @@ -1218,7 +1143,6 @@ public string? GpsMeasureMode { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? GpsDop { get { @@ -1235,7 +1159,6 @@ public double? GpsDop { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? GpsMapDatum { get { @@ -1252,7 +1175,6 @@ public string? GpsMapDatum { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? GpsDestLatitude { get { @@ -1269,7 +1191,6 @@ public double? GpsDestLatitude { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? GpsDestLongitude { get { @@ -1286,7 +1207,6 @@ public double? GpsDestLongitude { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? GpsDestBearing { get { @@ -1303,7 +1223,6 @@ public double? GpsDestBearing { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? GpsDestDistance { get { @@ -1320,7 +1239,6 @@ public double? GpsDestDistance { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? GpsProcessingMethod { get { @@ -1337,7 +1255,6 @@ public string? GpsProcessingMethod { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? GpsAreaInformation { get { @@ -1354,7 +1271,6 @@ public string? GpsAreaInformation { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public NSDate? GpsDateStamp { get { @@ -1371,7 +1287,6 @@ public NSDate? GpsDateStamp { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? GpsDifferental { get { @@ -1388,7 +1303,6 @@ public double? GpsDifferental { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Codecs { get { @@ -1405,7 +1319,6 @@ public string? []? Codecs { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? MediaTypes { get { @@ -1422,7 +1335,6 @@ public string? []? MediaTypes { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public bool? Streamable { get { @@ -1439,7 +1351,6 @@ public bool? Streamable { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? TotalBitRate { get { @@ -1456,7 +1367,6 @@ public nint? TotalBitRate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? VideoBitRate { get { @@ -1473,7 +1383,6 @@ public nint? VideoBitRate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? AudioBitRate { get { @@ -1490,7 +1399,6 @@ public nint? AudioBitRate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? DeliveryType { get { @@ -1507,7 +1415,6 @@ public string? DeliveryType { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Album { get { @@ -1524,7 +1431,6 @@ public string? Album { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public bool? HasAlphaChannel { get { @@ -1541,7 +1447,6 @@ public bool? HasAlphaChannel { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public bool? RedEyeOnOff { get { @@ -1558,7 +1463,6 @@ public bool? RedEyeOnOff { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? MeteringMode { get { @@ -1575,7 +1479,6 @@ public string? MeteringMode { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? MaxAperture { get { @@ -1592,7 +1495,6 @@ public double? MaxAperture { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? FNumber { get { @@ -1609,7 +1511,6 @@ public nint? FNumber { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? ExposureProgram { get { @@ -1626,7 +1527,6 @@ public string? ExposureProgram { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? ExposureTimeString { get { @@ -1643,7 +1543,6 @@ public string? ExposureTimeString { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Headline { get { @@ -1660,7 +1559,6 @@ public string? Headline { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Instructions { get { @@ -1677,7 +1575,6 @@ public string? Instructions { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? City { get { @@ -1694,7 +1591,6 @@ public string? City { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? StateOrProvince { get { @@ -1711,7 +1607,6 @@ public string? StateOrProvince { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Country { get { @@ -1728,7 +1623,6 @@ public string? Country { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? TextContent { get { @@ -1745,7 +1639,6 @@ public string? TextContent { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? AudioSampleRate { get { @@ -1762,7 +1655,6 @@ public nint? AudioSampleRate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? AudioChannelCount { get { @@ -1779,7 +1671,6 @@ public nint? AudioChannelCount { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? Tempo { get { @@ -1796,7 +1687,6 @@ public double? Tempo { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? KeySignature { get { @@ -1813,7 +1703,6 @@ public string? KeySignature { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? TimeSignature { get { @@ -1830,7 +1719,6 @@ public string? TimeSignature { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? AudioEncodingApplication { get { @@ -1847,7 +1735,6 @@ public string? AudioEncodingApplication { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Composer { get { @@ -1864,7 +1751,6 @@ public string? Composer { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Lyricist { get { @@ -1881,7 +1767,6 @@ public string? Lyricist { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? AudioTrackNumber { get { @@ -1898,7 +1783,6 @@ public nint? AudioTrackNumber { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public NSDate? RecordingDate { get { @@ -1915,7 +1799,6 @@ public NSDate? RecordingDate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? MusicalGenre { get { @@ -1932,7 +1815,6 @@ public string? MusicalGenre { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public bool? IsGeneralMidiSequence { get { @@ -1949,7 +1831,6 @@ public bool? IsGeneralMidiSequence { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? RecordingYear { get { @@ -1966,7 +1847,6 @@ public nint? RecordingYear { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Organizations { get { @@ -1983,7 +1863,6 @@ public string? []? Organizations { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Languages { get { @@ -2000,7 +1879,6 @@ public string? []? Languages { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Rights { get { @@ -2017,7 +1895,6 @@ public string? Rights { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Publishers { get { @@ -2034,7 +1911,6 @@ public string? []? Publishers { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Contributors { get { @@ -2051,7 +1927,6 @@ public string? []? Contributors { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Coverage { get { @@ -2068,7 +1943,6 @@ public string? []? Coverage { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Subject { get { @@ -2085,7 +1959,6 @@ public string? Subject { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Theme { get { @@ -2102,7 +1975,6 @@ public string? Theme { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Description { get { @@ -2119,7 +1991,6 @@ public string? Description { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Identifier { get { @@ -2136,7 +2007,6 @@ public string? Identifier { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Audiences { get { @@ -2153,7 +2023,6 @@ public string? []? Audiences { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public nint? NumberOfPages { get { @@ -2170,7 +2039,6 @@ public nint? NumberOfPages { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? PageWidth { get { @@ -2187,7 +2055,6 @@ public double? PageWidth { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? PageHeight { get { @@ -2204,7 +2071,6 @@ public double? PageHeight { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? SecurityMethod { get { @@ -2221,7 +2087,6 @@ public string? SecurityMethod { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Creator { get { @@ -2238,7 +2103,6 @@ public string? Creator { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? EncodingApplications { get { @@ -2255,7 +2119,6 @@ public string? []? EncodingApplications { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public NSDate? DueDate { get { @@ -2272,7 +2135,6 @@ public NSDate? DueDate { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public double? StarRating { get { @@ -2289,7 +2151,6 @@ public double? StarRating { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? PhoneNumbers { get { @@ -2306,7 +2167,6 @@ public string? []? PhoneNumbers { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? EmailAddresses { get { @@ -2323,7 +2183,6 @@ public string? []? EmailAddresses { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? InstantMessageAddresses { get { @@ -2340,7 +2199,6 @@ public string? []? InstantMessageAddresses { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Kind { get { @@ -2357,7 +2215,6 @@ public string? Kind { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Recipients { get { @@ -2374,7 +2231,6 @@ public string? []? Recipients { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? FinderComment { get { @@ -2391,7 +2247,6 @@ public string? FinderComment { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Fonts { get { @@ -2408,7 +2263,6 @@ public string? []? Fonts { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? AppleLoopsRoot { get { @@ -2425,7 +2279,6 @@ public string? AppleLoopsRoot { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? AppleLoopsKeyFilterType { get { @@ -2442,7 +2295,6 @@ public string? AppleLoopsKeyFilterType { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? AppleLoopsLoopMode { get { @@ -2459,7 +2311,6 @@ public string? AppleLoopsLoopMode { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? AppleLoopDescriptors { get { @@ -2476,7 +2327,6 @@ public string? []? AppleLoopDescriptors { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? MusicalInstrumentCategory { get { @@ -2493,7 +2343,6 @@ public string? MusicalInstrumentCategory { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? MusicalInstrumentName { get { @@ -2510,7 +2359,6 @@ public string? MusicalInstrumentName { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? CFBundleIdentifier { get { @@ -2527,7 +2375,6 @@ public string? CFBundleIdentifier { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Information { get { @@ -2544,7 +2391,6 @@ public string? Information { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Director { get { @@ -2561,7 +2407,6 @@ public string? Director { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Producer { get { @@ -2578,7 +2423,6 @@ public string? Producer { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? Genre { get { @@ -2595,7 +2439,6 @@ public string? Genre { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? Performers { get { @@ -2612,7 +2455,6 @@ public string? []? Performers { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? OriginalFormat { get { @@ -2629,7 +2471,6 @@ public string? OriginalFormat { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? OriginalSource { get { @@ -2646,7 +2487,6 @@ public string? OriginalSource { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? AuthorEmailAddresses { get { @@ -2663,7 +2503,6 @@ public string? []? AuthorEmailAddresses { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? RecipientEmailAddresses { get { @@ -2680,7 +2519,6 @@ public string? []? RecipientEmailAddresses { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? AuthorAddresses { get { @@ -2697,7 +2535,6 @@ public string? []? AuthorAddresses { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? RecipientAddresses { get { @@ -2714,7 +2551,6 @@ public string? []? RecipientAddresses { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public bool? IsLikelyJunk { get { @@ -2731,7 +2567,6 @@ public bool? IsLikelyJunk { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? ExecutableArchitectures { get { @@ -2748,7 +2583,6 @@ public string? []? ExecutableArchitectures { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? ExecutablePlatform { get { @@ -2765,7 +2599,6 @@ public string? ExecutablePlatform { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public string? []? ApplicationCategories { get { @@ -2782,7 +2615,6 @@ public string? []? ApplicationCategories { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 9)] #endif public bool? IsApplicationManaged { get { diff --git a/src/Foundation/NSMutableArray_1.cs b/src/Foundation/NSMutableArray_1.cs index af991c5b5e9d..aea3dd661a68 100644 --- a/src/Foundation/NSMutableArray_1.cs +++ b/src/Foundation/NSMutableArray_1.cs @@ -200,9 +200,9 @@ System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () #if false // https://github.com/xamarin/xamarin-macios/issues/15577 #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public void ApplyDifference (NSOrderedCollectionDifference difference) => ApplyDifference ((NSOrderedCollectionDifference) difference); diff --git a/src/Foundation/NSMutableOrderedSet_1.cs b/src/Foundation/NSMutableOrderedSet_1.cs index 946d99f95546..e0e16d4140df 100644 --- a/src/Foundation/NSMutableOrderedSet_1.cs +++ b/src/Foundation/NSMutableOrderedSet_1.cs @@ -235,9 +235,9 @@ IEnumerator IEnumerable.GetEnumerator () #if false // https://github.com/xamarin/xamarin-macios/issues/15577 #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public void ApplyDifference (NSOrderedCollectionDifference difference) { diff --git a/src/Foundation/NSOrderedCollectionChange.cs b/src/Foundation/NSOrderedCollectionChange.cs index 4280330cf2a9..cf56c4aabf15 100644 --- a/src/Foundation/NSOrderedCollectionChange.cs +++ b/src/Foundation/NSOrderedCollectionChange.cs @@ -11,9 +11,9 @@ namespace Foundation { #if false // https://github.com/xamarin/xamarin-macios/issues/15577 #if !NET - [iOS (13,0), TV (13,0), Mac (10,15), Watch (6,0)] + [iOS (13,0), TV (13,0), Watch (6,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public partial class NSOrderedCollectionChange { diff --git a/src/Foundation/NSOrderedCollectionChange_1.cs b/src/Foundation/NSOrderedCollectionChange_1.cs index 289cf45e8d62..b0f5817a7058 100644 --- a/src/Foundation/NSOrderedCollectionChange_1.cs +++ b/src/Foundation/NSOrderedCollectionChange_1.cs @@ -11,9 +11,9 @@ namespace Foundation { #if false // https://github.com/xamarin/xamarin-macios/issues/15577 #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif [Register (SkipRegistration = true)] public sealed partial class NSOrderedCollectionChange : NSOrderedCollectionChange diff --git a/src/Foundation/NSOrderedCollectionDifference.cs b/src/Foundation/NSOrderedCollectionDifference.cs index 3541c204ed61..05348930476d 100644 --- a/src/Foundation/NSOrderedCollectionDifference.cs +++ b/src/Foundation/NSOrderedCollectionDifference.cs @@ -12,9 +12,9 @@ namespace Foundation { public delegate NSOrderedCollectionDifference? NSOrderedCollectionDifferenceGetDifferenceHandler (NSOrderedCollectionChange? collectionChange); #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public partial class NSOrderedCollectionDifference { diff --git a/src/Foundation/NSOrderedCollectionDifference_1.cs b/src/Foundation/NSOrderedCollectionDifference_1.cs index ff0fab07a955..68be9b9ef1cc 100644 --- a/src/Foundation/NSOrderedCollectionDifference_1.cs +++ b/src/Foundation/NSOrderedCollectionDifference_1.cs @@ -13,9 +13,9 @@ namespace Foundation { #if false // https://github.com/xamarin/xamarin-macios/issues/15577 #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif [Register (SkipRegistration = true)] public sealed partial class NSOrderedCollectionDifference : NSOrderedCollectionDifference diff --git a/src/Foundation/NSOrderedSet.cs b/src/Foundation/NSOrderedSet.cs index f11032582848..4e75d89161e5 100644 --- a/src/Foundation/NSOrderedSet.cs +++ b/src/Foundation/NSOrderedSet.cs @@ -212,9 +212,9 @@ static bool DiffEqualityHandler (IntPtr block, IntPtr first, IntPtr second) } #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public NSOrderedCollectionDifference GetDifference (NSOrderedSet other, NSOrderedCollectionDifferenceCalculationOptions options, NSOrderedCollectionDifferenceEquivalenceTest equivalenceTest) { diff --git a/src/Foundation/NSOrderedSet_1.cs b/src/Foundation/NSOrderedSet_1.cs index ce7afe241acd..ef466511506b 100644 --- a/src/Foundation/NSOrderedSet_1.cs +++ b/src/Foundation/NSOrderedSet_1.cs @@ -208,25 +208,25 @@ public override int GetHashCode () #if false // https://github.com/xamarin/xamarin-macios/issues/15577 #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public NSOrderedCollectionDifference GetDifference (NSOrderedSet other, NSOrderedCollectionDifferenceCalculationOptions options) => new NSOrderedCollectionDifference (_GetDifference (other, options)); #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public NSOrderedCollectionDifference GetDifference (NSOrderedSet other) => new NSOrderedCollectionDifference (_GetDifference (other)); #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public NSOrderedSet? GetOrderedSet (NSOrderedCollectionDifference difference) { @@ -249,9 +249,9 @@ static bool DiffEqualityHandlerGeneric (IntPtr block, IntPtr first, IntPtr secon } #if !NET - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] #else - [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("ios13.0"), SupportedOSPlatform ("tvos13.0"), SupportedOSPlatform ("macos")] #endif public NSOrderedCollectionDifference? GetDifference (NSOrderedSet other, NSOrderedCollectionDifferenceCalculationOptions options, NSOrderedCollectionDifferenceEquivalenceTest equivalenceTest) { diff --git a/src/Foundation/NSUserDefaults.cs b/src/Foundation/NSUserDefaults.cs index d0a351b1b69d..be6ba57b4fe9 100644 --- a/src/Foundation/NSUserDefaults.cs +++ b/src/Foundation/NSUserDefaults.cs @@ -18,7 +18,6 @@ public partial class NSUserDefaults { [ObsoletedOSPlatform ("ios7.0")] #else [Deprecated (PlatformName.iOS, 7, 0)] - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 10)] #endif public NSUserDefaults (string name) : this (name, NSUserDefaultsType.UserName) diff --git a/src/GLKit/Defs.cs b/src/GLKit/Defs.cs index 64d9cf0fe359..a28058380376 100644 --- a/src/GLKit/Defs.cs +++ b/src/GLKit/Defs.cs @@ -126,7 +126,7 @@ public enum GLKTextureLoaderError { // glVertexAttribPointer structure values, again, problems with definitions being in different namespaces #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] @@ -137,8 +137,6 @@ public enum GLKTextureLoaderError { [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'Metal' instead.")] - [iOS (9, 0)] - [Mac (10, 11)] #endif [StructLayout (LayoutKind.Sequential)] public struct GLKVertexAttributeParameters { diff --git a/src/GameController/Enums.cs b/src/GameController/Enums.cs index ec0dc14fbbe2..93ba2b4d7537 100644 --- a/src/GameController/Enums.cs +++ b/src/GameController/Enums.cs @@ -56,8 +56,6 @@ public enum GCSystemGestureState : long { Disabled, } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum GCControllerPlayerIndex : long { diff --git a/src/GameController/GCExtendedGamepadSnapshot.cs b/src/GameController/GCExtendedGamepadSnapshot.cs index 9a7ac7d2fa55..b520719c9ac6 100644 --- a/src/GameController/GCExtendedGamepadSnapshot.cs +++ b/src/GameController/GCExtendedGamepadSnapshot.cs @@ -28,7 +28,6 @@ namespace GameController { [ObsoletedOSPlatform ("tvos12.2", "Use 'GCExtendedGamepadSnapshotData' instead.")] [ObsoletedOSPlatform ("ios12.2", "Use 'GCExtendedGamepadSnapshotData' instead.")] #else - [Mac (10, 9)] [Deprecated (PlatformName.iOS, 12, 2, message: "Use 'GCExtendedGamepadSnapshotData' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, 4, message: "Use 'GCExtendedGamepadSnapshotData' instead.")] [Deprecated (PlatformName.TvOS, 12, 2, message: "Use 'GCExtendedGamepadSnapshotData' instead.")] @@ -65,9 +64,9 @@ public struct GCExtendedGamepadSnapShotDataV100 { public float /* float_t = float */ RightTrigger; // radar: https://trello.com/c/7FoGTORD (GCExtendedGamepadSnapShotDataV100 struct size / alignment not backward compatible) - // [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + // [TV (12, 1), iOS (12, 1)] // public bool LeftThumbstickButton; - // [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + // [TV (12, 1), iOS (12, 1)] // public bool RightThumbstickButton; #if NET @@ -140,7 +139,7 @@ public struct GCExtendedGamepadSnapshotData { #if NET [SupportedOSPlatform ("ios12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos12.2")] [UnsupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")] @@ -148,7 +147,6 @@ public struct GCExtendedGamepadSnapshotData { [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")] #else [iOS (12, 2)] - [Mac (10, 14, 4)] [TV (12, 2)] #endif [MarshalAs (UnmanagedType.I1)] @@ -156,7 +154,7 @@ public struct GCExtendedGamepadSnapshotData { #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [UnsupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")] @@ -164,7 +162,6 @@ public struct GCExtendedGamepadSnapshotData { [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")] #else [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif [MarshalAs (UnmanagedType.I1)] @@ -172,7 +169,7 @@ public struct GCExtendedGamepadSnapshotData { #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [UnsupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")] @@ -180,7 +177,6 @@ public struct GCExtendedGamepadSnapshotData { [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")] #else [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif [MarshalAs (UnmanagedType.I1)] @@ -188,7 +184,7 @@ public struct GCExtendedGamepadSnapshotData { #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [UnsupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")] @@ -196,7 +192,6 @@ public struct GCExtendedGamepadSnapshotData { [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")] #else [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif [DllImport (Constants.GameControllerLibrary)] @@ -205,7 +200,7 @@ public struct GCExtendedGamepadSnapshotData { #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [UnsupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")] @@ -213,7 +208,6 @@ public struct GCExtendedGamepadSnapshotData { [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")] #else [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif public NSData? ToNSData () @@ -234,7 +228,7 @@ static extern bool GCExtendedGamepadSnapShotDataV100FromNSData ( #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [UnsupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")] @@ -242,7 +236,6 @@ static extern bool GCExtendedGamepadSnapShotDataV100FromNSData ( [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")] #else [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif [DllImport (Constants.GameControllerLibrary)] @@ -258,7 +251,7 @@ public static bool TryGetSnapShotData (NSData? data, out GCExtendedGamepadSnapSh #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [UnsupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")] @@ -266,7 +259,6 @@ public static bool TryGetSnapShotData (NSData? data, out GCExtendedGamepadSnapSh [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")] #else [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif public static bool TryGetExtendedSnapShotData (NSData? data, out GCExtendedGamepadSnapshotData snapshotData) diff --git a/src/GameController/GCGamepadSnapshot.cs b/src/GameController/GCGamepadSnapshot.cs index 5d9f11961c16..69c71628776b 100644 --- a/src/GameController/GCGamepadSnapshot.cs +++ b/src/GameController/GCGamepadSnapshot.cs @@ -29,7 +29,6 @@ namespace GameController { [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'GCExtendedGamepad' instead.")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GCExtendedGamepad' instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GCExtendedGamepad' instead.")] - [Mac (10, 9)] #endif [StructLayout (LayoutKind.Sequential, Pack = 1)] public struct GCGamepadSnapShotDataV100 { diff --git a/src/GameController/GCMicroGamepadSnapshot.cs b/src/GameController/GCMicroGamepadSnapshot.cs index 4ede2d45982a..83ec69ad5025 100644 --- a/src/GameController/GCMicroGamepadSnapshot.cs +++ b/src/GameController/GCMicroGamepadSnapshot.cs @@ -15,7 +15,7 @@ namespace GameController { // GCMicroGamepadSnapshot.h // float_t are 4 bytes (at least for ARM64) #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] @@ -23,8 +23,6 @@ namespace GameController { [ObsoletedOSPlatform ("tvos12.2", "Use 'GCController.GetMicroGamepadController()' instead.")] [ObsoletedOSPlatform ("ios12.2", "Use 'GCController.GetMicroGamepadController()' instead.")] #else - [iOS (10, 0)] - [Mac (10, 12)] [Deprecated (PlatformName.iOS, 12, 2, message: "Use 'GCController.GetMicroGamepadController()' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, 4, message: "Use 'GCController.GetMicroGamepadController()' instead.")] [Deprecated (PlatformName.TvOS, 12, 2, message: "Use 'GCController.GetMicroGamepadController()' instead.")] @@ -46,7 +44,7 @@ public struct GCMicroGamepadSnapShotDataV100 { public float /* float_t = float */ ButtonX; #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] @@ -102,7 +100,7 @@ public struct GCMicroGamepadSnapshotData { #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetMicroGamepadController()' instead.")] @@ -110,7 +108,6 @@ public struct GCMicroGamepadSnapshotData { [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetMicroGamepadController()' instead.")] #else [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif [DllImport (Constants.GameControllerLibrary)] @@ -119,7 +116,7 @@ public struct GCMicroGamepadSnapshotData { #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetMicroGamepadController()' instead.")] @@ -127,7 +124,6 @@ public struct GCMicroGamepadSnapshotData { [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetMicroGamepadController()' instead.")] #else [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif public NSData? ToNSData () @@ -142,7 +138,7 @@ public partial class GCMicroGamepadSnapshot { // GCGamepadSnapshot.h #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetMicroGamepadController()' instead.")] @@ -159,7 +155,7 @@ public partial class GCMicroGamepadSnapshot { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.14.4", "Use 'TryGetSnapshotData (NSData, out GCMicroGamepadSnapshotData)' instead.")] @@ -177,7 +173,7 @@ public static bool TryGetSnapshotData (NSData? data, out GCMicroGamepadSnapShotD #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetMicroGamepadController()' instead.")] @@ -188,7 +184,6 @@ public static bool TryGetSnapshotData (NSData? data, out GCMicroGamepadSnapShotD [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GCController.GetMicroGamepadController()' instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GCController.GetMicroGamepadController()' instead.")] [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif [DllImport (Constants.GameControllerLibrary)] @@ -197,7 +192,7 @@ public static bool TryGetSnapshotData (NSData? data, out GCMicroGamepadSnapShotD #if NET [SupportedOSPlatform ("tvos12.2")] - [SupportedOSPlatform ("macos10.14.4")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios12.2")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'GCController.Capture()' instead.")] @@ -205,7 +200,6 @@ public static bool TryGetSnapshotData (NSData? data, out GCMicroGamepadSnapShotD [ObsoletedOSPlatform ("ios13.0", "Use 'GCController.Capture()' instead.")] #else [TV (12, 2)] - [Mac (10, 14, 4)] [iOS (12, 2)] #endif public static bool TryGetSnapshotData (NSData? data, out GCMicroGamepadSnapshotData snapshotData) diff --git a/src/GameController/GCMotion.cs b/src/GameController/GCMotion.cs index 6018f9ba9fcb..ca859add9009 100644 --- a/src/GameController/GCMotion.cs +++ b/src/GameController/GCMotion.cs @@ -19,12 +19,11 @@ namespace GameController { #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Introduced (PlatformName.iOS, 13, 0)] - [Introduced (PlatformName.MacOSX, 10, 15)] [Introduced (PlatformName.TvOS, 13, 0)] #endif public struct GCAcceleration { @@ -34,12 +33,11 @@ public struct GCAcceleration { } #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Introduced (PlatformName.iOS, 13, 0)] - [Introduced (PlatformName.MacOSX, 10, 15)] [Introduced (PlatformName.TvOS, 13, 0)] #endif public struct GCRotationRate { @@ -50,12 +48,11 @@ public struct GCRotationRate { #if NET [SupportedOSPlatform ("ios13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Introduced (PlatformName.iOS, 13, 0)] - [Introduced (PlatformName.MacOSX, 10, 15)] [Introduced (PlatformName.TvOS, 13, 0)] #endif public struct GCQuaternion { diff --git a/src/GameKit/GKCompat.cs b/src/GameKit/GKCompat.cs index 1bf81caac749..0fbcdc06c136 100644 --- a/src/GameKit/GKCompat.cs +++ b/src/GameKit/GKCompat.cs @@ -17,7 +17,6 @@ namespace GameKit { public partial class GKMatchRequest { #if !NET - [iOS (8, 0), Mac (10, 10)] [Obsolete ("Use 'RecipientResponseHandler' property.")] #else [Obsolete ("Use 'RecipientResponseHandler' property.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")] diff --git a/src/GameKit/GameKit.cs b/src/GameKit/GameKit.cs index b5d941d3e9bb..513a709c9214 100644 --- a/src/GameKit/GameKit.cs +++ b/src/GameKit/GameKit.cs @@ -157,9 +157,6 @@ public enum GKError : long { FriendRequestNotAvailable = 103, } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Native] public enum GKConnectionState : long { @@ -167,9 +164,6 @@ public enum GKConnectionState : long { Connected, } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Native] public enum GKTransportType : long { @@ -260,7 +254,6 @@ public enum GKTurnBasedMatchOutcome : long { } // NSInteger -> GKChallenge.h - [Mac (10, 9)] [MacCatalyst (13, 1)] [Native] public enum GKChallengeState : long { @@ -336,7 +329,6 @@ public enum GKInviteRecipientResponse : long { #if !NET [iOS (11, 3)] [Deprecated (PlatformName.iOS, 14, 0, message: "Do not use; this API was removed.")] - [Mac (10, 13, 4)] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Do not use; this API was removed.")] [TV (11, 3)] [Deprecated (PlatformName.TvOS, 14, 0, message: "Do not use; this API was removed.")] diff --git a/src/GameplayKit/GKObstacleGraph.cs b/src/GameplayKit/GKObstacleGraph.cs index bd0b776f933d..44d644a37179 100644 --- a/src/GameplayKit/GKObstacleGraph.cs +++ b/src/GameplayKit/GKObstacleGraph.cs @@ -31,14 +31,10 @@ public GKGraphNode2D [] GetNodes (GKPolygonObstacle obstacle) } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif [Register ("GKObstacleGraph", SkipRegistration = true)] public partial class GKObstacleGraph : GKObstacleGraph where NodeType : GKGraphNode2D { diff --git a/src/GameplayKit/GKPath.cs b/src/GameplayKit/GKPath.cs index 51c6e2a30fec..f8651d06a9aa 100644 --- a/src/GameplayKit/GKPath.cs +++ b/src/GameplayKit/GKPath.cs @@ -59,14 +59,10 @@ public GKPath (Vector2 [] points, float radius, bool cyclical) } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static GKPath FromPoints (Vector3 [] points, float radius, bool cyclical) { @@ -85,14 +81,10 @@ public static GKPath FromPoints (Vector3 [] points, float radius, bool cyclical) } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public GKPath (Vector3 [] points, float radius, bool cyclical) { diff --git a/src/GameplayKit/GKPrimitives.cs b/src/GameplayKit/GKPrimitives.cs index 0c96a3f4e646..4ec51f11bd0d 100644 --- a/src/GameplayKit/GKPrimitives.cs +++ b/src/GameplayKit/GKPrimitives.cs @@ -24,14 +24,10 @@ namespace GameplayKit { #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif [StructLayout (LayoutKind.Sequential)] public struct GKBox { @@ -40,14 +36,10 @@ public struct GKBox { } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif [StructLayout (LayoutKind.Sequential)] public struct GKQuad { @@ -56,14 +48,10 @@ public struct GKQuad { } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif [StructLayout (LayoutKind.Sequential)] public struct GKTriangle { diff --git a/src/GameplayKit/NSArray_GameplayKit.cs b/src/GameplayKit/NSArray_GameplayKit.cs index 5d551fedda0f..71d6a2760db4 100644 --- a/src/GameplayKit/NSArray_GameplayKit.cs +++ b/src/GameplayKit/NSArray_GameplayKit.cs @@ -16,14 +16,10 @@ namespace GameplayKit { #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static class NSArray_GameplayKit { diff --git a/src/HealthKit/Enums.cs b/src/HealthKit/Enums.cs index 0e412d887ab6..f5774f3809ef 100644 --- a/src/HealthKit/Enums.cs +++ b/src/HealthKit/Enums.cs @@ -5,7 +5,6 @@ namespace HealthKit { // NSInteger -> HKDefines.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -17,7 +16,6 @@ public enum HKUpdateFrequency : long { } // NSInteger -> HKDefines.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -28,7 +26,6 @@ public enum HKAuthorizationStatus : long { } // NSInteger -> HKDefines.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -36,13 +33,11 @@ public enum HKBiologicalSex : long { NotSet = 0, Female, Male, - [iOS (8, 2)] [MacCatalyst (13, 1)] Other } // NSInteger -> HKDefines.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -59,7 +54,6 @@ public enum HKBloodType : long { } // NSInteger -> HKMetadata.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -79,7 +73,6 @@ public enum HKBodyTemperatureSensorLocation : long { } // NSInteger -> HKMetadata.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -94,7 +87,6 @@ public enum HKHeartRateSensorLocation : long { } // NSInteger -> HKObjectType.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -116,14 +108,12 @@ public enum HKQuantityAggregationStyle : long { } // NSInteger -> HKObjectType.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] public enum HKCategoryValueSleepAnalysis : long { InBed, Asleep, - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] Awake, [Watch (9, 0), MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0), NoTV] @@ -135,7 +125,6 @@ public enum HKCategoryValueSleepAnalysis : long { } // NSUInteger -> HKQuery.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -147,7 +136,6 @@ public enum HKQueryOptions : ulong { } // NSUInteger -> HKStatistics.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -168,7 +156,6 @@ public enum HKStatisticsOptions : ulong { } // NSInteger -> HKUnit.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -192,7 +179,6 @@ public enum HKMetricPrefix : long { } [Native] - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] public enum HKWorkoutActivityType : ulong { @@ -259,55 +245,38 @@ public enum HKWorkoutActivityType : ulong { WaterSports, Wrestling, Yoga, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] Barre, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] CoreTraining, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] CrossCountrySkiing, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] DownhillSkiing, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] Flexibility, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] HighIntensityIntervalTraining, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] JumpRope, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] Kickboxing, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] Pilates, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] Snowboarding, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] Stairs, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] StepTraining, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] WheelchairWalkPace, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] WheelchairRunPace, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] TaiChi, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] MixedCardio, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] HandCycling, [iOS (13, 0), Watch (6, 0)] @@ -336,39 +305,30 @@ public enum HKWorkoutActivityType : ulong { SwimBikeRun = 82, [Watch (9, 0), MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0), NoTV] Transition = 83, - [iOS (8, 2)] [MacCatalyst (13, 1)] Other = 3000 } [Native] - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] public enum HKWorkoutEventType : long { Pause = 1, Resume, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] Lap, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] Marker, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] MotionPaused, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] MotionResumed, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] Segment, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] PauseOrResumeRequest, } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -376,7 +336,6 @@ public enum HKCategoryValue : long { NotApplicable = 0 } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -389,7 +348,6 @@ public enum HKCategoryValueCervicalMucusQuality : long { EggWhite } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -405,7 +363,6 @@ public enum HKCategoryValueMenstrualFlow : long { None, } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -425,7 +382,6 @@ public enum HKCategoryValueOvulationTestResult : long { EstrogenSurge = 4, } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -443,7 +399,6 @@ public enum HKCategoryValueAudioExposureEvent : long { LoudEnvironment = 1, } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -457,7 +412,7 @@ public enum HKFitzpatrickSkinType : long { VI } - [Watch (3, 0), iOS (10, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] public enum HKWheelchairUse : long { @@ -466,7 +421,7 @@ public enum HKWheelchairUse : long { Yes, } - [Watch (3, 0), iOS (10, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] public enum HKWeatherCondition : long { @@ -500,7 +455,7 @@ public enum HKWeatherCondition : long { Tornado, } - [Watch (3, 0), iOS (10, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] public enum HKWorkoutSwimmingLocationType : long { @@ -509,7 +464,7 @@ public enum HKWorkoutSwimmingLocationType : long { OpenWater, } - [Watch (3, 0), iOS (10, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] public enum HKSwimmingStrokeStyle : long { @@ -523,7 +478,7 @@ public enum HKSwimmingStrokeStyle : long { Kickboard = 6, } - [Watch (4, 0), iOS (11, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] public enum HKInsulinDeliveryReason : long { @@ -537,7 +492,7 @@ public enum HKInsulinDeliveryReason : long { #endif } - [Watch (4, 0), iOS (11, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] public enum HKBloodGlucoseMealTime : long { @@ -551,7 +506,7 @@ public enum HKBloodGlucoseMealTime : long { #endif } - [Watch (4, 0), iOS (11, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] public enum HKVO2MaxTestType : long { diff --git a/src/HealthKit/EnumsCompat.cs b/src/HealthKit/EnumsCompat.cs index 09d61e46bb1a..0fc2045be88a 100644 --- a/src/HealthKit/EnumsCompat.cs +++ b/src/HealthKit/EnumsCompat.cs @@ -8,7 +8,6 @@ namespace HealthKit { [Obsolete ("Use the 'HKQuantityTypeIdentifier' enum instead.")] - [Introduced (PlatformName.iOS, 8,0, PlatformArchitecture.All)] public unsafe static partial class HKQuantityTypeIdentifierKey { public static NSString? ActiveEnergyBurned { get { @@ -16,15 +15,12 @@ public static NSString? ActiveEnergyBurned { } } - [Introduced (PlatformName.iOS, 9,3, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 2,2, PlatformArchitecture.All)] public static NSString? AppleExerciseTime { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.AppleExerciseTime); } } - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? BasalBodyTemperature { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.BasalBodyTemperature); @@ -307,7 +303,6 @@ public static NSString? DietaryVitaminK { } } - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? DietaryWater { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.DietaryWater); @@ -334,8 +329,6 @@ public static NSString? DistanceDownhillSnowSports { } } - [Introduced (PlatformName.iOS, 10,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 3,0, PlatformArchitecture.All)] public static NSString? DistanceSwimming { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.DistanceSwimming); @@ -348,8 +341,6 @@ public static NSString? DistanceWalkingRunning { } } - [Introduced (PlatformName.iOS, 10,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 3,0, PlatformArchitecture.All)] public static NSString? DistanceWheelchair { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.DistanceWheelchair); @@ -386,8 +377,6 @@ public static NSString? HeartRate { } } - [Introduced (PlatformName.iOS, 11,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 4,0, PlatformArchitecture.All)] public static NSString? HeartRateVariabilitySdnn { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.HeartRateVariabilitySdnn); @@ -406,8 +395,6 @@ public static NSString? InhalerUsage { } } - [Introduced (PlatformName.iOS, 11,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 4,0, PlatformArchitecture.All)] public static NSString? InsulinDelivery { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.InsulinDelivery); @@ -450,8 +437,6 @@ public static NSString? PeripheralPerfusionIndex { } } - [Introduced (PlatformName.iOS, 10,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 3,0, PlatformArchitecture.All)] public static NSString? PushCount { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.PushCount); @@ -464,8 +449,6 @@ public static NSString? RespiratoryRate { } } - [Introduced (PlatformName.iOS, 11,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 4,0, PlatformArchitecture.All)] public static NSString? RestingHeartRate { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.RestingHeartRate); @@ -478,39 +461,30 @@ public static NSString? StepCount { } } - [Introduced (PlatformName.iOS, 10,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 3,0, PlatformArchitecture.All)] public static NSString? SwimmingStrokeCount { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.SwimmingStrokeCount); } } - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? UVExposure { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.UVExposure); } } - [Introduced (PlatformName.WatchOS, 4,0, PlatformArchitecture.All)] - [Introduced (PlatformName.iOS, 11,0, PlatformArchitecture.All)] public static NSString? VO2Max { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.VO2Max); } } - [Introduced (PlatformName.WatchOS, 4,0, PlatformArchitecture.All)] - [Introduced (PlatformName.iOS, 11,0, PlatformArchitecture.All)] public static NSString? WaistCircumference { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.WaistCircumference); } } - [Introduced (PlatformName.iOS, 11,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 4,0, PlatformArchitecture.All)] public static NSString? WalkingHeartRateAverage { get { return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.WalkingHeartRateAverage); @@ -519,52 +493,43 @@ public static NSString? WalkingHeartRateAverage { } /* class HKQuantityTypeIdentifierKey */ [Obsolete ("Use the 'HKCategoryTypeIdentifier' enum instead.")] - [Introduced (PlatformName.iOS, 8,0, PlatformArchitecture.All)] public unsafe static partial class HKCategoryTypeIdentifierKey { - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? AppleStandHour { get { return HKCategoryTypeIdentifierExtensions.GetConstant (HKCategoryTypeIdentifier.AppleStandHour); } } - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? CervicalMucusQuality { get { return HKCategoryTypeIdentifierExtensions.GetConstant (HKCategoryTypeIdentifier.CervicalMucusQuality); } } - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? IntermenstrualBleeding { get { return HKCategoryTypeIdentifierExtensions.GetConstant (HKCategoryTypeIdentifier.IntermenstrualBleeding); } } - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? MenstrualFlow { get { return HKCategoryTypeIdentifierExtensions.GetConstant (HKCategoryTypeIdentifier.MenstrualFlow); } } - [Introduced (PlatformName.iOS, 10,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 3,0, PlatformArchitecture.All)] public static NSString? MindfulSession { get { return HKCategoryTypeIdentifierExtensions.GetConstant (HKCategoryTypeIdentifier.MindfulSession); } } - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? OvulationTestResult { get { return HKCategoryTypeIdentifierExtensions.GetConstant (HKCategoryTypeIdentifier.OvulationTestResult); } } - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? SexualActivity { get { return HKCategoryTypeIdentifierExtensions.GetConstant (HKCategoryTypeIdentifier.SexualActivity); @@ -579,7 +544,6 @@ public static NSString? SleepAnalysis { } /* class HKCategoryTypeIdentifierKey */ [Obsolete ("Use the 'HKCharacteristicTypeIdentifier' enum instead.")] - [Introduced (PlatformName.iOS, 8,0, PlatformArchitecture.All)] public unsafe static partial class HKCharacteristicTypeIdentifierKey { public static NSString? BiologicalSex { get { @@ -599,15 +563,12 @@ public static NSString? DateOfBirth { } } - [Introduced (PlatformName.iOS, 9,0, PlatformArchitecture.All)] public static NSString? FitzpatrickSkinType { get { return HKCharacteristicTypeIdentifierExtensions.GetConstant (HKCharacteristicTypeIdentifier.FitzpatrickSkinType); } } - [Introduced (PlatformName.iOS, 10,0, PlatformArchitecture.All)] - [Introduced (PlatformName.WatchOS, 3,0, PlatformArchitecture.All)] public static NSString? WheelchairUse { get { return HKCharacteristicTypeIdentifierExtensions.GetConstant (HKCharacteristicTypeIdentifier.WheelchairUse); @@ -616,7 +577,6 @@ public static NSString? WheelchairUse { } /* class HKCharacteristicTypeIdentifierKey */ [Obsolete ("Use the 'HKCorrelationType' enum instead.")] - [Introduced (PlatformName.iOS, 8,0, PlatformArchitecture.All)] public unsafe static partial class HKCorrelationTypeKey { public static NSString? IdentifierBloodPressure { get { diff --git a/src/HomeKit/HMActionSet.cs b/src/HomeKit/HMActionSet.cs index e1c71d822f32..2108ff8ab41e 100644 --- a/src/HomeKit/HMActionSet.cs +++ b/src/HomeKit/HMActionSet.cs @@ -9,11 +9,9 @@ namespace HomeKit { partial class HMActionSet { #if NET - [SupportedOSPlatform ("ios9.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst14.0")] -#else - [iOS (9, 0)] #endif public HMActionSetType ActionSetType { get { diff --git a/src/HomeKit/HMCharacteristic.cs b/src/HomeKit/HMCharacteristic.cs index 0b4acd883b6c..90f522b74e43 100644 --- a/src/HomeKit/HMCharacteristic.cs +++ b/src/HomeKit/HMCharacteristic.cs @@ -38,12 +38,9 @@ public bool Writable { } #if NET - [SupportedOSPlatform ("ios9.3")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst14.0")] -#else - [iOS (9, 3)] - [Watch (2, 2)] #endif public bool Hidden { get { diff --git a/src/HomeKit/HMCharacteristicProperties.cs b/src/HomeKit/HMCharacteristicProperties.cs index fff9d8ed2535..d74fd5e64d1c 100644 --- a/src/HomeKit/HMCharacteristicProperties.cs +++ b/src/HomeKit/HMCharacteristicProperties.cs @@ -8,12 +8,9 @@ namespace HomeKit { #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] - [SupportedOSPlatform ("tvos10.0")] -#else - [iOS (8, 0)] - [TV (10, 0)] + [SupportedOSPlatform ("tvos")] #endif public class HMCharacteristicProperties { diff --git a/src/HomeKit/HMEnums.cs b/src/HomeKit/HMEnums.cs index 9b07b501f2f8..f784bc688873 100644 --- a/src/HomeKit/HMEnums.cs +++ b/src/HomeKit/HMEnums.cs @@ -4,8 +4,6 @@ namespace HomeKit { - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native ("HMErrorCode")] public enum HMError : long { @@ -122,8 +120,6 @@ public enum HMError : long { // conveniance enum (ObjC uses NSString) - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] public enum HMCharacteristicType { None, @@ -247,92 +243,74 @@ public enum HMCharacteristicType { [Field ("HMCharacteristicTypeLockManagementAutoSecureTimeout")] LockManagementAutoSecureTimeout, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeAirParticulateDensity")] AirParticulateDensity, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeAirParticulateSize")] AirParticulateSize, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeAirQuality")] AirQuality, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeBatteryLevel")] BatteryLevel, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCarbonDioxideDetected")] CarbonDioxideDetected, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCarbonDioxideLevel")] CarbonDioxideLevel, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCarbonDioxidePeakLevel")] CarbonDioxidePeakLevel, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCarbonMonoxideDetected")] CarbonMonoxideDetected, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCarbonMonoxideLevel")] CarbonMonoxideLevel, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCarbonMonoxidePeakLevel")] CarbonMonoxidePeakLevel, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeChargingState")] ChargingState, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeContactState")] ContactState, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentSecuritySystemState")] CurrentSecuritySystemState, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentHorizontalTilt")] CurrentHorizontalTilt, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentLightLevel")] CurrentLightLevel, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentPosition")] CurrentPosition, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentVerticalTilt")] CurrentVerticalTilt, - [iOS (9, 0)] [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'HMAccessory.FirmwareVersion' instead.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'HMAccessory.FirmwareVersion' instead.")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'HMAccessory.FirmwareVersion' instead.")] @@ -341,339 +319,277 @@ public enum HMCharacteristicType { [Field ("HMCharacteristicTypeFirmwareVersion")] FirmwareVersion, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeHardwareVersion")] HardwareVersion, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeHoldPosition")] HoldPosition, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeInputEvent")] InputEvent, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeLeakDetected")] LeakDetected, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeOccupancyDetected")] OccupancyDetected, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeOutputState")] OutputState, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypePositionState")] PositionState, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSmokeDetected")] SmokeDetected, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSoftwareVersion")] SoftwareVersion, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeStatusActive")] StatusActive, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeStatusFault")] StatusFault, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeStatusJammed")] StatusJammed, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeStatusLowBattery")] StatusLowBattery, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeStatusTampered")] StatusTampered, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeTargetSecuritySystemState")] TargetSecuritySystemState, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeTargetHorizontalTilt")] TargetHorizontalTilt, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeTargetPosition")] TargetPosition, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeTargetVerticalTilt")] TargetVerticalTilt, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeStreamingStatus")] StreamingStatus, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSetupStreamEndpoint")] SetupStreamEndpoint, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSupportedVideoStreamConfiguration")] SupportedVideoStreamConfiguration, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSupportedAudioStreamConfiguration")] SupportedAudioStreamConfiguration, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSupportedRTPConfiguration")] SupportedRtpConfiguration, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSelectedStreamConfiguration")] SelectedStreamConfiguration, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeVolume")] Volume, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeMute")] Mute, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeNightVision")] NightVision, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeOpticalZoom")] OpticalZoom, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeDigitalZoom")] DigitalZoom, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeImageRotation")] ImageRotation, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeImageMirroring")] ImageMirroring, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeActive")] Active, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentAirPurifierState")] CurrentAirPurifierState, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeTargetAirPurifierState")] TargetAirPurifierState, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentFanState")] CurrentFanState, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentHeaterCoolerState")] CurrentHeaterCoolerState, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentHumidifierDehumidifierState")] CurrentHumidifierDehumidifierState, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentSlatState")] CurrentSlatState, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeWaterLevel")] WaterLevel, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeFilterChangeIndication")] FilterChangeIndication, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeFilterLifeLevel")] FilterLifeLevel, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeFilterResetChangeIndication")] FilterResetChangeIndication, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeLockPhysicalControls")] LockPhysicalControls, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSwingMode")] SwingMode, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeTargetHeaterCoolerState")] TargetHeaterCoolerState, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeTargetHumidifierDehumidifierState")] TargetHumidifierDehumidifierState, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeTargetFanState")] TargetFanState, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSlatType")] SlatType, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeCurrentTilt")] CurrentTilt, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeTargetTilt")] TargetTilt, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeOzoneDensity")] OzoneDensity, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeNitrogenDioxideDensity")] NitrogenDioxideDensity, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSulphurDioxideDensity")] SulphurDioxideDensity, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypePM2_5Density")] PM2_5Density, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypePM10Density")] PM10Density, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeVolatileOrganicCompoundDensity")] VolatileOrganicCompoundDensity, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeDehumidifierThreshold")] DehumidifierThreshold, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeHumidifierThreshold")] HumidifierThreshold, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeSecuritySystemAlarmType")] SecuritySystemAlarmType, - [iOS (10, 3), Watch (3, 2), TV (10, 2)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeLabelNamespace")] LabelNamespace, - [iOS (10, 3), Watch (3, 2), TV (10, 2)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeLabelIndex")] LabelIndex, - [iOS (11, 0), Watch (4, 0), TV (11, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicTypeColorTemperature")] ColorTemperature, @@ -710,8 +626,6 @@ public enum HMCharacteristicType { } // conveniance enum (ObjC uses NSString) - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] public enum HMCharacteristicMetadataUnits { None, @@ -719,24 +633,17 @@ public enum HMCharacteristicMetadataUnits { Fahrenheit, Percentage, ArcDegree, - [iOS (8, 3)] [MacCatalyst (13, 1)] Seconds, - [iOS (9, 3)] - [Watch (2, 2)] [MacCatalyst (13, 1)] Lux, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] PartsPerMillion, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] MicrogramsPerCubicMeter, } // conveniance enum (ObjC uses NSString) - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Flags] public enum HMServiceType { @@ -769,158 +676,128 @@ public enum HMServiceType { [Field ("HMServiceTypeLockManagement")] LockManagement, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeAirQualitySensor")] AirQualitySensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeBattery")] Battery, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeCarbonDioxideSensor")] CarbonDioxideSensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeCarbonMonoxideSensor")] CarbonMonoxideSensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeContactSensor")] ContactSensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeDoor")] Door, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeHumiditySensor")] HumiditySensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeLeakSensor")] LeakSensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeLightSensor")] LightSensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeMotionSensor")] MotionSensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeOccupancySensor")] OccupancySensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeSecuritySystem")] SecuritySystem, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeStatefulProgrammableSwitch")] StatefulProgrammableSwitch, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeStatelessProgrammableSwitch")] StatelessProgrammableSwitch, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeSmokeSensor")] SmokeSensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeTemperatureSensor")] TemperatureSensor, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeWindow")] Window, - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeWindowCovering")] WindowCovering, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeCameraRTPStreamManagement")] CameraRtpStreamManagement, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeCameraControl")] CameraControl, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeMicrophone")] Microphone, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeSpeaker")] Speaker, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeDoorbell")] Doorbell, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeAirPurifier")] AirPurifier, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeVentilationFan")] VentilationFan, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeFilterMaintenance")] FilterMaintenance, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeHeaterCooler")] HeaterCooler, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeHumidifierDehumidifier")] HumidifierDehumidifier, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeSlats")] Slats, - [iOS (10, 3), Watch (3, 2), TV (10, 2)] [MacCatalyst (14, 0)] [Field ("HMServiceTypeLabel")] Label, @@ -942,8 +819,6 @@ public enum HMServiceType { } // conveniance enum (ObjC uses NSString) - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] public enum HMCharacteristicMetadataFormat { None, @@ -961,8 +836,6 @@ public enum HMCharacteristicMetadataFormat { Tlv8 } - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueDoorState : long { @@ -973,8 +846,6 @@ public enum HMCharacteristicValueDoorState : long { Stopped } - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueHeatingCooling : long { @@ -984,8 +855,6 @@ public enum HMCharacteristicValueHeatingCooling : long { Auto } - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueRotationDirection : long { @@ -993,8 +862,6 @@ public enum HMCharacteristicValueRotationDirection : long { CounterClockwise } - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueTemperatureUnit : long { @@ -1002,8 +869,6 @@ public enum HMCharacteristicValueTemperatureUnit : long { Fahrenheit } - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueLockMechanismState : long { @@ -1013,8 +878,6 @@ public enum HMCharacteristicValueLockMechanismState : long { Unknown } - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native ("HMCharacteristicValueLockMechanismLastKnownAction")] // in iOS 8.3 this was renamed HMCharacteristicValueLockMechanismLastKnownAction but that would be a breaking change for us @@ -1032,8 +895,6 @@ public enum HMCharacteristicValueLockMechanism : long { LastKnownActionUnsecuredUsingPhysicalMovement, } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native ("HMCharacteristicValueAirParticulateSize")] public enum HMCharacteristicValueAirParticulate : long { @@ -1041,8 +902,6 @@ public enum HMCharacteristicValueAirParticulate : long { Size10 } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueCurrentSecuritySystemState : long { @@ -1053,8 +912,6 @@ public enum HMCharacteristicValueCurrentSecuritySystemState : long { Triggered } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValuePositionState : long { @@ -1063,8 +920,6 @@ public enum HMCharacteristicValuePositionState : long { Stopped } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueTargetSecuritySystemState : long { @@ -1074,87 +929,87 @@ public enum HMCharacteristicValueTargetSecuritySystemState : long { Disarm } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueBatteryStatus : long { Normal = 0, Low } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueJammedStatus : long { None = 0, Jammed } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueTamperedStatus : long { None = 0, Tampered } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueLeakStatus : long { None = 0, Detected } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueSmokeDetectionStatus : long { None = 0, Detected } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueChargingState : long { None = 0, InProgress, - [iOS (10, 2), Watch (3, 1, 1), TV (10, 1)] + [Watch (3, 1, 1)] [MacCatalyst (14, 0)] NotChargeable, } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueContactState : long { Detected = 0, None, } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueStatusFault : long { NoFault = 0, GeneralFault } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueCarbonMonoxideDetectionStatus : long { NotDetected = 0, Detected } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueCarbonDioxideDetectionStatus : long { NotDetected = 0, Detected } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueOccupancyStatus : long { NotOccupied = 0, Occupied } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueSecuritySystemAlarmType : long { NoAlarm = 0, @@ -1162,8 +1017,6 @@ public enum HMCharacteristicValueSecuritySystemAlarmType : long { } // conveniance enum (ObjC uses NSString) - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] public enum HMActionSetType { Unknown = -1, @@ -1172,13 +1025,10 @@ public enum HMActionSetType { HomeDeparture, HomeArrival, UserDefined, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] TriggerOwned, } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] // conveniance enum (ObjC uses NSString) public enum HMAccessoryCategoryType { @@ -1234,47 +1084,39 @@ public enum HMAccessoryCategoryType { [Field ("HMAccessoryCategoryTypeWindowCovering")] WindowCovering, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMAccessoryCategoryTypeRangeExtender")] RangeExtender, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMAccessoryCategoryTypeIPCamera")] IPCamera, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (14, 0)] [Field ("HMAccessoryCategoryTypeVideoDoorbell")] VideoDoorbell, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMAccessoryCategoryTypeAirPurifier")] AirPurifier, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMAccessoryCategoryTypeAirHeater")] AirHeater, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMAccessoryCategoryTypeAirConditioner")] AirConditioner, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMAccessoryCategoryTypeAirHumidifier")] AirHumidifier, [Watch (3, 1, 1)] - [iOS (10, 2), TV (10, 1)] [MacCatalyst (14, 0)] [Field ("HMAccessoryCategoryTypeAirDehumidifier")] AirDehumidifier, @@ -1295,8 +1137,6 @@ public enum HMAccessoryCategoryType { ShowerHead, } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] public enum HMSignificantEvent { @@ -1316,8 +1156,6 @@ public enum HMHomeManagerAuthorizationStatus : ulong { Authorized = 1 << 2, } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueAirQuality : long { @@ -1329,8 +1167,6 @@ public enum HMCharacteristicValueAirQuality : long { Poor } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCameraStreamState : ulong { @@ -1340,8 +1176,6 @@ public enum HMCameraStreamState : ulong { NotStreaming = 4 } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [Native] public enum HMCameraAudioStreamSetting : ulong { @@ -1351,7 +1185,7 @@ public enum HMCameraAudioStreamSetting : ulong { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueLockPhysicalControlsState : long { NotLocked = 0, @@ -1359,7 +1193,7 @@ public enum HMCharacteristicValueLockPhysicalControlsState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueCurrentAirPurifierState : long { Inactive = 0, @@ -1368,7 +1202,7 @@ public enum HMCharacteristicValueCurrentAirPurifierState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueTargetAirPurifierState : long { Manual = 0, @@ -1376,7 +1210,7 @@ public enum HMCharacteristicValueTargetAirPurifierState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueCurrentSlatState : long { Stationary = 0, @@ -1385,7 +1219,7 @@ public enum HMCharacteristicValueCurrentSlatState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueSlatType : long { Horizontal = 0, @@ -1393,7 +1227,7 @@ public enum HMCharacteristicValueSlatType : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueFilterChange : long { NotNeeded = 0, @@ -1401,7 +1235,7 @@ public enum HMCharacteristicValueFilterChange : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueCurrentFanState : long { Inactive = 0, @@ -1410,7 +1244,7 @@ public enum HMCharacteristicValueCurrentFanState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueTargetFanState : long { Manual = 0, @@ -1418,7 +1252,7 @@ public enum HMCharacteristicValueTargetFanState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueCurrentHeaterCoolerState : long { Inactive = 0, @@ -1428,7 +1262,7 @@ public enum HMCharacteristicValueCurrentHeaterCoolerState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueTargetHeaterCoolerState : long { Automatic = 0, @@ -1437,7 +1271,7 @@ public enum HMCharacteristicValueTargetHeaterCoolerState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueCurrentHumidifierDehumidifierState : long { Inactive = 0, @@ -1447,7 +1281,7 @@ public enum HMCharacteristicValueCurrentHumidifierDehumidifierState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueTargetHumidifierDehumidifierState : long { Automatic = 0, @@ -1456,7 +1290,7 @@ public enum HMCharacteristicValueTargetHumidifierDehumidifierState : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueSwingMode : long { Disabled = 0, @@ -1464,7 +1298,6 @@ public enum HMCharacteristicValueSwingMode : long { } [Watch (3, 1, 1)] - [TV (10, 1), iOS (10, 2)] [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueActivationState : long { @@ -1472,7 +1305,7 @@ public enum HMCharacteristicValueActivationState : long { Active, } - [Watch (3, 2), TV (10, 2), iOS (10, 3), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueInputEvent : long { SinglePress = 0, @@ -1480,14 +1313,14 @@ public enum HMCharacteristicValueInputEvent : long { LongPress, } - [Watch (3, 2), TV (10, 2), iOS (10, 3), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMCharacteristicValueLabelNamespace : long { Dot = 0, Numeral, } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMEventTriggerActivationState : ulong { Disabled = 0, @@ -1497,7 +1330,7 @@ public enum HMEventTriggerActivationState : ulong { Enabled = 4, } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMHomeHubState : ulong { NotAvailable = 0, @@ -1505,7 +1338,7 @@ public enum HMHomeHubState : ulong { Disconnected, } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMPresenceEventType : ulong { EveryEntry = 1, @@ -1516,7 +1349,7 @@ public enum HMPresenceEventType : ulong { NotAtHome = LastExit, } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Native] public enum HMPresenceEventUserType : ulong { CurrentUser = 1, @@ -1556,7 +1389,7 @@ public enum HMCharacteristicValueConfigurationState : long { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [TV (10, 0), NoMac, iOS (8, 0)] + [NoMac] [Native] public enum HMCharacteristicValueTargetDoorState : long { Open = 0, @@ -1564,7 +1397,7 @@ public enum HMCharacteristicValueTargetDoorState : long { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [TV (10, 0), NoMac, iOS (8, 0)] + [NoMac] [Native] public enum HMCharacteristicValueCurrentHeatingCooling : long { Off = 0, @@ -1573,7 +1406,7 @@ public enum HMCharacteristicValueCurrentHeatingCooling : long { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [TV (10, 0), NoMac, iOS (8, 0)] + [NoMac] [Native] public enum HMCharacteristicValueTargetLockMechanismState : long { Unsecured = 0, diff --git a/src/HomeKit/HMEventTrigger.cs b/src/HomeKit/HMEventTrigger.cs index 8ae8a1ab0f49..548871789475 100644 --- a/src/HomeKit/HMEventTrigger.cs +++ b/src/HomeKit/HMEventTrigger.cs @@ -9,8 +9,8 @@ namespace HomeKit { partial class HMEventTrigger { #if NET - [SupportedOSPlatform ("tvos10.0")] - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst14.0")] [ObsoletedOSPlatform ("tvos11.0", "Use 'CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent (HMSignificantTimeEvent)' instead.")] [ObsoletedOSPlatform ("ios11.0", "Use 'CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent (HMSignificantTimeEvent)' instead.")] @@ -28,8 +28,8 @@ static public NSPredicate CreatePredicateForEvaluatingTriggerOccurringBeforeSign } #if NET - [SupportedOSPlatform ("tvos10.0")] - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst14.0")] [ObsoletedOSPlatform ("tvos11.0", "Use 'CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent (HMSignificantTimeEvent)' instead.")] [ObsoletedOSPlatform ("ios11.0", "Use 'CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent (HMSignificantTimeEvent)' instead.")] diff --git a/src/IOSurface/IOSurface.cs b/src/IOSurface/IOSurface.cs index 3f8e14d5cea7..c98e2a92b9ad 100644 --- a/src/IOSurface/IOSurface.cs +++ b/src/IOSurface/IOSurface.cs @@ -34,7 +34,7 @@ namespace IOSurface { public partial class IOSurface { // kern_return_t - // See bug #59201 [iOS (10,0)] + // See bug #59201 public int Lock (IOSurfaceLockOptions options, ref int seed) { unsafe { @@ -45,14 +45,14 @@ public int Lock (IOSurfaceLockOptions options, ref int seed) } // kern_return_t - // See bug #59201 [iOS (10,0)] + // See bug #59201 public int Lock (IOSurfaceLockOptions options) { return _Lock (options, IntPtr.Zero); } // kern_return_t - // See bug #59201 [iOS (10,0)] + // See bug #59201 public int Unlock (IOSurfaceLockOptions options, ref int seed) { unsafe { @@ -63,7 +63,7 @@ public int Unlock (IOSurfaceLockOptions options, ref int seed) } // kern_return_t - // See bug #59201 [iOS (10,0)] + // See bug #59201 public int Unlock (IOSurfaceLockOptions options) { return _Unlock (options, IntPtr.Zero); diff --git a/src/ImageIO/CGImageAnimation.cs b/src/ImageIO/CGImageAnimation.cs index a8d5db258024..165f607b09cf 100644 --- a/src/ImageIO/CGImageAnimation.cs +++ b/src/ImageIO/CGImageAnimation.cs @@ -29,12 +29,11 @@ public static class CGImageAnimation { public delegate void CGImageSourceAnimationHandler (nint index, CGImage image, out bool stop); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Introduced (PlatformName.MacOSX, 10, 15, PlatformArchitecture.All)] [Introduced (PlatformName.iOS, 13, 0, PlatformArchitecture.All)] [Introduced (PlatformName.TvOS, 13, 0, PlatformArchitecture.All)] [Introduced (PlatformName.WatchOS, 6, 0, PlatformArchitecture.All)] @@ -43,12 +42,11 @@ public static class CGImageAnimation { static extern /* OSStatus */ CGImageAnimationStatus CGAnimateImageAtURLWithBlock ( /* CFURLRef */ IntPtr url, /* CFDictionaryRef _iio_Nullable */ IntPtr options, /* CGImageSourceAnimationHandler */ ref BlockLiteral block); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Introduced (PlatformName.MacOSX, 10, 15, PlatformArchitecture.All)] [Introduced (PlatformName.iOS, 13, 0, PlatformArchitecture.All)] [Introduced (PlatformName.TvOS, 13, 0, PlatformArchitecture.All)] [Introduced (PlatformName.WatchOS, 6, 0, PlatformArchitecture.All)] @@ -57,12 +55,11 @@ public static class CGImageAnimation { static extern /* OSStatus */ CGImageAnimationStatus CGAnimateImageDataWithBlock ( /* CFDataRef _Nonnull */ IntPtr data, /* CFDictionaryRef _Nullable */ IntPtr options, /* CGImageSourceAnimationHandler _Nonnull */ ref BlockLiteral block); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Introduced (PlatformName.MacOSX, 10, 15, PlatformArchitecture.All)] [Introduced (PlatformName.iOS, 13, 0, PlatformArchitecture.All)] [Introduced (PlatformName.TvOS, 13, 0, PlatformArchitecture.All)] [Introduced (PlatformName.WatchOS, 6, 0, PlatformArchitecture.All)] @@ -90,12 +87,11 @@ public static CGImageAnimationStatus AnimateImage (NSUrl url, CGImageAnimationOp } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Introduced (PlatformName.MacOSX, 10, 15, PlatformArchitecture.All)] [Introduced (PlatformName.iOS, 13, 0, PlatformArchitecture.All)] [Introduced (PlatformName.TvOS, 13, 0, PlatformArchitecture.All)] [Introduced (PlatformName.WatchOS, 6, 0, PlatformArchitecture.All)] diff --git a/src/ImageIO/CGImageDestination.cs b/src/ImageIO/CGImageDestination.cs index 31945f44c6f9..b7d05a56a192 100644 --- a/src/ImageIO/CGImageDestination.cs +++ b/src/ImageIO/CGImageDestination.cs @@ -84,12 +84,9 @@ public partial class CGCopyImageSourceOptions { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif public bool ShouldExcludeGPS { get; set; } @@ -392,29 +389,19 @@ public bool CopyImageSource (CGImageSource image, CGCopyImageSourceOptions? opti } #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif [DllImport (Constants.ImageIOLibrary)] static extern void CGImageDestinationAddAuxiliaryDataInfo (IntPtr /* CGImageDestinationRef* */ idst, IntPtr /* CFStringRef* */ auxiliaryImageDataType, IntPtr /* CFDictionaryRef* */ auxiliaryDataInfoDictionary); #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif public void AddAuxiliaryDataInfo (CGImageAuxiliaryDataType auxiliaryImageDataType, CGImageAuxiliaryDataInfo? auxiliaryDataInfo) { diff --git a/src/ImageIO/CGImageSource.cs b/src/ImageIO/CGImageSource.cs index 9e3e0f52fc19..33654f21a123 100644 --- a/src/ImageIO/CGImageSource.cs +++ b/src/ImageIO/CGImageSource.cs @@ -70,8 +70,6 @@ public CGImageOptions () [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public bool ShouldCacheImmediately { get; set; } @@ -102,13 +100,10 @@ public partial class CGImageThumbnailOptions : CGImageOptions { public bool CreateThumbnailWithTransform { get; set; } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public int? SubsampleFactor { get; set; } @@ -368,29 +363,19 @@ public CGImageSourceStatus GetStatus (int index) } #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif [DllImport (Constants.ImageIOLibrary)] static extern IntPtr /* CFDictionaryRef* */ CGImageSourceCopyAuxiliaryDataInfoAtIndex (IntPtr /* CGImageSourceRef* */ isrc, nuint index, IntPtr /* CFStringRef* */ auxiliaryImageDataType); #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif public CGImageAuxiliaryDataInfo? CopyAuxiliaryDataInfo (nuint index, CGImageAuxiliaryDataType auxiliaryImageDataType) { @@ -408,7 +393,6 @@ public CGImageSourceStatus GetStatus (int index) [SupportedOSPlatform ("tvos12.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14)] [iOS (12, 0)] [TV (12, 0)] [Watch (5, 0)] @@ -422,7 +406,6 @@ public CGImageSourceStatus GetStatus (int index) [SupportedOSPlatform ("tvos12.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14)] [iOS (12, 0)] [TV (12, 0)] [Watch (5, 0)] diff --git a/src/ImageIO/Enums.cs b/src/ImageIO/Enums.cs index e6bf22c95145..713c9f2e96b6 100644 --- a/src/ImageIO/Enums.cs +++ b/src/ImageIO/Enums.cs @@ -49,8 +49,6 @@ public enum CGImagePropertyOrientation { // untyped enum / #defines // used with kCGImagePropertyPNGCompressionFilter - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Flags] public enum CGImagePropertyPngFilters { @@ -62,7 +60,7 @@ public enum CGImagePropertyPngFilters { Paeth = 0x80 } - [Mac (10, 15), iOS (13, 0), TV (13, 0), Watch (6, 0)] + [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum CGImageAnimationStatus { Ok = 0, diff --git a/src/Intents/INIntentResolutionResult.cs b/src/Intents/INIntentResolutionResult.cs index 052f15477d68..899b1c10ae7c 100644 --- a/src/Intents/INIntentResolutionResult.cs +++ b/src/Intents/INIntentResolutionResult.cs @@ -18,14 +18,11 @@ namespace Intents { #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos14.0")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (10, 0)] - [Mac (10, 12, 0, PlatformArchitecture.Arch64)] - [Watch (3, 2)] [TV (14, 0)] #endif [Register ("INIntentResolutionResult", SkipRegistration = true)] diff --git a/src/Intents/INSetClimateSettingsInCarIntent.cs b/src/Intents/INSetClimateSettingsInCarIntent.cs index 2c6f365dc41d..dc2f218e2f01 100644 --- a/src/Intents/INSetClimateSettingsInCarIntent.cs +++ b/src/Intents/INSetClimateSettingsInCarIntent.cs @@ -9,7 +9,7 @@ namespace Intents { public partial class INSetClimateSettingsInCarIntent { #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("ios12.0", "Use the overload that takes 'INSpeakableString carName'.")] [UnsupportedOSPlatform ("macos")] diff --git a/src/Intents/INSetDefrosterSettingsInCarIntent.cs b/src/Intents/INSetDefrosterSettingsInCarIntent.cs index 2bf6dee4034b..c7fc8ed61c9c 100644 --- a/src/Intents/INSetDefrosterSettingsInCarIntent.cs +++ b/src/Intents/INSetDefrosterSettingsInCarIntent.cs @@ -9,7 +9,7 @@ namespace Intents { public partial class INSetDefrosterSettingsInCarIntent { #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("ios12.0", "Use the overload that takes 'INSpeakableString carName'.")] [UnsupportedOSPlatform ("macos")] diff --git a/src/Intents/INSetProfileInCarIntent.cs b/src/Intents/INSetProfileInCarIntent.cs index 0f0961a577e5..a1628101ef40 100644 --- a/src/Intents/INSetProfileInCarIntent.cs +++ b/src/Intents/INSetProfileInCarIntent.cs @@ -10,7 +10,7 @@ namespace Intents { public partial class INSetProfileInCarIntent { #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("ios12.0", "Use the overload that takes 'INSpeakableString carName'.")] [UnsupportedOSPlatform ("macos")] @@ -24,7 +24,7 @@ public INSetProfileInCarIntent (NSNumber profileNumber, string profileLabel, boo } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("ios12.0", "Use the overload that takes 'INSpeakableString carName'.")] [UnsupportedOSPlatform ("macos")] diff --git a/src/Intents/INSetSeatSettingsInCarIntent.cs b/src/Intents/INSetSeatSettingsInCarIntent.cs index 3fd145b1d148..dacf738389c1 100644 --- a/src/Intents/INSetSeatSettingsInCarIntent.cs +++ b/src/Intents/INSetSeatSettingsInCarIntent.cs @@ -9,7 +9,7 @@ namespace Intents { public partial class INSetSeatSettingsInCarIntent { #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("ios12.0", "Use the overload that takes 'INSpeakableString carName'.")] [UnsupportedOSPlatform ("macos")] diff --git a/src/JavaScriptCore/Enums.cs b/src/JavaScriptCore/Enums.cs index b5677529393b..1c89b613eafb 100644 --- a/src/JavaScriptCore/Enums.cs +++ b/src/JavaScriptCore/Enums.cs @@ -20,7 +20,6 @@ public enum JSType { String, Object, [iOS (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] Symbol, } diff --git a/src/LocalAuthentication/LAEnums.cs b/src/LocalAuthentication/LAEnums.cs index 841c3cc39005..8804bba5cc6c 100644 --- a/src/LocalAuthentication/LAEnums.cs +++ b/src/LocalAuthentication/LAEnums.cs @@ -4,29 +4,24 @@ namespace LocalAuthentication { - [iOS (8, 0)] - [Mac (10, 10)] [NoTV] [MacCatalyst (13, 1)] [Native] public enum LAPolicy : long { - [Mac (10, 12, 2), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] DeviceOwnerAuthenticationWithBiometrics = 1, DeviceOwnerAuthentication = 2, [NoiOS] - [Mac (10, 15)] [NoWatch] [NoMacCatalyst] DeviceOwnerAuthenticationWithWatch = 3, [NoiOS] - [Mac (10, 15)] [NoWatch] [NoMacCatalyst] DeviceOwnerAuthenticationWithBiometricsOrWatch = 4, [Obsolete ("Use DeviceOwnerAuthenticationWithBiometricsOrWatch enum value instead.")] [NoiOS] - [Mac (10, 15)] [NoWatch] [NoMacCatalyst] OwnerAuthenticationWithBiometricsOrWatch = DeviceOwnerAuthenticationWithBiometricsOrWatch, @@ -34,8 +29,6 @@ public enum LAPolicy : long { DeviceOwnerAuthenticationWithWristDetection = 5, } - [iOS (8, 0)] - [Mac (10, 10)] [NoTV] [MacCatalyst (13, 1)] [Native ("LAError")] @@ -90,18 +83,16 @@ public enum LAStatus : long { NotInteractive = -1004, } - [iOS (9, 0), Mac (10, 11), Watch (3, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [Native] public enum LACredentialType : long { ApplicationPassword = 0, - [iOS (13, 4), Mac (10, 15, 4), NoWatch, NoTV] + [iOS (13, 4), NoWatch, NoTV] [MacCatalyst (13, 1)] SmartCardPin = -3, } - [iOS (9, 0)] - [Mac (10, 11)] [NoTV] [MacCatalyst (13, 1)] [Native] @@ -110,12 +101,8 @@ public enum LAAccessControlOperation : long { UseItem, CreateKey, UseKeySign, - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] UseKeyDecrypt, - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] UseKeyKeyExchange, } diff --git a/src/MapKit/MKEnums.cs b/src/MapKit/MKEnums.cs index 5434aa6d26cf..db744080a1d6 100644 --- a/src/MapKit/MKEnums.cs +++ b/src/MapKit/MKEnums.cs @@ -22,7 +22,6 @@ namespace MapKit { // NSUInteger -> MKDirectionsTypes.h [NoWatch] [Native] - [TV (9, 2)] [MacCatalyst (13, 1)] public enum MKDirectionsTransportType : ulong { Automobile = 1 << 0, @@ -32,7 +31,6 @@ public enum MKDirectionsTransportType : ulong { } // NSUInteger -> MKTypes.h - [TV (9, 2)] [NoWatch] [MacCatalyst (13, 1)] [Native] @@ -42,16 +40,12 @@ public enum MKMapType : ulong { Hybrid, SatelliteFlyover, HybridFlyover, - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] MutedStandard, } // NSUInteger -> MKDistanceFormatter.h [Native] - [TV (9, 2)] [MacCatalyst (13, 1)] public enum MKDistanceFormatterUnits : ulong { Default, @@ -62,7 +56,6 @@ public enum MKDistanceFormatterUnits : ulong { // NSUInteger -> MKDistanceFormatter.h [Native] - [TV (9, 2)] [MacCatalyst (13, 1)] public enum MKDistanceFormatterUnitStyle : ulong { Default = 0, @@ -71,7 +64,6 @@ public enum MKDistanceFormatterUnitStyle : ulong { } // NSInteger -> MKMapView.h - [TV (9, 2)] [NoWatch] [MacCatalyst (13, 1)] [Native] @@ -81,7 +73,6 @@ public enum MKOverlayLevel : long { } // NSUInteger -> MKTypes.h - [TV (9, 2)] [NoWatch] [MacCatalyst (13, 1)] [Native] @@ -116,7 +107,6 @@ public enum MKPinAnnotationColor : ulong { } // NSUInteger -> MKTypes.h - [TV (9, 2)] [NoWatch] [MacCatalyst (13, 1)] [Native] @@ -131,9 +121,7 @@ public enum MKUserTrackingMode : ulong { #endif } - [TV (9, 2)] [NoWatch] - [iOS (9, 3)] [Native] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'MKLocalSearchCompleterResultType' instead.")] [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'MKLocalSearchCompleterResultType' instead.")] @@ -145,10 +133,7 @@ public enum MKSearchCompletionFilterType : long { Only } - [TV (11, 0)] [NoWatch] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] public enum MKAnnotationViewCollisionMode : long { @@ -161,9 +146,7 @@ public enum MKAnnotationViewCollisionMode : long { None, } - [TV (11, 0)] [NoWatch] - [iOS (11, 0)] [NoMac] [MacCatalyst (13, 1)] [Native] @@ -172,10 +155,7 @@ public enum MKScaleViewAlignment : long { Trailing, } - [TV (11, 0)] [NoWatch] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] public enum MKFeatureVisibility : long { @@ -185,7 +165,7 @@ public enum MKFeatureVisibility : long { } [Flags] - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum MKLocalSearchCompleterResultType : ulong { @@ -195,7 +175,7 @@ public enum MKLocalSearchCompleterResultType : ulong { } [Flags] - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum MKLocalSearchResultType : ulong { @@ -250,7 +230,7 @@ public enum MKStandardMapEmphasisStyle : long { } #if !WATCH - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] public enum MKPointOfInterestCategory { diff --git a/src/MapKit/MKFeatureDisplayPriority.cs b/src/MapKit/MKFeatureDisplayPriority.cs index 47202e7c4f24..f32382e3447b 100644 --- a/src/MapKit/MKFeatureDisplayPriority.cs +++ b/src/MapKit/MKFeatureDisplayPriority.cs @@ -8,15 +8,12 @@ namespace MapKit { #if !WATCH || (WATCH && !NET) #if NET - [SupportedOSPlatform ("tvos11.0")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else - [TV (11, 0)] [NoWatch] - [iOS (11, 0)] - [Mac (10, 13)] #endif #if WATCH && !NET [Obsolete ("This API is not available on this platform.")] diff --git a/src/MapKit/MKMapItem.cs b/src/MapKit/MKMapItem.cs index 0f6e4b38406e..44e689f3c5cf 100644 --- a/src/MapKit/MKMapItem.cs +++ b/src/MapKit/MKMapItem.cs @@ -21,15 +21,12 @@ namespace MapKit { public enum MKDirectionsMode { Driving, Walking, Transit, #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] #else - [iOS (10, 0)] [NoTV] - [Watch (3, 0)] - [Mac (10, 12)] #endif Default } diff --git a/src/MapKit/MKOverlayRenderer.cs b/src/MapKit/MKOverlayRenderer.cs index f7e9eb868467..a0ba8477154a 100644 --- a/src/MapKit/MKOverlayRenderer.cs +++ b/src/MapKit/MKOverlayRenderer.cs @@ -12,7 +12,7 @@ namespace MapKit { public partial class MKOverlayRenderer { #if NET - [SupportedOSPlatform ("tvos9.2")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] diff --git a/src/MapKit/MKOverlayView.cs b/src/MapKit/MKOverlayView.cs index 5fae8f3fb9ff..20683150ba20 100644 --- a/src/MapKit/MKOverlayView.cs +++ b/src/MapKit/MKOverlayView.cs @@ -17,7 +17,7 @@ namespace MapKit { public partial class MKOverlayView { #if NET - [SupportedOSPlatform ("tvos9.2")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] @@ -27,8 +27,6 @@ public partial class MKOverlayView { [ObsoletedOSPlatform ("maccatalyst", "Use 'MKOverlayRenderer.MKRoadWidthAtZoomScale' instead.")] #else [Obsolete ("Use 'MKOverlayRenderer.MKRoadWidthAtZoomScale' instead.")] - [TV (9, 2)] - [Mac (10, 9)] #endif [DllImport (Constants.MapKitLibrary)] public static extern nfloat MKRoadWidthAtZoomScale (/* MKZoomScale */ nfloat zoomScale); diff --git a/src/MapKit/MapKit.cs b/src/MapKit/MapKit.cs index 8315da6662ce..9d48dcae7790 100644 --- a/src/MapKit/MapKit.cs +++ b/src/MapKit/MapKit.cs @@ -68,8 +68,6 @@ public override string ToString () [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [StructLayout (LayoutKind.Sequential)] public struct MKCoordinateRegion { @@ -102,8 +100,6 @@ public override string ToString () [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [StructLayout (LayoutKind.Sequential)] public struct MKMapPoint { @@ -174,12 +170,10 @@ public MKMapSize (double width, double height) } #if NET - [SupportedOSPlatform ("tvos9.2")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [TV (9, 2)] #endif public static MKMapSize World { get { return new MKMapSize (0x10000000, 0x10000000); } } @@ -222,18 +216,14 @@ public override string ToString () [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [StructLayout (LayoutKind.Sequential)] public struct MKMapRect { #if NET - [SupportedOSPlatform ("tvos9.2")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [TV (9, 2)] #endif public static readonly MKMapRect Null = new MKMapRect (double.PositiveInfinity, double.PositiveInfinity, 0, 0); @@ -326,12 +316,10 @@ public bool IsEmpty { } #if NET - [SupportedOSPlatform ("tvos9.2")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [TV (9, 2)] #endif public MKMapRect World { get { @@ -448,8 +436,6 @@ public MKMapRect Remainder () [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public static class MKGeometry { diff --git a/src/MediaAccessibility/MAEnums.cs b/src/MediaAccessibility/MAEnums.cs index 8cb83a1cb3ce..aec3841807f4 100644 --- a/src/MediaAccessibility/MAEnums.cs +++ b/src/MediaAccessibility/MAEnums.cs @@ -18,7 +18,6 @@ namespace MediaAccessibility { [Native] - [Mac (10, 9)] [MacCatalyst (13, 1)] public enum MACaptionAppearanceDomain : long { Default = 0, @@ -26,7 +25,6 @@ public enum MACaptionAppearanceDomain : long { } [Native] - [Mac (10, 9)] [MacCatalyst (13, 1)] public enum MACaptionAppearanceDisplayType : long { ForcedOnly = 0, @@ -35,7 +33,6 @@ public enum MACaptionAppearanceDisplayType : long { } [Native] - [Mac (10, 9)] [MacCatalyst (13, 1)] public enum MACaptionAppearanceBehavior : long { UseValue = 0, @@ -43,7 +40,6 @@ public enum MACaptionAppearanceBehavior : long { } [Native] - [Mac (10, 9)] [MacCatalyst (13, 1)] public enum MACaptionAppearanceFontStyle : long { Default = 0, @@ -57,7 +53,6 @@ public enum MACaptionAppearanceFontStyle : long { } [Native] - [Mac (10, 9)] [MacCatalyst (13, 1)] public enum MACaptionAppearanceTextEdgeStyle : long { Undefined = 0, diff --git a/src/MediaAccessibility/MAImageCaptioning.cs b/src/MediaAccessibility/MAImageCaptioning.cs index 9d502e099f2a..d14b11f0b059 100644 --- a/src/MediaAccessibility/MAImageCaptioning.cs +++ b/src/MediaAccessibility/MAImageCaptioning.cs @@ -13,12 +13,11 @@ namespace MediaAccessibility { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public static partial class MAImageCaptioning { diff --git a/src/MediaAccessibility/MediaAccessibility.cs b/src/MediaAccessibility/MediaAccessibility.cs index 7c263be6306c..ba345478f1ff 100644 --- a/src/MediaAccessibility/MediaAccessibility.cs +++ b/src/MediaAccessibility/MediaAccessibility.cs @@ -24,8 +24,6 @@ namespace MediaAccessibility { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public static partial class MACaptionAppearance { @@ -229,12 +227,11 @@ public static MACaptionAppearanceTextEdgeStyle GetTextEdgeStyle (MACaptionAppear #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.MediaAccessibilityLibrary)] @@ -242,12 +239,11 @@ public static MACaptionAppearanceTextEdgeStyle GetTextEdgeStyle (MACaptionAppear #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public static void DidDisplayCaptions (string [] strings) @@ -262,12 +258,11 @@ public static void DidDisplayCaptions (string [] strings) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public static void DidDisplayCaptions (NSAttributedString [] strings) @@ -291,13 +286,10 @@ public static void DidDisplayCaptions (NSAttributedString [] strings) #endif static partial class MAAudibleMedia { #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif [DllImport (Constants.MediaAccessibilityLibrary)] static extern unsafe IntPtr /* CFArrayRef __nonnull */ MAAudibleMediaCopyPreferredCharacteristics (); diff --git a/src/MediaPlayer/MPMediaItem.cs b/src/MediaPlayer/MPMediaItem.cs index be8af44003a2..0e9dbee15e3f 100644 --- a/src/MediaPlayer/MPMediaItem.cs +++ b/src/MediaPlayer/MPMediaItem.cs @@ -266,12 +266,10 @@ public bool IsCloudItem { } #if NET - [SupportedOSPlatform ("ios9.2")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 2)] #endif public bool HasProtectedAsset { get { @@ -280,12 +278,10 @@ public bool HasProtectedAsset { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif public bool IsExplicitItem { get { @@ -294,12 +290,10 @@ public bool IsExplicitItem { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif public NSDate? DateAdded { get { @@ -308,12 +302,10 @@ public NSDate? DateAdded { } #if NET - [SupportedOSPlatform ("ios10.3")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 3)] #endif public NSString? PlaybackStoreID { get { diff --git a/src/MediaPlayer/MPNowPlayingInfoCenter.cs b/src/MediaPlayer/MPNowPlayingInfoCenter.cs index 834913872d97..3337508b1729 100644 --- a/src/MediaPlayer/MPNowPlayingInfoCenter.cs +++ b/src/MediaPlayer/MPNowPlayingInfoCenter.cs @@ -21,8 +21,6 @@ namespace MediaPlayer { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 12, 2)] #endif public class MPNowPlayingInfo { public MPNowPlayingInfo () @@ -42,94 +40,74 @@ public MPNowPlayingInfo () public ulong? PersistentID; public double? PlaybackDuration; #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public double? DefaultPlaybackRate; #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public MPNowPlayingInfoLanguageOptionGroup []? AvailableLanguageOptions { get; set; } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public MPNowPlayingInfoLanguageOption []? CurrentLanguageOptions { get; set; } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif public string? CollectionIdentifier { get; set; } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif public string? ExternalContentIdentifier { get; set; } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif public string? ExternalUserProfileIdentifier { get; set; } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif public float? PlaybackProgress { get; set; } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif public MPNowPlayingInfoMediaType? MediaType { get; set; } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif public bool? IsLiveStream { get; set; } #if NET - [SupportedOSPlatform ("ios10.3")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 3)] #endif public NSUrl? AssetUrl { get; set; } #if NET @@ -140,7 +118,6 @@ public MPNowPlayingInfo () #else [iOS (11, 1)] [TV (11, 1)] - [Mac (10, 13, 1)] #endif public NSDate? CurrentPlaybackDate { get; set; } diff --git a/src/MediaPlayer/MPPlayableContentDelegate.cs b/src/MediaPlayer/MPPlayableContentDelegate.cs index ba643594205f..bc1ae414a1f1 100644 --- a/src/MediaPlayer/MPPlayableContentDelegate.cs +++ b/src/MediaPlayer/MPPlayableContentDelegate.cs @@ -28,12 +28,10 @@ public static void PlayableContentManager (this IMPPlayableContentDelegate This, public partial class MPPlayableContentDataSource : NSObject { #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif [Obsolete ("Use 'MPPlayableContentDataSource_Extensions.GetContentItemAsync' instead.")] public unsafe virtual Task GetContentItemAsync (string identifier) diff --git a/src/MediaPlayer/MediaPlayer.cs b/src/MediaPlayer/MediaPlayer.cs index 8fab16f3b3ff..9e8db7b15fc1 100644 --- a/src/MediaPlayer/MediaPlayer.cs +++ b/src/MediaPlayer/MediaPlayer.cs @@ -135,25 +135,18 @@ public enum MPMediaType : ulong { AudioITunesU = 1 << 3, AnyAudio = 0x00ff, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] Movie = 1 << 8, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] TVShow = 1 << 9, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] VideoPodcast = 1 << 10, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] MusicVideo = 1 << 11, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] VideoITunesU = 1 << 12, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] HomeVideo = 1 << 13, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] TypeAnyVideo = 0xff00, Any = 0xFFFFFFFFFFFFFFFF @@ -268,7 +261,6 @@ public enum MPMusicShuffleMode : long { public delegate void MPMediaItemEnumerator (string property, NSObject value, ref bool stop); - [Mac (10, 12, 2)] [Watch (5, 0)] [MacCatalyst (13, 1)] [Native] @@ -278,7 +270,6 @@ public enum MPShuffleType : long { Collections } - [Mac (10, 12, 2)] [Watch (5, 0)] [MacCatalyst (13, 1)] [Native] @@ -288,8 +279,6 @@ public enum MPRepeatType : long { All } - [Mac (10, 12, 2)] - [iOS (10, 0)] [Watch (5, 0)] [MacCatalyst (13, 1)] [Native] @@ -300,28 +289,20 @@ public enum MPChangeLanguageOptionSetting : long { } // NSInteger -> MPRemoteCommand.h - [Mac (10, 12, 2)] - [iOS (7, 1)] [Watch (5, 0)] [MacCatalyst (13, 1)] [Native] public enum MPRemoteCommandHandlerStatus : long { Success = 0, NoSuchContent = 100, - [iOS (9, 1)] [MacCatalyst (13, 1)] NoActionableNowPlayingItem = 110, - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] DeviceNotFound = 120, CommandFailed = 200 } // NSUInteger -> MPRemoteCommandEvent.h - [Mac (10, 12, 2)] - [iOS (7, 1)] [Watch (5, 0)] [MacCatalyst (13, 1)] [Native] @@ -330,8 +311,6 @@ public enum MPSeekCommandEventType : ulong { EndSeeking } - [Mac (10, 12, 2)] - [iOS (9, 0)] [Watch (5, 0)] [MacCatalyst (13, 1)] [Native] @@ -340,9 +319,7 @@ public enum MPNowPlayingInfoLanguageOptionType : ulong { Legible } - [Mac (10, 14, 2)] [Watch (7, 0)] - [iOS (9, 3)] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("MPErrorDomain")] @@ -360,7 +337,6 @@ public enum MPErrorCode : long { [NoMac] [NoTV] [NoWatch] - [iOS (9, 3)] [MacCatalyst (13, 1)] [Native] public enum MPMediaLibraryAuthorizationStatus : long { @@ -370,9 +346,6 @@ public enum MPMediaLibraryAuthorizationStatus : long { Authorized } - [Mac (10, 12, 2)] - [iOS (10, 0)] - [TV (10, 0)] [Watch (5, 0)] [MacCatalyst (13, 1)] [Native] @@ -382,10 +355,7 @@ public enum MPNowPlayingInfoMediaType : ulong { Video } - [Mac (10, 12, 2)] [Watch (5, 0)] - [iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum MPNowPlayingPlaybackState : ulong { diff --git a/src/MediaToolbox/MTFormatNames.cs b/src/MediaToolbox/MTFormatNames.cs index 197f9cfc1f63..036ebad51840 100644 --- a/src/MediaToolbox/MTFormatNames.cs +++ b/src/MediaToolbox/MTFormatNames.cs @@ -19,26 +19,20 @@ namespace MediaToolbox { static public class MTFormatNames { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.MediaToolboxLibrary)] static extern /* CFStringRef CM_NULLABLE */ IntPtr MTCopyLocalizedNameForMediaType ( CMMediaType mediaType); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif static public string? GetLocalizedName (this CMMediaType mediaType) { @@ -46,26 +40,20 @@ static public class MTFormatNames { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.MediaToolboxLibrary)] static extern /* CFStringRef CM_NULLABLE */ IntPtr MTCopyLocalizedNameForMediaSubType ( CMMediaType mediaType, uint mediaSubType); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif static public string? GetLocalizedName (this CMMediaType mediaType, uint mediaSubType) { diff --git a/src/MediaToolbox/MTProfessionalVideoWorkflow.cs b/src/MediaToolbox/MTProfessionalVideoWorkflow.cs index 59045b251355..0c458fbac341 100644 --- a/src/MediaToolbox/MTProfessionalVideoWorkflow.cs +++ b/src/MediaToolbox/MTProfessionalVideoWorkflow.cs @@ -16,8 +16,6 @@ static public class MTProfessionalVideoWorkflow { #if NET [SupportedOSPlatform ("macos")] -#else - [Mac (10,10)] #endif [DllImport (Constants.MediaToolboxLibrary, EntryPoint = "MTRegisterProfessionalVideoWorkflowFormatReaders")] public static extern void RegisterFormatReaders (); diff --git a/src/Metal/Defs.cs b/src/Metal/Defs.cs index dabd51350e4a..b4b17a0c3161 100644 --- a/src/Metal/Defs.cs +++ b/src/Metal/Defs.cs @@ -66,25 +66,19 @@ public MTLSize (nint width, nint height, nint depth) public static class MTLVertexFormatExtensions { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.MetalKitLibrary)] static extern /* MDLVertexFormat */ nuint MTKModelIOVertexFormatFromMetal (/* MTLVertexFormat */ nuint modelIODescriptor); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static MDLVertexFormat ToModelVertexFormat (this MTLVertexFormat vertexFormat) { @@ -310,7 +304,6 @@ public struct MTLDispatchThreadgroupsIndirectArguments { [SupportedOSPlatform ("tvos12.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14)] [iOS (12, 0)] [TV (12, 0)] #endif @@ -353,15 +346,12 @@ public struct MTLDrawIndexedPrimitivesIndirectArguments { } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (10, 0)] - [TV (10, 0)] [NoWatch] - [Mac (10, 12)] #endif [StructLayout (LayoutKind.Sequential)] public struct MTLSizeAndAlign { @@ -377,15 +367,12 @@ public MTLSizeAndAlign (nuint size, nuint align) } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (10, 0)] - [TV (10, 0)] [NoWatch] - [Mac (10, 12)] #endif [StructLayout (LayoutKind.Sequential)] public struct MTLDrawPatchIndirectArguments { @@ -405,15 +392,12 @@ public MTLDrawPatchIndirectArguments (uint pathCount, uint instanceCount, uint p } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (10, 0)] - [TV (10, 0)] [NoWatch] - [Mac (10, 12)] #endif [StructLayout (LayoutKind.Sequential)] public struct MTLQuadTessellationFactorsHalf { @@ -431,15 +415,12 @@ public MTLQuadTessellationFactorsHalf (ushort [] edgeTessellationFactor, ushort } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else - [iOS (10, 0)] - [TV (10, 0)] [NoWatch] - [Mac (10, 12)] #endif [StructLayout (LayoutKind.Sequential)] public struct MTLTriangleTessellationFactorsHalf { @@ -472,7 +453,6 @@ public partial interface IMTLTexture { [NoiOS] [NoTV] [NoWatch] - [Mac (10,14)] #endif public struct MTLIndirectCommandBufferExecutionRange { @@ -488,12 +468,11 @@ public MTLIndirectCommandBufferExecutionRange (uint location, uint length) #endif // MONOMAC #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] #endif @@ -518,7 +497,7 @@ public struct MTLTextureSwizzleChannels { #if NET [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst13.4")] - [SupportedOSPlatform ("macos10.15.4")] + [SupportedOSPlatform ("macos")] #else [Introduced (PlatformName.iOS, 13,0, PlatformArchitecture.All)] [Introduced (PlatformName.MacCatalyst, 13, 4)] @@ -534,7 +513,7 @@ public struct MTLVertexAmplificationViewMapping { #if NET [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst13.4")] - [SupportedOSPlatform ("macos10.15.4")] + [SupportedOSPlatform ("macos")] #else [Introduced (PlatformName.iOS, 13,0, PlatformArchitecture.All)] [Introduced (PlatformName.MacCatalyst, 13, 4)] diff --git a/src/Metal/MTLCompat.cs b/src/Metal/MTLCompat.cs index f17564f91095..58ee0fe09267 100644 --- a/src/Metal/MTLCompat.cs +++ b/src/Metal/MTLCompat.cs @@ -25,7 +25,6 @@ public static IMTLCounterSet[] GetIMTLCounterSets (this IMTLDevice This) return NSArray.ArrayFromHandle(global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (This.Handle, Selector.GetHandle ("counterSets"))); } - [Introduced (PlatformName.MacOSX, 10,15, PlatformArchitecture.All)] [BindingImpl (BindingImplOptions.Optimizable)] public static IMTLCounterSampleBuffer? CreateIMTLCounterSampleBuffer (this IMTLDevice This, MTLCounterSampleBufferDescriptor descriptor, out NSError? error) { @@ -42,7 +41,6 @@ public static IMTLCounterSet[] GetIMTLCounterSets (this IMTLDevice This) } public static partial class MTLComputeCommandEncoder_Extensions { - [Introduced (PlatformName.MacOSX, 10,15, PlatformArchitecture.All)] [BindingImpl (BindingImplOptions.Optimizable)] public static void SampleCounters (this IMTLComputeCommandEncoder This, IMTLCounterSampleBuffer sampleBuffer, nuint sampleIndex, bool barrier) { diff --git a/src/Metal/MTLDevice.cs b/src/Metal/MTLDevice.cs index 0263edcb8a79..a9349e5ca874 100644 --- a/src/Metal/MTLDevice.cs +++ b/src/Metal/MTLDevice.cs @@ -27,13 +27,10 @@ namespace Metal { #endif #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 11)] #endif public static partial class MTLDevice { [DllImport (Constants.MetalLibrary)] @@ -96,8 +93,6 @@ public static IMTLDevice [] GetAllDevices () [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] #endif [DllImport (Constants.MetalLibrary)] static extern IntPtr MTLCopyAllDevicesWithObserver (out IntPtr observer, ref BlockLiteral handler); @@ -107,8 +102,6 @@ public static IMTLDevice [] GetAllDevices () [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] #endif [BindingImpl (BindingImplOptions.Optimizable)] public static IMTLDevice [] GetAllDevices (MTLDeviceNotificationHandler handler, out NSObject? observer) @@ -129,7 +122,6 @@ public static IMTLDevice [] GetAllDevices (MTLDeviceNotificationHandler handler, } #if !NET - [Mac (10, 13)] [Obsolete ("Use the overload that takes an 'out NSObject' instead.")] [BindingImpl (BindingImplOptions.Optimizable)] public static IMTLDevice [] GetAllDevices (ref NSObject? observer, MTLDeviceNotificationHandler handler) @@ -156,8 +148,6 @@ public static unsafe void TrampolineNotificationHandler (IntPtr block, IntPtr de [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] #endif [DllImport (Constants.MetalLibrary)] static extern void MTLRemoveDeviceObserver (IntPtr observer); @@ -168,7 +158,6 @@ public static unsafe void TrampolineNotificationHandler (IntPtr block, IntPtr de [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 13)] [NoiOS] [NoWatch] [NoTV] diff --git a/src/Metal/MTLEnums.cs b/src/Metal/MTLEnums.cs index 4de9ec50b096..7f62b8439f56 100644 --- a/src/Metal/MTLEnums.cs +++ b/src/Metal/MTLEnums.cs @@ -35,16 +35,12 @@ public enum MTLBlendFactor : ulong { OneMinusBlendColor = 12, BlendAlpha = 13, OneMinusBlendAlpha = 14, - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] Source1Color = 15, - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] OneMinusSource1Color = 16, - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] Source1Alpha = 17, - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] OneMinusSource1Alpha = 18, } @@ -103,13 +99,13 @@ public enum MTLLoadAction : ulong { [Native] public enum MTLStoreAction : ulong { DontCare, Store, MultisampleResolve, - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] StoreAndMultisampleResolve, - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] Unknown, - [iOS (11, 0), TV (11, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] CustomSampleDepthStore, } @@ -122,14 +118,13 @@ public enum MTLTextureType : ulong { k2DArray = 3, k2DMultisample = 4, kCube = 5, - [iOS (11, 0), TV (11, 0), Mac (10, 11)] [MacCatalyst (13, 1)] kCubeArray = 6, k3D = 7, - [iOS (12, 0), TV (12, 0), Mac (10, 14)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] k2DMultisampleArray = 8, - [iOS (12, 0), TV (12, 0), Mac (10, 14)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] kTextureBuffer = 9, } @@ -156,7 +151,7 @@ public enum MTLSamplerAddressMode : ulong { MirrorRepeat = 3, ClampToZero = 4, - [Mac (10, 12), iOS (14, 0)] + [iOS (14, 0)] [MacCatalyst (14, 0)] ClampToBorderColor = 5, } @@ -218,41 +213,40 @@ public enum MTLVertexFormat : ulong { Int1010102Normalized = 40, UInt1010102Normalized = 41, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UChar4NormalizedBgra = 42, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UChar = 45, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] Char = 46, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UCharNormalized = 47, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] CharNormalized = 48, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UShort = 49, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] Short = 50, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UShortNormalized = 51, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] ShortNormalized = 52, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] Half = 53, } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum MTLPixelFormat : ulong { @@ -309,7 +303,7 @@ public enum MTLPixelFormat : ulong { RGB10A2Uint = 91, RG11B10Float = 92, RGB9E5Float = 93, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] BGR10A2Unorm = 94, RG32Uint = 103, @@ -528,37 +522,27 @@ public enum MTLPixelFormat : ulong { [NoMacCatalyst] Depth24Unorm_Stencil8 = 255, - [iOS (9, 0)] [MacCatalyst (13, 1)] Depth32Float_Stencil8 = 260, - [NoWatch, iOS (9, 0)] + [NoWatch] [MacCatalyst (13, 1)] X32_Stencil8 = 261, - [Mac (10, 12)] [NoiOS] [NoTV] [NoMacCatalyst] X24_Stencil8 = 262, - [iOS (10, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] BGRA10_XR = 552, - [iOS (10, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] BGRA10_XR_sRGB = 553, - [iOS (10, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] BGR10_XR = 554, - [iOS (10, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] BGR10_XR_sRGB = 555, @@ -676,8 +660,6 @@ public enum MTLCpuCacheMode : ulong { DefaultCache, WriteCombined } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -693,8 +675,6 @@ public enum MTLTextureUsage : ulong { PixelFormatView = 0x0010, } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -702,7 +682,6 @@ public enum MTLResourceOptions : ulong { CpuCacheModeDefault = MTLCpuCacheMode.DefaultCache << 0, CpuCacheModeWriteCombined = MTLCpuCacheMode.WriteCombined << 0, - [iOS (9, 0)] [MacCatalyst (13, 1)] StorageModeShared = MTLStorageMode.Shared << 4, [Mac (11, 0)] @@ -710,19 +689,18 @@ public enum MTLResourceOptions : ulong { [NoTV] [NoMacCatalyst] StorageModeManaged = MTLStorageMode.Managed << 4, - [iOS (9, 0)] [MacCatalyst (13, 1)] StorageModePrivate = MTLStorageMode.Private << 4, - [iOS (10, 0), TV (10, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (13, 1)] StorageModeMemoryless = MTLStorageMode.Memoryless << 4, - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] HazardTrackingModeUntracked = 1 << 8, - [iOS (13, 0), TV (13, 0), Mac (10, 15)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] HazardTrackingModeTracked = 1 << 9, } @@ -731,10 +709,10 @@ public enum MTLResourceOptions : ulong { [Native] public enum MTLVertexStepFunction : ulong { Constant, PerVertex, PerInstance, - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] PerPatch = 3, - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] PerPatchControlPoint = 4, } @@ -817,51 +795,51 @@ public enum MTLDataType : ulong { Bool4 = 56, [MacCatalyst (13, 1)] - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] Texture = 58, + [NoWatch] Texture = 58, [MacCatalyst (13, 1)] - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] Sampler = 59, + [NoWatch] Sampler = 59, [MacCatalyst (13, 1)] - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] Pointer = 60, + [NoWatch] Pointer = 60, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] R8Unorm = 62, + [NoMac, TV (14, 5), NoWatch] R8Unorm = 62, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] R8Snorm = 63, + [NoMac, TV (14, 5), NoWatch] R8Snorm = 63, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] R16Unorm = 64, + [NoMac, TV (14, 5), NoWatch] R16Unorm = 64, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] R16Snorm = 65, + [NoMac, TV (14, 5), NoWatch] R16Snorm = 65, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rg8Unorm = 66, + [NoMac, TV (14, 5), NoWatch] Rg8Unorm = 66, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rg8Snorm = 67, + [NoMac, TV (14, 5), NoWatch] Rg8Snorm = 67, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rg16Unorm = 68, + [NoMac, TV (14, 5), NoWatch] Rg16Unorm = 68, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rg16Snorm = 69, + [NoMac, TV (14, 5), NoWatch] Rg16Snorm = 69, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rgba8Unorm = 70, + [NoMac, TV (14, 5), NoWatch] Rgba8Unorm = 70, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rgba8Unorm_sRgb = 71, + [NoMac, TV (14, 5), NoWatch] Rgba8Unorm_sRgb = 71, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rgba8Snorm = 72, + [NoMac, TV (14, 5), NoWatch] Rgba8Snorm = 72, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rgba16Unorm = 73, + [NoMac, TV (14, 5), NoWatch] Rgba16Unorm = 73, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rgba16Snorm = 74, + [NoMac, TV (14, 5), NoWatch] Rgba16Snorm = 74, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rgb10A2Unorm = 75, + [NoMac, TV (14, 5), NoWatch] Rgb10A2Unorm = 75, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rg11B10Float = 76, + [NoMac, TV (14, 5), NoWatch] Rg11B10Float = 76, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Rgb9E5Float = 77, + [NoMac, TV (14, 5), NoWatch] Rgb9E5Float = 77, [MacCatalyst (13, 1)] - [Mac (10, 14), iOS (12, 0), TV (12, 0)] RenderPipeline = 78, + [iOS (12, 0), TV (12, 0)] RenderPipeline = 78, [MacCatalyst (13, 1)] [Mac (11, 0), iOS (13, 0), TV (13, 0)] ComputePipeline = 79, [MacCatalyst (13, 1)] - [Mac (10, 14), iOS (12, 0), TV (12, 0)] IndirectCommandBuffer = 80, + [iOS (12, 0), TV (12, 0)] IndirectCommandBuffer = 80, [Mac (12, 0), iOS (15, 0), TV (15, 0), MacCatalyst (15, 0), NoWatch] Long = 81, [Mac (12, 0), iOS (15, 0), TV (15, 0), MacCatalyst (15, 0), NoWatch] Long2 = 82, @@ -890,9 +868,9 @@ public enum MTLArgumentType : ulong { Sampler = 3, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] ImageblockData = 16, + [NoMac, TV (14, 5), NoWatch] ImageblockData = 16, [MacCatalyst (13, 1)] - [NoMac, iOS (11, 0), TV (14, 5), NoWatch] Imageblock = 17, + [NoMac, TV (14, 5), NoWatch] Imageblock = 17, [iOS (14, 0)] [Mac (11, 0)] @@ -945,19 +923,19 @@ public enum MTLFeatureSet : ulong { iOS_GPUFamily2_v1 = 1, iOS_GPUFamily2_v2 = 3, iOS_GPUFamily3_v1 = 4, - [iOS (10, 0), NoTV, NoWatch, NoMac, NoMacCatalyst] + [NoTV, NoWatch, NoMac, NoMacCatalyst] iOS_GPUFamily1_v3 = 5, - [iOS (10, 0), NoTV, NoWatch, NoMac, NoMacCatalyst] + [NoTV, NoWatch, NoMac, NoMacCatalyst] iOS_GPUFamily2_v3 = 6, - [iOS (10, 0), NoTV, NoWatch, NoMac, NoMacCatalyst] + [NoTV, NoWatch, NoMac, NoMacCatalyst] iOS_GPUFamily3_v2 = 7, - [iOS (11, 0), NoTV, NoWatch, NoMac, NoMacCatalyst] + [NoTV, NoWatch, NoMac, NoMacCatalyst] iOS_GPUFamily1_v4 = 8, - [iOS (11, 0), NoTV, NoWatch, NoMac, NoMacCatalyst] + [NoTV, NoWatch, NoMac, NoMacCatalyst] iOS_GPUFamily2_v4 = 9, - [iOS (11, 0), NoTV, NoWatch, NoMac, NoMacCatalyst] + [NoTV, NoWatch, NoMac, NoMacCatalyst] iOS_GPUFamily3_v3 = 10, - [iOS (11, 0), NoTV, NoWatch, NoMac, NoMacCatalyst] + [NoTV, NoWatch, NoMac, NoMacCatalyst] iOS_GPUFamily4_v1 = 11, [iOS (12, 0), NoTV, NoWatch, NoMac, NoMacCatalyst] @@ -971,44 +949,41 @@ public enum MTLFeatureSet : ulong { [iOS (12, 0), NoTV, NoWatch, NoMac, NoMacCatalyst] iOS_GPUFamily5_v1 = 16, - [Mac (10, 11), NoiOS, NoTV, NoWatch, NoMacCatalyst] + [NoiOS, NoTV, NoWatch, NoMacCatalyst] macOS_GPUFamily1_v1 = 10000, #if !NET - [Mac (10, 11)] [Obsolete ("Use 'macOS_GPUFamily1_v1' instead.")] OSX_GPUFamily1_v1 = macOS_GPUFamily1_v1, #endif - [Mac (10, 13), NoiOS, NoTV, NoWatch] + [NoiOS, NoTV, NoWatch] [NoMacCatalyst] macOS_GPUFamily1_v2 = 10001, #if !NET - [Mac (10, 12)] [Obsolete ("Use 'macOS_GPUFamily1_v2' instead.")] OSX_GPUFamily1_v2 = macOS_GPUFamily1_v2, #endif - [Mac (10, 13), NoiOS, NoTV, NoWatch] + [NoiOS, NoTV, NoWatch] [NoMacCatalyst] macOS_ReadWriteTextureTier2 = 10002, #if !NET - [Mac (10, 12)] [Obsolete ("Use 'macOS_ReadWriteTextureTier2' instead.")] OSX_ReadWriteTextureTier2 = macOS_ReadWriteTextureTier2, #endif - [Mac (10, 13), NoiOS, NoTV, NoWatch] + [NoiOS, NoTV, NoWatch] [NoMacCatalyst] macOS_GPUFamily1_v3 = 10003, - [Mac (10, 14), NoiOS, NoTV, NoWatch] + [NoiOS, NoTV, NoWatch] [NoMacCatalyst] macOS_GPUFamily1_v4 = 10004, - [Mac (10, 14), NoiOS, NoTV, NoWatch] + [NoiOS, NoTV, NoWatch] [NoMacCatalyst] macOS_GPUFamily2_v1 = 10005, @@ -1019,15 +994,15 @@ public enum MTLFeatureSet : ulong { tvOS_GPUFamily1_v1 = 30000, - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] tvOS_GPUFamily1_v2 = 30001, - [NoiOS, TV (11, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] tvOS_GPUFamily1_v3 = 30002, - [NoiOS, TV (11, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] tvOS_GPUFamily2_v1 = 30003, @@ -1039,8 +1014,6 @@ public enum MTLFeatureSet : ulong { tvOS_GPUFamily2_v2 = 30005, } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum MTLLanguageVersion : ulong { @@ -1048,16 +1021,16 @@ public enum MTLLanguageVersion : ulong { [NoMacCatalyst] v1_0 = (1 << 16), v1_1 = (1 << 16) + 1, - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] v1_2 = (1 << 16) + 2, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] v2_0 = (2 << 16), - [Mac (10, 14), iOS (12, 0), TV (12, 0), NoWatch] + [iOS (12, 0), TV (12, 0), NoWatch] [MacCatalyst (13, 1)] v2_1 = (2 << 16) + 1, - [Mac (10, 15), iOS (13, 0), TV (13, 0), NoWatch] + [iOS (13, 0), TV (13, 0), NoWatch] [MacCatalyst (13, 1)] v2_2 = (2 << 16) + 2, [Mac (11, 0), iOS (14, 0), TV (14, 0), NoWatch] @@ -1067,8 +1040,6 @@ public enum MTLLanguageVersion : ulong { v2_4 = (2uL << 16) + 4, } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum MTLDepthClipMode : ulong { @@ -1076,8 +1047,6 @@ public enum MTLDepthClipMode : ulong { Clamp = 1 } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -1090,8 +1059,6 @@ public enum MTLBlitOption : ulong { RowLinearPvrtc = 1 << 2 } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum MTLStorageMode : ulong { @@ -1102,7 +1069,7 @@ public enum MTLStorageMode : ulong { [NoMacCatalyst] Managed = 1, Private = 2, - [iOS (10, 0), TV (10, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (13, 1)] Memoryless = 3, } @@ -1115,7 +1082,7 @@ public enum MTLMultisampleDepthResolveFilter : ulong { #if NET [NoTV] #endif - [Mac (10, 12), iOS (14, 0)] + [iOS (14, 0)] [MacCatalyst (14, 0)] [Native] public enum MTLSamplerBorderColor : ulong { @@ -1126,7 +1093,6 @@ public enum MTLSamplerBorderColor : ulong { [TV (13, 0)] [iOS (12, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum MTLPrimitiveTopologyClass : ulong { @@ -1136,7 +1102,7 @@ public enum MTLPrimitiveTopologyClass : ulong { Triangle = 3 } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLTessellationPartitionMode : ulong { @@ -1146,14 +1112,14 @@ public enum MTLTessellationPartitionMode : ulong { FractionalEven = 3 } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLTessellationFactorFormat : ulong { Half = 0 } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLTessellationControlPointIndexType : ulong { @@ -1162,7 +1128,7 @@ public enum MTLTessellationControlPointIndexType : ulong { UInt32 = 2 } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLTessellationFactorStepFunction : ulong { @@ -1172,7 +1138,7 @@ public enum MTLTessellationFactorStepFunction : ulong { PerPatchAndPerInstance = 3 } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLPatchType : ulong { @@ -1181,7 +1147,7 @@ public enum MTLPatchType : ulong { Quad = 2 } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLAttributeFormat : ulong { @@ -1227,39 +1193,39 @@ public enum MTLAttributeFormat : ulong { UInt4 = 39, Int1010102Normalized = 40, UInt1010102Normalized = 41, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UChar4Normalized_Bgra = 42, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UChar = 45, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] Char = 46, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UCharNormalized = 47, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] CharNormalized = 48, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UShort = 49, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] Short = 50, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] UShortNormalized = 51, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] ShortNormalized = 52, - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] Half = 53, } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLStepFunction : ulong { @@ -1274,7 +1240,7 @@ public enum MTLStepFunction : ulong { ThreadPositionInGridYIndexed = 8 } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLRenderStages : ulong { @@ -1284,7 +1250,7 @@ public enum MTLRenderStages : ulong { Tile = (1uL << 2), } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Native, Flags] public enum MTLResourceUsage : ulong { @@ -1293,7 +1259,7 @@ public enum MTLResourceUsage : ulong { Sample = 1 << 2, } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLMutability : ulong { @@ -1302,7 +1268,7 @@ public enum MTLMutability : ulong { Immutable = 2, } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLReadWriteTextureTier : ulong { @@ -1311,7 +1277,7 @@ public enum MTLReadWriteTextureTier : ulong { Two = 2, } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum MTLArgumentBuffersTier : ulong { @@ -1319,7 +1285,7 @@ public enum MTLArgumentBuffersTier : ulong { Two = 1, } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Native, Flags] public enum MTLStoreActionOptions : ulong { @@ -1327,7 +1293,7 @@ public enum MTLStoreActionOptions : ulong { CustomSamplePositions = 1 << 0, } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MTLDispatchType : ulong { @@ -1335,7 +1301,7 @@ public enum MTLDispatchType : ulong { Concurrent, } - [Flags, Mac (10, 14), iOS (12, 0), TV (12, 0)] + [Flags, iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MTLBarrierScope : ulong { @@ -1346,7 +1312,7 @@ public enum MTLBarrierScope : ulong { RenderTargets = 1 << 2, } - [Flags, Mac (10, 14), iOS (12, 0), TV (12, 0)] + [Flags, iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MTLIndirectCommandType : ulong { @@ -1368,7 +1334,6 @@ public enum MTLIndirectCommandType : ulong { [iOS (12, 0)] [TV (14, 5)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Native] public enum MTLMultisampleStencilResolveFilter : ulong { @@ -1393,7 +1358,7 @@ public enum MTLSparseTextureMappingMode : ulong { Unmap = 0x1, } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum MTLHazardTrackingMode : ulong { @@ -1402,7 +1367,7 @@ public enum MTLHazardTrackingMode : ulong { Tracked = 2, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("MTLCaptureErrorDomain")] @@ -1412,7 +1377,7 @@ public enum MTLCaptureError : long { InvalidDescriptor, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum MTLGpuFamily : long { @@ -1436,7 +1401,7 @@ public enum MTLGpuFamily : long { iOSMac2 = 4002, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum MTLHeapType : long { @@ -1448,7 +1413,7 @@ public enum MTLHeapType : long { Sparse = 2, } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Native] public enum MTLCaptureDestination : long { @@ -1456,7 +1421,7 @@ public enum MTLCaptureDestination : long { GpuTraceDocument, } - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [Native] public enum MTLDeviceLocation : ulong { @@ -1466,7 +1431,7 @@ public enum MTLDeviceLocation : ulong { Unspecified = ulong.MaxValue, } - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Native] [ErrorDomain ("MTLCounterErrorDomain")] @@ -1476,7 +1441,7 @@ public enum MTLCounterSampleBufferError : long { Internal = 2, } - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] public enum MTLCommonCounter { [Field ("MTLCommonCounterTimestamp")] @@ -1652,7 +1617,7 @@ public enum MTLLibraryType : long { Dynamic = 1, } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] public enum MTLTextureSwizzle : byte { Zero = 0, diff --git a/src/Metal/MTLRenderCommandEncoder.cs b/src/Metal/MTLRenderCommandEncoder.cs index 716c5fd4c417..df6dd5945a17 100644 --- a/src/Metal/MTLRenderCommandEncoder.cs +++ b/src/Metal/MTLRenderCommandEncoder.cs @@ -22,7 +22,6 @@ public static class IMTLRenderCommandEncoder_Extensions { [SupportedOSPlatform ("ios12.0")] [SupportedOSPlatform ("tvos14.5")] #else - [Mac (10, 13)] [iOS (12, 0)] [TV (14, 5)] [NoWatch] @@ -41,7 +40,6 @@ public unsafe static void SetViewports (this IMTLRenderCommandEncoder This, MTLV [SupportedOSPlatform ("ios12.0")] [SupportedOSPlatform ("tvos14.5")] #else - [Mac (10, 13)] [iOS (12, 0)] [TV (14, 5)] [NoWatch] @@ -55,12 +53,11 @@ public unsafe static void SetScissorRects (this IMTLRenderCommandEncoder This, M #if !WATCH #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos14.5")] [SupportedOSPlatform ("macos11.0")] #else - [iOS (11, 0)] [TV (14, 5)] [Mac (11, 0)] [NoWatch] @@ -74,12 +71,11 @@ public unsafe static void SetTileBuffers (this IMTLRenderCommandEncoder This, IM #if !WATCH #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos14.5")] [SupportedOSPlatform ("macos11.0")] #else - [iOS (11, 0)] [TV (14, 5)] [Mac (11, 0)] [NoWatch] diff --git a/src/Metal/MTLVertexDescriptor.cs b/src/Metal/MTLVertexDescriptor.cs index c36c65022dbd..94fbc84a6226 100644 --- a/src/Metal/MTLVertexDescriptor.cs +++ b/src/Metal/MTLVertexDescriptor.cs @@ -12,23 +12,19 @@ namespace Metal { public partial class MTLVertexDescriptor { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif [DllImport (Constants.MetalKitLibrary)] static extern /* MTLVertexDescriptor __nonnull */ IntPtr MTKMetalVertexDescriptorFromModelIO (/* MDLVertexDescriptor __nonnull */ IntPtr modelIODescriptor); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static MTLVertexDescriptor? FromModelIO (MDLVertexDescriptor descriptor) { @@ -38,27 +34,19 @@ public partial class MTLVertexDescriptor { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] #endif [DllImport (Constants.MetalKitLibrary)] static extern /* MTLVertexDescriptor __nonnull */ IntPtr MTKMetalVertexDescriptorFromModelIOWithError (/* MDLVertexDescriptor __nonnull */ IntPtr modelIODescriptor, out IntPtr error); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] #endif public static MTLVertexDescriptor? FromModelIO (MDLVertexDescriptor descriptor, out NSError? error) { diff --git a/src/MetalKit/MTKTextureLoaderOptions.cs b/src/MetalKit/MTKTextureLoaderOptions.cs index 8e237d75a3b6..775019e9399d 100644 --- a/src/MetalKit/MTKTextureLoaderOptions.cs +++ b/src/MetalKit/MTKTextureLoaderOptions.cs @@ -18,13 +18,10 @@ namespace MetalKit { #if !COREBUILD #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public partial class MTKTextureLoaderOptions : DictionaryContainer { @@ -59,13 +56,10 @@ public MTLCpuCacheMode? TextureCpuCacheMode { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] - [Mac (10, 12)] #endif public MTLStorageMode? TextureStorageMode { get { @@ -83,13 +77,10 @@ public MTLStorageMode? TextureStorageMode { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] - [Mac (10, 12)] #endif public MTKTextureLoaderCubeLayout? CubeLayout { get { @@ -107,13 +98,10 @@ public MTKTextureLoaderCubeLayout? CubeLayout { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] - [Mac (10, 12)] #endif public MTKTextureLoaderOrigin? Origin { get { diff --git a/src/MetalPerformanceShaders/MPSCnnConvolutionDescriptor.cs b/src/MetalPerformanceShaders/MPSCnnConvolutionDescriptor.cs index 4785a3453c7d..a656b0fd8479 100644 --- a/src/MetalPerformanceShaders/MPSCnnConvolutionDescriptor.cs +++ b/src/MetalPerformanceShaders/MPSCnnConvolutionDescriptor.cs @@ -7,13 +7,12 @@ namespace MetalPerformanceShaders { public partial class MPSCnnConvolutionDescriptor { #if NET - [SupportedOSPlatform ("tvos11.0")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else [Introduced (PlatformName.TvOS, 11, 0, PlatformArchitecture.All, null)] - [Introduced (PlatformName.iOS, 11, 0, PlatformArchitecture.All, null)] #endif public unsafe void SetBatchNormalizationParameters (float [] mean, float [] variance, float [] gamma, float [] beta, float epsilon) { diff --git a/src/MetalPerformanceShaders/MPSCnnNeuron.cs b/src/MetalPerformanceShaders/MPSCnnNeuron.cs index 5ceaa3e426f6..bf3780f2999c 100644 --- a/src/MetalPerformanceShaders/MPSCnnNeuron.cs +++ b/src/MetalPerformanceShaders/MPSCnnNeuron.cs @@ -8,9 +8,9 @@ namespace MetalPerformanceShaders { public partial class MPSCnnNeuronPReLU { #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("tvos12.0", "Please use the '.ctor (IMTLDevice, MPSNNNeuronDescriptor)' overload instead.")] [ObsoletedOSPlatform ("macos10.14", "Please use the '.ctor (IMTLDevice, MPSNNNeuronDescriptor)' overload instead.")] diff --git a/src/MetalPerformanceShaders/MPSCompat.cs b/src/MetalPerformanceShaders/MPSCompat.cs index 4666ed9b516a..0a53e19a2955 100644 --- a/src/MetalPerformanceShaders/MPSCompat.cs +++ b/src/MetalPerformanceShaders/MPSCompat.cs @@ -37,13 +37,11 @@ public virtual MPSImage EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, } public partial class MPSCnnConvolution { - [TV (11, 0), iOS (11, 0)] [Obsolete ("Always throws 'NotSupportedException' (not a public API).")] public virtual void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, MPSImage destinationImage, out MPSCnnConvolutionState state) => throw new NotSupportedException (); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [Obsolete ("Empty stub (not a public API).")] public partial class MPSCnnConvolutionState : MPSState, IMPSImageSizeEncodingState { diff --git a/src/MetalPerformanceShaders/MPSDefs.cs b/src/MetalPerformanceShaders/MPSDefs.cs index 2e75388b7ac3..96fb8a095751 100644 --- a/src/MetalPerformanceShaders/MPSDefs.cs +++ b/src/MetalPerformanceShaders/MPSDefs.cs @@ -23,8 +23,6 @@ namespace MetalPerformanceShaders { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 13)] #endif public struct MPSOffset { public nint X; @@ -38,8 +36,6 @@ public struct MPSOffset { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 13)] #endif public struct MPSOrigin { public double X; @@ -53,8 +49,6 @@ public struct MPSOrigin { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 13)] #endif public struct MPSSize { public double Width; @@ -66,12 +60,11 @@ public struct MPSSize { #if NET [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] #endif public struct MPSDimensionSlice { public nuint Start; @@ -83,8 +76,6 @@ public struct MPSDimensionSlice { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 13)] #endif public struct MPSRegion { public MPSOrigin Origin; @@ -97,8 +88,6 @@ public struct MPSRegion { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 13)] #endif public struct MPSScaleTransform { public double ScaleX; @@ -115,7 +104,6 @@ public struct MPSScaleTransform { #else [iOS (11, 3)] [TV (11, 3)] - [Mac (10, 13, 4)] #endif public struct MPSImageCoordinate { public nuint X; @@ -131,7 +119,6 @@ public struct MPSImageCoordinate { #else [iOS (11, 3)] [TV (11, 3)] - [Mac (10, 13, 4)] #endif public struct MPSImageRegion { public MPSImageCoordinate Offset; @@ -144,8 +131,6 @@ public struct MPSImageRegion { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 13)] #endif [StructLayout (LayoutKind.Explicit)] public struct MPSImageHistogramInfo { @@ -169,14 +154,10 @@ public struct MPSImageHistogramInfo { // https://trello.com/c/GqtNId1C/517-generator-our-block-delegates-needs-to-use-wrapper-for-protocols #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif public struct MPSMatrixCopyOffsets { public uint SourceRowOffset; @@ -186,14 +167,10 @@ public struct MPSMatrixCopyOffsets { } #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif public struct MPSImageReadWriteParams { public nuint FeatureChannelOffset; @@ -201,14 +178,10 @@ public struct MPSImageReadWriteParams { } #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif public struct MPSImageKeypointRangeInfo { public nuint MaximumKeypoints; @@ -223,7 +196,6 @@ public struct MPSImageKeypointRangeInfo { #else [TV (11, 3)] [iOS (11, 3)] - [Mac (10, 13, 4)] #endif public struct MPSStateTextureInfo { public nuint Width; @@ -267,7 +239,6 @@ public MTLTextureUsage TextureUsage { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif [StructLayout (LayoutKind.Sequential)] @@ -299,7 +270,6 @@ public static class MPSConstants { #else [iOS (11, 2)] [TV (11, 2)] - [Mac (10, 13, 2)] #endif [StructLayout (LayoutKind.Sequential)] public struct MPSMatrixOffset { diff --git a/src/MetalPerformanceShaders/MPSEnums.cs b/src/MetalPerformanceShaders/MPSEnums.cs index 2a9f46acd2ff..4e989a1bfc23 100644 --- a/src/MetalPerformanceShaders/MPSEnums.cs +++ b/src/MetalPerformanceShaders/MPSEnums.cs @@ -7,8 +7,6 @@ namespace MetalPerformanceShaders { - [iOS (9, 0)] - [Mac (10, 13)] [Introduced (PlatformName.MacCatalyst, 13, 0)] [Native] // NSUInteger [Flags] // NS_OPTIONS @@ -16,14 +14,11 @@ public enum MPSKernelOptions : ulong { None = 0, SkipApiValidation = 1 << 0, AllowReducedPrecision = 1 << 1, - [iOS (10, 0), TV (10, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] DisableInternalTiling = 1 << 2, - [iOS (10, 0), TV (10, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] InsertDebugGroups = 1 << 3, - [iOS (11, 0), TV (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] Verbose = 1 << 4, #if !NET [Obsolete ("Use 'AllowReducedPrecision' instead.")] @@ -31,27 +26,22 @@ public enum MPSKernelOptions : ulong { #endif } - [iOS (9, 0)] - [Mac (10, 13)] [Introduced (PlatformName.MacCatalyst, 13, 0)] [Native] // NSUInteger public enum MPSImageEdgeMode : ulong { Zero, Clamp = 1, - [iOS (12, 1), TV (12, 1), Mac (10, 14, 1)] - [MacCatalyst (13, 0)] + [iOS (12, 1), TV (12, 1)] + [MacCatalyst (13, 1)] Mirror, - [iOS (12, 1), TV (12, 1), Mac (10, 14, 1)] - [MacCatalyst (13, 0)] + [iOS (12, 1), TV (12, 1)] + [MacCatalyst (13, 1)] MirrorWithEdge, - [iOS (12, 1), TV (12, 1), Mac (10, 14, 1)] - [MacCatalyst (13, 0)] + [iOS (12, 1), TV (12, 1)] + [MacCatalyst (13, 1)] Constant, } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] public enum MPSAlphaType : ulong { @@ -60,9 +50,6 @@ public enum MPSAlphaType : ulong { Premultiplied = 2, } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [Introduced (PlatformName.MacCatalyst, 13, 0)] public enum MPSDataType : uint { // uint32_t Invalid = 0, @@ -90,20 +77,17 @@ public enum MPSDataType : uint { // uint32_t [MacCatalyst (14, 1)] UInt64 = 64, - [iOS (11, 0), TV (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] NormalizedBit = 0x40000000, - [iOS (11, 0), TV (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] Unorm1 = NormalizedBit | 1, - [iOS (11, 0), TV (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] Unorm8 = NormalizedBit | 8, } [Flags] [Native] - [iOS (13, 0), TV (13, 0), Mac (10, 15)] + [iOS (13, 0), TV (13, 0)] [Introduced (PlatformName.MacCatalyst, 13, 0)] public enum MPSAliasingStrategy : ulong { Default = 0x0, @@ -115,9 +99,6 @@ public enum MPSAliasingStrategy : ulong { PreferNonTemporaryMemory = 1uL << 3, } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [Introduced (PlatformName.MacCatalyst, 13, 0)] [Native] public enum MPSImageFeatureChannelFormat : ulong { @@ -126,16 +107,15 @@ public enum MPSImageFeatureChannelFormat : ulong { Unorm16 = 2, Float16 = 3, Float32 = 4, - [iOS (13, 0), TV (13, 0), Mac (10, 15)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] Reserved0 = 5, - //[iOS (12,0), TV (12,0), Mac (10,14)] + //[iOS (12,0), TV (12,0)] //Count, // must always be last, and because of this it will cause breaking changes. } [Introduced (PlatformName.MacCatalyst, 13, 0)] - [TV (11, 0), Mac (10, 13), iOS (11, 0)] public enum MPSMatrixDecompositionStatus { Success = 0, Failure = -1, @@ -143,7 +123,7 @@ public enum MPSMatrixDecompositionStatus { NonPositiveDefinite = -3, } - [iOS (13, 0), TV (13, 0), Mac (10, 15)] + [iOS (13, 0), TV (13, 0)] [Introduced (PlatformName.MacCatalyst, 13, 0)] [Flags] [Native] @@ -155,7 +135,6 @@ public enum MPSMatrixRandomDistribution : ulong { Normal = Default | Uniform, } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSRnnSequenceDirection : ulong { @@ -163,7 +142,6 @@ public enum MPSRnnSequenceDirection : ulong { Backward, } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSRnnBidirectionalCombineMode : ulong { @@ -172,7 +150,6 @@ public enum MPSRnnBidirectionalCombineMode : ulong { Concatenate, } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] public enum MPSCnnNeuronType { None = 0, @@ -187,16 +164,16 @@ public enum MPSCnnNeuronType { Elu, PReLU, ReLun, - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] Power, - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] Exponential, - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] Logarithm, - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] GeLU, #if !NET @@ -205,7 +182,6 @@ public enum MPSCnnNeuronType { #endif } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSCnnBinaryConvolutionFlags : ulong { @@ -213,7 +189,6 @@ public enum MPSCnnBinaryConvolutionFlags : ulong { UseBetaScaling = 1 << 0, } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSCnnBinaryConvolutionType : ulong { @@ -222,7 +197,6 @@ public enum MPSCnnBinaryConvolutionType : ulong { And, } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSNNPaddingMethod : ulong { @@ -244,7 +218,6 @@ public enum MPSNNPaddingMethod : ulong { ExcludeEdges = (1 << 15), } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [Introduced (PlatformName.MacCatalyst, 13, 0)] [Native] public enum MPSDataLayout : ulong { @@ -253,7 +226,7 @@ public enum MPSDataLayout : ulong { } [Introduced (PlatformName.MacCatalyst, 13, 0)] - [TV (11, 3), iOS (11, 3), Mac (10, 13, 4)] + [TV (11, 3), iOS (11, 3)] [Native] public enum MPSStateResourceType : ulong { None = 0, @@ -261,7 +234,7 @@ public enum MPSStateResourceType : ulong { Texture = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSIntersectionType : ulong { @@ -269,7 +242,7 @@ public enum MPSIntersectionType : ulong { Any = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSTriangleIntersectionTestType : ulong { @@ -277,18 +250,18 @@ public enum MPSTriangleIntersectionTestType : ulong { Watertight = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSBoundingBoxIntersectionTestType : ulong { Default = 0, AxisAligned = 1, - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] Fast = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -298,19 +271,19 @@ public enum MPSRayMaskOptions : ulong { Instance = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSRayDataType : ulong { OriginDirection = 0, OriginMinDistanceDirectionMaxDistance = 1, OriginMaskDirectionMaxDistance = 2, - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] PackedOriginDirection = 3, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSIntersectionDataType : ulong { @@ -321,7 +294,7 @@ public enum MPSIntersectionDataType : ulong { PrimitiveIndexInstanceIndexCoordinates = 4, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSTransformType : ulong { @@ -329,7 +302,7 @@ public enum MPSTransformType : ulong { Identity = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -337,15 +310,15 @@ public enum MPSAccelerationStructureUsage : ulong { None = 0, Refit = 1, FrequentRebuild = 2, - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] PreferGpuBuild = 4, - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] PreferCpuBuild = 8, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSAccelerationStructureStatus : ulong { @@ -353,7 +326,7 @@ public enum MPSAccelerationStructureStatus : ulong { Built = 1, } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] public enum MPSCnnWeightsQuantizationType : uint { None = 0, @@ -363,7 +336,7 @@ public enum MPSCnnWeightsQuantizationType : uint { [Flags] [Native] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] public enum MPSCnnConvolutionGradientOption : ulong { GradientWithData = 0x1, @@ -373,7 +346,7 @@ public enum MPSCnnConvolutionGradientOption : ulong { [Flags] [Native] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] public enum MPSNNComparisonType : ulong { Equal, @@ -385,7 +358,7 @@ public enum MPSNNComparisonType : ulong { } [Introduced (PlatformName.MacCatalyst, 13, 0)] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] public enum MPSCnnLossType : uint { MeanAbsoluteError = 0, MeanSquaredError, @@ -401,7 +374,7 @@ public enum MPSCnnLossType : uint { } [Introduced (PlatformName.MacCatalyst, 13, 0)] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] public enum MPSCnnReductionType { None = 0, Sum, @@ -412,7 +385,7 @@ public enum MPSCnnReductionType { [Flags] [Native] - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] public enum MPSNNConvolutionAccumulatorPrecisionOption : ulong { Half = 0x0, @@ -421,7 +394,7 @@ public enum MPSNNConvolutionAccumulatorPrecisionOption : ulong { [Flags] [Native] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] public enum MPSCnnBatchNormalizationFlags : ulong { Default = 0x0, @@ -431,7 +404,7 @@ public enum MPSCnnBatchNormalizationFlags : ulong { CalculateStatisticsMask = 0x3, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MPSNNRegularizationType : ulong { @@ -440,7 +413,7 @@ public enum MPSNNRegularizationType : ulong { L2 = 2, } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -451,7 +424,7 @@ public enum MPSNNTrainingStyle : ulong { } [Native] - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] public enum MPSRnnMatrixId : ulong { SingleGateInputWeights = 0, @@ -486,7 +459,7 @@ public enum MPSRnnMatrixId : ulong { //Count, // must always be last, and because of this it will cause breaking changes. } - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [Introduced (PlatformName.MacCatalyst, 13, 0)] public enum MPSCustomKernelIndex : uint { DestIndex = 0, @@ -499,7 +472,7 @@ public enum MPSCustomKernelIndex : uint { } [Introduced (PlatformName.MacCatalyst, 13, 0)] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] public enum MPSImageType : uint { Type2d = 0, Type2dArray = 1, @@ -534,7 +507,7 @@ public enum MPSImageType : uint { [Flags] [Native] [Introduced (PlatformName.MacCatalyst, 13, 0)] - [TV (12, 2), Mac (10, 14, 4), iOS (12, 2)] + [TV (12, 2), iOS (12, 2)] public enum MPSDeviceOptions : ulong { Default = 0x0, LowPower = 0x1, diff --git a/src/MetalPerformanceShaders/MPSImageBatch.cs b/src/MetalPerformanceShaders/MPSImageBatch.cs index 3145718321ad..0356a40ed76b 100644 --- a/src/MetalPerformanceShaders/MPSImageBatch.cs +++ b/src/MetalPerformanceShaders/MPSImageBatch.cs @@ -24,7 +24,6 @@ namespace MetalPerformanceShaders { #else [iOS (11, 3)] [TV (11, 3)] - [Mac (10, 13, 4)] #endif public static partial class MPSImageBatch { @@ -62,7 +61,6 @@ public static void Synchronize (NSArray imageBatch, IMTLCommandBuffer #else [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] #endif [DllImport (Constants.MetalPerformanceShadersLibrary)] static extern nuint MPSImageBatchResourceSize (IntPtr batch); @@ -76,7 +74,6 @@ public static void Synchronize (NSArray imageBatch, IMTLCommandBuffer #else [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] #endif public static nuint GetResourceSize (NSArray imageBatch) { @@ -87,11 +84,11 @@ public static nuint GetResourceSize (NSArray imageBatch) } // TODO: Disabled due to 'MPSImageBatchIterate' is not in the native library rdar://47282304. - //[iOS (12,0), TV (12,0), Mac (10,14)] + //[iOS (12,0), TV (12,0)] //[DllImport (Constants.MetalPerformanceShadersLibrary)] //static extern nint MPSImageBatchIterate (IntPtr batch, IntPtr iterator); - //[iOS (12,0), TV (12,0), Mac (10,14)] + //[iOS (12,0), TV (12,0)] //public delegate nint MPSImageBatchIterator (MPSImage image, nuint index); //[UnmanagedFunctionPointer (CallingConvention.Cdecl)] @@ -114,7 +111,7 @@ public static nuint GetResourceSize (NSArray imageBatch) // } //} - //[iOS (12,0), TV (12,0), Mac (10,14)] + //[iOS (12,0), TV (12,0)] //[BindingImpl (BindingImplOptions.Optimizable)] //public static nint Iterate (NSArray imageBatch, MPSImageBatchIterator iterator) //{ diff --git a/src/MetalPerformanceShaders/MPSKernel.cs b/src/MetalPerformanceShaders/MPSKernel.cs index 382b9b1fb9c5..c0be5fa3dffb 100644 --- a/src/MetalPerformanceShaders/MPSKernel.cs +++ b/src/MetalPerformanceShaders/MPSKernel.cs @@ -24,12 +24,11 @@ public static bool Supports (IMTLDevice device) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.MetalPerformanceShadersLibrary)] @@ -37,12 +36,11 @@ public static bool Supports (IMTLDevice device) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public static IMTLDevice? GetPreferredDevice (MPSDeviceOptions options) @@ -79,7 +77,6 @@ public unsafe static MTLRegion RectNoClip { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif [DllImport (Constants.MetalPerformanceShadersLibrary)] @@ -92,7 +89,6 @@ public unsafe static MTLRegion RectNoClip { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif public static void HintTemporaryMemoryHighWaterMark (IMTLCommandBuffer commandBuffer, nuint sizeInBytes) => MPSHintTemporaryMemoryHighWaterMark (commandBuffer.GetHandle (), sizeInBytes); @@ -104,7 +100,6 @@ public unsafe static MTLRegion RectNoClip { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif [DllImport (Constants.MetalPerformanceShadersLibrary)] @@ -117,7 +112,6 @@ public unsafe static MTLRegion RectNoClip { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif public static void SetHeapCacheDuration (IMTLCommandBuffer commandBuffer, double seconds) => MPSSetHeapCacheDuration (commandBuffer.GetHandle (), seconds); @@ -130,12 +124,11 @@ public partial class MPSImage { #if NET [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos12.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (13, 0)] [TV (12, 0)] - [Mac (10, 15)] #endif [DllImport (Constants.MetalPerformanceShadersLibrary)] static extern MPSImageType MPSGetImageType (IntPtr image); @@ -143,12 +136,11 @@ public partial class MPSImage { #if NET [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos12.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (13, 0)] [TV (12, 0)] - [Mac (10, 15)] #endif public MPSImageType ImageType => MPSGetImageType (Handle); } @@ -303,8 +295,8 @@ public MPSCnnConvolution (IMTLDevice device, MPSCnnConvolutionDescriptor convolu public partial class MPSCnnFullyConnected { #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("tvos11.0", "Use any of the other 'DesignatedInitializer' ctors.")] @@ -426,7 +418,6 @@ public partial class MPSCnnBinaryConvolutionNode { [SupportedOSPlatform ("maccatalyst")] #else [TV (11, 3)] - [Mac (10, 13, 4)] [iOS (11, 3)] #endif public static MPSCnnBinaryConvolutionNode Create (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float [] outputBiasTerms, float [] outputScaleTerms, float [] inputBiasTerms, float [] inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags) @@ -447,7 +438,6 @@ public static MPSCnnBinaryConvolutionNode Create (MPSNNImageNode sourceNode, IMP [SupportedOSPlatform ("maccatalyst")] #else [TV (11, 3)] - [Mac (10, 13, 4)] [iOS (11, 3)] #endif public MPSCnnBinaryConvolutionNode (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float [] outputBiasTerms, float [] outputScaleTerms, float [] inputBiasTerms, float [] inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags) : base (NSObjectFlag.Empty) @@ -470,7 +460,6 @@ public partial class MPSCnnBinaryFullyConnectedNode { [SupportedOSPlatform ("maccatalyst")] #else [TV (11, 3)] - [Mac (10, 13, 4)] [iOS (11, 3)] #endif public new static MPSCnnBinaryFullyConnectedNode Create (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float [] outputBiasTerms, float [] outputScaleTerms, float [] inputBiasTerms, float [] inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags) @@ -491,7 +480,6 @@ public partial class MPSCnnBinaryFullyConnectedNode { [SupportedOSPlatform ("maccatalyst")] #else [TV (11, 3)] - [Mac (10, 13, 4)] [iOS (11, 3)] #endif public MPSCnnBinaryFullyConnectedNode (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float [] outputBiasTerms, float [] outputScaleTerms, float [] inputBiasTerms, float [] inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags) : base (NSObjectFlag.Empty) diff --git a/src/MetalPerformanceShaders/MPSNNGraph.cs b/src/MetalPerformanceShaders/MPSNNGraph.cs index 9a497243ce94..35131a2e43b7 100644 --- a/src/MetalPerformanceShaders/MPSNNGraph.cs +++ b/src/MetalPerformanceShaders/MPSNNGraph.cs @@ -11,12 +11,11 @@ namespace MetalPerformanceShaders { public partial class MPSNNGraph { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public unsafe static MPSNNGraph? Create (IMTLDevice device, MPSNNImageNode [] resultImages, bool [] resultsAreNeeded) diff --git a/src/MetalPerformanceShaders/MPSStateBatch.cs b/src/MetalPerformanceShaders/MPSStateBatch.cs index fdf68a09143d..6949789e8e88 100644 --- a/src/MetalPerformanceShaders/MPSStateBatch.cs +++ b/src/MetalPerformanceShaders/MPSStateBatch.cs @@ -24,7 +24,6 @@ namespace MetalPerformanceShaders { #else [iOS (11, 3)] [TV (11, 3)] - [Mac (10, 13, 4)] #endif public static partial class MPSStateBatch { @@ -62,7 +61,6 @@ public static void Synchronize (NSArray stateBatch, IMTLCommandBuffer #else [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] #endif [DllImport (Constants.MetalPerformanceShadersLibrary)] static extern nuint MPSStateBatchResourceSize (IntPtr batch); @@ -76,7 +74,6 @@ public static void Synchronize (NSArray stateBatch, IMTLCommandBuffer #else [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] #endif public static nuint GetResourceSize (NSArray stateBatch) { diff --git a/src/MobileCoreServices/UTType.cs b/src/MobileCoreServices/UTType.cs index 34288ace831b..9408509657fe 100644 --- a/src/MobileCoreServices/UTType.cs +++ b/src/MobileCoreServices/UTType.cs @@ -38,48 +38,39 @@ namespace MobileCoreServices { public static partial class UTType { #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("tvos14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("macos11.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("ios14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif [DllImport (Constants.CoreServicesLibrary)] [return: MarshalAs (UnmanagedType.I1)] extern static bool /* Boolean */ UTTypeIsDynamic (IntPtr /* CFStringRef */ handle); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("tvos14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("macos11.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("ios14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif [DllImport (Constants.CoreServicesLibrary)] [return: MarshalAs (UnmanagedType.I1)] extern static bool /* Boolean */ UTTypeIsDeclared (IntPtr /* CFStringRef */ handle); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("tvos14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("macos11.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("ios14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static bool IsDynamic (string utType) { @@ -93,16 +84,13 @@ public static bool IsDynamic (string utType) } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("tvos14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("macos11.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("ios14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static bool IsDeclared (string utType) { @@ -151,31 +139,25 @@ public static bool IsDeclared (string utType) } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("tvos14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("macos11.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("ios14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif [DllImport (Constants.CoreServicesLibrary)] extern static IntPtr /* NSString Array */ UTTypeCopyAllTagsWithClass (IntPtr /* CFStringRef */ utiStr, IntPtr /* CFStringRef */ tagClassStr); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("tvos14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("macos11.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] [ObsoletedOSPlatform ("ios14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static string? []? CopyAllTags (string uti, string tagClass) { diff --git a/src/ModelIO/MDLMesh.cs b/src/ModelIO/MDLMesh.cs index 162aab175357..bd0e4edc5433 100644 --- a/src/ModelIO/MDLMesh.cs +++ b/src/ModelIO/MDLMesh.cs @@ -79,14 +79,10 @@ internal MDLMesh (MDLMesh mesh, int submeshIndex, uint subdivisionLevels, IMDLMe // Note: we turn these constructors into static constructors because we don't want to lose the shape name. Also, the signatures of these constructors differ so it would not be possible to use an enum to differentiate the shapes. #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static MDLMesh CreateBox (Vector3 dimensions, Vector3i segments, MDLGeometryType geometryType, bool inwardNormals, IMDLMeshBufferAllocator allocator) { @@ -94,14 +90,10 @@ public static MDLMesh CreateBox (Vector3 dimensions, Vector3i segments, MDLGeome } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static MDLMesh CreateBox (Vector3 vector, Vector3i segments, MDLGeometryType geometryType, bool inwardNormals, IMDLMeshBufferAllocator allocator, MDLMeshVectorType type = MDLMeshVectorType.Dimensions) { @@ -116,14 +108,10 @@ public static MDLMesh CreateBox (Vector3 vector, Vector3i segments, MDLGeometryT } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static MDLMesh CreateSphere (Vector3 dimensions, Vector2i segments, MDLGeometryType geometryType, bool inwardNormals, IMDLMeshBufferAllocator allocator) { @@ -131,14 +119,10 @@ public static MDLMesh CreateSphere (Vector3 dimensions, Vector2i segments, MDLGe } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static MDLMesh CreateHemisphere (Vector3 dimensions, Vector2i segments, MDLGeometryType geometryType, bool inwardNormals, bool cap, IMDLMeshBufferAllocator allocator) { @@ -146,14 +130,10 @@ public static MDLMesh CreateHemisphere (Vector3 dimensions, Vector2i segments, M } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static MDLMesh CreateCylinder (Vector3 extent, Vector2i segments, bool inwardNormals, bool topCap, bool bottomCap, MDLGeometryType geometryType, IMDLMeshBufferAllocator allocator) { @@ -161,14 +141,10 @@ public static MDLMesh CreateCylinder (Vector3 extent, Vector2i segments, bool in } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static MDLMesh CreateCapsule (Vector3 dimensions, Vector2i segments, MDLGeometryType geometryType, bool inwardNormals, int hemisphereSegments, IMDLMeshBufferAllocator allocator) { @@ -176,14 +152,10 @@ public static MDLMesh CreateCapsule (Vector3 dimensions, Vector2i segments, MDLG } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static MDLMesh CreateCone (Vector3 dimensions, Vector2i segments, MDLGeometryType geometryType, bool inwardNormals, bool cap, IMDLMeshBufferAllocator allocator) { @@ -191,14 +163,10 @@ public static MDLMesh CreateCone (Vector3 dimensions, Vector2i segments, MDLGeom } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static MDLMesh CreatePlane (Vector3 extent, Vector2i segments, MDLGeometryType geometryType, IMDLMeshBufferAllocator allocator) { @@ -206,14 +174,10 @@ public static MDLMesh CreatePlane (Vector3 extent, Vector2i segments, MDLGeometr } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] #endif public static MDLMesh CreateIcosahedron (Vector3 extent, bool inwardNormals, MDLGeometryType geometryType, IMDLMeshBufferAllocator allocator) { diff --git a/src/ModelIO/MDLNoiseTexture.cs b/src/ModelIO/MDLNoiseTexture.cs index 40ca515447bc..5a4cbe2b3b11 100644 --- a/src/ModelIO/MDLNoiseTexture.cs +++ b/src/ModelIO/MDLNoiseTexture.cs @@ -18,13 +18,10 @@ public MDLNoiseTexture (float input, string name, Vector2i textureDimensions, MD } #if NET - [SupportedOSPlatform ("ios10.2")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 2)] - [Mac (10, 12)] #endif public MDLNoiseTexture (float input, string name, Vector2i textureDimensions, MDLTextureChannelEncoding channelEncoding, MDLNoiseTextureType type) { diff --git a/src/ModelIO/MDLStructs.cs b/src/ModelIO/MDLStructs.cs index 03feba9713bd..7c7a5d4a4874 100644 --- a/src/ModelIO/MDLStructs.cs +++ b/src/ModelIO/MDLStructs.cs @@ -38,25 +38,19 @@ namespace ModelIO { public static class MDLVertexFormatExtensions { #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.MetalKitLibrary)] static extern /* MTLVertexFormat */ nuint MTKMetalVertexFormatFromModelIO (/* MTLVertexFormat */ nuint vertexFormat); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public static MTLVertexFormat ToMetalVertexFormat (this MDLVertexFormat vertexFormat) { diff --git a/src/ModelIO/MDLVertexDescriptor.cs b/src/ModelIO/MDLVertexDescriptor.cs index 27080c0b9ee1..6736818a56fe 100644 --- a/src/ModelIO/MDLVertexDescriptor.cs +++ b/src/ModelIO/MDLVertexDescriptor.cs @@ -21,27 +21,19 @@ public partial class MDLVertexDescriptor { } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] #endif [DllImport (Constants.MetalKitLibrary)] static extern /* MDLVertexDescriptor __nonnull */ IntPtr MTKModelIOVertexDescriptorFromMetalWithError (/* MTLVertexDescriptor __nonnull */ IntPtr metalDescriptor, out /* NSError */ IntPtr error); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] #endif public static MDLVertexDescriptor? FromMetal (MTLVertexDescriptor descriptor, out NSError? error) { diff --git a/src/ModelIO/MIEnums.cs b/src/ModelIO/MIEnums.cs index e81fa220adc4..97a85229375a 100644 --- a/src/ModelIO/MIEnums.cs +++ b/src/ModelIO/MIEnums.cs @@ -235,7 +235,6 @@ public enum MDLProbePlacement : long { IrradianceDistribution, } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] public enum MDLNoiseTextureType { Vector, diff --git a/src/MultipeerConnectivity/Enums.cs b/src/MultipeerConnectivity/Enums.cs index 8a2563d2189d..7e3f1ac45053 100644 --- a/src/MultipeerConnectivity/Enums.cs +++ b/src/MultipeerConnectivity/Enums.cs @@ -12,7 +12,6 @@ namespace MultipeerConnectivity { // NSInteger -> MCSession.h - [TV (10, 0)] [MacCatalyst (13, 1)] [Native] public enum MCSessionSendDataMode : long { @@ -21,7 +20,6 @@ public enum MCSessionSendDataMode : long { } // NSInteger -> MCSession.h - [TV (10, 0)] [MacCatalyst (13, 1)] [Native] public enum MCSessionState : long { @@ -31,7 +29,6 @@ public enum MCSessionState : long { } // NSInteger -> MCSession.h - [TV (10, 0)] [MacCatalyst (13, 1)] [Native] public enum MCEncryptionPreference : long { @@ -41,7 +38,6 @@ public enum MCEncryptionPreference : long { } // NSInteger -> MCError.h - [TV (10, 0)] [MacCatalyst (13, 1)] [Native ("MCErrorCode")] [ErrorDomain ("MCErrorDomain")] diff --git a/src/NaturalLanguage/Enums.cs b/src/NaturalLanguage/Enums.cs index 9286af797847..90afcae6c7b9 100644 --- a/src/NaturalLanguage/Enums.cs +++ b/src/NaturalLanguage/Enums.cs @@ -28,7 +28,7 @@ namespace NaturalLanguage { [Flags] [Native] - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] public enum NLTaggerOptions : ulong { OmitWords = 1uL << 0, @@ -40,7 +40,7 @@ public enum NLTaggerOptions : ulong { } [Native] - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] public enum NLModelType : long { Classifier, @@ -48,7 +48,7 @@ public enum NLModelType : long { } [Native] - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] public enum NLTokenUnit : long { Word, @@ -60,7 +60,7 @@ public enum NLTokenUnit : long { [Flags] [Native] - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] public enum NLTokenizerAttributes : ulong { Numeric = 1uL << 0, @@ -68,7 +68,7 @@ public enum NLTokenizerAttributes : ulong { Emoji = 1uL << 2, } - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] public enum NLLanguage { [DefaultEnumValue] @@ -194,7 +194,7 @@ public enum NLLanguage { Kazakh, } - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] public enum NLTagScheme { [Field ("NLTagSchemeTokenType")] @@ -211,7 +211,7 @@ public enum NLTagScheme { Language, [Field ("NLTagSchemeScript")] Script, - [iOS (13, 0), Mac (10, 15), TV (13, 0), Watch (6, 0)] + [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Field ("NLTagSchemeSentimentScore")] SentimentScore, diff --git a/src/Network/NWAdvertiseDescriptor.cs b/src/Network/NWAdvertiseDescriptor.cs index 3c4234478a7d..ab9ac917e92c 100644 --- a/src/Network/NWAdvertiseDescriptor.cs +++ b/src/Network/NWAdvertiseDescriptor.cs @@ -30,7 +30,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif @@ -154,12 +153,11 @@ public bool NoAutoRename { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -167,12 +165,11 @@ public bool NoAutoRename { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -180,12 +177,11 @@ public bool NoAutoRename { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public NWTxtRecord TxtRecord { diff --git a/src/Network/NWBrowseResult.cs b/src/Network/NWBrowseResult.cs index 3738a9020448..bf709608b896 100644 --- a/src/Network/NWBrowseResult.cs +++ b/src/Network/NWBrowseResult.cs @@ -27,12 +27,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWBrowser.cs b/src/Network/NWBrowser.cs index dc11da0b56ae..7095de4e9398 100644 --- a/src/Network/NWBrowser.cs +++ b/src/Network/NWBrowser.cs @@ -33,12 +33,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWBrowserDescriptor.cs b/src/Network/NWBrowserDescriptor.cs index 3638f5c1380f..74add4a98e1e 100644 --- a/src/Network/NWBrowserDescriptor.cs +++ b/src/Network/NWBrowserDescriptor.cs @@ -25,12 +25,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWConnection.cs b/src/Network/NWConnection.cs index 0728c4f325b8..84fdbc00bdb3 100644 --- a/src/Network/NWConnection.cs +++ b/src/Network/NWConnection.cs @@ -52,7 +52,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif @@ -590,12 +589,11 @@ public void Batch (Action method) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -617,12 +615,11 @@ static void TrampolineGetEstablishmentReportHandler (IntPtr block, nw_establishm #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [BindingImpl (BindingImplOptions.Optimizable)] diff --git a/src/Network/NWContentContext.cs b/src/Network/NWContentContext.cs index bd706a386204..5aabe16f0651 100644 --- a/src/Network/NWContentContext.cs +++ b/src/Network/NWContentContext.cs @@ -32,7 +32,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWDataTransferReport.cs b/src/Network/NWDataTransferReport.cs index 772e91a11bba..30b0b010c953 100644 --- a/src/Network/NWDataTransferReport.cs +++ b/src/Network/NWDataTransferReport.cs @@ -29,12 +29,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWEndpoint.cs b/src/Network/NWEndpoint.cs index 925db6837dc0..7e3da222ffbe 100644 --- a/src/Network/NWEndpoint.cs +++ b/src/Network/NWEndpoint.cs @@ -32,7 +32,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif @@ -146,12 +145,11 @@ static string nw_endpoint_copy_address_string (OS_nw_endpoint endpoint) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary, CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)] @@ -159,12 +157,11 @@ static string nw_endpoint_copy_address_string (OS_nw_endpoint endpoint) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public static NWEndpoint? Create (string url) @@ -180,12 +177,11 @@ static string nw_endpoint_copy_address_string (OS_nw_endpoint endpoint) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary, CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)] @@ -193,12 +189,11 @@ static string nw_endpoint_copy_address_string (OS_nw_endpoint endpoint) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public string? Url => Marshal.PtrToStringAnsi (nw_endpoint_get_url (GetCheckedHandle ())); diff --git a/src/Network/NWEnums.cs b/src/Network/NWEnums.cs index 956c34f247c1..f68511624d5a 100644 --- a/src/Network/NWEnums.cs +++ b/src/Network/NWEnums.cs @@ -21,7 +21,7 @@ namespace Network { - [Flags, TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [Flags, TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWBrowseResultChange : ulong { Invalid = 0x00, @@ -33,7 +33,7 @@ public enum NWBrowseResultChange : ulong { InterfaceRemoved = 0x10, } - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWBrowserState { Invalid = 0, @@ -42,7 +42,7 @@ public enum NWBrowserState { Cancelled = 3, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWConnectionState { @@ -64,14 +64,14 @@ public enum NWConnectionGroupState { Cancelled = 4, } - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWDataTransferReportState { Collecting = 1, Collected = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWEndpointType { @@ -79,12 +79,12 @@ public enum NWEndpointType { Address = 1, Host = 2, BonjourService = 3, - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] Url = 4, } - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWReportResolutionSource { Query = 1, @@ -92,7 +92,7 @@ public enum NWReportResolutionSource { ExpiredCache = 3, } - [NoWatch, NoTV, NoiOS, Mac (10, 15)] + [NoWatch, NoTV, NoiOS] [NoMacCatalyst] public enum NWEthernetChannelState { Invalid = 0, @@ -105,14 +105,14 @@ public enum NWEthernetChannelState { // from System/Library/Frameworks/Network.framework/Headers/framer_options.h: [Flags] - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWFramerCreateFlags : uint { Default = 0x00, } // from System/Library/Frameworks/Network.framework/Headers/framer_options.h: - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWFramerStartResult { Unknown = 0, @@ -120,7 +120,7 @@ public enum NWFramerStartResult { WillMarkReady = 2, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] public enum NWIPLocalAddressPreference { Default = 0, @@ -128,7 +128,7 @@ public enum NWIPLocalAddressPreference { Stable = 2, } - [Watch (6, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (6, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] public enum NWIPVersion { Any = 0, @@ -136,7 +136,7 @@ public enum NWIPVersion { Version6 = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWInterfaceType { @@ -147,7 +147,7 @@ public enum NWInterfaceType { Loopback = 4, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWListenerState { @@ -158,7 +158,7 @@ public enum NWListenerState { Cancelled = 4, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWMultiPathService { @@ -168,7 +168,7 @@ public enum NWMultiPathService { Aggregate = 3, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWParametersExpiredDnsBehavior { @@ -178,7 +178,7 @@ public enum NWParametersExpiredDnsBehavior { } // this maps to `nw_path_status_t` in Network/Headers/path.h (and not the enum from NetworkExtension) - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWPathStatus { @@ -204,7 +204,7 @@ public enum NWIPEcnFlag { Ce = 3, } - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWTxtRecordFindKey { Invalid = 0, @@ -214,7 +214,7 @@ public enum NWTxtRecordFindKey { NonEmptyValue = 4, } - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWWebSocketOpCode : int { Cont = 0x0, @@ -226,7 +226,7 @@ public enum NWWebSocketOpCode : int { Invalid = -1, } - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWWebSocketCloseCode : int { NormalClosure = 1000, @@ -244,14 +244,14 @@ public enum NWWebSocketCloseCode : int { } // this maps to `nw_ws_version_t` in Network.framework/Headers/ws_options.h (and not the enum from NetworkExtension) - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWWebSocketVersion { Invalid = 0, Version13 = 1, } - [TV (13, 0), Mac (10, 15), iOS (13, 0), Watch (6, 0)] + [TV (13, 0), iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWWebSocketResponseStatus { Invalid = 0, diff --git a/src/Network/NWError.cs b/src/Network/NWError.cs index 57247e0bbd45..4dda5f24bdad 100644 --- a/src/Network/NWError.cs +++ b/src/Network/NWError.cs @@ -28,7 +28,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWEstablishmentReport.cs b/src/Network/NWEstablishmentReport.cs index 80d232110bda..0487bbbab2b8 100644 --- a/src/Network/NWEstablishmentReport.cs +++ b/src/Network/NWEstablishmentReport.cs @@ -31,12 +31,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWEthernetChannel.cs b/src/Network/NWEthernetChannel.cs index 92672f37434e..6462e4b1f990 100644 --- a/src/Network/NWEthernetChannel.cs +++ b/src/Network/NWEthernetChannel.cs @@ -31,23 +31,20 @@ namespace Network { #if NET - // [SupportedOSPlatform ("macos10.15")] - Not valid on Delegates + // [SupportedOSPlatform ("macos")] - Not valid on Delegates // [UnsupportedOSPlatform ("tvos")] // [UnsupportedOSPlatform ("ios")] #else [NoWatch] [NoTV] [NoiOS] - [Mac (10,15)] #endif public delegate void NWEthernetChannelReceiveDelegate (DispatchData? content, ushort vlanTag, string? localAddress, string? remoteAddress); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("ios")] -#else - [Mac (10,15)] #endif public class NWEthernetChannel : NativeObject { diff --git a/src/Network/NWFramer.cs b/src/Network/NWFramer.cs index bf49dd8b1f68..03e5c7122bd0 100644 --- a/src/Network/NWFramer.cs +++ b/src/Network/NWFramer.cs @@ -35,12 +35,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWFramerMessage.cs b/src/Network/NWFramerMessage.cs index 772b73ef1bca..29c0c32b596e 100644 --- a/src/Network/NWFramerMessage.cs +++ b/src/Network/NWFramerMessage.cs @@ -32,12 +32,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWIPMetadata.cs b/src/Network/NWIPMetadata.cs index f6026009dc46..75c93454bdb7 100644 --- a/src/Network/NWIPMetadata.cs +++ b/src/Network/NWIPMetadata.cs @@ -27,7 +27,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWInterface.cs b/src/Network/NWInterface.cs index 86c91c6097b1..70d59986d74a 100644 --- a/src/Network/NWInterface.cs +++ b/src/Network/NWInterface.cs @@ -31,7 +31,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWListener.cs b/src/Network/NWListener.cs index f0a57e9ec5d4..48919713fa51 100644 --- a/src/Network/NWListener.cs +++ b/src/Network/NWListener.cs @@ -30,7 +30,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif @@ -258,12 +257,11 @@ public void SetAdvertiseDescriptor (NWAdvertiseDescriptor descriptor) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -271,12 +269,11 @@ public void SetAdvertiseDescriptor (NWAdvertiseDescriptor descriptor) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -284,12 +281,11 @@ public void SetAdvertiseDescriptor (NWAdvertiseDescriptor descriptor) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public uint ConnectionLimit { diff --git a/src/Network/NWParameters.cs b/src/Network/NWParameters.cs index 099ed3654a7a..bcf5a8799a0d 100644 --- a/src/Network/NWParameters.cs +++ b/src/Network/NWParameters.cs @@ -34,7 +34,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif @@ -225,7 +224,7 @@ public unsafe static NWParameters CreateUdp (Action? configur #if MONOMAC #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("ios")] @@ -233,13 +232,12 @@ public unsafe static NWParameters CreateUdp (Action? configur [NoWatch] [NoTV] [NoiOS] - [Mac (10,15)] #endif [DllImport (Constants.NetworkLibrary)] unsafe static extern IntPtr nw_parameters_create_custom_ip (byte custom_ip_protocol_number, BlockLiteral *configure_ip); #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("ios")] @@ -247,7 +245,6 @@ public unsafe static NWParameters CreateUdp (Action? configur [NoWatch] [NoTV] [NoiOS] - [Mac (10,15)] #endif [BindingImpl (BindingImplOptions.Optimizable)] public unsafe static NWParameters CreateCustomIP (byte protocolNumber, Action? configureCustomIP = null) @@ -546,12 +543,11 @@ public bool IncludePeerToPeer { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -560,12 +556,11 @@ public bool IncludePeerToPeer { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -573,12 +568,11 @@ public bool IncludePeerToPeer { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public bool ProhibitConstrained { diff --git a/src/Network/NWPath.cs b/src/Network/NWPath.cs index 83ea35a4847f..cf9d8fd3291e 100644 --- a/src/Network/NWPath.cs +++ b/src/Network/NWPath.cs @@ -30,7 +30,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif @@ -164,12 +163,11 @@ public void EnumerateInterfaces (Func callback) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -178,24 +176,22 @@ public void EnumerateInterfaces (Func callback) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public bool IsConstrained => nw_path_is_constrained (GetCheckedHandle ()); #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -219,12 +215,11 @@ static byte TrampolineGatewaysHandler (IntPtr block, IntPtr endpoint) #if !XAMCORE_5_0 #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [Obsolete ("Use the overload that takes a 'Func' instead.")] @@ -241,12 +236,11 @@ public void EnumerateGateways (Action callback) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [BindingImpl (BindingImplOptions.Optimizable)] diff --git a/src/Network/NWPathMonitor.cs b/src/Network/NWPathMonitor.cs index 6315a10ed0d1..1dcb83d2b391 100644 --- a/src/Network/NWPathMonitor.cs +++ b/src/Network/NWPathMonitor.cs @@ -31,7 +31,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWProtocolDefinition.cs b/src/Network/NWProtocolDefinition.cs index c180f1330ace..c3d6ca9abca4 100644 --- a/src/Network/NWProtocolDefinition.cs +++ b/src/Network/NWProtocolDefinition.cs @@ -31,7 +31,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif @@ -98,12 +97,11 @@ public bool Equals (object other) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -111,7 +109,6 @@ public bool Equals (object other) #if !NET [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Obsolete ("Use 'CreateWebSocketDefinition' method instead.")] public static NWProtocolDefinition WebSocketDefinition => new NWProtocolDefinition (nw_protocol_copy_ws_definition (), owns: true); @@ -119,24 +116,22 @@ public bool Equals (object other) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public static NWProtocolDefinition CreateWebSocketDefinition () => new NWProtocolDefinition (nw_protocol_copy_ws_definition (), owns: true); #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -158,12 +153,11 @@ static NWFramerStartResult TrampolineCreateFramerHandler (IntPtr block, IntPtr f #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [BindingImpl (BindingImplOptions.Optimizable)] diff --git a/src/Network/NWProtocolIPOptions.cs b/src/Network/NWProtocolIPOptions.cs index 25c9810d8719..19c75f889349 100644 --- a/src/Network/NWProtocolIPOptions.cs +++ b/src/Network/NWProtocolIPOptions.cs @@ -28,12 +28,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWProtocolMetadata.cs b/src/Network/NWProtocolMetadata.cs index 85a368ca4c21..61e4db896eee 100644 --- a/src/Network/NWProtocolMetadata.cs +++ b/src/Network/NWProtocolMetadata.cs @@ -33,7 +33,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif @@ -246,12 +245,11 @@ public uint TcpGetAvailableSendBuffer () #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -260,24 +258,22 @@ public uint TcpGetAvailableSendBuffer () #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public bool IsFramerMessage => nw_protocol_metadata_is_framer_message (GetCheckedHandle ()); #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -286,12 +282,11 @@ public uint TcpGetAvailableSendBuffer () #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public bool IsWebSocket => nw_protocol_metadata_is_ws (GetCheckedHandle ()); diff --git a/src/Network/NWProtocolOptions.cs b/src/Network/NWProtocolOptions.cs index 8baad9744c36..e4df34d1081c 100644 --- a/src/Network/NWProtocolOptions.cs +++ b/src/Network/NWProtocolOptions.cs @@ -32,7 +32,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif @@ -168,12 +167,11 @@ public void IPSetCalculateReceiveTime (bool calculateReceiveTime) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.NetworkLibrary)] @@ -181,7 +179,6 @@ public void IPSetCalculateReceiveTime (bool calculateReceiveTime) #if !NET [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Obsolete ("Use the 'NWProtocolIPOptions' class instead.")] #endif diff --git a/src/Network/NWProtocolStack.cs b/src/Network/NWProtocolStack.cs index ef577275e92e..4854b24a5b74 100644 --- a/src/Network/NWProtocolStack.cs +++ b/src/Network/NWProtocolStack.cs @@ -34,7 +34,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWProtocolTcpOptions.cs b/src/Network/NWProtocolTcpOptions.cs index ff9a97c9a9c5..68715baa783e 100644 --- a/src/Network/NWProtocolTcpOptions.cs +++ b/src/Network/NWProtocolTcpOptions.cs @@ -33,7 +33,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWProtocolTlsOptions.cs b/src/Network/NWProtocolTlsOptions.cs index 22f96ef8cceb..b6bf93b7d001 100644 --- a/src/Network/NWProtocolTlsOptions.cs +++ b/src/Network/NWProtocolTlsOptions.cs @@ -32,7 +32,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWProtocolUdpOptions.cs b/src/Network/NWProtocolUdpOptions.cs index a3db7268fa3f..eb6a98fd21b8 100644 --- a/src/Network/NWProtocolUdpOptions.cs +++ b/src/Network/NWProtocolUdpOptions.cs @@ -28,7 +28,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWTcpMetadata.cs b/src/Network/NWTcpMetadata.cs index b38e39513bec..802b58d7b336 100644 --- a/src/Network/NWTcpMetadata.cs +++ b/src/Network/NWTcpMetadata.cs @@ -27,7 +27,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWTlsMetadata.cs b/src/Network/NWTlsMetadata.cs index 5c84ef3d1410..b9bece67002c 100644 --- a/src/Network/NWTlsMetadata.cs +++ b/src/Network/NWTlsMetadata.cs @@ -28,7 +28,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWTxtRecord.cs b/src/Network/NWTxtRecord.cs index 4bec176573ae..29ed3e6fdb54 100644 --- a/src/Network/NWTxtRecord.cs +++ b/src/Network/NWTxtRecord.cs @@ -30,12 +30,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWUdpMetadata.cs b/src/Network/NWUdpMetadata.cs index f47507176c49..c932ed311e2e 100644 --- a/src/Network/NWUdpMetadata.cs +++ b/src/Network/NWUdpMetadata.cs @@ -28,7 +28,6 @@ namespace Network { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWWebSocketMetadata.cs b/src/Network/NWWebSocketMetadata.cs index b847f35b71fd..7a8e36dd1d91 100644 --- a/src/Network/NWWebSocketMetadata.cs +++ b/src/Network/NWWebSocketMetadata.cs @@ -28,12 +28,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWWebSocketOptions.cs b/src/Network/NWWebSocketOptions.cs index 9b7f282d2890..6975f2db4598 100644 --- a/src/Network/NWWebSocketOptions.cs +++ b/src/Network/NWWebSocketOptions.cs @@ -27,12 +27,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWWebSocketRequest.cs b/src/Network/NWWebSocketRequest.cs index 16820740f09d..3a5299c2277a 100644 --- a/src/Network/NWWebSocketRequest.cs +++ b/src/Network/NWWebSocketRequest.cs @@ -26,12 +26,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/Network/NWWebSocketResponse.cs b/src/Network/NWWebSocketResponse.cs index f3213f95142b..c2b1afed19fd 100644 --- a/src/Network/NWWebSocketResponse.cs +++ b/src/Network/NWWebSocketResponse.cs @@ -26,12 +26,11 @@ namespace Network { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif diff --git a/src/NetworkExtension/NEEnums.cs b/src/NetworkExtension/NEEnums.cs index 96a566aaec67..9733207cc3de 100644 --- a/src/NetworkExtension/NEEnums.cs +++ b/src/NetworkExtension/NEEnums.cs @@ -2,8 +2,6 @@ namespace NetworkExtension { - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [ErrorDomain ("NEVPNErrorDomain")] [Native] @@ -16,8 +14,6 @@ public enum NEVpnError : long { ConfigurationUnknown = 6 } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum NEVpnStatus : long { @@ -29,8 +25,6 @@ public enum NEVpnStatus : long { Disconnecting = 5 } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum NEVpnIkeAuthenticationMethod : long { @@ -39,8 +33,6 @@ public enum NEVpnIkeAuthenticationMethod : long { SharedSecret = 2 } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native ("NEVPNIKEv2EncryptionAlgorithm")] public enum NEVpnIke2EncryptionAlgorithm : long { @@ -48,22 +40,15 @@ public enum NEVpnIke2EncryptionAlgorithm : long { TripleDES = 2, AES128 = 3, AES256 = 4, - [iOS (8, 3)] - [Mac (10, 11)] [MacCatalyst (13, 1)] AES128GCM = 5, - [iOS (8, 3)] - [Mac (10, 11)] [MacCatalyst (13, 1)] AES256GCM = 6, - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] ChaCha20Poly1305 = 7, } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native ("NEVPNIKEv2IntegrityAlgorithm")] public enum NEVpnIke2IntegrityAlgorithm : long { @@ -74,8 +59,6 @@ public enum NEVpnIke2IntegrityAlgorithm : long { SHA512 = 5 } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native ("NEVPNIKEv2DeadPeerDetectionRate")] public enum NEVpnIke2DeadPeerDetectionRate : long { @@ -85,8 +68,6 @@ public enum NEVpnIke2DeadPeerDetectionRate : long { High = 3 } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native ("NEVPNIKEv2DiffieHellmanGroup")] public enum NEVpnIke2DiffieHellman : long { @@ -103,14 +84,11 @@ public enum NEVpnIke2DiffieHellman : long { Group19 = 19, Group20 = 20, Group21 = 21, - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] Group31 = 31, } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum NEOnDemandRuleAction : long { @@ -120,8 +98,6 @@ public enum NEOnDemandRuleAction : long { Ignore = 4 } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum NEOnDemandRuleInterfaceType : long { @@ -131,8 +107,6 @@ public enum NEOnDemandRuleInterfaceType : long { Cellular = 3 } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Native] public enum NEEvaluateConnectionRuleAction : long { @@ -140,8 +114,6 @@ public enum NEEvaluateConnectionRuleAction : long { NeverConnect = 2 } - [iOS (8, 3)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native ("NEVPNIKEv2CertificateType")] // NSInteger public enum NEVpnIke2CertificateType : long { @@ -149,14 +121,12 @@ public enum NEVpnIke2CertificateType : long { ECDSA256 = 2, ECDSA384 = 3, ECDSA521 = 4, - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] Ed25519 = 5, } // in Xcode7 SDK but marked as 8.0 - [iOS (8, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("NEFilterErrorDomain")] [Native] @@ -170,7 +140,6 @@ public enum NEFilterManagerError : long { ConfigurationInternalError = 6, } - [iOS (9, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("NETunnelProviderErrorDomain")] [Native] @@ -181,7 +150,6 @@ public enum NETunnelProviderError : long { Failed = 3 } - [iOS (9, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("NEAppProxyErrorDomain")] [Native] @@ -200,7 +168,6 @@ public enum NEAppProxyFlowError : long { ReadAlreadyPending = 10, } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum NEProviderStopReason : long { @@ -219,17 +186,14 @@ public enum NEProviderStopReason : long { UserLogout = 12, UserSwitch = 13, ConnectionFailed = 14, - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] Sleep = 15, - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] AppUpdate, } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum NWPathStatus : long { @@ -239,7 +203,6 @@ public enum NWPathStatus : long { Satisfiable = 3 } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum NWTcpConnectionState : long { @@ -251,7 +214,6 @@ public enum NWTcpConnectionState : long { Cancelled = 5 } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum NWUdpSessionState : long { @@ -263,14 +225,11 @@ public enum NWUdpSessionState : long { Cancelled = 5 } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum NETunnelProviderRoutingMethod : long { DestinationIP = 1, SourceApplication = 2, - [Mac (10, 15)] [NoiOS] [NoMacCatalyst] NetworkRule = 3, @@ -278,7 +237,6 @@ public enum NETunnelProviderRoutingMethod : long { #if !MONOMAC [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum NEHotspotHelperCommandType : long { @@ -292,7 +250,6 @@ public enum NEHotspotHelperCommandType : long { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum NEHotspotHelperConfidence : long { @@ -302,7 +259,6 @@ public enum NEHotspotHelperConfidence : long { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum NEHotspotHelperResult : long { diff --git a/src/NetworkExtension/NEVpnManager.cs b/src/NetworkExtension/NEVpnManager.cs index 76bca9620e26..7cce70b7592e 100644 --- a/src/NetworkExtension/NEVpnManager.cs +++ b/src/NetworkExtension/NEVpnManager.cs @@ -23,8 +23,6 @@ public partial class NEVpnManager { [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [Mac (10,11)] #endif public void SetAuthorization (Authorization authorization) { diff --git a/src/NotificationCenter/NCEnums.cs b/src/NotificationCenter/NCEnums.cs index 58216cd4f2aa..778b29f0159b 100644 --- a/src/NotificationCenter/NCEnums.cs +++ b/src/NotificationCenter/NCEnums.cs @@ -10,8 +10,6 @@ namespace NotificationCenter { - [iOS (8, 0)] - [Mac (10, 10)] [Deprecated (PlatformName.iOS, 14, 0)] [Deprecated (PlatformName.MacOSX, 11, 0)] [Native] @@ -21,7 +19,6 @@ public enum NCUpdateResult : ulong { Failed } - [iOS (10, 0)] [NoMac] [Deprecated (PlatformName.iOS, 14, 0)] [Native] diff --git a/src/OpenGLES/EAGLContext.cs b/src/OpenGLES/EAGLContext.cs index 736321a903d0..50815cc40324 100644 --- a/src/OpenGLES/EAGLContext.cs +++ b/src/OpenGLES/EAGLContext.cs @@ -20,14 +20,11 @@ public EAGLContext () #endif #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("tvos12.0", "Use 'Metal' instead.")] [ObsoletedOSPlatform ("ios12.0", "Use 'Metal' instead.")] -#else - [iOS (10, 0)] - [TV (10, 0)] #endif public virtual bool PresentRenderBuffer (nuint target, double presentationTime) { @@ -35,14 +32,11 @@ public virtual bool PresentRenderBuffer (nuint target, double presentationTime) } #if NET - [SupportedOSPlatform ("ios10.3")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("tvos12.0", "Use 'Metal' instead.")] [ObsoletedOSPlatform ("ios12.0", "Use 'Metal' instead.")] -#else - [iOS (10, 3)] - [TV (10, 2)] #endif public virtual bool PresentRenderBuffer (nuint target, double presentationTime, PresentationMode mode) { diff --git a/src/PassKit/PKEnums.cs b/src/PassKit/PKEnums.cs index 48a14f141b5e..3763b3c6b03c 100644 --- a/src/PassKit/PKEnums.cs +++ b/src/PassKit/PKEnums.cs @@ -60,7 +60,6 @@ public enum PKPassType : ulong { } [Mac (11, 0)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Native] public enum PKPaymentAuthorizationStatus : long { @@ -88,13 +87,10 @@ public enum PKPaymentAuthorizationStatus : long { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'Failure' and 'PKPaymentRequest.CreatePaymentContactInvalidError'.")] InvalidShippingContact, - [iOS (9, 2)] [MacCatalyst (13, 1)] PinRequired, - [iOS (9, 2)] [MacCatalyst (13, 1)] PinIncorrect, - [iOS (9, 2)] [MacCatalyst (13, 1)] PinLockout } @@ -122,7 +118,6 @@ public enum PKSecureElementPassActivationState : long { } [Mac (11, 0)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Native] public enum PKMerchantCapability : ulong { @@ -133,7 +128,6 @@ public enum PKMerchantCapability : ulong { } [NoMac] - [Watch (3, 0)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'PKContactField' instead.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'PKContactField' instead.")] [MacCatalyst (13, 1)] @@ -145,7 +139,6 @@ public enum PKAddressField : ulong { PostalAddress = 1 << 0, Phone = 1 << 1, Email = 1 << 2, - [iOS (8, 3)] [MacCatalyst (13, 1)] Name = 1 << 3, All = PostalAddress | Phone | Email | Name @@ -153,7 +146,6 @@ public enum PKAddressField : ulong { [Mac (11, 0)] [NoWatch] - [iOS (8, 3)] [MacCatalyst (13, 1)] [Native] public enum PKPaymentButtonStyle : long { @@ -167,19 +159,15 @@ public enum PKPaymentButtonStyle : long { [Mac (11, 0)] [NoWatch] - [iOS (8, 3)] [MacCatalyst (13, 1)] [Native] public enum PKPaymentButtonType : long { Plain, Buy, - [iOS (9, 0)] [MacCatalyst (13, 1)] SetUp, - [iOS (10, 0)] [MacCatalyst (13, 1)] InStore, - [iOS (10, 2)] [MacCatalyst (13, 1)] Donate, #if NET @@ -238,8 +226,6 @@ public enum PKPaymentButtonType : long { } [Mac (11, 0)] - [Watch (3, 0)] - [iOS (8, 3)] [MacCatalyst (13, 1)] [Native] public enum PKShippingType : ulong { @@ -250,7 +236,6 @@ public enum PKShippingType : ulong { } [Watch (6, 0)] - [iOS (9, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [Native] @@ -262,7 +247,6 @@ public enum PKAddPaymentPassError : long { [Mac (11, 0)] [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum PKAutomaticPassPresentationSuppressionResult : ulong { @@ -274,8 +258,6 @@ public enum PKAutomaticPassPresentationSuppressionResult : ulong { } [Mac (11, 0)] - [Watch (3, 0)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum PKPaymentMethodType : ulong { @@ -288,8 +270,6 @@ public enum PKPaymentMethodType : ulong { } [Mac (11, 0)] - [Watch (3, 0)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum PKPaymentSummaryItemType : ulong { @@ -299,7 +279,6 @@ public enum PKPaymentSummaryItemType : ulong { [NoWatch] [NoMac] // under `#if TARGET_OS_IOS` - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum PKAddPassButtonStyle : long { @@ -308,8 +287,6 @@ public enum PKAddPassButtonStyle : long { } [Mac (11, 0)] - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("PKPaymentErrorDomain")] [Native] diff --git a/src/PassKit/PKPaymentRequest.cs b/src/PassKit/PKPaymentRequest.cs index b5f48d7caab5..c752dc18add5 100644 --- a/src/PassKit/PKPaymentRequest.cs +++ b/src/PassKit/PKPaymentRequest.cs @@ -44,13 +44,10 @@ static public NSSet GetSet (PKContactFields values) public partial class PKPaymentRequest { #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos11.0")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] - [iOS (11, 0)] #endif public PKContactFields RequiredBillingContactFields { get { return PKContactFieldsExtensions.GetValue (WeakRequiredBillingContactFields); } @@ -58,13 +55,10 @@ public PKContactFields RequiredBillingContactFields { } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos11.0")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [Watch (4, 0)] - [iOS (11, 0)] #endif public PKContactFields RequiredShippingContactFields { get { return PKContactFieldsExtensions.GetValue (WeakRequiredShippingContactFields); } diff --git a/src/PdfKit/Enums.cs b/src/PdfKit/Enums.cs index cf9c834983f3..ff05640393c5 100644 --- a/src/PdfKit/Enums.cs +++ b/src/PdfKit/Enums.cs @@ -36,7 +36,6 @@ namespace PdfKit { - [iOS (11,0)] [Native] public enum PdfActionNamedName : long { None = 0, @@ -53,7 +52,6 @@ public enum PdfActionNamedName : long { ZoomOut = 11 } - [iOS (11,0)] [Native] public enum PdfWidgetControlType : long { Unknown = -1, @@ -62,7 +60,6 @@ public enum PdfWidgetControlType : long { CheckBox = 2 } - [iOS (11,0)] [Native] public enum PdfLineStyle : long { None = 0, @@ -73,7 +70,6 @@ public enum PdfLineStyle : long { ClosedArrow = 5 } - [iOS (11,0)] [Native] public enum PdfMarkupType : long { Highlight = 0, @@ -82,7 +78,6 @@ public enum PdfMarkupType : long { Redact = 3, } - [iOS (11,0)] [Native] public enum PdfTextAnnotationIconType : long { Comment = 0, @@ -94,7 +89,6 @@ public enum PdfTextAnnotationIconType : long { Insert = 6 } - [iOS (11,0)] [Native] public enum PdfBorderStyle : long { Solid = 0, @@ -117,7 +111,6 @@ public enum PdfPrintScalingMode : long { DownToFit = 2 } - [iOS (11,0)] [Native] public enum PdfDocumentPermissions : long { None = 0, @@ -125,7 +118,6 @@ public enum PdfDocumentPermissions : long { Owner = 2 } - [iOS (11,0)] [Native] public enum PdfDisplayBox : long { Media = 0, @@ -135,7 +127,6 @@ public enum PdfDisplayBox : long { Art = 4 } - [iOS (11,0)] [Native] public enum PdfDisplayMode : long { SinglePage = 0, @@ -144,7 +135,6 @@ public enum PdfDisplayMode : long { TwoUpContinuous = 3 } - [iOS (11,0)] [Flags] [Native] public enum PdfAreaOfInterest : long { @@ -162,15 +152,12 @@ public enum PdfAreaOfInterest : long { AnyArea = Int64.MaxValue, } - [Mac (10,13)] - [iOS (11,0)] [Native] public enum PdfDisplayDirection : long { Vertical = 0, Horizontal = 1, } - [iOS (11,0)] [Native] public enum PdfInterpolationQuality : long { None = 0, @@ -179,14 +166,12 @@ public enum PdfInterpolationQuality : long { } [NoMac] - [iOS (11,0)] [Native] public enum PdfThumbnailLayoutMode : long { Vertical = 0, Horizontal = 1, } - [iOS (11,0), Mac (10,12)] [Native] public enum PdfWidgetCellState : long { Mixed = -1, diff --git a/src/PdfKit/PdfAnnotation.cs b/src/PdfKit/PdfAnnotation.cs index 90531076f8bc..e5a7235dcf93 100644 --- a/src/PdfKit/PdfAnnotation.cs +++ b/src/PdfKit/PdfAnnotation.cs @@ -21,11 +21,9 @@ public partial class PdfAnnotation { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [Mac (10, 12)] #endif public bool SetValue (T value, PdfAnnotationKey key) where T : class, INativeObject { @@ -37,11 +35,9 @@ public bool SetValue (T value, PdfAnnotationKey key) where T : class, INative #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [Mac (10, 12)] #endif public bool SetValue (string str, PdfAnnotationKey key) { @@ -55,11 +51,9 @@ public bool SetValue (string str, PdfAnnotationKey key) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [Mac (10, 12)] #endif public T GetValue (PdfAnnotationKey key) where T : class, INativeObject { @@ -78,11 +72,9 @@ public PdfAnnotationKey AnnotationType { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [Mac (10, 13)] #endif public CGPoint [] QuadrilateralPoints { get { diff --git a/src/Photos/Enums.cs b/src/Photos/Enums.cs index b331b3eb9471..d86445560fc0 100644 --- a/src/Photos/Enums.cs +++ b/src/Photos/Enums.cs @@ -4,9 +4,6 @@ namespace Photos { // NSInteger -> PHImageManager.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHImageContentMode : long { @@ -16,9 +13,6 @@ public enum PHImageContentMode : long { } // NSInteger -> PHImageManager.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] public enum PHImageRequestOptionsVersion : long { @@ -28,9 +22,6 @@ public enum PHImageRequestOptionsVersion : long { } // NSInteger -> PHImageManager.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] public enum PHImageRequestOptionsDeliveryMode : long { @@ -40,9 +31,6 @@ public enum PHImageRequestOptionsDeliveryMode : long { } // NSInteger -> PHImageManager.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] public enum PHImageRequestOptionsResizeMode : long { @@ -52,9 +40,6 @@ public enum PHImageRequestOptionsResizeMode : long { } // NSInteger -> PHImageManager.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Native] public enum PHVideoRequestOptionsVersion : long { @@ -63,9 +48,6 @@ public enum PHVideoRequestOptionsVersion : long { } // NSInteger -> PHImageManager.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Native] public enum PHVideoRequestOptionsDeliveryMode : long { @@ -76,9 +58,6 @@ public enum PHVideoRequestOptionsDeliveryMode : long { } // NSInteger -> PhotosTypes.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHCollectionListType : long { @@ -91,9 +70,6 @@ public enum PHCollectionListType : long { SmartFolder = 3 } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHCollectionListSubtype : long { @@ -125,9 +101,6 @@ public enum PHCollectionListSubtype : long { } // NSUInteger -> PhotosTypes.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHCollectionEditOperation : long { @@ -142,9 +115,6 @@ public enum PHCollectionEditOperation : long { } // NSInteger -> PhotosTypes.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHAssetCollectionType : long { @@ -159,9 +129,6 @@ public enum PHAssetCollectionType : long { } // NSInteger -> PhotosTypes.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHAssetCollectionSubtype : long { @@ -182,33 +149,20 @@ public enum PHAssetCollectionSubtype : long { SmartAlbumBursts = 207, SmartAlbumSlomoVideos = 208, SmartAlbumUserLibrary = 209, - [iOS (9, 0)] [MacCatalyst (13, 1)] SmartAlbumSelfPortraits = 210, - [iOS (9, 0)] [MacCatalyst (13, 1)] SmartAlbumScreenshots = 211, - [iOS (10, 2), TV (10, 1)] - [Mac (10, 13)] [MacCatalyst (13, 1)] SmartAlbumDepthEffect = 212, - [iOS (10, 3), TV (10, 2)] - [Mac (10, 13)] [MacCatalyst (13, 1)] SmartAlbumLivePhotos = 213, - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] SmartAlbumAnimated = 214, - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] SmartAlbumLongExposures = 215, [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] SmartAlbumUnableToUpload = 216, [iOS (15, 0), TV (15, 0), Mac (12, 0), MacCatalyst (15, 0)] @@ -220,9 +174,6 @@ public enum PHAssetCollectionSubtype : long { } // NSUInteger -> PhotosTypes.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHAssetEditOperation : long { @@ -233,9 +184,6 @@ public enum PHAssetEditOperation : long { } // NSInteger -> PhotosTypes.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHAssetMediaType : long { @@ -246,9 +194,6 @@ public enum PHAssetMediaType : long { } // NSUInteger -> PhotosTypes.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -256,13 +201,10 @@ public enum PHAssetMediaSubtype : ulong { None = 0, PhotoPanorama = (1 << 0), PhotoHDR = (1 << 1), - [iOS (9, 0)] [MacCatalyst (13, 1)] Screenshot = (1 << 2), - [iOS (9, 1)] [MacCatalyst (13, 1)] PhotoLive = (1 << 3), - [iOS (10, 2), TV (10, 1), Mac (10, 15)] [MacCatalyst (13, 1)] PhotoDepthEffect = (1 << 4), VideoStreamed = (1 << 16), @@ -272,9 +214,6 @@ public enum PHAssetMediaSubtype : ulong { } // NSUInteger -> PhotosTypes.h - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -284,9 +223,6 @@ public enum PHAssetBurstSelectionType : ulong { UserPick = (1 << 1) } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] public enum PHAuthorizationStatus : long { @@ -301,9 +237,6 @@ public enum PHAuthorizationStatus : long { Limited, } - [iOS (9, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Native] public enum PHAssetResourceType : long { @@ -315,23 +248,19 @@ public enum PHAssetResourceType : long { FullSizeVideo = 6, AdjustmentData = 7, AdjustmentBasePhoto = 8, - [iOS (9, 1)] [MacCatalyst (13, 1)] PairedVideo = 9, - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] FullSizePairedVideo = 10, - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] AdjustmentBasePairedVideo = 11, - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] AdjustmentBaseVideo = 12, } - [iOS (9, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHAssetSourceType : ulong { @@ -341,9 +270,6 @@ public enum PHAssetSourceType : ulong { iTunesSynced = (1 << 2) } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum PHLivePhotoFrameType : long { @@ -351,8 +277,6 @@ public enum PHLivePhotoFrameType : long { Video } - [TV (11, 0), iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] public enum PHAssetPlaybackStyle : long { @@ -364,7 +288,6 @@ public enum PHAssetPlaybackStyle : long { VideoLooping = 5, } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -375,7 +298,6 @@ public enum PHProjectTextElementType : long { Subtitle, } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -395,7 +317,6 @@ public enum PHProjectCreationSource : long { ProjectExtension = 26, } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -408,7 +329,6 @@ public enum PHProjectSectionType : long { } [NoMacCatalyst] - [Mac (10, 12)] [NoiOS] [NoTV] [Native ("PHLivePhotoEditingErrorCode")] @@ -420,7 +340,6 @@ public enum PHLivePhotoEditingError : long { Aborted, } - [Mac (10, 14)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -437,7 +356,7 @@ public enum FigExifCustomRenderedValue : short { } [ErrorDomain ("PHPhotosErrorDomain")] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum PHPhotosError : long { diff --git a/src/PhotosUI/PHEnums.cs b/src/PhotosUI/PHEnums.cs index f94681508f7d..784b7aa01d8a 100644 --- a/src/PhotosUI/PHEnums.cs +++ b/src/PhotosUI/PHEnums.cs @@ -4,9 +4,6 @@ namespace PhotosUI { - [Mac (10, 12)] - [TV (10, 0)] - [iOS (9, 1)] [MacCatalyst (13, 1)] [Native] public enum PHLivePhotoViewPlaybackStyle : long { @@ -17,7 +14,6 @@ public enum PHLivePhotoViewPlaybackStyle : long { #if MONOMAC [NoiOS][NoTV][NoMacCatalyst] - [Mac (10,12)] [Native] public enum PHLivePhotoViewContentMode : long { AspectFit, @@ -25,8 +21,6 @@ public enum PHLivePhotoViewContentMode : long { } #else [NoMac] - [TV (10, 0)] - [iOS (9, 1)] [MacCatalyst (13, 1)] [Native] [Flags] // NS_OPTIONS @@ -39,7 +33,6 @@ public enum PHLivePhotoBadgeOptions : ulong { [NoiOS] [NoTV] [NoWatch] - [Mac (10, 14)] [NoMacCatalyst] public enum PHProjectCategory { [Field ("PHProjectCategoryBook")] @@ -56,7 +49,6 @@ public enum PHProjectCategory { WallDecor, [Field ("PHProjectCategoryOther")] Other, - [Mac (10, 14, 2)] [NoMacCatalyst] [Field ("PHProjectCategoryUndefined")] Undefined, diff --git a/src/ReplayKit/RPEnums.cs b/src/ReplayKit/RPEnums.cs index 9713c4293e27..e89b64fea1a6 100644 --- a/src/ReplayKit/RPEnums.cs +++ b/src/ReplayKit/RPEnums.cs @@ -10,8 +10,6 @@ namespace ReplayKit { - [iOS (9, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [Native ("RPRecordingErrorCode")] @@ -58,7 +56,6 @@ public enum RPRecordingError : long { } [NoiOS] - [TV (10, 0)] [NoMac] [NoMacCatalyst] [Native] @@ -68,8 +65,6 @@ public enum RPPreviewViewControllerMode : long { } [Native] - [iOS (10, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] public enum RPSampleBufferType : long { @@ -79,7 +74,6 @@ public enum RPSampleBufferType : long { } [Native] - [iOS (11, 0)] [NoTV] [Mac (11, 0)] [MacCatalyst (13, 1)] diff --git a/src/SafariServices/SSEnums.cs b/src/SafariServices/SSEnums.cs index 1d8c4832c718..152261279b06 100644 --- a/src/SafariServices/SSEnums.cs +++ b/src/SafariServices/SSEnums.cs @@ -25,7 +25,6 @@ public enum SSReadingListError : long { } [NoMac] - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'SFErrorCode' enum.")] [MacCatalyst (13, 4)] [Deprecated (PlatformName.MacCatalyst, 13, 4, message: "Use 'SFErrorCode' enum.")] @@ -38,7 +37,6 @@ public enum SFContentBlockerErrorCode : long { LoadingInterrupted = 3 } - [iOS (10, 0)] [Introduced (PlatformName.MacCatalyst, 13, 4)] [Native] [ErrorDomain ("SFErrorDomain")] @@ -50,7 +48,6 @@ public enum SFErrorCode : long { } [NoMac] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum SFSafariViewControllerDismissButtonStyle : long { @@ -60,7 +57,6 @@ public enum SFSafariViewControllerDismissButtonStyle : long { } [NoMac] - [iOS (11, 0)] [Native] [ErrorDomain ("SFAuthenticationErrorDomain")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'ASWebAuthenticationSessionErrorCode' instead.")] @@ -73,12 +69,10 @@ public enum SFAuthenticationError : long { #if !NET [Obsolete ("Enum not used by any API.")] [NoiOS] - [Mac (10, 12, 4)] [Native] public enum SFSafariServicesVersion : long { V10_0, V10_1, - [Mac (10, 13)] V11_0, } #endif diff --git a/src/SceneKit/Defs.cs b/src/SceneKit/Defs.cs index a20adbee44fb..3df32d2236f3 100644 --- a/src/SceneKit/Defs.cs +++ b/src/SceneKit/Defs.cs @@ -17,8 +17,6 @@ namespace SceneKit { - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] // untyped enum (SceneKitTypes.h) but described as the value of `code` for `NSError` which is an NSInteger [ErrorDomain ("SCNErrorDomain")] @@ -26,8 +24,6 @@ public enum SCNErrorCode : long { ProgramCompilationError = 1, } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNGeometryPrimitiveType : long { @@ -35,39 +31,29 @@ public enum SCNGeometryPrimitiveType : long { TriangleStrip, Line, Point, - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] Polygon } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNTransparencyMode : long { AOne, RgbZero, - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] SingleLayer = 2, - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] DualLayer = 3, - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] Default = AOne, } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNCullMode : long { Back, Front } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNFilterMode : long { @@ -76,8 +62,6 @@ public enum SCNFilterMode : long { Linear } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNWrapMode : long { @@ -88,8 +72,6 @@ public enum SCNWrapMode : long { Mirror } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNSceneSourceStatus : long { @@ -100,9 +82,6 @@ public enum SCNSceneSourceStatus : long { Complete = 16 } - [Watch (3, 0)] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNChamferMode : long { @@ -111,9 +90,6 @@ public enum SCNChamferMode : long { Back } - [Watch (3, 0)] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNMorpherCalculationMode : long { @@ -121,9 +97,6 @@ public enum SCNMorpherCalculationMode : long { Additive } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNActionTimingMode : long { @@ -133,9 +106,6 @@ public enum SCNActionTimingMode : long { EaseInEaseOut } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNShadowMode : long { @@ -144,9 +114,6 @@ public enum SCNShadowMode : long { Modulated } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNPhysicsBodyType : long { @@ -155,9 +122,6 @@ public enum SCNPhysicsBodyType : long { Kinematic } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNPhysicsFieldScope : long { @@ -165,9 +129,6 @@ public enum SCNPhysicsFieldScope : long { OutsideExtent } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNParticleSortingMode : long { @@ -178,9 +139,6 @@ public enum SCNParticleSortingMode : long { YoungestFirst } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNParticleBlendMode : long { @@ -192,9 +150,6 @@ public enum SCNParticleBlendMode : long { Replace } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNParticleOrientationMode : long { @@ -204,9 +159,6 @@ public enum SCNParticleOrientationMode : long { BillboardYAligned } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNParticleBirthLocation : long { @@ -215,9 +167,6 @@ public enum SCNParticleBirthLocation : long { Vertex } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNParticleBirthDirection : long { @@ -226,9 +175,6 @@ public enum SCNParticleBirthDirection : long { Random } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNParticleImageSequenceAnimationMode : long { @@ -237,9 +183,6 @@ public enum SCNParticleImageSequenceAnimationMode : long { AutoReverse } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNParticleInputMode : long { @@ -248,9 +191,6 @@ public enum SCNParticleInputMode : long { OverOtherProperty } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNParticleModifierStage : long { @@ -260,9 +200,6 @@ public enum SCNParticleModifierStage : long { PostCollision } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNParticleEvent : long { @@ -298,7 +235,6 @@ public enum SCNPhysicsSearchMode { Any, Closest, All, } - [Watch (3, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNAntialiasingMode : ulong { @@ -315,7 +251,6 @@ public enum SCNAntialiasingMode : ulong { #endif } - [Watch (3, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNPhysicsCollisionCategory : ulong { @@ -325,9 +260,6 @@ public enum SCNPhysicsCollisionCategory : ulong { All = UInt64.MaxValue } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum SCNBillboardAxis : ulong { @@ -337,9 +269,6 @@ public enum SCNBillboardAxis : ulong { All = (X | Y | Z) } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum SCNReferenceLoadingPolicy : long { @@ -347,9 +276,6 @@ public enum SCNReferenceLoadingPolicy : long { OnDemand = 1 } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum SCNBlendMode : long { @@ -359,14 +285,10 @@ public enum SCNBlendMode : long { Multiply = 3, Screen = 4, Replace = 5, - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] Max = 6, } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -378,26 +300,18 @@ public enum SCNDebugOptions : ulong { ShowLightExtents = 1 << 3, ShowPhysicsFields = 1 << 4, ShowWireframe = 1 << 5, - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] RenderAsWireframe = 1 << 6, - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] ShowSkeletons = 1 << 7, - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] ShowCreases = 1 << 8, - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] ShowConstraints = 1 << 9, - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] ShowCameras = 1 << 10, } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum SCNRenderingApi : ulong { @@ -416,9 +330,6 @@ public enum SCNRenderingApi : ulong { #endif } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum SCNBufferFrequency : long { @@ -427,8 +338,6 @@ public enum SCNBufferFrequency : long { Shadable = 2, } - [Watch (3, 0)] - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNMovabilityHint : long { @@ -436,7 +345,6 @@ public enum SCNMovabilityHint : long { Movable } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -449,7 +357,6 @@ public enum SCNColorMask : long { All = 15, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNInteractionMode : long { @@ -462,7 +369,6 @@ public enum SCNInteractionMode : long { Truck, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNFillMode : ulong { @@ -470,7 +376,7 @@ public enum SCNFillMode : ulong { Lines = 1, } - [NoWatch, Mac (10, 13), iOS (11, 0)] + [NoWatch] [TV (12, 0)] [MacCatalyst (13, 1)] [Native] @@ -479,7 +385,6 @@ public enum SCNTessellationSmoothingMode : long { PNTriangles, Phong, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNHitTestSearchMode : long { @@ -488,7 +393,6 @@ public enum SCNHitTestSearchMode : long { Any = 2, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNCameraProjectionDirection : long { @@ -496,7 +400,6 @@ public enum SCNCameraProjectionDirection : long { Horizontal = 1, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNNodeFocusBehavior : long { @@ -505,7 +408,7 @@ public enum SCNNodeFocusBehavior : long { Focusable, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNLightProbeType : long { @@ -513,7 +416,7 @@ public enum SCNLightProbeType : long { Radiance = 1, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNLightProbeUpdateType : long { @@ -521,7 +424,7 @@ public enum SCNLightProbeUpdateType : long { Realtime = 1, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum SCNLightAreaType : long { @@ -529,8 +432,6 @@ public enum SCNLightAreaType : long { Polygon = 4, } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum SCNPhysicsShapeType { ConvexHull, diff --git a/src/SceneKit/SCNCompat.cs b/src/SceneKit/SCNCompat.cs index 57b6900d1edd..90f4e2f10b86 100644 --- a/src/SceneKit/SCNCompat.cs +++ b/src/SceneKit/SCNCompat.cs @@ -52,7 +52,6 @@ public virtual void SetTimingFunction (Action timingFunction) } #if TVOS && !NET partial class SCNMaterialProperty { - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "This API has been totally removed on iOS.")] [Deprecated (PlatformName.TvOS, 10, 0, message: "This API has been totally removed on tvOS.")] public virtual NSObject? BorderColor { get; set; } @@ -61,7 +60,6 @@ partial class SCNMaterialProperty { #if TVOS && !NET partial class SCNRenderer { - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 9, 0, message: "This API has been totally removed on iOS.")] [Deprecated (PlatformName.TvOS, 10, 0, message: "This API has been totally removed on tvOS.")] public virtual void Render () @@ -73,14 +71,12 @@ public virtual void Render () #if MONOMAC && !NET partial class SCNScene { [Obsolete ("Use the 'ISCNSceneExportDelegate' overload instead.")] - [Mac (10, 9)] public virtual bool WriteToUrl (NSUrl url, SCNSceneLoadingOptions options, SCNSceneExportDelegate handler, SCNSceneExportProgressHandler exportProgressHandler) { return WriteToUrl (url: url, options: options?.Dictionary, aDelegate: handler, exportProgressHandler: exportProgressHandler); } [Obsolete ("Use the 'ISCNSceneExportDelegate' overload instead.")] - [Mac (10, 9)] public virtual bool WriteToUrl (NSUrl url, NSDictionary options, SCNSceneExportDelegate handler, SCNSceneExportProgressHandler exportProgressHandler) { return WriteToUrl (url: url, options: options, aDelegate: handler, exportProgressHandler: exportProgressHandler); @@ -90,15 +86,12 @@ public virtual bool WriteToUrl (NSUrl url, NSDictionary options, SCNSceneExportD #if !NET public abstract partial class SCNSceneRenderer : NSObject { - [Mac (10, 10)] [Obsolete ("Use 'SCNSceneRenderer_Extensions.PrepareAsync' instead.")] public unsafe virtual Task PrepareAsync (NSObject [] objects) { return SCNSceneRenderer_Extensions.PrepareAsync (this, objects); } - [iOS (9, 0)] - [Mac (10, 11, 0, PlatformArchitecture.Arch64)] [Obsolete ("Use 'SCNSceneRenderer_Extensions.PresentSceneAsync' instead.")] public unsafe virtual Task PresentSceneAsync (SCNScene scene, global::SpriteKit.SKTransition transition, SCNNode pointOfView) { @@ -110,7 +103,6 @@ public unsafe virtual Task PresentSceneAsync (SCNScene scene, global::SpriteKit. #if !NET - [Mac (10, 9), iOS (8, 0), Watch (4, 0)] public delegate void SCNAnimationEventHandler (AnimationType animation, NSObject animatedObject, bool playingBackward); public partial class SCNAnimationEvent : NSObject { @@ -126,9 +118,6 @@ public static SCNAnimationEvent Create (nfloat keyTime, SCNAnimationEventHandler #endif // !NET #if !WATCH && !NET - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13, 0, PlatformArchitecture.Arch64)] static public partial class SCNAnimatableExtensions { static public void AddAnimation (this ISCNAnimatable self, SCNAnimation animation, string key) { @@ -140,7 +129,6 @@ static public void AddAnimation (this ISCNAnimatable self, SCNAnimation animatio #endif // !WATCH && !NET #if !NET - [Watch (3, 0)] public partial class SCNHitTestOptions { [Obsolete ("Use 'SearchMode' instead.")] public SCNHitTestSearchMode? OptionSearchMode { diff --git a/src/SceneKit/SCNJavaScript.cs b/src/SceneKit/SCNJavaScript.cs index 34f71df3a7c2..3ff61a0b1c5d 100644 --- a/src/SceneKit/SCNJavaScript.cs +++ b/src/SceneKit/SCNJavaScript.cs @@ -20,12 +20,9 @@ namespace SceneKit { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif public static class SCNJavaScript { [DllImport (Constants.SceneKitLibrary)] diff --git a/src/SceneKit/SCNPhysicsShape.cs b/src/SceneKit/SCNPhysicsShape.cs index f1a5a4545f5f..08a45a11a123 100644 --- a/src/SceneKit/SCNPhysicsShape.cs +++ b/src/SceneKit/SCNPhysicsShape.cs @@ -96,12 +96,9 @@ public SCNPhysicsShapeOptions? Options { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif public class SCNPhysicsShapeOptions { public SCNPhysicsShapeType? ShapeType { get; set; } diff --git a/src/SceneKit/SCNSkinner.cs b/src/SceneKit/SCNSkinner.cs index 8ba7da0384e1..35e94cc86b6f 100644 --- a/src/SceneKit/SCNSkinner.cs +++ b/src/SceneKit/SCNSkinner.cs @@ -54,11 +54,9 @@ static NSArray ToNSArray (SCNMatrix4 []? items) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] #endif public SCNMatrix4 []? BoneInverseBindTransforms { get { return FromNSArray (_BoneInverseBindTransforms); } @@ -66,11 +64,9 @@ public SCNMatrix4 []? BoneInverseBindTransforms { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] #endif public static SCNSkinner Create (SCNGeometry baseGeometry, SCNNode [] bones, SCNMatrix4 [] boneInverseBindTransforms, diff --git a/src/Security/Certificate.cs b/src/Security/Certificate.cs index 60122272de71..98970aaeb01b 100644 --- a/src/Security/Certificate.cs +++ b/src/Security/Certificate.cs @@ -255,15 +255,13 @@ internal static bool Equals (SecCertificate first, SecCertificate second) } #else #if NET - [SupportedOSPlatform ("ios10.3")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("macos")] [ObsoletedOSPlatform ("tvos12.0")] [ObsoletedOSPlatform ("ios12.0")] #else - [iOS (10, 3)] - [TV (10, 3)] [Deprecated (PlatformName.iOS, 12, 0)] [Deprecated (PlatformName.TvOS, 12, 0)] [Deprecated (PlatformName.WatchOS, 5, 0)] @@ -272,15 +270,13 @@ internal static bool Equals (SecCertificate first, SecCertificate second) static extern /* __nullable SecKeyRef */ IntPtr SecCertificateCopyPublicKey (IntPtr /* SecCertificateRef */ certificate); #if NET - [SupportedOSPlatform ("ios10.3")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("macos")] [ObsoletedOSPlatform ("tvos12.0", "Use 'GetKey' instead.")] [ObsoletedOSPlatform ("ios12.0", "Use 'GetKey' instead.")] #else - [iOS (10, 3)] - [TV (10, 3)] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'GetKey' instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'GetKey' instead.")] [Deprecated (PlatformName.WatchOS, 5, 0, message: "Use 'GetKey' instead.")] @@ -300,7 +296,6 @@ internal static bool Equals (SecCertificate first, SecCertificate second) [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (5, 0)] #endif @@ -314,7 +309,6 @@ internal static bool Equals (SecCertificate first, SecCertificate second) [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (5, 0)] #endif @@ -325,27 +319,19 @@ internal static bool Equals (SecCertificate first, SecCertificate second) } #if NET - [SupportedOSPlatform ("ios10.3")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 3)] // - [TV (10, 3)] - [Watch (3, 3)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* OSStatus */ int SecCertificateCopyCommonName (IntPtr /* SecCertificateRef */ certificate, out IntPtr /* CFStringRef * __nonnull CF_RETURNS_RETAINED */ commonName); #if NET - [SupportedOSPlatform ("ios10.3")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 3)] - [TV (10, 3)] - [Watch (3, 3)] #endif public string? GetCommonName () { @@ -355,27 +341,19 @@ internal static bool Equals (SecCertificate first, SecCertificate second) } #if NET - [SupportedOSPlatform ("ios10.3")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 3)] // - [TV (10, 3)] - [Watch (3, 3)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* OSStatus */ int SecCertificateCopyEmailAddresses (IntPtr /* SecCertificateRef */ certificate, out IntPtr /* CFArrayRef * __nonnull CF_RETURNS_RETAINED */ emailAddresses); #if NET - [SupportedOSPlatform ("ios10.3")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 3)] - [TV (10, 3)] - [Watch (3, 3)] #endif public string? []? GetEmailAddresses () { @@ -385,29 +363,19 @@ internal static bool Equals (SecCertificate first, SecCertificate second) } #if NET - [SupportedOSPlatform ("ios10.3")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 3)] - [Mac (10, 12, 4)] - [TV (10, 3)] - [Watch (3, 3)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* __nullable CFDataRef */ IntPtr SecCertificateCopyNormalizedIssuerSequence (IntPtr /* SecCertificateRef */ certificate); #if NET - [SupportedOSPlatform ("ios10.3")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 3)] - [Mac (10, 12, 4)] - [TV (10, 3)] - [Watch (3, 3)] #endif public NSData? GetNormalizedIssuerSequence () { @@ -416,29 +384,19 @@ internal static bool Equals (SecCertificate first, SecCertificate second) } #if NET - [SupportedOSPlatform ("ios10.3")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 3)] - [Mac (10, 12, 4)] - [TV (10, 3)] - [Watch (3, 3)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* __nullable CFDataRef */ IntPtr SecCertificateCopyNormalizedSubjectSequence (IntPtr /* SecCertificateRef */ certificate); #if NET - [SupportedOSPlatform ("ios10.3")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.3")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 3)] - [Mac (10, 12, 4)] - [TV (10, 3)] - [Watch (3, 3)] #endif public NSData? GetNormalizedSubjectSequence () { @@ -459,7 +417,7 @@ internal static bool Equals (SecCertificate first, SecCertificate second) #else // !MONOMAC #if NET - [SupportedOSPlatform ("ios10.3")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] @@ -467,7 +425,6 @@ internal static bool Equals (SecCertificate first, SecCertificate second) [ObsoletedOSPlatform ("tvos11.0", "Use 'GetSerialNumber' instead.")] [ObsoletedOSPlatform ("ios11.0", "Use 'GetSerialNumber' instead.")] #else - [iOS (10, 3)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'GetSerialNumber' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'GetSerialNumber' instead.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'GetSerialNumber' instead.")] @@ -477,7 +434,7 @@ internal static bool Equals (SecCertificate first, SecCertificate second) static extern /* __nullable CFDataRef */ IntPtr SecCertificateCopySerialNumber (IntPtr /* SecCertificateRef */ certificate); #endif #if NET - [SupportedOSPlatform ("ios10.3")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] @@ -485,7 +442,6 @@ internal static bool Equals (SecCertificate first, SecCertificate second) [ObsoletedOSPlatform ("tvos11.0", "Use 'GetSerialNumber(out NSError)' instead.")] [ObsoletedOSPlatform ("ios11.0", "Use 'GetSerialNumber(out NSError)' instead.")] #else - [iOS (10, 3)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'GetSerialNumber(out NSError)' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'GetSerialNumber(out NSError)' instead.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'GetSerialNumber(out NSError)' instead.")] @@ -502,29 +458,19 @@ internal static bool Equals (SecCertificate first, SecCertificate second) } #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* __nullable CFDataRef */ IntPtr SecCertificateCopySerialNumberData (IntPtr /* SecCertificateRef */ certificate, ref IntPtr /* CFErrorRef * */ error); #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] #endif public NSData? GetSerialNumber (out NSError? error) { @@ -962,29 +908,19 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern IntPtr /* SecKeyRef _Nullable */ SecKeyCreateRandomKey (IntPtr /* CFDictionaryRef* */ parameters, out IntPtr /* CFErrorRef** */ error); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif static public SecKey? CreateRandomKey (NSDictionary parameters, out NSError? error) { @@ -998,15 +934,10 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif static public SecKey? CreateRandomKey (SecKeyType keyType, int keySizeInBits, NSDictionary? parameters, out NSError? error) { @@ -1019,15 +950,10 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif static public SecKey? CreateRandomKey (SecKeyGenerationParameters parameters, out NSError? error) { @@ -1042,29 +968,19 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern IntPtr /* SecKeyRef _Nullable */ SecKeyCreateWithData (IntPtr /* CFDataRef* */ keyData, IntPtr /* CFDictionaryRef* */ attributes, out IntPtr /* CFErrorRef** */ error); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif static public SecKey? Create (NSData keyData, NSDictionary parameters, out NSError? error) { @@ -1080,15 +996,10 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif static public SecKey? Create (NSData keyData, SecKeyType keyType, SecKeyClass keyClass, int keySizeInBits, NSDictionary parameters, out NSError? error) { @@ -1102,29 +1013,19 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern IntPtr /* CFDataRef _Nullable */ SecKeyCopyExternalRepresentation (IntPtr /* SecKeyRef* */ key, out IntPtr /* CFErrorRef** */ error); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public NSData? GetExternalRepresentation (out NSError? error) { @@ -1134,15 +1035,10 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public NSData? GetExternalRepresentation () { @@ -1151,29 +1047,19 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern IntPtr /* CFDictionaryRef _Nullable */ SecKeyCopyAttributes (IntPtr /* SecKeyRef* */ key); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public NSDictionary? GetAttributes () { @@ -1182,29 +1068,19 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern IntPtr /* SecKeyRef* */ SecKeyCopyPublicKey (IntPtr /* SecKeyRef* */ key); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public SecKey? GetPublicKey () { @@ -1213,30 +1089,20 @@ public SecStatusCode Decrypt (SecPadding padding, byte [] cipherText, out byte [ } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] [return: MarshalAs (UnmanagedType.U1)] static extern bool /* Boolean */ SecKeyIsAlgorithmSupported (IntPtr /* SecKeyRef* */ key, /* SecKeyOperationType */ nint operation, IntPtr /* SecKeyAlgorithm* */ algorithm); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public bool IsAlgorithmSupported (SecKeyOperationType operation, SecKeyAlgorithm algorithm) { @@ -1244,29 +1110,19 @@ public bool IsAlgorithmSupported (SecKeyOperationType operation, SecKeyAlgorithm } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* CFDataRef _Nullable */ IntPtr SecKeyCreateSignature (/* SecKeyRef */ IntPtr key, /* SecKeyAlgorithm */ IntPtr algorithm, /* CFDataRef */ IntPtr dataToSign, /* CFErrorRef* */ out IntPtr error); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public NSData? CreateSignature (SecKeyAlgorithm algorithm, NSData dataToSign, out NSError? error) { @@ -1279,30 +1135,20 @@ public bool IsAlgorithmSupported (SecKeyOperationType operation, SecKeyAlgorithm } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] [return: MarshalAs (UnmanagedType.U1)] static extern /* Boolean */ bool SecKeyVerifySignature (/* SecKeyRef */ IntPtr key, /* SecKeyAlgorithm */ IntPtr algorithm, /* CFDataRef */ IntPtr signedData, /* CFDataRef */ IntPtr signature, /* CFErrorRef* */ out IntPtr error); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public bool VerifySignature (SecKeyAlgorithm algorithm, NSData signedData, NSData signature, out NSError? error) { @@ -1317,29 +1163,19 @@ public bool VerifySignature (SecKeyAlgorithm algorithm, NSData signedData, NSDat } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* CFDataRef _Nullable */ IntPtr SecKeyCreateEncryptedData (/* SecKeyRef */ IntPtr key, /* SecKeyAlgorithm */ IntPtr algorithm, /* CFDataRef */ IntPtr plaintext, /* CFErrorRef* */ out IntPtr error); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public NSData? CreateEncryptedData (SecKeyAlgorithm algorithm, NSData plaintext, out NSError? error) { @@ -1352,29 +1188,19 @@ public bool VerifySignature (SecKeyAlgorithm algorithm, NSData signedData, NSDat } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* CFDataRef _Nullable */ IntPtr SecKeyCreateDecryptedData (/* SecKeyRef */ IntPtr key, /* SecKeyAlgorithm */ IntPtr algorithm, /* CFDataRef */ IntPtr ciphertext, /* CFErrorRef* */ out IntPtr error); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public NSData? CreateDecryptedData (SecKeyAlgorithm algorithm, NSData ciphertext, out NSError? error) { @@ -1387,29 +1213,19 @@ public bool VerifySignature (SecKeyAlgorithm algorithm, NSData signedData, NSDat } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* CFDataRef _Nullable */ IntPtr SecKeyCopyKeyExchangeResult (/* SecKeyRef */ IntPtr privateKey, /* SecKeyAlgorithm */ IntPtr algorithm, /* SecKeyRef */ IntPtr publicKey, /* CFDictionaryRef */ IntPtr parameters, /* CFErrorRef* */ out IntPtr error); #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public NSData? GetKeyExchangeResult (SecKeyAlgorithm algorithm, SecKey publicKey, NSDictionary parameters, out NSError? error) { @@ -1424,15 +1240,10 @@ public bool VerifySignature (SecKeyAlgorithm algorithm, NSData signedData, NSDat } #if NET - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] #endif public NSData? GetKeyExchangeResult (SecKeyAlgorithm algorithm, SecKey publicKey, SecKeyKeyExchangeParameter parameters, out NSError? error) { diff --git a/src/Security/Enums.cs b/src/Security/Enums.cs index b15a6402306b..65d1f112e3b9 100644 --- a/src/Security/Enums.cs +++ b/src/Security/Enums.cs @@ -405,12 +405,9 @@ public enum SecPadding { PKCS1 = 1, [NoMac] - [TV (10, 0)] - [Watch (3, 0)] [MacCatalyst (13, 1)] OAEP = 2, - [iOS (8, 3)] [MacCatalyst (13, 1)] Raw = 0x4000, @@ -462,8 +459,6 @@ public enum SecTrustResult { } // convenience enum mapping to kSecUseAuthenticationUI* fields - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] public enum SecAuthenticationUI { NotSet = -1, @@ -488,8 +483,6 @@ public enum SecAuthenticationUI { Skip } - [iOS (9, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] public enum SecTokenID { None = 0, @@ -498,10 +491,6 @@ public enum SecTokenID { SecureEnclave, } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum SecKeyOperationType : long { diff --git a/src/Security/Items.cs b/src/Security/Items.cs index 61cc6c3b2725..e088b167f788 100644 --- a/src/Security/Items.cs +++ b/src/Security/Items.cs @@ -838,12 +838,10 @@ public bool SynchronizableAny { #if !MONOMAC #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [UnsupportedOSPlatform ("macos")] -#else - [iOS (9, 0)] #endif public string? SyncViewHint { get { @@ -855,12 +853,10 @@ public string? SyncViewHint { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public SecTokenID TokenID { get { @@ -998,13 +994,12 @@ public string? UseOperationPrompt { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("macos")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("ios9.0", "Use 'AuthenticationUI' property instead.")] #else - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 9, 0, message: "Use 'AuthenticationUI' property instead.")] #endif public bool UseNoAuthenticationUI { @@ -1017,13 +1012,10 @@ public bool UseNoAuthenticationUI { } #endif #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public SecAuthenticationUI AuthenticationUI { get { @@ -1037,13 +1029,10 @@ public SecAuthenticationUI AuthenticationUI { #if !WATCH && !TVOS #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public LocalAuthentication.LAContext? AuthenticationContext { get { @@ -1383,15 +1372,10 @@ public string? AccessGroup { } #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] #endif public bool PersistentReference { get { @@ -1405,13 +1389,12 @@ public bool PersistentReference { #if NET [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] #endif public bool UseDataProtectionKeychain { get { @@ -1821,13 +1804,10 @@ public partial class SecKeyParameters : DictionaryContainer { SecAccessControl? _secAccessControl; #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public SecAccessControl AccessControl { get { @@ -1863,13 +1843,10 @@ public SecKeyType KeyType { SecAccessControl? _secAccessControl; #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public SecAccessControl AccessControl { get { @@ -1885,13 +1862,10 @@ public SecAccessControl AccessControl { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 12)] #endif public SecTokenID TokenID { get { diff --git a/src/Security/SecAccessControl.cs b/src/Security/SecAccessControl.cs index f2d1f478eb38..cc323615aa78 100644 --- a/src/Security/SecAccessControl.cs +++ b/src/Security/SecAccessControl.cs @@ -38,25 +38,19 @@ public enum SecAccessControlCreateFlags : long { UserPresence = 1 << 0, #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 12, 1)] #endif [Advice ("'BiometryAny' is preferred over 'TouchIDAny' since Xcode 9.3. Touch ID and Face ID together are biometric authentication mechanisms.")] TouchIDAny = BiometryAny, #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 12, 1)] #endif [Advice ("'BiometryCurrentSet' is preferred over 'TouchIDCurrentSet' since Xcode 9.3. Touch ID and Face ID together are biometric authentication mechanisms.")] TouchIDCurrentSet = BiometryCurrentSet, @@ -64,47 +58,37 @@ public enum SecAccessControlCreateFlags : long { // Added in iOS 11.3 and macOS 10.13.4 but keeping initial availability attribute because it's using the value // of 'TouchIDAny' which iOS 9 / macOS 10.12.1 will accept. #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 12, 1)] #endif BiometryAny = 1 << 1, // Added in iOS 11.3 and macOS 10.13.4 but keeping initial availability attribute because it's using the value // of 'TouchIDCurrentSet' which iOS 9 / macOS 10.12.1 will accept. #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 12, 1)] #endif BiometryCurrentSet = 1 << 3, #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif DevicePasscode = 1 << 4, #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [UnsupportedOSPlatform ("ios")] [UnsupportedOSPlatform ("tvos")] #else - [Mac (10, 15)] [NoiOS] [NoTV] [NoWatch] @@ -112,46 +96,34 @@ public enum SecAccessControlCreateFlags : long { Watch = 1 << 5, #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 12, 1)] #endif Or = 1 << 14, #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 12, 1)] #endif And = 1 << 15, #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 12, 1)] #endif PrivateKeyUsage = 1 << 30, #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] - [Mac (10, 12, 1)] #endif #if NET ApplicationPassword = 1UL << 31, @@ -162,12 +134,9 @@ public enum SecAccessControlCreateFlags : long { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 10)] - [iOS (8, 0)] #endif public partial class SecAccessControl : NativeObject { #if !COREBUILD diff --git a/src/Security/SecCertificate2.cs b/src/Security/SecCertificate2.cs index 1185340c2a7d..87c6052b152f 100644 --- a/src/Security/SecCertificate2.cs +++ b/src/Security/SecCertificate2.cs @@ -34,7 +34,6 @@ namespace Security { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (5, 0)] #endif diff --git a/src/Security/SecIdentity2.cs b/src/Security/SecIdentity2.cs index c7af2d1d4a69..d1279b2d5f64 100644 --- a/src/Security/SecIdentity2.cs +++ b/src/Security/SecIdentity2.cs @@ -34,7 +34,6 @@ namespace Security { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (5, 0)] #endif @@ -94,13 +93,12 @@ public SecCertificate [] Certificates { #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -120,13 +118,12 @@ static void TrampolineAccessCertificates (IntPtr block, IntPtr cert) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif // no [Async] as it can be called multiple times diff --git a/src/Security/SecPolicy.cs b/src/Security/SecPolicy.cs index dd9155546d1a..9bb5f9ec4234 100644 --- a/src/Security/SecPolicy.cs +++ b/src/Security/SecPolicy.cs @@ -45,8 +45,6 @@ public partial class SecPolicy { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.SecurityLibrary)] extern static IntPtr /* __nullable SecPolicyRef */ SecPolicyCreateRevocation (/* CFOptionFlags */ nuint revocationFlags); @@ -56,8 +54,6 @@ public partial class SecPolicy { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif static public SecPolicy? CreateRevocationPolicy (SecRevocation revocationFlags) { @@ -70,8 +66,6 @@ public partial class SecPolicy { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.SecurityLibrary)] extern static IntPtr /* __nullable SecPolicyRef */ SecPolicyCreateWithProperties (IntPtr /* CFTypeRef */ policyIdentifier, IntPtr /* CFDictionaryRef */ properties); @@ -81,8 +75,6 @@ public partial class SecPolicy { [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif static public SecPolicy CreatePolicy (NSString policyIdentifier, NSDictionary properties) { diff --git a/src/Security/SecProtocolMetadata.cs b/src/Security/SecProtocolMetadata.cs index 563030ae53be..264e2056bbc9 100644 --- a/src/Security/SecProtocolMetadata.cs +++ b/src/Security/SecProtocolMetadata.cs @@ -31,7 +31,6 @@ namespace Security { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (5, 0)] #endif @@ -91,12 +90,11 @@ internal SecProtocolMetadata (NativeHandle handle, bool owns) : base (handle, ow #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif @@ -105,12 +103,11 @@ internal SecProtocolMetadata (NativeHandle handle, bool owns) : base (handle, ow #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif @@ -118,12 +115,11 @@ internal SecProtocolMetadata (NativeHandle handle, bool owns) : base (handle, ow #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif @@ -132,12 +128,11 @@ internal SecProtocolMetadata (NativeHandle handle, bool owns) : base (handle, ow #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] #endif @@ -364,13 +359,12 @@ public void SetSignatureAlgorithmsForPeerHandler (Action callback) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -378,26 +372,24 @@ public void SetSignatureAlgorithmsForPeerHandler (Action callback) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public string? ServerName => Marshal.PtrToStringAnsi (sec_protocol_metadata_get_server_name (GetCheckedHandle ())); #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -419,13 +411,12 @@ static void TrampolineAccessPreSharedKeys (IntPtr block, IntPtr psk, IntPtr psk_ #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif // no [Async] as it can be called multiple times diff --git a/src/Security/SecProtocolOptions.cs b/src/Security/SecProtocolOptions.cs index 2831c44c33f8..758cf737309b 100644 --- a/src/Security/SecProtocolOptions.cs +++ b/src/Security/SecProtocolOptions.cs @@ -33,7 +33,6 @@ namespace Security { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (5, 0)] #endif @@ -74,13 +73,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -88,13 +86,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public void AddTlsCipherSuite (TlsCipherSuite cipherSuite) => sec_protocol_options_append_tls_ciphersuite (GetCheckedHandle (), cipherSuite); @@ -134,13 +131,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -148,13 +144,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public void AddTlsCipherSuiteGroup (TlsCipherSuiteGroup cipherSuiteGroup) => sec_protocol_options_append_tls_ciphersuite_group (GetCheckedHandle (), cipherSuiteGroup); @@ -195,13 +190,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -209,13 +203,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public void SetTlsMinVersion (TlsProtocolVersion protocol) => sec_protocol_options_set_min_tls_protocol_version (GetCheckedHandle (), protocol); @@ -256,13 +249,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -270,13 +262,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public void SetTlsMaxVersion (TlsProtocolVersion protocol) => sec_protocol_options_set_max_tls_protocol_version (GetCheckedHandle (), protocol); @@ -284,13 +275,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -298,26 +288,24 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif static public TlsProtocolVersion DefaultMinDtlsProtocolVersion => sec_protocol_options_get_default_min_dtls_protocol_version (); #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -325,26 +313,24 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif static public TlsProtocolVersion DefaultMaxDtlsProtocolVersion => sec_protocol_options_get_default_max_dtls_protocol_version (); #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -352,26 +338,24 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif static public TlsProtocolVersion DefaultMinTlsProtocolVersion => sec_protocol_options_get_default_min_tls_protocol_version (); #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -379,13 +363,12 @@ public void SetLocalIdentity (SecIdentity2 identity) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif static public TlsProtocolVersion DefaultMaxTlsProtocolVersion => sec_protocol_options_get_default_max_tls_protocol_version (); @@ -520,13 +503,12 @@ public void SetKeyUpdateCallback (SecProtocolKeyUpdate keyUpdate, DispatchQueue #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -536,13 +518,12 @@ public void SetKeyUpdateCallback (SecProtocolKeyUpdate keyUpdate, DispatchQueue // Equatable would be nice but would fail on earlier OS versions #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public bool IsEqual (SecProtocolOptions other) @@ -554,13 +535,12 @@ public bool IsEqual (SecProtocolOptions other) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif static public bool IsEqual (SecProtocolOptions optionsA, SecProtocolOptions optionsB) @@ -574,13 +554,12 @@ static public bool IsEqual (SecProtocolOptions optionsA, SecProtocolOptions opti #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -588,13 +567,12 @@ static public bool IsEqual (SecProtocolOptions optionsA, SecProtocolOptions opti #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public void SetTlsPreSharedKeyIdentityHint (DispatchData pskIdentityHint) diff --git a/src/Security/SecSharedCredential.cs b/src/Security/SecSharedCredential.cs index 75c56514ab52..22d043d9430a 100644 --- a/src/Security/SecSharedCredential.cs +++ b/src/Security/SecSharedCredential.cs @@ -66,7 +66,7 @@ public static void AddSharedWebCredential (string domainName, string account, st } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos11.0")] [SupportedOSPlatform ("maccatalyst14.0")] [ObsoletedOSPlatform ("macos11.0")] @@ -108,7 +108,7 @@ public static void RequestSharedWebCredential (string domainName, string account #endif #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos11.0")] [SupportedOSPlatform ("maccatalyst14.0")] [ObsoletedOSPlatform ("macos11.0", "Use 'ASAuthorizationPasswordRequest' instead.")] diff --git a/src/Security/SecTrust.cs b/src/Security/SecTrust.cs index 05bd7374e4a0..c79bc84881e0 100644 --- a/src/Security/SecTrust.cs +++ b/src/Security/SecTrust.cs @@ -100,8 +100,6 @@ public void SetPolicies (NSArray policies) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.SecurityLibrary)] extern static SecStatusCode /* OSStatus */ SecTrustGetNetworkFetchAllowed (IntPtr /* SecTrustRef */ trust, [MarshalAs (UnmanagedType.I1)] out bool /* Boolean* */ allowFetch); @@ -111,8 +109,6 @@ public void SetPolicies (NSArray policies) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.SecurityLibrary)] extern static SecStatusCode /* OSStatus */ SecTrustSetNetworkFetchAllowed (IntPtr /* SecTrustRef */ trust, [MarshalAs (UnmanagedType.I1)] bool /* Boolean */ allowFetch); @@ -122,8 +118,6 @@ public void SetPolicies (NSArray policies) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public bool NetworkFetchAllowed { get { @@ -228,13 +222,12 @@ public SecStatusCode Evaluate (DispatchQueue queue, SecTrustCallback handler) #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -256,13 +249,12 @@ static void TrampolineEvaluateError (IntPtr block, IntPtr trust, bool result, In #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [BindingImpl (BindingImplOptions.Optimizable)] @@ -314,7 +306,6 @@ public SecTrustResult GetTrustResult () #else [Watch (5, 0)] [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif [DllImport (Constants.SecurityLibrary)] @@ -329,7 +320,6 @@ public SecTrustResult GetTrustResult () #else [Watch (5, 0)] [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif public bool Evaluate (out NSError? error) @@ -344,8 +334,6 @@ public bool Evaluate (out NSError? error) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.SecurityLibrary)] extern static IntPtr /* CFDictionaryRef */ SecTrustCopyResult (IntPtr /* SecTrustRef */ trust); @@ -355,8 +343,6 @@ public bool Evaluate (out NSError? error) [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public NSDictionary GetResult () { @@ -368,8 +354,6 @@ public NSDictionary GetResult () [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.SecurityLibrary)] extern static SecStatusCode /* OSStatus */ SecTrustSetOCSPResponse (IntPtr /* SecTrustRef */ trust, IntPtr /* CFTypeRef */ responseData); @@ -380,8 +364,6 @@ public NSDictionary GetResult () [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif void SetOCSPResponse (IntPtr ocsp) { @@ -436,13 +418,12 @@ public void SetOCSPResponse (NSArray ocspResponses) #if NET [SupportedOSPlatform ("ios12.1.1")] [SupportedOSPlatform ("tvos12.1.1")] - [SupportedOSPlatform ("macos10.14.2")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (12, 1, 1)] [Watch (5, 1, 1)] [TV (12, 1, 1)] - [Mac (10, 14, 2)] #endif [DllImport (Constants.SecurityLibrary)] static extern SecStatusCode /* OSStatus */ SecTrustSetSignedCertificateTimestamps (/* SecTrustRef* */ IntPtr trust, /* CFArrayRef* */ IntPtr sctArray); @@ -450,13 +431,12 @@ public void SetOCSPResponse (NSArray ocspResponses) #if NET [SupportedOSPlatform ("ios12.1.1")] [SupportedOSPlatform ("tvos12.1.1")] - [SupportedOSPlatform ("macos10.14.2")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (12, 1, 1)] [Watch (5, 1, 1)] [TV (12, 1, 1)] - [Mac (10, 14, 2)] #endif public SecStatusCode SetSignedCertificateTimestamps (IEnumerable sct) { @@ -470,13 +450,12 @@ public SecStatusCode SetSignedCertificateTimestamps (IEnumerable sct) #if NET [SupportedOSPlatform ("ios12.1.1")] [SupportedOSPlatform ("tvos12.1.1")] - [SupportedOSPlatform ("macos10.14.2")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] #else [iOS (12, 1, 1)] [Watch (5, 1, 1)] [TV (12, 1, 1)] - [Mac (10, 14, 2)] #endif public SecStatusCode SetSignedCertificateTimestamps (NSArray sct) { diff --git a/src/Security/SecTrust2.cs b/src/Security/SecTrust2.cs index c52d5ef422b6..1cfc9c410eda 100644 --- a/src/Security/SecTrust2.cs +++ b/src/Security/SecTrust2.cs @@ -34,7 +34,6 @@ namespace Security { [SupportedOSPlatform ("maccatalyst")] #else [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] [Watch (5, 0)] #endif diff --git a/src/Security/SecureTransport.cs b/src/Security/SecureTransport.cs index bb76c00d1885..a2e2462b46c4 100644 --- a/src/Security/SecureTransport.cs +++ b/src/Security/SecureTransport.cs @@ -19,10 +19,6 @@ public enum SslProtocol { Tls_1_1 = 7, Tls_1_2 = 8, Dtls_1_0 = 9, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] Tls_1_3 = 10, Dtls_1_2 = 11, @@ -34,7 +30,7 @@ public enum SslProtocol { All = 6, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] // CF_ENUM(uint16_t, tls_protocol_version_t) [NativeName ("tls_protocol_version_t")] @@ -47,7 +43,7 @@ public enum TlsProtocolVersion : ushort { Dtls12 = 65277, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] // CF_ENUM(uint16_t, tls_ciphersuite_t) [NativeName ("tls_ciphersuite_t")] @@ -80,7 +76,7 @@ public enum TlsCipherSuite : ushort { Chacha20Poly1305Sha256 = 4867 } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] // CF_ENUM(uint16_t, tls_ciphersuite_group_t) [NativeName ("tls_ciphersuite_group_t")] @@ -186,36 +182,23 @@ public enum SslSessionOption { BreakOnCertRequested, BreakOnClientAuth, - [Mac (10, 9)] [MacCatalyst (13, 1)] FalseStart, SendOneByteRecord, - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] AllowServerIdentityChange = 5, - [iOS (8, 1)] - [Mac (10, 10)] [MacCatalyst (13, 1)] Fallback = 6, - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] BreakOnClientHello = 7, - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] AllowRenegotiation = 8, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] EnableSessionTickets = 9, } diff --git a/src/Security/SslContext.cs b/src/Security/SslContext.cs index ca3f0a608e7b..9c8255ceb957 100644 --- a/src/Security/SslContext.cs +++ b/src/Security/SslContext.cs @@ -580,35 +580,25 @@ public SslStatus SetSessionStrengthPolicy (SslSessionStrengthPolicy policyStreng #endif #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] - [Watch (3, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern int SSLSetSessionConfig (IntPtr /* SSLContextRef* */ context, IntPtr /* CFStringRef* */ config); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] - [Watch (3, 0)] #endif [EditorBrowsable (EditorBrowsableState.Advanced)] public int SetSessionConfig (NSString config) @@ -620,17 +610,13 @@ public int SetSessionConfig (NSString config) } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] #endif public int SetSessionConfig (SslSessionConfig config) { @@ -638,35 +624,25 @@ public int SetSessionConfig (SslSessionConfig config) } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] #endif [DllImport (Constants.SecurityLibrary)] static extern int SSLReHandshake (IntPtr /* SSLContextRef* */ context); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] #endif public int ReHandshake () { @@ -674,46 +650,37 @@ public int ReHandshake () } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* OSStatus */ SslStatus SSLCopyRequestedPeerName (IntPtr /* SSLContextRef* */ context, byte [] /* char* */ peerName, ref nuint /* size_t */ peerNameLen); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* OSStatus */ SslStatus SSLCopyRequestedPeerNameLength (IntPtr /* SSLContextRef* */ context, ref nuint /* size_t */ peerNameLen); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (9, 0)] - [Mac (10, 11)] #endif public string GetRequestedPeerName () { @@ -728,35 +695,25 @@ public string GetRequestedPeerName () } #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* OSStatus */ int SSLSetSessionTicketsEnabled (IntPtr /* SSLContextRef */ context, [MarshalAs (UnmanagedType.I1)] bool /* Boolean */ enabled); #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] #endif public int SetSessionTickets (bool enabled) { @@ -764,35 +721,25 @@ public int SetSessionTickets (bool enabled) } #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* OSStatus */ int SSLSetError (IntPtr /* SSLContextRef */ context, SecStatusCode /* OSStatus */ status); #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] #endif public int SetError (SecStatusCode status) { @@ -800,35 +747,25 @@ public int SetError (SecStatusCode status) } #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* OSStatus */ int SSLSetOCSPResponse (IntPtr /* SSLContextRef */ context, IntPtr /* CFDataRef __nonnull */ response); #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] #endif public int SetOcspResponse (NSData response) { @@ -838,35 +775,25 @@ public int SetOcspResponse (NSData response) } #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13, 4)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* OSStatus */ int SSLSetALPNProtocols (IntPtr /* SSLContextRef */ context, IntPtr /* CFArrayRef */ protocols); #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13, 4)] #endif public int SetAlpnProtocols (string [] protocols) { @@ -875,35 +802,25 @@ public int SetAlpnProtocols (string [] protocols) } #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13, 4)] #endif [DllImport (Constants.SecurityLibrary)] static extern /* OSStatus */ int SSLCopyALPNProtocols (IntPtr /* SSLContextRef */ context, ref IntPtr /* CFArrayRef* */ protocols); #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13, 4)] #endif public string? [] GetAlpnProtocols (out int error) @@ -916,18 +833,13 @@ public int SetAlpnProtocols (string [] protocols) } #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [ObsoletedOSPlatform ("macos10.15", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("tvos13.0", "Use 'Network.framework' instead.")] [ObsoletedOSPlatform ("ios13.0", "Use 'Network.framework' instead.")] -#else - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13, 4)] #endif public string? [] GetAlpnProtocols () { diff --git a/src/Security/Trust.cs b/src/Security/Trust.cs index ae34c68db9fe..3fd7dbe8acf6 100644 --- a/src/Security/Trust.cs +++ b/src/Security/Trust.cs @@ -327,8 +327,6 @@ public SecKey GetKey () [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.SecurityLibrary)] extern static IntPtr /* CFDataRef */ SecTrustCopyExceptions (IntPtr /* SecTrustRef */ trust); @@ -338,8 +336,6 @@ public SecKey GetKey () [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public NSData? GetExceptions () { @@ -351,8 +347,6 @@ public SecKey GetKey () [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.SecurityLibrary)] [return: MarshalAs (UnmanagedType.U1)] @@ -363,8 +357,6 @@ public SecKey GetKey () [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [Mac (10, 9)] #endif public bool SetExceptions (NSData data) { diff --git a/src/SpriteKit/Enums.cs b/src/SpriteKit/Enums.cs index dccc6344c4f5..2824b8ae9e16 100644 --- a/src/SpriteKit/Enums.cs +++ b/src/SpriteKit/Enums.cs @@ -111,8 +111,6 @@ public enum SKParticleRenderOrder : ulong { DontCare, } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Native] public enum SKAttributeType : long { @@ -127,8 +125,6 @@ public enum SKAttributeType : long { VectorHalfFloat4 = 8, } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum SKTileDefinitionRotation : ulong { @@ -138,8 +134,6 @@ public enum SKTileDefinitionRotation : ulong { Angle270, } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum SKTileSetType : ulong { @@ -149,8 +143,6 @@ public enum SKTileSetType : ulong { HexagonalPointy, } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] public enum SKTileAdjacencyMask : ulong { @@ -192,7 +184,7 @@ public enum SKTileAdjacencyMask : ulong { } [NoMac] - [TV (11, 0), iOS (11, 0), Watch (9, 0)] + [Watch (9, 0)] [MacCatalyst (13, 1)] [Native] public enum SKNodeFocusBehavior : long { diff --git a/src/SpriteKit/SKNode.cs b/src/SpriteKit/SKNode.cs index 3509d593c111..f2a2f0677792 100644 --- a/src/SpriteKit/SKNode.cs +++ b/src/SpriteKit/SKNode.cs @@ -20,13 +20,10 @@ namespace SpriteKit { public partial class SKNode : IEnumerable, IEnumerable { #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static T? FromFile (string file) where T : SKNode { @@ -71,7 +68,6 @@ IEnumerator IEnumerable.GetEnumerator () #else [Watch (5, 0)] [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif public static SKNode? Create (string filename, Type [] types, out NSError error) @@ -99,7 +95,6 @@ IEnumerator IEnumerable.GetEnumerator () #else [Watch (5, 0)] [TV (12, 0)] - [Mac (10, 14)] [iOS (12, 0)] #endif public static SKNode? Create (string filename, NSSet classes, out NSError error) diff --git a/src/SpriteKit/SKShapeNode.cs b/src/SpriteKit/SKShapeNode.cs index 47331a924824..5a2b951b0e29 100644 --- a/src/SpriteKit/SKShapeNode.cs +++ b/src/SpriteKit/SKShapeNode.cs @@ -17,13 +17,10 @@ namespace SpriteKit { public partial class SKShapeNode : SKNode { #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static SKShapeNode FromPoints (CGPoint [] points) { @@ -34,13 +31,10 @@ public static SKShapeNode FromPoints (CGPoint [] points) } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static SKShapeNode FromPoints (CGPoint [] points, int offset, int length) { @@ -53,13 +47,10 @@ public static SKShapeNode FromPoints (CGPoint [] points, int offset, int length) } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static SKShapeNode FromSplinePoints (CGPoint [] points) { @@ -70,13 +61,10 @@ public static SKShapeNode FromSplinePoints (CGPoint [] points) } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] - [Mac (10, 10)] #endif public static SKShapeNode FromSplinePoints (CGPoint [] points, int offset, int length) { diff --git a/src/StoreKit/Enums.cs b/src/StoreKit/Enums.cs index 2d806bbfab3f..4cbe6065b242 100644 --- a/src/StoreKit/Enums.cs +++ b/src/StoreKit/Enums.cs @@ -15,7 +15,7 @@ public enum SKPaymentTransactionState : long { Failed, Restored, [MacCatalyst (13, 1)] - [iOS (8, 0)] Deferred + Deferred } // untyped enum and not used in API - so it _could_ be an `int` @@ -67,7 +67,6 @@ public enum SKDownloadState : long { } [Watch (7, 0)] - [iOS (9, 3)] [MacCatalyst (13, 1)] [Native] public enum SKCloudServiceAuthorizationStatus : long { @@ -78,20 +77,17 @@ public enum SKCloudServiceAuthorizationStatus : long { } [Watch (7, 0)] - [iOS (9, 3)] [MacCatalyst (13, 1)] [Native] public enum SKCloudServiceCapability : ulong { None = 0, MusicCatalogPlayback = 1 << 0, - [NoTV, iOS (10, 1)] + [NoTV] [MacCatalyst (13, 1)] MusicCatalogSubscriptionEligible = 1 << 1, AddToCloudMusicLibrary = 1 << 8 } - [iOS (11, 0)] - [TV (11, 0)] [Mac (11, 0)] [NoWatch] [MacCatalyst (13, 1)] @@ -102,7 +98,7 @@ public enum SKProductStorePromotionVisibility : long { Hide, } - [Watch (6, 2), iOS (11, 2), TV (11, 2), Mac (10, 13, 2)] + [Watch (6, 2), iOS (11, 2), TV (11, 2)] [MacCatalyst (13, 1)] [Native] public enum SKProductPeriodUnit : ulong { @@ -112,7 +108,7 @@ public enum SKProductPeriodUnit : ulong { Year, } - [Watch (6, 2), iOS (11, 2), TV (11, 2), Mac (10, 13, 2)] + [Watch (6, 2), iOS (11, 2), TV (11, 2)] [MacCatalyst (13, 1)] [Native] public enum SKProductDiscountPaymentMode : ulong { diff --git a/src/StoreKit/NativeMethods.cs b/src/StoreKit/NativeMethods.cs index 0141ae41eb9b..69cff2c0fc4a 100644 --- a/src/StoreKit/NativeMethods.cs +++ b/src/StoreKit/NativeMethods.cs @@ -8,13 +8,10 @@ namespace StoreKit { partial class SKReceiptRefreshRequest { #if NET - [SupportedOSPlatform ("ios7.1")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (7, 1)] - [Mac (10, 14)] #endif [DllImport (Constants.StoreKitLibrary, EntryPoint = "SKTerminateForInvalidReceipt")] static extern public void TerminateForInvalidReceipt (); diff --git a/src/TVServices/TVEnums.cs b/src/TVServices/TVEnums.cs index f271bbf5da4c..dbdb5a110f90 100644 --- a/src/TVServices/TVEnums.cs +++ b/src/TVServices/TVEnums.cs @@ -28,7 +28,6 @@ public enum TVTopShelfContentStyle : long { Sectioned = 2 } - [TV (11, 0)] [Native] [Flags] public enum TVContentItemImageTrait : ulong { diff --git a/src/UIKit/NSLayoutManager.cs b/src/UIKit/NSLayoutManager.cs index cd7114ed377b..1c684f949cf5 100644 --- a/src/UIKit/NSLayoutManager.cs +++ b/src/UIKit/NSLayoutManager.cs @@ -111,13 +111,12 @@ public unsafe void ShowCGGlyphs ( #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [Watch (6, 0)] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public unsafe void ShowGlyphs ( diff --git a/src/UIKit/UIAccessibility.cs b/src/UIKit/UIAccessibility.cs index befb63c6b868..c001809b142e 100644 --- a/src/UIKit/UIAccessibility.cs +++ b/src/UIKit/UIAccessibility.cs @@ -60,21 +60,17 @@ static public bool IsMonoAudioEnabled { // UIAccessibility.h #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif [DllImport (Constants.UIKitLibrary)] extern static /* NSObject */ IntPtr UIAccessibilityFocusedElement (IntPtr assistiveTechnologyIdentifier); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static NSObject FocusedElement (string assistiveTechnologyIdentifier) { @@ -84,22 +80,18 @@ public static NSObject FocusedElement (string assistiveTechnologyIdentifier) // UIAccessibility.h #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] extern static /* BOOL */ bool UIAccessibilityIsShakeToUndoEnabled (); #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static bool IsShakeToUndoEnabled { get { @@ -286,22 +278,18 @@ static unsafe void TrampolineRequestGuidedAccessSession (IntPtr block, bool enab } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIAccessibilityDarkerSystemColorsEnabled (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public static bool DarkerSystemColorsEnabled { get { @@ -310,7 +298,6 @@ public static bool DarkerSystemColorsEnabled { } #if !NET - [iOS (8, 0)] [Obsolete ("Use 'DarkerSystemColorsEnabled' instead.")] public static bool DarkerSystemColosEnabled { get { @@ -320,22 +307,18 @@ public static bool DarkerSystemColosEnabled { #endif #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIAccessibilityIsBoldTextEnabled (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif public static bool IsBoldTextEnabled { get { @@ -368,22 +351,18 @@ public static bool IsBoldTextEnabled { public static bool ButtonShapesEnabled => UIAccessibilityButtonShapesEnabled (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIAccessibilityIsGrayscaleEnabled (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif static public bool IsGrayscaleEnabled { get { @@ -392,22 +371,18 @@ static public bool IsGrayscaleEnabled { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIAccessibilityIsReduceMotionEnabled (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif static public bool IsReduceMotionEnabled { get { @@ -462,22 +437,18 @@ static public bool IsReduceMotionEnabled { static public bool IsVideoAutoplayEnabled => UIAccessibilityIsVideoAutoplayEnabled (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIAccessibilityIsReduceTransparencyEnabled (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif static public bool IsReduceTransparencyEnabled { get { @@ -486,22 +457,18 @@ static public bool IsReduceTransparencyEnabled { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIAccessibilityIsSwitchControlRunning (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif static public bool IsSwitchControlRunning { get { @@ -510,22 +477,18 @@ static public bool IsSwitchControlRunning { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIAccessibilityIsSpeakSelectionEnabled (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif static public bool IsSpeakSelectionEnabled { get { @@ -534,22 +497,18 @@ static public bool IsSpeakSelectionEnabled { } #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIAccessibilityIsSpeakScreenEnabled (); #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 0)] #endif static public bool IsSpeakScreenEnabled { get { @@ -558,24 +517,18 @@ static public bool IsSpeakScreenEnabled { } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIAccessibilityIsAssistiveTouchRunning (); #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (10, 0)] - [TV (10, 0)] #endif public static bool IsAssistiveTouchRunning { get { @@ -629,21 +582,17 @@ public static bool IsAssistiveTouchRunning { #if !TVOS #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif [DllImport (Constants.UIKitLibrary)] static extern nuint UIAccessibilityHearingDevicePairedEar (); #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (10, 0)] #endif public static UIAccessibilityHearingDeviceEar HearingDevicePairedEar { get { diff --git a/src/UIKit/UIContentSizeCategory.cs b/src/UIKit/UIContentSizeCategory.cs index 04610af5b07c..2c19f4194113 100644 --- a/src/UIKit/UIContentSizeCategory.cs +++ b/src/UIKit/UIContentSizeCategory.cs @@ -10,23 +10,17 @@ namespace UIKit { static public partial class UIContentSizeCategoryExtensions { #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [TV (11, 0)] #endif [DllImport (Constants.UIKitLibrary)] static extern nint /* NSComparisonResult */ UIContentSizeCategoryCompareToCategory (IntPtr /* NSString */ lhs, IntPtr /* NSString */ rhs); #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [TV (11, 0)] #endif public static NSComparisonResult Compare (UIContentSizeCategory category1, UIContentSizeCategory category2) { @@ -42,24 +36,18 @@ public static NSComparisonResult Compare (UIContentSizeCategory category1, UICon } #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [TV (11, 0)] #endif [DllImport (Constants.UIKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool UIContentSizeCategoryIsAccessibilityCategory (IntPtr /* NSString */ category); #if NET - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] - [TV (11, 0)] #endif static public bool IsAccessibilityCategory (this UIContentSizeCategory self) { diff --git a/src/UIKit/UIControl.cs b/src/UIKit/UIControl.cs index 9cd190b6c16d..3779faf9aa54 100644 --- a/src/UIKit/UIControl.cs +++ b/src/UIKit/UIControl.cs @@ -195,11 +195,9 @@ public event EventHandler ValueChanged { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public event EventHandler PrimaryActionTriggered { add { diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index 96d0f9fab469..6e36d2b33b11 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -159,7 +159,6 @@ public enum UIEventType : long { Touches, Motion, RemoteControl, - [iOS (9, 0)] [MacCatalyst (13, 1)] Presses, [iOS (13, 4), TV (13, 4)] @@ -227,7 +226,6 @@ public enum UIControlState : ulong { Highlighted = 1 << 0, Disabled = 1 << 1, Selected = 1 << 2, - [iOS (9, 0)] [MacCatalyst (13, 1)] Focused = 1 << 3, Application = 0x00FF0000, @@ -340,7 +338,6 @@ public enum UIButtonType : long { InfoLight, InfoDark, ContactAdd, - [TV (11, 0)] [NoiOS] [NoMacCatalyst] Plain, @@ -566,7 +563,6 @@ public enum UIKeyboardType : long { DecimalPad, Twitter, WebSearch, - [iOS (10, 0)] [MacCatalyst (13, 1)] AsciiCapableNumberPad } @@ -673,7 +669,6 @@ public enum UITouchPhase : long { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum UITouchType : long { @@ -686,7 +681,6 @@ public enum UITouchType : long { } [NoWatch] - [iOS (9, 1)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -833,7 +827,6 @@ public enum UIModalTransitionStyle : long { [Native] [NoTV] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum UIInterfaceOrientation : long { Unknown = UIDeviceOrientation.Unknown, @@ -886,13 +879,10 @@ public enum UIDataDetectorType : ulong { Address = 1 << 2, CalendarEvent = 1 << 3, - [iOS (10, 0)] [MacCatalyst (13, 1)] ShipmentTrackingNumber = 1 << 4, - [iOS (10, 0)] [MacCatalyst (13, 1)] FlightNumber = 1 << 5, - [iOS (10, 0)] [MacCatalyst (13, 1)] LookupSuggestion = 1 << 6, [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16, 0)] @@ -1154,13 +1144,10 @@ public enum UIViewAnimationOptions : ulong { TransitionFlipFromTop = 6 << 20, TransitionFlipFromBottom = 7 << 20, - [iOS (10, 3)] [MacCatalyst (13, 1)] PreferredFramesPerSecondDefault = 0 << 24, - [iOS (10, 3)] [MacCatalyst (13, 1)] PreferredFramesPerSecond60 = 3 << 24, - [iOS (10, 3)] [MacCatalyst (13, 1)] PreferredFramesPerSecond30 = 7 << 24, } @@ -1702,7 +1689,6 @@ public enum UIInputViewStyle : long { [Native] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum UIUserInterfaceSizeClass : long { Unspecified = 0, @@ -1712,7 +1698,6 @@ public enum UIUserInterfaceSizeClass : long { [Native] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum UIAlertActionStyle : long { Default, Cancel, Destructive @@ -1720,7 +1705,6 @@ public enum UIAlertActionStyle : long { [Native] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum UIAlertControllerStyle : long { ActionSheet, @@ -1729,17 +1713,14 @@ public enum UIAlertControllerStyle : long { [Native] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum UIBlurEffectStyle : long { ExtraLight, Light, Dark, - [TV (10, 0), NoiOS, NoWatch] + [NoiOS, NoWatch] [NoMacCatalyst] ExtraDark, - [iOS (10, 0)] [MacCatalyst (13, 1)] Regular = 4, - [iOS (10, 0)] [MacCatalyst (13, 1)] Prominent = 5, [iOS (13, 0), NoTV] @@ -1792,7 +1773,6 @@ public enum UIBlurEffectStyle : long { [Native] [NoTV] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] public enum UIPrinterJobTypes : long { Unknown = 0, @@ -1808,7 +1788,6 @@ public enum UIPrinterJobTypes : long { [NoTV] [NoWatch] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNAuthorizationOptions' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNAuthorizationOptions' instead.")] @@ -1823,7 +1802,6 @@ public enum UIUserNotificationType : ulong { [NoTV] [NoWatch] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNNotificationActionOptions' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNNotificationActionOptions' instead.")] @@ -1835,7 +1813,6 @@ public enum UIUserNotificationActivationMode : ulong { [NoTV] [NoWatch] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNNotificationCategory.Actions' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNNotificationCategory.Actions' instead.")] @@ -1848,7 +1825,6 @@ public enum UIUserNotificationActionContext : ulong { [Deprecated (PlatformName.iOS, 11, 0)] [NoTV] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1)] [Native] @@ -1860,7 +1836,6 @@ public enum UIDocumentMenuOrder : ulong { [Deprecated (PlatformName.iOS, 14, 0, message: "Use the designated constructors instead.")] [NoTV] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use the designated constructors instead.")] [Native] @@ -1871,7 +1846,6 @@ public enum UIDocumentPickerMode : ulong { MoveToService } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum UIAccessibilityNavigationStyle : long { @@ -1939,7 +1913,6 @@ public enum UITransitionViewControllerKind { } // note [Native] since it maps to UIFontWeightConstants fields (CGFloat) - [iOS (8, 2)] [MacCatalyst (13, 1)] public enum UIFontWeight { UltraLight, @@ -1962,7 +1935,6 @@ public enum UIFontWidth { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum UIStackViewDistribution : long { @@ -1974,7 +1946,6 @@ public enum UIStackViewDistribution : long { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum UIStackViewAlignment : long { @@ -1988,7 +1959,6 @@ public enum UIStackViewAlignment : long { LastBaseline } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -1999,7 +1969,6 @@ public enum NSWritingDirectionFormatType : long { [NoTV] [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum UIPrinterCutterBehavior : long { @@ -2012,7 +1981,6 @@ public enum UIPrinterCutterBehavior : long { [NoTV] [NoWatch] - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNNotificationAction' or 'UNTextInputNotificationAction' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNNotificationAction' or 'UNTextInputNotificationAction' instead.")] @@ -2023,7 +1991,6 @@ public enum UIUserNotificationActionBehavior : ulong { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum UISemanticContentAttribute : long { @@ -2035,7 +2002,6 @@ public enum UISemanticContentAttribute : long { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum UIDynamicItemCollisionBoundsType : ulong { @@ -2046,7 +2012,6 @@ public enum UIDynamicItemCollisionBoundsType : ulong { [Native] [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] public enum UIForceTouchCapability : long { Unknown = 0, @@ -2056,14 +2021,12 @@ public enum UIForceTouchCapability : long { [Native] [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] public enum UIPreviewActionStyle : long { Default, Selected, Destructive } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum UIPressPhase : long { @@ -2075,7 +2038,6 @@ public enum UIPressPhase : long { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum UIPressType : long { @@ -2097,7 +2059,6 @@ public enum UIPressType : long { } [NoWatch] - [iOS (9, 0)] // introduced in Xcode 7.1 SDK (iOS 9.1 but hidden in 9.0) [MacCatalyst (13, 1)] [Native] public enum UITableViewCellFocusStyle : long { @@ -2106,7 +2067,6 @@ public enum UITableViewCellFocusStyle : long { } [NoWatch] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum UIDisplayGamut : long { @@ -2116,7 +2076,6 @@ public enum UIDisplayGamut : long { } [NoWatch] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum UITraitEnvironmentLayoutDirection : long { @@ -2125,7 +2084,7 @@ public enum UITraitEnvironmentLayoutDirection : long { RightToLeft = UIUserInterfaceLayoutDirection.RightToLeft } - [TV (10, 0), NoWatch, iOS (12, 0)] + [NoWatch, iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum UIUserInterfaceStyle : long { @@ -2135,7 +2094,6 @@ public enum UIUserInterfaceStyle : long { } [NoWatch] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum UITextItemInteraction : long { @@ -2145,7 +2103,6 @@ public enum UITextItemInteraction : long { } [NoWatch] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum UIViewAnimatingState : long { @@ -2155,7 +2112,6 @@ public enum UIViewAnimatingState : long { } [NoWatch] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum UIViewAnimatingPosition : long { @@ -2165,7 +2121,6 @@ public enum UIViewAnimatingPosition : long { } [NoWatch] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum UITimingCurveType : long { @@ -2177,7 +2132,6 @@ public enum UITimingCurveType : long { [NoWatch] [NoTV] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum UIAccessibilityHearingDeviceEar : ulong { @@ -2188,7 +2142,6 @@ public enum UIAccessibilityHearingDeviceEar : ulong { } [NoWatch] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum UIAccessibilityCustomRotorDirection : long { @@ -2200,9 +2153,7 @@ public enum UIAccessibilityCustomRotorDirection : long { [NoTV] #else // Xcode 8.2 beta 1 added __TVOS_PROHIBITED but we need to keep it for binary compatibility - [TV (10, 0)] #endif - [iOS (10, 0)] [NoWatch] [MacCatalyst (13, 1)] [Native] @@ -2215,7 +2166,7 @@ public enum UICloudSharingPermissionOptions : ulong { AllowReadWrite = 1 << 3 } - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum UITextFieldDidEndEditingReason : long { @@ -2226,7 +2177,7 @@ public enum UITextFieldDidEndEditingReason : long { Cancelled } - [iOS (10, 3), TV (10, 2), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Native] public enum UIScrollViewIndexDisplayMode : long { @@ -2235,7 +2186,6 @@ public enum UIScrollViewIndexDisplayMode : long { } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UIScrollViewContentInsetAdjustmentBehavior : long { @@ -2245,7 +2195,6 @@ public enum UIScrollViewContentInsetAdjustmentBehavior : long { Always } - [iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Native] public enum UIAccessibilityContainerType : long { @@ -2259,7 +2208,6 @@ public enum UIAccessibilityContainerType : long { } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UITextSmartQuotesType : long { @@ -2269,7 +2217,6 @@ public enum UITextSmartQuotesType : long { } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UITextSmartDashesType : long { @@ -2279,7 +2226,6 @@ public enum UITextSmartDashesType : long { } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UITextSmartInsertDeleteType : long { @@ -2289,7 +2235,6 @@ public enum UITextSmartInsertDeleteType : long { } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UIAccessibilityCustomSystemRotorType : long { @@ -2314,7 +2259,7 @@ public enum UIAccessibilityCustomSystemRotorType : long { Landmark } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UIDropOperation : ulong { @@ -2324,7 +2269,7 @@ public enum UIDropOperation : ulong { Move = 3 } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] [Flags] @@ -2333,7 +2278,7 @@ public enum UITextDragOptions : long { StripTextColorFromPreviews = (1 << 0) } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UITextDropAction : ulong { @@ -2342,7 +2287,7 @@ public enum UITextDropAction : ulong { ReplaceAll } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UITextDropProgressMode : ulong { @@ -2350,7 +2295,7 @@ public enum UITextDropProgressMode : ulong { Custom } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UITextDropEditability : ulong { @@ -2359,7 +2304,7 @@ public enum UITextDropEditability : ulong { Yes } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UICollectionViewReorderingCadence : long { @@ -2368,7 +2313,7 @@ public enum UICollectionViewReorderingCadence : long { Slow } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UICollectionViewDropIntent : long { @@ -2377,7 +2322,7 @@ public enum UICollectionViewDropIntent : long { InsertIntoDestinationIndexPath } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UICollectionViewCellDragState : long { @@ -2388,7 +2333,7 @@ public enum UICollectionViewCellDragState : long { [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'PHPicker' instead.")] [NoWatch] - [NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'PHPicker' instead.")] [Native] @@ -2398,7 +2343,7 @@ public enum UIImagePickerControllerImageUrlExportPreset : long { } [NoWatch] - [NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Native] public enum UIContextualActionStyle : long { @@ -2406,7 +2351,7 @@ public enum UIContextualActionStyle : long { Destructive } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UITableViewCellDragState : long { @@ -2416,7 +2361,6 @@ public enum UITableViewCellDragState : long { } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UITableViewSeparatorInsetReference : long { @@ -2424,7 +2368,7 @@ public enum UITableViewSeparatorInsetReference : long { AutomaticInsets } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UITableViewDropIntent : long { @@ -2435,7 +2379,6 @@ public enum UITableViewDropIntent : long { } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UISplitViewControllerPrimaryEdge : long { @@ -2443,7 +2386,7 @@ public enum UISplitViewControllerPrimaryEdge : long { Trailing } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UIDropSessionProgressIndicatorStyle : ulong { @@ -2451,7 +2394,7 @@ public enum UIDropSessionProgressIndicatorStyle : ulong { Default } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UISpringLoadedInteractionEffectState : long { @@ -2462,7 +2405,7 @@ public enum UISpringLoadedInteractionEffectState : long { } [NoWatch] - [NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Native] public enum UIDocumentBrowserImportMode : ulong { @@ -2472,7 +2415,7 @@ public enum UIDocumentBrowserImportMode : ulong { } [NoWatch] - [NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Native] public enum UIDocumentBrowserUserInterfaceStyle : ulong { @@ -2482,7 +2425,7 @@ public enum UIDocumentBrowserUserInterfaceStyle : ulong { } [NoWatch] - [NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Native] [Flags] @@ -2492,7 +2435,6 @@ public enum UIDocumentBrowserActionAvailability : long { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UITextDropPerformer : ulong { @@ -2501,7 +2443,6 @@ public enum UITextDropPerformer : ulong { } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UINavigationItemLargeTitleDisplayMode : long { @@ -2511,7 +2452,6 @@ public enum UINavigationItemLargeTitleDisplayMode : long { } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UICollectionViewFlowLayoutSectionInsetReference : long { @@ -2522,7 +2462,6 @@ public enum UICollectionViewFlowLayoutSectionInsetReference : long { [NoWatch] [NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum UIPreferredPresentationStyle : long { @@ -2531,7 +2470,7 @@ public enum UIPreferredPresentationStyle : long { Attachment, } - [NoWatch, NoTV, NoMac, iOS (11, 0)] + [NoWatch, NoTV, NoMac] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("UIDocumentBrowserErrorDomain")] diff --git a/src/UIKit/UIFont.cs b/src/UIKit/UIFont.cs index 7fd9b848fbe6..ee7932423c95 100644 --- a/src/UIKit/UIFont.cs +++ b/src/UIKit/UIFont.cs @@ -116,11 +116,9 @@ public static UIFont PreferredCaption2 { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFont PreferredTitle1 { get { @@ -129,11 +127,9 @@ public static UIFont PreferredTitle1 { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFont PreferredTitle2 { get { @@ -142,11 +138,9 @@ public static UIFont PreferredTitle2 { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFont PreferredTitle3 { get { @@ -155,11 +149,9 @@ public static UIFont PreferredTitle3 { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFont PreferredCallout { get { @@ -192,11 +184,9 @@ static nfloat GetFontWidth (UIFontWidth width) #if NET - [SupportedOSPlatform ("ios8.2")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 2)] #endif public static UIFont SystemFontOfSize (nfloat size, UIFontWeight weight) { @@ -204,11 +194,9 @@ public static UIFont SystemFontOfSize (nfloat size, UIFontWeight weight) } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFont MonospacedDigitSystemFontOfSize (nfloat size, nfloat weight) { @@ -217,11 +205,9 @@ public static UIFont MonospacedDigitSystemFontOfSize (nfloat size, nfloat weight } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFont MonospacedDigitSystemFontOfSize (nfloat fontSize, UIFontWeight weight) { @@ -337,11 +323,9 @@ public static UIFont SystemFontOfSize (nfloat fontSize, UIFontWeight weight, UIF } #if NET - [SupportedOSPlatform ("ios8.2")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (8, 2)] #endif public static UIFont SystemFontOfSize (nfloat size, nfloat weight) { diff --git a/src/UIKit/UIFontDescriptor.cs b/src/UIKit/UIFontDescriptor.cs index 8e6d538bec1f..daa17d82afc2 100644 --- a/src/UIKit/UIFontDescriptor.cs +++ b/src/UIKit/UIFontDescriptor.cs @@ -224,11 +224,9 @@ public static UIFontDescriptor PreferredCaption2 { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFontDescriptor PreferredTitle1 { get { @@ -237,11 +235,9 @@ public static UIFontDescriptor PreferredTitle1 { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFontDescriptor PreferredTitle2 { get { @@ -250,11 +246,9 @@ public static UIFontDescriptor PreferredTitle2 { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFontDescriptor PreferredTitle3 { get { @@ -263,11 +257,9 @@ public static UIFontDescriptor PreferredTitle3 { } #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] -#else - [iOS (9, 0)] #endif public static UIFontDescriptor PreferredCallout { get { diff --git a/src/UIKit/UIImagePickerController.cs b/src/UIKit/UIImagePickerController.cs index e3bd1ec8dbc3..1e909048d13d 100644 --- a/src/UIKit/UIImagePickerController.cs +++ b/src/UIKit/UIImagePickerController.cs @@ -101,10 +101,8 @@ public NSUrl MediaUrl { } #if NET - [SupportedOSPlatform ("ios9.1")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (9, 1)] #endif public PHLivePhoto LivePhoto { get { @@ -125,10 +123,8 @@ public NSUrl ReferenceUrl { } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] #endif public PHAsset PHAsset { get { @@ -137,10 +133,8 @@ public PHAsset PHAsset { } #if NET - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (11, 0)] #endif public NSUrl ImageUrl { get { diff --git a/src/UIKit/UITypes.cs b/src/UIKit/UITypes.cs index f1bfc285c0f1..528e50aade34 100644 --- a/src/UIKit/UITypes.cs +++ b/src/UIKit/UITypes.cs @@ -104,11 +104,9 @@ public override string ToString () #if !WATCH #if NET - [SupportedOSPlatform ("ios9.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [iOS (9, 0)] #endif [StructLayout (LayoutKind.Sequential)] public struct UIFloatRange : IEquatable { diff --git a/src/UIKit/UIVibrancyEffect.cs b/src/UIKit/UIVibrancyEffect.cs index 46606dd60d74..d98dea58a245 100644 --- a/src/UIKit/UIVibrancyEffect.cs +++ b/src/UIKit/UIVibrancyEffect.cs @@ -19,7 +19,7 @@ public partial class UIVibrancyEffect { // https://trello.com/c/iQpXOxCd/227-category-and-static-methods-selectors // note: we cannot reuse the same method name - as it would break compilation of existing apps #if NET - [SupportedOSPlatform ("ios8.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("ios10.0", "Use 'CreatePrimaryVibrancyEffectForNotificationCenter' instead.")] @@ -32,12 +32,11 @@ static public UIVibrancyEffect CreateForNotificationCenter () } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("ios13.0", "Use 'UIVibrancyEffect.CreateWidgetEffectForNotificationCenter' instead.")] #else - [iOS (10,0)] [Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.CreateWidgetEffectForNotificationCenter' instead.")] #endif static public UIVibrancyEffect CreatePrimaryVibrancyEffectForNotificationCenter () @@ -46,12 +45,11 @@ static public UIVibrancyEffect CreatePrimaryVibrancyEffectForNotificationCenter } #if NET - [SupportedOSPlatform ("ios10.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("tvos")] [ObsoletedOSPlatform ("ios13.0", "Use 'UIVibrancyEffect.CreateWidgetEffectForNotificationCenter' instead.")] #else - [iOS (10,0)] [Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.CreateWidgetEffectForNotificationCenter' instead.")] #endif static public UIVibrancyEffect CreateSecondaryVibrancyEffectForNotificationCenter () diff --git a/src/VideoSubscriberAccount/VSAccountMetadataRequest.cs b/src/VideoSubscriberAccount/VSAccountMetadataRequest.cs index c89bc59f69f5..b92d1156986c 100644 --- a/src/VideoSubscriberAccount/VSAccountMetadataRequest.cs +++ b/src/VideoSubscriberAccount/VSAccountMetadataRequest.cs @@ -10,13 +10,10 @@ namespace VideoSubscriberAccount { public partial class VSAccountMetadataRequest { #if NET - [SupportedOSPlatform ("tvos10.1")] - [SupportedOSPlatform ("ios10.2")] + [SupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("macos")] [UnsupportedOSPlatform ("maccatalyst")] -#else - [TV (10, 1)] - [iOS (10, 2)] #endif public VSAccountProviderAuthenticationScheme [] SupportedAuthenticationSchemes { get { diff --git a/src/VideoToolbox/VTCompressionProperties.cs b/src/VideoToolbox/VTCompressionProperties.cs index 89af15b4484d..85911653f43e 100644 --- a/src/VideoToolbox/VTCompressionProperties.cs +++ b/src/VideoToolbox/VTCompressionProperties.cs @@ -289,11 +289,9 @@ public VTProfileLevel ProfileLevel { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public VTH264EntropyMode H264EntropyMode { get { @@ -501,12 +499,11 @@ public VTMultiPassStorage? MultiPassStorage { } #if NET - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Introduced (PlatformName.MacOSX, 10, 15)] [Introduced (PlatformName.iOS, 13, 0)] [Introduced (PlatformName.TvOS, 13, 0)] #endif diff --git a/src/VideoToolbox/VTCompressionSession.cs b/src/VideoToolbox/VTCompressionSession.cs index dd144800f960..ae35af9e13bc 100644 --- a/src/VideoToolbox/VTCompressionSession.cs +++ b/src/VideoToolbox/VTCompressionSession.cs @@ -25,13 +25,10 @@ namespace VideoToolbox { #if NET - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (8, 0)] - [TV (10, 2)] #endif public class VTCompressionSession : VTSession { GCHandle callbackHandle; @@ -156,7 +153,6 @@ unsafe extern static VTStatus VTCompressionSessionCreate ( /* VTCompressionSessionRef* */ out IntPtr compressionSessionOut); #if false // Disabling for now until we have some tests on this - [Mac (10,11), iOS (9,0)] public static VTCompressionSession? Create (int width, int height, CMVideoCodecType codecType, VTVideoEncoderSpecification? encoderSpecification = null, NSDictionary? sourceImageBufferAttributes = null) @@ -228,22 +224,18 @@ unsafe extern static VTStatus VTCompressionSessionCreate ( #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif [DllImport (Constants.VideoToolboxLibrary)] extern static VTStatus VTCompressionSessionPrepareToEncodeFrames (IntPtr handle); #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 9)] #endif public VTStatus PrepareToEncodeFrames () { @@ -281,7 +273,6 @@ public VTStatus EncodeFrame (CVImageBuffer imageBuffer, CMTime presentationTimes } #if false // Disabling for now until we have some tests on this - [Mac (10,11), iOS (9,0)] [DllImport (Constants.VideoToolboxLibrary)] extern static VTStatus VTCompressionSessionEncodeFrameWithOutputHandler ( /* VTCompressionSessionRef */ IntPtr session, @@ -308,7 +299,6 @@ static unsafe void VTCompressionOutputHandlerTrampoline (BlockLiteral *block, del (status, infoFlags, new CMSampleBuffer (sampleBuffer)); } - [Mac (10,11), iOS (9,0)] public VTStatus EncodeFrame (CVImageBuffer imageBuffer, CMTime presentationTimestamp, CMTime duration, NSDictionary frameProperties, CVImageBuffer sourceFrame, out VTEncodeInfoFlags infoFlags, VTCompressionOutputHandler outputHandler) @@ -319,7 +309,6 @@ public VTStatus EncodeFrame (CVImageBuffer imageBuffer, CMTime presentationTimes return EncodeFrame (imageBuffer, presentationTimestamp, duration, frameProperties, sourceFrame.GetCheckedHandle (), out infoFlags, outputHandler); } - [Mac (10,11), iOS (9,0)] public VTStatus EncodeFrame (CVImageBuffer imageBuffer, CMTime presentationTimestamp, CMTime duration, NSDictionary frameProperties, IntPtr sourceFrame, out VTEncodeInfoFlags infoFlags, VTCompressionOutputHandler outputHandler) @@ -352,22 +341,18 @@ public VTStatus CompleteFrames (CMTime completeUntilPresentationTimeStamp) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.VideoToolboxLibrary)] extern static VTStatus VTCompressionSessionBeginPass (IntPtr session, VTCompressionSessionOptionFlags flags, IntPtr reserved); #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] #endif public VTStatus BeginPass (VTCompressionSessionOptionFlags flags) { @@ -376,33 +361,27 @@ public VTStatus BeginPass (VTCompressionSessionOptionFlags flags) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.VideoToolboxLibrary)] extern static VTStatus VTCompressionSessionEndPass (IntPtr session, out byte furtherPassesRequestedOut, IntPtr reserved); #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.VideoToolboxLibrary)] extern static VTStatus VTCompressionSessionEndPass (IntPtr session, IntPtr ptrByte, IntPtr reserved); #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] #endif public VTStatus EndPass (out bool furtherPassesRequested) { @@ -419,11 +398,9 @@ public VTStatus EndPassAsFinal () #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] #endif [DllImport (Constants.VideoToolboxLibrary)] extern static VTStatus VTCompressionSessionGetTimeRangesForNextPass ( @@ -433,11 +410,9 @@ extern static VTStatus VTCompressionSessionGetTimeRangesForNextPass ( #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] #endif public VTStatus GetTimeRangesForNextPass (out CMTimeRange []? timeRanges) { diff --git a/src/VideoToolbox/VTDecompressionSession.cs b/src/VideoToolbox/VTDecompressionSession.cs index a89cfe2c8099..2640d742b576 100644 --- a/src/VideoToolbox/VTDecompressionSession.cs +++ b/src/VideoToolbox/VTDecompressionSession.cs @@ -25,13 +25,10 @@ namespace VideoToolbox { #if NET - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (8, 0)] - [TV (10, 2)] #endif public class VTDecompressionSession : VTSession { @@ -163,7 +160,6 @@ extern static VTStatus VTDecompressionSessionCreate ( /* VTDecompressionSessionRef* */ out IntPtr decompressionSessionOut); #if false // Disabling for now until we have some tests on this - [Mac (10,11), iOS (9,0)] public static VTDecompressionSession Create (CMVideoFormatDescription formatDescription, VTVideoDecoderSpecification decoderSpecification = null, // hardware acceleration is default behavior on iOS. no opt-in required. NSDictionary destinationImageBufferAttributes = null) // Undocumented options, probably always null @@ -274,7 +270,6 @@ public VTStatus DecodeFrame (CMSampleBuffer sampleBuffer, VTDecodeFrameFlags dec return VTDecompressionSessionDecodeFrame (GetCheckedHandle (), sampleBuffer.Handle, decodeFlags, sourceFrame, out infoFlags); } #if false // Disabling for now until we have some tests on this - [Mac (10,11), iOS (9,0)] [DllImport (Constants.VideoToolboxLibrary)] extern static VTStatus VTDecompressionSessionDecodeFrameWithOutputHandler ( /* VTDecompressionSessionRef */ IntPtr session, @@ -301,7 +296,6 @@ static unsafe void VTDecompressionOutputHandlerTrampoline (BlockLiteral *block, del (status, infoFlags, new CVImageBuffer (imageBuffer, false), presentationTimeStamp, presentationDuration); } - [Mac (10,11), iOS (9,0)] public VTStatus DecodeFrame (CMSampleBuffer sampleBuffer, VTDecodeFrameFlags decodeFlags, out VTDecodeInfoFlags infoFlags, VTDecompressionOutputHandler outputHandler) { @@ -367,13 +361,9 @@ public VTStatus SetDecompressionProperties (VTDecompressionProperties options) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] - [iOS (11, 0)] - [TV (11, 0)] #endif [DllImport (Constants.VideoToolboxLibrary)] [return: MarshalAs (UnmanagedType.U1)] @@ -381,13 +371,9 @@ public VTStatus SetDecompressionProperties (VTDecompressionProperties options) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] - [iOS (11, 0)] - [TV (11, 0)] #endif public static bool IsHardwareDecodeSupported (CMVideoCodecType codecType) { diff --git a/src/VideoToolbox/VTDefs.cs b/src/VideoToolbox/VTDefs.cs index 8821ffb49c8e..797f2a1073fd 100644 --- a/src/VideoToolbox/VTDefs.cs +++ b/src/VideoToolbox/VTDefs.cs @@ -146,10 +146,8 @@ public enum VTProfileLevel { H263Profile0Level10, H263Profile0Level45, H263Profile3Level45, - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] HevcMainAutoLevel, - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] HevcMain10AutoLevel, } @@ -253,7 +251,6 @@ public VTDataRateLimit (uint numberOfBytes, double seconds) : this () } } - [iOS (9, 0)] [MacCatalyst (13, 1)] public enum VTScalingMode { Unset, @@ -263,7 +260,6 @@ public enum VTScalingMode { Trim } - [iOS (9, 0)] [MacCatalyst (13, 1)] public enum VTDownsamplingMode { Unset, diff --git a/src/VideoToolbox/VTFrameSilo.cs b/src/VideoToolbox/VTFrameSilo.cs index c3636baee564..512a50cbd710 100644 --- a/src/VideoToolbox/VTFrameSilo.cs +++ b/src/VideoToolbox/VTFrameSilo.cs @@ -25,13 +25,9 @@ namespace VideoToolbox { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] - [iOS (8, 0)] - [TV (10, 2)] #endif public class VTFrameSilo : NativeObject { #if !NET diff --git a/src/VideoToolbox/VTMultiPassStorage.cs b/src/VideoToolbox/VTMultiPassStorage.cs index 4aba97b0e457..6e9ed4ca61d5 100644 --- a/src/VideoToolbox/VTMultiPassStorage.cs +++ b/src/VideoToolbox/VTMultiPassStorage.cs @@ -25,13 +25,9 @@ namespace VideoToolbox { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 10)] - [iOS (8, 0)] - [TV (10, 2)] #endif public class VTMultiPassStorage : NativeObject { bool closed; diff --git a/src/VideoToolbox/VTPixelTransferProperties.cs b/src/VideoToolbox/VTPixelTransferProperties.cs index 372fbc8e330e..e787d9596810 100644 --- a/src/VideoToolbox/VTPixelTransferProperties.cs +++ b/src/VideoToolbox/VTPixelTransferProperties.cs @@ -88,12 +88,10 @@ public VTDownsamplingMode DownsamplingMode { } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 0)] #endif public VTColorPrimaries DestinationColorPrimaries { get { @@ -133,12 +131,10 @@ public VTColorPrimaries DestinationColorPrimaries { } #if NET - [SupportedOSPlatform ("ios10.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (10, 0)] #endif public VTTransferFunction DestinationTransferFunction { get { diff --git a/src/VideoToolbox/VTPixelTransferSession.cs b/src/VideoToolbox/VTPixelTransferSession.cs index b45dfaf908bc..aac079d28ecc 100644 --- a/src/VideoToolbox/VTPixelTransferSession.cs +++ b/src/VideoToolbox/VTPixelTransferSession.cs @@ -31,7 +31,7 @@ namespace VideoToolbox { [SupportedOSPlatform ("watchos9.0")] [SupportedOSPlatform ("tvos16.0")] #else - [Mac (10, 9), iOS (16, 0), MacCatalyst (16, 0), Watch (9, 0), TV (16, 0)] + [iOS (16, 0), MacCatalyst (16, 0), Watch (9, 0), TV (16, 0)] #endif public class VTPixelTransferSession : VTSession { diff --git a/src/VideoToolbox/VTProfessionalVideoWorkflow.cs b/src/VideoToolbox/VTProfessionalVideoWorkflow.cs index 354f1fa7e51a..e00610bb7f76 100644 --- a/src/VideoToolbox/VTProfessionalVideoWorkflow.cs +++ b/src/VideoToolbox/VTProfessionalVideoWorkflow.cs @@ -26,7 +26,7 @@ namespace VideoToolbox { [UnsupportedOSPlatform ("watchos")] [UnsupportedOSPlatform ("tvos")] #else - [Mac (10,9), NoiOS, NoMacCatalyst, NoWatch, NoTV] + [NoiOS, NoMacCatalyst, NoWatch, NoTV] #endif public static class VTProfessionalVideoWorkflow { [DllImport (Constants.VideoToolboxLibrary, EntryPoint = "VTRegisterProfessionalVideoWorkflowVideoDecoders")] diff --git a/src/VideoToolbox/VTSession.cs b/src/VideoToolbox/VTSession.cs index 94c540c01496..e48566c85fed 100644 --- a/src/VideoToolbox/VTSession.cs +++ b/src/VideoToolbox/VTSession.cs @@ -25,13 +25,10 @@ namespace VideoToolbox { #if NET - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (8, 0)] - [TV (10, 2)] #endif public class VTSession : NativeObject { #if !NET diff --git a/src/VideoToolbox/VTUtilities.cs b/src/VideoToolbox/VTUtilities.cs index ec1dfaf2ca8b..0e25df854223 100644 --- a/src/VideoToolbox/VTUtilities.cs +++ b/src/VideoToolbox/VTUtilities.cs @@ -21,13 +21,9 @@ namespace VideoToolbox { #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios9.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 11)] - [iOS (9, 0)] - [TV (10, 2)] #endif public static class VTUtilities { [DllImport (Constants.VideoToolboxLibrary)] diff --git a/src/VideoToolbox/VTVideoEncoder.cs b/src/VideoToolbox/VTVideoEncoder.cs index 04f6f2c1e2cf..9f0857d532eb 100644 --- a/src/VideoToolbox/VTVideoEncoder.cs +++ b/src/VideoToolbox/VTVideoEncoder.cs @@ -18,13 +18,10 @@ namespace VideoToolbox { #if NET - [SupportedOSPlatform ("ios8.0")] - [SupportedOSPlatform ("tvos10.2")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [SupportedOSPlatform ("macos")] -#else - [iOS (8, 0)] - [TV (10, 2)] #endif public class VTVideoEncoder { @@ -55,72 +52,66 @@ public class VTVideoEncoder { public string EncoderName { get; private set; } #if NET - [SupportedOSPlatform ("macos10.14.6")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14, 6)] [iOS (13, 0)] [TV (13, 0)] #endif public ulong? GpuRegistryId { get; private set; } // optional, same type as `[MTLDevice registryID]` #if NET - [SupportedOSPlatform ("macos10.14.6")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14, 6)] [iOS (13, 0)] [TV (13, 0)] #endif public NSDictionary? SupportedSelectionProperties { get; private set; } #if NET - [SupportedOSPlatform ("macos10.14.6")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14, 6)] [iOS (13, 0)] [TV (13, 0)] #endif public NSNumber? PerformanceRating { get; private set; } #if NET - [SupportedOSPlatform ("macos10.14.6")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14, 6)] [iOS (13, 0)] [TV (13, 0)] #endif public NSNumber? QualityRating { get; private set; } #if NET - [SupportedOSPlatform ("macos10.14.6")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14, 6)] [iOS (13, 0)] [TV (13, 0)] #endif public bool? InstanceLimit { get; private set; } #if NET - [SupportedOSPlatform ("macos10.14.6")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("tvos13.0")] [SupportedOSPlatform ("maccatalyst")] #else - [Mac (10, 14, 6)] [iOS (13, 0)] [TV (13, 0)] #endif @@ -224,13 +215,9 @@ internal VTVideoEncoder (NSDictionary dict) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] - [iOS (11, 0)] - [TV (11, 0)] #endif [DllImport (Constants.VideoToolboxLibrary)] static extern /* OSStatus */ VTStatus VTCopySupportedPropertyDictionaryForEncoder ( @@ -244,13 +231,9 @@ internal VTVideoEncoder (NSDictionary dict) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] - [iOS (11, 0)] - [TV (11, 0)] #endif public static VTSupportedEncoderProperties? GetSupportedEncoderProperties (int width, int height, CMVideoCodecType codecType, NSDictionary? encoderSpecification = null) { @@ -278,13 +261,9 @@ internal VTVideoEncoder (NSDictionary dict) #if NET [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("ios")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] -#else - [Mac (10, 13)] - [iOS (11, 0)] - [TV (11, 0)] #endif public class VTSupportedEncoderProperties { public string? EncoderId { get; set; } diff --git a/src/Vision/VNUtils.cs b/src/Vision/VNUtils.cs index 304fc0e7a431..7ec920ce8d06 100644 --- a/src/Vision/VNUtils.cs +++ b/src/Vision/VNUtils.cs @@ -25,14 +25,10 @@ namespace Vision { #if NET - [SupportedOSPlatform ("tvos11.0")] + [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("macos")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] -#else - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] #endif public static partial class VNUtils { @@ -151,12 +147,11 @@ public static CGPoint GetImagePoint (Vector2 faceLandmarkPoint, CGRect faceBound #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif [DllImport (Constants.VisionLibrary)] @@ -164,12 +159,11 @@ public static CGPoint GetImagePoint (Vector2 faceLandmarkPoint, CGRect faceBound #if NET [SupportedOSPlatform ("tvos13.0")] - [SupportedOSPlatform ("macos10.15")] + [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("ios13.0")] [SupportedOSPlatform ("maccatalyst")] #else [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] #endif public static nuint GetElementTypeSize (VNElementType elementType) => VNElementTypeSize ((nuint) (ulong) elementType); diff --git a/src/WatchConnectivity/WCEnums.cs b/src/WatchConnectivity/WCEnums.cs index 468fa6d8023e..b15979f1bbd4 100644 --- a/src/WatchConnectivity/WCEnums.cs +++ b/src/WatchConnectivity/WCEnums.cs @@ -14,7 +14,6 @@ namespace WatchConnectivity { // NSInteger -> WCError.h - [iOS (9, 0)] [Native] public enum WCErrorCode : long { GenericError = 7001, @@ -40,8 +39,6 @@ public enum WCErrorCode : long { WatchOnlyApp = 7019, } - [Watch (2, 2)] - [iOS (9, 3)] [Native] public enum WCSessionActivationState : long { NotActivated = 0, diff --git a/src/WatchKit/WKAccessibility.cs b/src/WatchKit/WKAccessibility.cs index 92656f037ef4..20858ac05a72 100644 --- a/src/WatchKit/WKAccessibility.cs +++ b/src/WatchKit/WKAccessibility.cs @@ -19,12 +19,10 @@ static public bool IsVoiceOverRunning { get { return WKAccessibilityIsVoiceOverRunning (); } } - [Watch (4,0)] [DllImport (Constants.WatchKitLibrary)] [return: MarshalAs (UnmanagedType.I1)] static extern bool WKAccessibilityIsReduceMotionEnabled (); - [Watch (4,0)] static public bool IsReduceMotionEnabled { get { return WKAccessibilityIsReduceMotionEnabled (); } } diff --git a/src/WatchKit/WKDefs.cs b/src/WatchKit/WKDefs.cs index 593827d266a7..0881af56b59d 100644 --- a/src/WatchKit/WKDefs.cs +++ b/src/WatchKit/WKDefs.cs @@ -158,14 +158,14 @@ public enum WKInterfaceObjectVerticalAlignment : long { Bottom } - [Watch (2, 1), NoiOS] + [NoiOS] [Native] public enum WKInterfaceLayoutDirection : long { LeftToRight, RightToLeft } - [Watch (2, 1), NoiOS] + [NoiOS] [Native] public enum WKInterfaceSemanticContentAttribute : long { Unspecified, @@ -175,7 +175,6 @@ public enum WKInterfaceSemanticContentAttribute : long { ForceRightToLeft } - [Watch (3, 0)] [NoiOS] [Native] public enum WKApplicationState : long { @@ -184,7 +183,6 @@ public enum WKApplicationState : long { Background } - [Watch (3, 0)] [NoiOS] [Native] public enum WKGestureRecognizerState : long { @@ -197,7 +195,6 @@ public enum WKGestureRecognizerState : long { Recognized } - [Watch (3, 0)] [NoiOS] [Native] [Flags] @@ -208,7 +205,6 @@ public enum WKSwipeGestureRecognizerDirection : ulong { Down = 1 << 3 } - [Watch (3, 0)] [NoiOS] [Native] public enum WKInterfaceDeviceWristLocation : long { @@ -216,7 +212,6 @@ public enum WKInterfaceDeviceWristLocation : long { Right } - [Watch (3, 0)] [NoiOS] [Native] public enum WKInterfaceDeviceCrownOrientation : long { @@ -224,7 +219,6 @@ public enum WKInterfaceDeviceCrownOrientation : long { Right } - [Watch (3, 0)] [NoiOS] [Native] public enum WKWaterResistanceRating : long { @@ -234,7 +228,6 @@ public enum WKWaterResistanceRating : long { WR100, } - [Watch (4, 0)] [NoiOS] [Native] public enum WKSnapshotReason : long { @@ -245,7 +238,6 @@ public enum WKSnapshotReason : long { AppBackgrounded, } - [Watch (4, 0)] [NoiOS] [Native] public enum WKPageOrientation : long { @@ -253,7 +245,6 @@ public enum WKPageOrientation : long { Vertical, } - [Watch (4, 0)] [NoiOS] [Native] public enum WKInterfaceScrollPosition : long { @@ -262,7 +253,6 @@ public enum WKInterfaceScrollPosition : long { Bottom, } - [Watch (4, 0)] [NoiOS] [Native] public enum WKInterfaceDeviceBatteryState : long { diff --git a/src/WebKit/Defs.cs b/src/WebKit/Defs.cs index c941f65c9d11..b0bb8a462113 100644 --- a/src/WebKit/Defs.cs +++ b/src/WebKit/Defs.cs @@ -14,8 +14,6 @@ #nullable enable namespace WebKit { - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum WKNavigationType : long { @@ -27,8 +25,6 @@ public enum WKNavigationType : long { Other = -1 } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum WKNavigationActionPolicy : long { @@ -40,8 +36,6 @@ public enum WKNavigationActionPolicy : long { Download, } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum WKNavigationResponsePolicy : long { @@ -53,8 +47,6 @@ public enum WKNavigationResponsePolicy : long { Download, } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum WKUserScriptInjectionTime : long { @@ -62,8 +54,6 @@ public enum WKUserScriptInjectionTime : long { AtDocumentEnd } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("WKErrorDomain")] @@ -95,14 +85,12 @@ public enum WKErrorCode : long { #if NET [NoMac] #endif - [iOS (8, 0)] [MacCatalyst (13, 1)] [Native] public enum WKSelectionGranularity : long { Dynamic, Character } - [iOS (10, 0)] [NoMac] [MacCatalyst (13, 1)] [Native] @@ -120,8 +108,6 @@ public enum WKDataDetectorTypes : ulong { All = UInt64.MaxValue } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Native] [Flags] diff --git a/src/XKit/Types.cs b/src/XKit/Types.cs index 14e71dc92723..cb1817372146 100644 --- a/src/XKit/Types.cs +++ b/src/XKit/Types.cs @@ -37,14 +37,10 @@ namespace UIKit { #endif #if NET - [SupportedOSPlatform ("tvos11.0")] - [SupportedOSPlatform ("ios11.0")] + [SupportedOSPlatform ("tvos")] + [SupportedOSPlatform ("ios")] [SupportedOSPlatform ("maccatalyst")] - [SupportedOSPlatform ("macos10.15")] -#else - [Watch (4, 0)] - [TV (11, 0)] - [iOS (11, 0)] + [SupportedOSPlatform ("macos")] #endif [StructLayout (LayoutKind.Sequential)] public struct NSDirectionalEdgeInsets { diff --git a/src/accounts.cs b/src/accounts.cs index daaed1c23b01..17e7d0911dba 100644 --- a/src/accounts.cs +++ b/src/accounts.cs @@ -162,7 +162,6 @@ interface ACAccountType : NSSecureCoding { [Deprecated (PlatformName.iOS, 11, 0, message: "Use Tencent Weibo SDK instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Tencent Weibo SDK instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use Tencent Weibo SDK instead.")] [Field ("ACAccountTypeIdentifierTencentWeibo")] @@ -172,7 +171,6 @@ interface ACAccountType : NSSecureCoding { [NoTV] [NoWatch] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use LinkedIn SDK instead.")] - [Mac (10, 9)] [NoMacCatalyst] [Field ("ACAccountTypeIdentifierLinkedIn")] NSString LinkedIn { get; } @@ -211,7 +209,6 @@ interface ACFacebookAudienceValue { [Deprecated (PlatformName.iOS, 11, 0, message: "Use Tencent Weibo SDK instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Tencent Weibo SDK instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use Tencent Weibo SDK instead.")] [Static] @@ -224,7 +221,6 @@ interface ACTencentWeiboKey { [NoTV] [NoWatch] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use LinkedIn SDK instead.")] - [Mac (10, 9)] [NoMacCatalyst] [Static] interface ACLinkedInKey { diff --git a/src/addressbookui.cs b/src/addressbookui.cs index 40d2ab31486c..7c64aa7e826d 100644 --- a/src/addressbookui.cs +++ b/src/addressbookui.cs @@ -83,17 +83,14 @@ interface ABPeoplePickerNavigationController : UIAppearance { [Export ("peoplePickerDelegate", ArgumentSemantic.Assign)] NSObject WeakDelegate { get; set; } - [iOS (8, 0)] [Export ("predicateForEnablingPerson", ArgumentSemantic.Copy)] [NullAllowed] NSPredicate PredicateForEnablingPerson { get; set; } - [iOS (8, 0)] [Export ("predicateForSelectionOfPerson", ArgumentSemantic.Copy)] [NullAllowed] NSPredicate PredicateForSelectionOfPerson { get; set; } - [iOS (8, 0)] [Export ("predicateForSelectionOfProperty", ArgumentSemantic.Copy)] [NullAllowed] NSPredicate PredicateForSelectionOfProperty { get; set; } @@ -168,7 +165,7 @@ interface ABPersonViewController : UIViewControllerRestoration { } [Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Contacts' API instead.")] - [Static, iOS (8, 0)] + [Static] interface ABPersonPredicateKey { [Field ("ABPersonBirthdayProperty")] NSString Birthday { get; } diff --git a/src/adsupport.cs b/src/adsupport.cs index 9fb44a20b78b..ff281fe6b041 100644 --- a/src/adsupport.cs +++ b/src/adsupport.cs @@ -13,7 +13,6 @@ namespace AdSupport { - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] diff --git a/src/appkit.cs b/src/appkit.cs index 8134f830f0d4..ce2a47d32f3b 100644 --- a/src/appkit.cs +++ b/src/appkit.cs @@ -100,7 +100,7 @@ interface NSActionCell { } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] interface NSAlignmentFeedbackToken { @@ -109,7 +109,6 @@ interface NSAlignmentFeedbackToken { interface INSAlignmentFeedbackToken { } // @interface NSAlignmentFeedbackFilter : NSObject - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSAlignmentFeedbackFilter { @@ -299,7 +298,6 @@ partial interface NSAnimationContext { void RunAnimation (Action changes, [NullAllowed] Action completionHandler); [Static] - [Mac (10, 12)] [Export ("runAnimationGroup:")] void RunAnimation (Action changes); @@ -370,7 +368,6 @@ interface NSAlert { [Export ("beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:")] void BeginSheet ([NullAllowed] NSWindow window, [NullAllowed] NSObject modalDelegate, [NullAllowed] Selector didEndSelector, IntPtr contextInfo); - [Mac (10, 9)] [Export ("beginSheetModalForWindow:completionHandler:")] [Async] void BeginSheet ([NullAllowed] NSWindow Window, [NullAllowed] Action handler); @@ -397,7 +394,6 @@ interface NSApplicationDidFinishLaunchingEventArgs { bool IsLaunchFromUserNotification { get; } } - [Mac (10, 9)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSAppearance : NSSecureCoding { @@ -408,7 +404,6 @@ interface NSAppearance : NSSecureCoding { [Export ("name")] string Name { get; } - [Mac (10, 10)] [Export ("allowsVibrancy")] bool AllowsVibrancy { get; } @@ -432,7 +427,6 @@ interface NSAppearance : NSSecureCoding { [Field ("NSAppearanceNameAqua")] NSString NameAqua { get; } - [Mac (10, 14)] [Field ("NSAppearanceNameDarkAqua")] NSString NameDarkAqua { get; } @@ -440,31 +434,24 @@ interface NSAppearance : NSSecureCoding { [Field ("NSAppearanceNameLightContent")] NSString NameLightContent { get; } - [Mac (10, 10)] [Field ("NSAppearanceNameVibrantDark")] NSString NameVibrantDark { get; } - [Mac (10, 10)] [Field ("NSAppearanceNameVibrantLight")] NSString NameVibrantLight { get; } - [Mac (10, 14)] [Field ("NSAppearanceNameAccessibilityHighContrastAqua")] NSString NameAccessibilityHighContrastAqua { get; } - [Mac (10, 14)] [Field ("NSAppearanceNameAccessibilityHighContrastDarkAqua")] NSString NameAccessibilityHighContrastDarkAqua { get; } - [Mac (10, 14)] [Field ("NSAppearanceNameAccessibilityHighContrastVibrantLight")] NSString NameAccessibilityHighContrastVibrantLight { get; } - [Mac (10, 14)] [Field ("NSAppearanceNameAccessibilityHighContrastVibrantDark")] NSString NameAccessibilityHighContrastVibrantDark { get; } - [Mac (10, 14)] [Export ("bestMatchFromAppearancesWithNames:")] [return: NullAllowed] string FindBestMatch (string [] appearances); @@ -472,7 +459,6 @@ interface NSAppearance : NSSecureCoding { interface INSAppearanceCustomization { } - [Mac (10, 9)] [NoMacCatalyst] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -480,7 +466,6 @@ interface NSAppearanceCustomization { #if NET [Abstract] #endif - [Mac (10, 9)] [NullAllowed] [Export ("appearance", ArgumentSemantic.Strong)] NSAppearance Appearance { get; set; } @@ -488,7 +473,6 @@ interface NSAppearanceCustomization { #if NET [Abstract] #endif - [Mac (10, 9)] [Export ("effectiveAppearance", ArgumentSemantic.Strong)] NSAppearance EffectiveAppearance { get; } } @@ -773,11 +757,9 @@ interface NSApplication : NSAccessibilityElementProtocol, NSUserInterfaceValidat [Export ("unregisterForRemoteNotifications")] void UnregisterForRemoteNotifications (); - [Mac (10, 14)] [Export ("registerForRemoteNotifications")] void RegisterForRemoteNotifications (); - [Mac (10, 14)] [Export ("registeredForRemoteNotifications")] bool IsRegisteredForRemoteNotifications { [Bind ("isRegisteredForRemoteNotifications")] get; } @@ -844,7 +826,6 @@ interface NSApplication : NSAccessibilityElementProtocol, NSUserInterfaceValidat NSString DidFinishRestoringWindowsNotification { get; } [Export ("occlusionState")] - [Mac (10, 9)] NSApplicationOcclusionState OcclusionState { get; } // This comes from the NSWindowRestoration category (defined on NSApplication: '@interface NSApplication (NSWindowRestoration)') @@ -871,7 +852,6 @@ interface NSApplication : NSAccessibilityElementProtocol, NSUserInterfaceValidat void OrderFrontStandardAboutPanelWithOptions2 (NSDictionary optionsDictionary); #endif - [Mac (10, 12)] [Export ("enumerateWindowsWithOptions:usingBlock:")] void EnumerateWindows (NSWindowListOptions options, NSApplicationEnumerateWindowsHandler block); @@ -906,23 +886,18 @@ interface NSApplication_NSStandardAboutPanel { [NoMacCatalyst] [Static] interface NSAboutPanelOption { - [Mac (10, 13)] [Field ("NSAboutPanelOptionCredits")] NSString Credits { get; } - [Mac (10, 13)] [Field ("NSAboutPanelOptionApplicationName")] NSString ApplicationName { get; } - [Mac (10, 13)] [Field ("NSAboutPanelOptionApplicationIcon")] NSString ApplicationIcon { get; } - [Mac (10, 13)] [Field ("NSAboutPanelOptionVersion")] NSString Version { get; } - [Mac (10, 13)] [Field ("NSAboutPanelOptionApplicationVersion")] NSString ApplicationVersion { get; } } @@ -1058,27 +1033,22 @@ interface NSApplicationDelegate { [Export ("application:didDecodeRestorableState:"), EventArgs ("NSCoder")] void DecodedRestorableState (NSApplication app, NSCoder state); - [Mac (10, 10)] [Export ("application:willContinueUserActivityWithType:"), DelegateName ("NSApplicationUserActivityType"), DefaultValue (false)] bool WillContinueUserActivity (NSApplication application, string userActivityType); - [Mac (10, 10)] [Export ("application:continueUserActivity:restorationHandler:"), DelegateName ("NSApplicationContinueUserActivity"), DefaultValue (false)] bool ContinueUserActivity (NSApplication application, NSUserActivity userActivity, ContinueUserActivityRestorationHandler restorationHandler); - [Mac (10, 10)] [Export ("application:didFailToContinueUserActivityWithType:error:"), EventArgs ("NSApplicationFailed"), DefaultValue (false)] void FailedToContinueUserActivity (NSApplication application, string userActivityType, NSError error); - [Mac (10, 10)] [Export ("application:didUpdateUserActivity:"), EventArgs ("NSApplicationUpdatedUserActivity"), DefaultValue (false)] void UpdatedUserActivity (NSApplication application, NSUserActivity userActivity); - [Mac (10, 12)] [Export ("application:userDidAcceptCloudKitShareWithMetadata:"), EventArgs ("NSApplicationUserAcceptedCloudKitShare")] void UserDidAcceptCloudKitShare (NSApplication application, CKShareMetadata metadata); - [Mac (10, 13), EventArgs ("NSApplicationOpenUrls")] + [EventArgs ("NSApplicationOpenUrls")] [Export ("application:openURLs:")] void OpenUrls (NSApplication application, NSUrl [] urls); @@ -1122,7 +1092,6 @@ interface NSServicesMenuRequestor { } [NoMacCatalyst] - [Mac (10, 12, 2)] [Category] [BaseType (typeof (NSApplication))] interface NSApplication_NSTouchBarCustomization { @@ -1455,11 +1424,9 @@ interface NSBezierPath : NSSecureCoding, NSCopying { [Export ("flatness")] nfloat Flatness { get; set; } - [Mac (10, 13)] [Export ("appendBezierPathWithCGGlyph:inFont:")] void AppendPathWithCGGlyph (CGGlyph glyph, NSFont font); - [Mac (10, 13)] [Export ("appendBezierPathWithCGGlyphs:count:inFont:")] [Internal] void _AppendBezierPathWithCGGlyphs (IntPtr glyphs, nint count, NSFont font); @@ -2110,12 +2077,10 @@ interface NSBrowserDelegate { [NoMacCatalyst] [BaseType (typeof (NSCell))] interface NSBrowserCell { - [Mac (10, 12)] [Export ("initTextCell:")] [DesignatedInitializer] NativeHandle Constructor (string str); - [Mac (10, 12)] [Export ("initImageCell:")] [DesignatedInitializer] NativeHandle Constructor ([NullAllowed] NSImage image); @@ -2275,31 +2240,26 @@ interface NSButton : NSAccessibilityButton, NSUserInterfaceCompression, NSUserIn [Export ("initWithFrame:")] NativeHandle Constructor (CGRect frameRect); - [Mac (10, 12)] [Static] [Internal] [Export ("buttonWithTitle:image:target:action:")] NSButton _CreateButton (string title, NSImage image, [NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 12)] [Static] [Internal] [Export ("buttonWithTitle:target:action:")] NSButton _CreateButton (string title, [NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 12)] [Static] [Internal] [Export ("buttonWithImage:target:action:")] NSButton _CreateButton (NSImage image, [NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 12)] [Static] [Internal] [Export ("checkboxWithTitle:target:action:")] NSButton _CreateCheckbox (string title, [NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 12)] [Static] [Internal] [Export ("radioButtonWithTitle:target:action:")] @@ -2375,15 +2335,12 @@ interface NSButton : NSAccessibilityButton, NSUserInterfaceCompression, NSUserIn [Export ("sound")] NSSound Sound { get; set; } - [Mac (10, 10, 3)] [Export ("springLoaded")] bool IsSpringLoaded { [Bind ("isSpringLoaded")] get; set; } - [Mac (10, 10, 3)] [Export ("maxAcceleratorLevel")] nint MaxAcceleratorLevel { get; set; } - [Mac (10, 12)] [Export ("imageHugsTitle")] bool ImageHugsTitle { get; set; } @@ -2395,11 +2352,9 @@ interface NSButton : NSAccessibilityButton, NSUserInterfaceCompression, NSUserIn [Export ("imageScaling")] NSImageScale ImageScaling { get; set; } - [Mac (10, 12, 2)] [NullAllowed, Export ("bezelColor", ArgumentSemantic.Copy)] NSColor BezelColor { get; set; } - [Mac (10, 14)] [NullAllowed, Export ("contentTintColor", ArgumentSemantic.Copy)] NSColor ContentTintColor { get; set; } @@ -2777,7 +2732,6 @@ interface NSCIImageRep { CIImage CIImage { get; } } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSGestureRecognizer))] interface NSClickGestureRecognizer : NSCoding { @@ -2790,7 +2744,6 @@ interface NSClickGestureRecognizer : NSCoding { [Export ("numberOfClicksRequired")] nint NumberOfClicksRequired { get; set; } - [Mac (10, 12, 2)] [Export ("numberOfTouchesRequired")] nint NumberOfTouchesRequired { get; set; } } @@ -2836,7 +2789,6 @@ interface NSClipView { [Export ("constrainScrollPoint:")] CGPoint ConstrainScrollPoint (CGPoint newOrigin); - [Mac (10, 9)] [Export ("constrainBoundsRect:")] CGRect ConstrainBoundsRect (CGRect proposedBounds); @@ -2846,11 +2798,9 @@ interface NSClipView { [Export ("scrollClipView:toPoint:")] void ScrollClipView (NSClipView aClipView, CGPoint aPoint); - [Mac (10, 10)] [Export ("contentInsets")] NSEdgeInsets ContentInsets { get; set; } - [Mac (10, 10)] [Export ("automaticallyAdjustsContentInsets")] bool AutomaticallyAdjustsContentInsets { get; set; } } @@ -2885,7 +2835,6 @@ interface NSCollectionViewItem : NSCopying { [Export ("draggingImageComponents")] NSDraggingImageComponent [] DraggingImageComponents { get; } - [Mac (10, 11)] [Export ("highlightState", ArgumentSemantic.Assign)] NSCollectionViewItemHighlightState HighlightState { get; set; } } @@ -2975,184 +2924,142 @@ interface NSCollectionView : NSDraggingSource, NSDraggingDestination { CGRect FrameForItemAtIndex (nint index, nint numberOfItems); #endif - [Mac (10, 11)] [Protocolize] [NullAllowed, Export ("dataSource", ArgumentSemantic.Weak)] NSCollectionViewDataSource DataSource { get; set; } - [Mac (10, 11)] [Export ("reloadData")] void ReloadData (); - [Mac (10, 11)] [NullAllowed, Export ("backgroundView", ArgumentSemantic.Strong)] NSView BackgroundView { get; set; } - [Mac (10, 11)] [NullAllowed, Export ("collectionViewLayout", ArgumentSemantic.Strong)] NSCollectionViewLayout CollectionViewLayout { get; set; } - [Mac (10, 11)] [Export ("layoutAttributesForItemAtIndexPath:")] [return: NullAllowed] NSCollectionViewLayoutAttributes GetLayoutAttributes (NSIndexPath indexPath); - [Mac (10, 11)] [Export ("layoutAttributesForSupplementaryElementOfKind:atIndexPath:")] [return: NullAllowed] NSCollectionViewLayoutAttributes GetLayoutAttributes (string kind, NSIndexPath indexPath); // -(NSInteger)numberOfSections __attribute__((availability(macosx, introduced=10.11))); - [Mac (10, 11)] [Export ("numberOfSections")] // [Verify (MethodToProperty)] nint NumberOfSections { get; } - [Mac (10, 11)] [Export ("numberOfItemsInSection:")] nint GetNumberOfItems (nint section); - [Mac (10, 11)] [Export ("allowsEmptySelection")] bool AllowsEmptySelection { get; set; } - [Mac (10, 11)] [Export ("selectionIndexPaths", ArgumentSemantic.Copy)] NSSet SelectionIndexPaths { get; set; } - [Mac (10, 11)] [Export ("selectItemsAtIndexPaths:scrollPosition:")] void SelectItems (NSSet indexPaths, NSCollectionViewScrollPosition scrollPosition); - [Mac (10, 11)] [Export ("deselectItemsAtIndexPaths:")] void DeselectItems (NSSet indexPaths); - [Mac (10, 11)] [Export ("registerClass:forItemWithIdentifier:"), Internal] void _RegisterClassForItem ([NullAllowed] IntPtr itemClass, string identifier); - [Mac (10, 11)] [Export ("registerNib:forItemWithIdentifier:")] void RegisterNib ([NullAllowed] NSNib nib, string identifier); - [Mac (10, 11)] [Export ("registerClass:forSupplementaryViewOfKind:withIdentifier:"), Internal] void _RegisterClassForSupplementaryView ([NullAllowed] IntPtr viewClass, NSString kind, string identifier); - [Mac (10, 11)] [Export ("registerNib:forSupplementaryViewOfKind:withIdentifier:")] void RegisterNib ([NullAllowed] NSNib nib, NSString kind, string identifier); - [Mac (10, 11)] [Export ("makeItemWithIdentifier:forIndexPath:")] NSCollectionViewItem MakeItem (string identifier, NSIndexPath indexPath); - [Mac (10, 11)] [Export ("makeSupplementaryViewOfKind:withIdentifier:forIndexPath:")] NSView MakeSupplementaryView (NSString elementKind, string identifier, NSIndexPath indexPath); - [Mac (10, 11)] [Export ("itemAtIndexPath:")] [return: NullAllowed] NSCollectionViewItem GetItem (NSIndexPath indexPath); - [Mac (10, 11)] [Export ("visibleItems")] // [Verify (MethodToProperty)] NSCollectionViewItem [] VisibleItems { get; } - [Mac (10, 11)] [Export ("indexPathsForVisibleItems")] // [Verify (MethodToProperty)] NSSet IndexPathsForVisibleItems { get; } - [Mac (10, 11)] [Export ("indexPathForItem:")] [return: NullAllowed] NSIndexPath GetIndexPath (NSCollectionViewItem item); - [Mac (10, 11)] [Export ("indexPathForItemAtPoint:")] [return: NullAllowed] NSIndexPath GetIndexPath (CGPoint point); // -(NSView * __nullable)supplementaryViewForElementKind:(NSString * __nonnull)elementKind atIndexPath:(NSIndexPath * __nonnull)indexPath __attribute__((availability(macosx, introduced=10.11))); - [Mac (10, 11)] [Export ("supplementaryViewForElementKind:atIndexPath:")] [return: NullAllowed] INSCollectionViewElement GetSupplementaryView (NSString elementKind, NSIndexPath indexPath); // -(NSArray * __nonnull> * __nonnull)visibleSupplementaryViewsOfKind:(NSString * __nonnull)elementKind __attribute__((availability(macosx, introduced=10.11))); - [Mac (10, 11)] [Export ("visibleSupplementaryViewsOfKind:")] INSCollectionViewElement [] GetVisibleSupplementaryViews (NSString elementKind); - [Mac (10, 11)] [Export ("indexPathsForVisibleSupplementaryElementsOfKind:")] NSSet GetIndexPaths (string elementKind); - [Mac (10, 11)] [Export ("insertSections:")] void InsertSections (NSIndexSet sections); - [Mac (10, 11)] [Export ("deleteSections:")] void DeleteSections (NSIndexSet sections); - [Mac (10, 11)] [Export ("reloadSections:")] void ReloadSections (NSIndexSet sections); - [Mac (10, 11)] [Export ("moveSection:toSection:")] void MoveSection (nint section, nint newSection); - [Mac (10, 11)] [Export ("insertItemsAtIndexPaths:")] void InsertItems (NSSet indexPaths); - [Mac (10, 11)] [Export ("deleteItemsAtIndexPaths:")] void DeleteItems (NSSet indexPaths); - [Mac (10, 11)] [Export ("reloadItemsAtIndexPaths:")] void ReloadItems (NSSet indexPaths); - [Mac (10, 11)] [Export ("moveItemAtIndexPath:toIndexPath:")] void MoveItem (NSIndexPath indexPath, NSIndexPath newIndexPath); - [Mac (10, 11)] [Export ("performBatchUpdates:completionHandler:")] void PerformBatchUpdates (Action updates, Action completionHandler); - [Mac (10, 11)] [Export ("scrollToItemsAtIndexPaths:scrollPosition:")] void ScrollToItems (NSSet indexPaths, NSCollectionViewScrollPosition scrollPosition); - [Mac (10, 11)] [Export ("draggingImageForItemsAtIndexPaths:withEvent:offset:")] NSImage GetDraggingImage (NSSet indexPaths, NSEvent theEvent, ref CGPoint dragImageOffset); - [Mac (10, 11)] // Not marked as 10.11 in the header files, but didn't exist previously [Export ("selectAll:")] void SelectAll ([NullAllowed] NSObject sender); - [Mac (10, 11)] // Not marked as 10.11 in the header files, but didn't exist previously [Export ("deselectAll:")] void DeselectAll ([NullAllowed] NSObject sender); - [Mac (10, 12)] [Export ("backgroundViewScrollsWithContent")] bool BackgroundViewScrollsWithContent { get; set; } - [Mac (10, 12)] [Export ("toggleSectionCollapse:")] void ToggleSectionCollapse (NSObject sender); - [Mac (10, 13)] [NullAllowed, Export ("prefetchDataSource", ArgumentSemantic.Weak)] INSCollectionViewPrefetching PrefetchDataSource { get; set; } } @@ -3162,17 +3069,14 @@ interface NSCollectionView : NSDraggingSource, NSDraggingDestination { [Protocol, Model] [BaseType (typeof (NSObject))] interface NSCollectionViewDataSource { - [Mac (10, 11)] [Abstract] [Export ("collectionView:numberOfItemsInSection:")] nint GetNumberofItems (NSCollectionView collectionView, nint section); - [Mac (10, 11)] [Abstract] [Export ("collectionView:itemForRepresentedObjectAtIndexPath:")] NSCollectionViewItem GetItem (NSCollectionView collectionView, NSIndexPath indexPath); - [Mac (10, 11)] [Export ("numberOfSectionsInCollectionView:")] nint GetNumberOfSections (NSCollectionView collectionView); @@ -3213,35 +3117,28 @@ partial interface NSCollectionViewDelegate { bool AcceptDrop (NSCollectionView collectionView, [Protocolize (4)] NSDraggingInfo draggingInfo, nint index, NSCollectionViewDropOperation dropOperation); #endif - [Mac (10, 11)] [Export ("collectionView:canDragItemsAtIndexPaths:withEvent:")] bool CanDragItems (NSCollectionView collectionView, NSSet indexPaths, NSEvent theEvent); - [Mac (10, 11)] [Export ("collectionView:writeItemsAtIndexPaths:toPasteboard:")] [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use the 'GetPasteboardWriter' method instead.")] bool WriteItems (NSCollectionView collectionView, NSSet indexPaths, NSPasteboard pasteboard); - [Mac (10, 11)] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'NSFilePromiseReceiver' objects instead.")] [Export ("collectionView:namesOfPromisedFilesDroppedAtDestination:forDraggedItemsAtIndexPaths:")] string [] GetNamesOfPromisedFiles (NSCollectionView collectionView, NSUrl dropURL, NSSet indexPaths); - [Mac (10, 11)] [Export ("collectionView:draggingImageForItemsAtIndexPaths:withEvent:offset:")] NSImage GetDraggingImage (NSCollectionView collectionView, NSSet indexPaths, NSEvent theEvent, ref CGPoint dragImageOffset); #if !NET - [Mac (10, 11)] [Export ("collectionView:validateDrop:proposedIndexPath:dropOperation:")] NSDragOperation ValidateDropOperation (NSCollectionView collectionView, [Protocolize (4)] NSDraggingInfo draggingInfo, ref NSIndexPath proposedDropIndexPath, ref NSCollectionViewDropOperation proposedDropOperation); #else - [Mac (10,11)] [Export ("collectionView:validateDrop:proposedIndexPath:dropOperation:")] NSDragOperation ValidateDrop (NSCollectionView collectionView, INSDraggingInfo draggingInfo, ref NSIndexPath proposedDropIndexPath, ref NSCollectionViewDropOperation proposedDropOperation); #endif - [Mac (10, 11)] [Export ("collectionView:acceptDrop:indexPath:dropOperation:")] #if NET bool AcceptDrop (NSCollectionView collectionView, INSDraggingInfo draggingInfo, NSIndexPath indexPath, NSCollectionViewDropOperation dropOperation); @@ -3249,63 +3146,49 @@ partial interface NSCollectionViewDelegate { bool AcceptDrop (NSCollectionView collectionView, [Protocolize (4)] NSDraggingInfo draggingInfo, NSIndexPath indexPath, NSCollectionViewDropOperation dropOperation); #endif - [Mac (10, 11)] [Export ("collectionView:pasteboardWriterForItemAtIndexPath:")] [return: NullAllowed] INSPasteboardWriting GetPasteboardWriter (NSCollectionView collectionView, NSIndexPath indexPath); - [Mac (10, 11)] [Export ("collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexPaths:")] void DraggingSessionWillBegin (NSCollectionView collectionView, NSDraggingSession session, CGPoint screenPoint, NSSet indexPaths); - [Mac (10, 11)] [Export ("collectionView:shouldChangeItemsAtIndexPaths:toHighlightState:")] NSSet ShouldChangeItems (NSCollectionView collectionView, NSSet indexPaths, NSCollectionViewItemHighlightState highlightState); - [Mac (10, 11)] [Export ("collectionView:didChangeItemsAtIndexPaths:toHighlightState:")] void ItemsChanged (NSCollectionView collectionView, NSSet indexPaths, NSCollectionViewItemHighlightState highlightState); - [Mac (10, 11)] [Export ("collectionView:shouldSelectItemsAtIndexPaths:")] NSSet ShouldSelectItems (NSCollectionView collectionView, NSSet indexPaths); - [Mac (10, 11)] [Export ("collectionView:shouldDeselectItemsAtIndexPaths:")] NSSet ShouldDeselectItems (NSCollectionView collectionView, NSSet indexPaths); - [Mac (10, 11)] [Export ("collectionView:didSelectItemsAtIndexPaths:")] void ItemsSelected (NSCollectionView collectionView, NSSet indexPaths); - [Mac (10, 11)] [Export ("collectionView:didDeselectItemsAtIndexPaths:")] void ItemsDeselected (NSCollectionView collectionView, NSSet indexPaths); - [Mac (10, 11)] [Export ("collectionView:willDisplayItem:forRepresentedObjectAtIndexPath:")] void WillDisplayItem (NSCollectionView collectionView, NSCollectionViewItem item, NSIndexPath indexPath); - [Mac (10, 11)] [Export ("collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:")] void WillDisplaySupplementaryView (NSCollectionView collectionView, NSView view, NSString elementKind, NSIndexPath indexPath); - [Mac (10, 11)] [Export ("collectionView:didEndDisplayingItem:forRepresentedObjectAtIndexPath:")] void DisplayingItemEnded (NSCollectionView collectionView, NSCollectionViewItem item, NSIndexPath indexPath); - [Mac (10, 11)] [Export ("collectionView:didEndDisplayingSupplementaryView:forElementOfKind:atIndexPath:")] void DisplayingSupplementaryViewEnded (NSCollectionView collectionView, NSView view, string elementKind, NSIndexPath indexPath); - [Mac (10, 11)] [Export ("collectionView:transitionLayoutForOldLayout:newLayout:")] NSCollectionViewTransitionLayout TransitionLayout (NSCollectionView collectionView, NSCollectionViewLayout fromLayout, NSCollectionViewLayout toLayout); } interface INSCollectionViewElement { } - [Mac (10, 11)] [NoMacCatalyst] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -3329,20 +3212,16 @@ interface NSCollectionViewElement : NSUserInterfaceItemIdentification { [Static] [NoMacCatalyst] interface NSCollectionElementKind { - [Mac (10, 11)] [Field ("NSCollectionElementKindInterItemGapIndicator")] NSString InterItemGapIndicator { get; } - [Mac (10, 11)] [Field ("NSCollectionElementKindSectionHeader")] NSString SectionHeader { get; } - [Mac (10, 11)] [Field ("NSCollectionElementKindSectionFooter")] NSString SectionFooter { get; } } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSCollectionViewLayoutAttributes : NSCopying { @@ -3387,7 +3266,6 @@ interface NSCollectionViewLayoutAttributes : NSCopying { NSCollectionViewLayoutAttributes CreateForDecorationView (NSString decorationViewKind, NSIndexPath indexPath); } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSCollectionViewUpdateItem { @@ -3401,7 +3279,6 @@ interface NSCollectionViewUpdateItem { NSCollectionUpdateAction UpdateAction { get; } } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSCollectionViewLayoutInvalidationContext { @@ -3436,7 +3313,6 @@ interface NSCollectionViewLayoutInvalidationContext { CGSize ContentSizeAdjustment { get; set; } } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSCollectionViewLayout : NSCoding { @@ -3583,7 +3459,6 @@ interface NSCollectionViewLayout : NSCoding { NSSet GetIndexPathsToInsertForDecorationView (NSString elementKind); } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSCollectionViewLayoutInvalidationContext))] interface NSCollectionViewFlowLayoutInvalidationContext { @@ -3594,7 +3469,6 @@ interface NSCollectionViewFlowLayoutInvalidationContext { bool InvalidateFlowLayoutAttributes { get; set; } } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [Protocol, Model] @@ -3618,7 +3492,6 @@ interface NSCollectionViewDelegateFlowLayout : NSCollectionViewDelegate { CGSize ReferenceSizeForFooter (NSCollectionView collectionView, NSCollectionViewLayout collectionViewLayout, nint section); } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSCollectionViewLayout))] interface NSCollectionViewFlowLayout { @@ -3646,28 +3519,22 @@ interface NSCollectionViewFlowLayout { [Export ("sectionInset", ArgumentSemantic.Assign)] NSEdgeInsets SectionInset { get; set; } - [Mac (10, 12)] [Export ("sectionHeadersPinToVisibleBounds")] bool SectionHeadersPinToVisibleBounds { get; set; } - [Mac (10, 12)] [Export ("sectionFootersPinToVisibleBounds")] bool SectionFootersPinToVisibleBounds { get; set; } - [Mac (10, 12)] [Export ("sectionAtIndexIsCollapsed:")] bool SectionAtIndexIsCollapsed (nuint sectionIndex); - [Mac (10, 12)] [Export ("collapseSectionAtIndex:")] void CollapseSectionAtIndex (nuint sectionIndex); - [Mac (10, 12)] [Export ("expandSectionAtIndex:")] void ExpandSectionAtIndex (nuint sectionIndex); } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSCollectionViewLayout))] interface NSCollectionViewGridLayout { @@ -3696,7 +3563,6 @@ interface NSCollectionViewGridLayout { NSColor [] BackgroundColors { get; set; } } - [Mac (10, 11)] [NoMacCatalyst] [DisableDefaultCtor] [BaseType (typeof (NSCollectionViewLayout))] @@ -3767,15 +3633,12 @@ partial interface NSColor : NSCoding, NSCopying, NSSecureCoding, NSPasteboardRea [Export ("colorWithColorSpace:components:count:"), Internal] NSColor _FromColorSpace (NSColorSpace space, IntPtr components, nint numberOfComponents); - [Mac (10, 9)] [Static, Export ("colorWithWhite:alpha:")] NSColor FromWhite (nfloat white, nfloat alpha); - [Mac (10, 9)] [Static, Export ("colorWithRed:green:blue:alpha:")] NSColor FromRgba (nfloat red, nfloat green, nfloat blue, nfloat alpha); - [Mac (10, 9)] [Static, Export ("colorWithHue:saturation:brightness:alpha:")] NSColor FromHsba (nfloat hue, nfloat saturation, nfloat brightness, nfloat alpha); @@ -4131,242 +3994,202 @@ partial interface NSColor : NSCoding, NSCopying, NSSecureCoding, NSPasteboardRea #if !NET [Obsolete ("Use 'Label' instead.")] - [Mac (10, 10)] [Static, Export ("labelColor")] NSColor LabelColor { get; } #endif - [Mac (10, 10)] [Static, Export ("labelColor")] NSColor Label { get; } #if !NET [Obsolete ("Use 'SecondaryLabel' instead.")] - [Mac (10, 10)] [Static, Export ("secondaryLabelColor")] NSColor SecondaryLabelColor { get; } #endif - [Mac (10, 10)] [Static, Export ("secondaryLabelColor")] NSColor SecondaryLabel { get; } #if !NET [Obsolete ("Use 'TertiaryLabel' instead.")] - [Mac (10, 10)] [Static, Export ("tertiaryLabelColor")] NSColor TertiaryLabelColor { get; } #endif - [Mac (10, 10)] [Static, Export ("tertiaryLabelColor")] NSColor TertiaryLabel { get; } #if !NET [Obsolete ("Use 'QuaternaryLabel' instead.")] - [Mac (10, 10)] [Static, Export ("quaternaryLabelColor")] NSColor QuaternaryLabelColor { get; } #endif - [Mac (10, 10)] [Static, Export ("quaternaryLabelColor")] NSColor QuaternaryLabel { get; } #if !NET [Obsolete ("Use 'Link' instead.")] - [Mac (10, 10)] [Static, Export ("linkColor", ArgumentSemantic.Strong)] NSColor LinkColor { get; } #endif - [Mac (10, 10)] [Static, Export ("linkColor", ArgumentSemantic.Strong)] NSColor Link { get; } - [Mac (10, 12)] [Static] [Export ("colorWithDisplayP3Red:green:blue:alpha:")] NSColor FromDisplayP3 (nfloat red, nfloat green, nfloat blue, nfloat alpha); - [Mac (10, 12)] [Static] [Export ("colorWithColorSpace:hue:saturation:brightness:alpha:")] NSColor FromColor (NSColorSpace space, nfloat hue, nfloat saturation, nfloat brightness, nfloat alpha); #if !NET [Obsolete ("Use 'ScrubberTexturedBackground' instead.")] - [Mac (10, 12, 2)] [Static] [Export ("scrubberTexturedBackgroundColor", ArgumentSemantic.Strong)] NSColor ScrubberTexturedBackgroundColor { get; } #endif - [Mac (10, 12, 2)] [Static] [Export ("scrubberTexturedBackgroundColor", ArgumentSemantic.Strong)] NSColor ScrubberTexturedBackground { get; } - [Mac (10, 13)] [Static] [Export ("colorNamed:bundle:")] [return: NullAllowed] NSColor FromName (string name, [NullAllowed] NSBundle bundle); - [Mac (10, 13)] [Static] [Export ("colorNamed:")] [return: NullAllowed] NSColor FromName (string name); - [Mac (10, 13)] [Export ("type")] NSColorType Type { get; } - [Mac (10, 13)] [Export ("colorUsingType:")] [return: NullAllowed] NSColor GetColor (NSColorType type); #if !NET [Obsolete ("Use 'SystemRed' instead.")] - [Mac (10, 10)] [Static] [Export ("systemRedColor", ArgumentSemantic.Strong)] NSColor SystemRedColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("systemRedColor", ArgumentSemantic.Strong)] NSColor SystemRed { get; } #if !NET [Obsolete ("Use 'SystemGreen' instead.")] - [Mac (10, 10)] [Static] [Export ("systemGreenColor", ArgumentSemantic.Strong)] NSColor SystemGreenColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("systemGreenColor", ArgumentSemantic.Strong)] NSColor SystemGreen { get; } #if !NET [Obsolete ("Use 'SystemBlue' instead.")] - [Mac (10, 10)] [Static] [Export ("systemBlueColor", ArgumentSemantic.Strong)] NSColor SystemBlueColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("systemBlueColor", ArgumentSemantic.Strong)] NSColor SystemBlue { get; } #if !NET [Obsolete ("Use 'SystemOrange' instead.")] - [Mac (10, 10)] [Static] [Export ("systemOrangeColor", ArgumentSemantic.Strong)] NSColor SystemOrangeColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("systemOrangeColor", ArgumentSemantic.Strong)] NSColor SystemOrange { get; } #if !NET [Obsolete ("Use 'SystemYellow' instead.")] - [Mac (10, 10)] [Static] [Export ("systemYellowColor", ArgumentSemantic.Strong)] NSColor SystemYellowColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("systemYellowColor", ArgumentSemantic.Strong)] NSColor SystemYellow { get; } #if !NET [Obsolete ("Use 'SystemBrown' instead.")] - [Mac (10, 10)] [Static] [Export ("systemBrownColor", ArgumentSemantic.Strong)] NSColor SystemBrownColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("systemBrownColor", ArgumentSemantic.Strong)] NSColor SystemBrown { get; } #if !NET [Obsolete ("Use 'SystemPink' instead.")] - [Mac (10, 10)] [Static] [Export ("systemPinkColor", ArgumentSemantic.Strong)] NSColor SystemPinkColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("systemPinkColor", ArgumentSemantic.Strong)] NSColor SystemPink { get; } #if !NET [Obsolete ("Use 'SystemPurple' instead.")] - [Mac (10, 10)] [Static] [Export ("systemPurpleColor", ArgumentSemantic.Strong)] NSColor SystemPurpleColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("systemPurpleColor", ArgumentSemantic.Strong)] NSColor SystemPurple { get; } #if !NET [Obsolete ("Use 'SystemGray' instead.")] - [Mac (10, 10)] [Static] [Export ("systemGrayColor", ArgumentSemantic.Strong)] NSColor SystemGrayColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("systemGrayColor", ArgumentSemantic.Strong)] NSColor SystemGray { get; } #if !NET [Obsolete ("Use 'SystemIndigo' instead.")] - [Mac (10, 15)] [Static] [Export ("systemIndigoColor", ArgumentSemantic.Strong)] NSColor SystemIndigoColor { get; } #endif - [Mac (10, 15)] [Static] [Export ("systemIndigoColor", ArgumentSemantic.Strong)] NSColor SystemIndigo { get; } #if !NET [Obsolete ("Use 'SystemMint' instead.")] - [Mac (10, 12)] [Static] [Export ("systemMintColor", ArgumentSemantic.Strong)] NSColor SystemMintColor { get; } #endif - [Mac (10, 12)] [Static] [Export ("systemMintColor", ArgumentSemantic.Strong)] NSColor SystemMint { get; } @@ -4386,131 +4209,110 @@ partial interface NSColor : NSCoding, NSCopying, NSSecureCoding, NSPasteboardRea #if !NET [Obsolete ("Use 'SystemTeal' instead.")] - [Mac (10, 12)] [Static] [Export ("systemTealColor", ArgumentSemantic.Strong)] NSColor SystemTealColor { get; } #endif - [Mac (10, 12)] [Static] [Export ("systemTealColor", ArgumentSemantic.Strong)] NSColor SystemTeal { get; } #if !NET [Obsolete ("Use 'Separator' instead.")] - [Mac (10, 14)] [Static] [Export ("separatorColor", ArgumentSemantic.Strong)] NSColor SeparatorColor { get; } #endif - [Mac (10, 14)] [Static] [Export ("separatorColor", ArgumentSemantic.Strong)] NSColor Separator { get; } #if !NET [Obsolete ("Use 'SelectedContentBackground' instead.")] - [Mac (10, 14)] [Static] [Export ("selectedContentBackgroundColor", ArgumentSemantic.Strong)] NSColor SelectedContentBackgroundColor { get; } #endif - [Mac (10, 14)] [Static] [Export ("selectedContentBackgroundColor", ArgumentSemantic.Strong)] NSColor SelectedContentBackground { get; } #if !NET [Obsolete ("Use 'UnemphasizedSelectedContentBackground' instead.")] - [Mac (10, 14)] [Static] [Export ("unemphasizedSelectedContentBackgroundColor", ArgumentSemantic.Strong)] NSColor UnemphasizedSelectedContentBackgroundColor { get; } #endif - [Mac (10, 14)] [Static] [Export ("unemphasizedSelectedContentBackgroundColor", ArgumentSemantic.Strong)] NSColor UnemphasizedSelectedContentBackground { get; } - [Mac (10, 14)] [Static] [Export ("alternatingContentBackgroundColors", ArgumentSemantic.Strong)] NSColor [] AlternatingContentBackgroundColors { get; } #if !NET [Obsolete ("Use 'UnemphasizedSelectedTextBackground' instead.")] - [Mac (10, 14)] [Static] [Export ("unemphasizedSelectedTextBackgroundColor", ArgumentSemantic.Strong)] NSColor UnemphasizedSelectedTextBackgroundColor { get; } #endif - [Mac (10, 14)] [Static] [Export ("unemphasizedSelectedTextBackgroundColor", ArgumentSemantic.Strong)] NSColor UnemphasizedSelectedTextBackground { get; } #if !NET [Obsolete ("Use 'UnemphasizedSelectedText' instead.")] - [Mac (10, 14)] [Static] [Export ("unemphasizedSelectedTextColor", ArgumentSemantic.Strong)] NSColor UnemphasizedSelectedTextColor { get; } #endif - [Mac (10, 14)] [Static] [Export ("unemphasizedSelectedTextColor", ArgumentSemantic.Strong)] NSColor UnemphasizedSelectedText { get; } #if !NET [Obsolete ("Use 'ControlAccent' instead.")] - [Mac (10, 14)] [Static] [Export ("controlAccentColor", ArgumentSemantic.Strong)] NSColor ControlAccentColor { get; } #endif - [Mac (10, 14)] [Static] [Export ("controlAccentColor", ArgumentSemantic.Strong)] NSColor ControlAccent { get; } - [Mac (10, 14)] [Export ("colorWithSystemEffect:")] NSColor FromSystemEffect (NSColorSystemEffect systemEffect); #if !NET [Obsolete ("Use 'FindHighlight' instead.")] - [Mac (10, 13)] [Static] [Export ("findHighlightColor", ArgumentSemantic.Strong)] NSColor FindHighlightColor { get; } #endif - [Mac (10, 13)] [Static] [Export ("findHighlightColor", ArgumentSemantic.Strong)] NSColor FindHighlight { get; } #if !NET [Obsolete ("Use 'PlaceholderText' instead.")] - [Mac (10, 10)] [Static] [Export ("placeholderTextColor", ArgumentSemantic.Strong)] NSColor PlaceholderTextColor { get; } #endif - [Mac (10, 10)] [Static] [Export ("placeholderTextColor", ArgumentSemantic.Strong)] NSColor PlaceholderText { get; } - [Mac (10, 15)] [Static] [Export ("colorWithName:dynamicProvider:")] NSColor GetColor ([NullAllowed] string colorName, Func dynamicProvider); @@ -4561,13 +4363,11 @@ interface NSColorList : NSSecureCoding { [Export ("removeFile")] void RemoveFile (); - [Mac (10, 11)] [Export ("writeToURL:error:")] bool WriteToUrl ([NullAllowed] NSUrl url, [NullAllowed] out NSError error); } [NoMacCatalyst] - [Mac (10, 14)] [Protocol] interface NSColorChanging { [Abstract] @@ -4736,17 +4536,14 @@ interface NSColorSpace : NSCoding, NSSecureCoding { [Export ("availableColorSpacesWithModel:")] NSColorSpace [] AvailableColorSpacesWithModel (NSColorSpaceModel model); - [Mac (10, 12)] [Static] [Export ("extendedSRGBColorSpace")] NSColorSpace ExtendedSRgbColorSpace { get; } - [Mac (10, 12)] [Static] [Export ("extendedGenericGamma22GrayColorSpace")] NSColorSpace ExtendedGenericGamma22GrayColorSpace { get; } - [Mac (10, 12)] [Static] [Export ("displayP3ColorSpace")] NSColorSpace DisplayP3ColorSpace { get; } @@ -5226,44 +5023,34 @@ partial interface NSControl { [Export ("refusesFirstResponder")] bool RefusesFirstResponder { get; set; } - [Mac (10, 10)] [Export ("highlighted")] bool Highlighted { [Bind ("isHighlighted")] get; [Bind ("setHighlighted:")] set; } - [Mac (10, 10)] [Export ("controlSize")] NSControlSize ControlSize { get; set; } - [Mac (10, 10)] [Export ("sizeThatFits:")] CGSize SizeThatFits (CGSize size); - [Mac (10, 10)] [Export ("lineBreakMode")] NSLineBreakMode LineBreakMode { get; set; } - [Mac (10, 10)] [Export ("usesSingleLineMode")] bool UsesSingleLineMode { get; set; } - [Mac (10, 10)] [Export ("drawWithExpansionFrame:inView:")] void DrawWithExpansionFrame (CGRect cellFrame, NSView view); - [Mac (10, 10)] [Export ("editWithFrame:editor:delegate:event:")] void EditWithFrame (CGRect aRect, [NullAllowed] NSText textObj, [NullAllowed] NSObject anObject, NSEvent theEvent); - [Mac (10, 10)] [Export ("selectWithFrame:editor:delegate:start:length:")] void SelectWithFrame (CGRect aRect, [NullAllowed] NSText textObj, [NullAllowed] NSObject anObject, nint selStart, nint selLength); - [Mac (10, 10)] [Export ("endEditing:")] void EndEditing ([NullAllowed] NSText textObj); } - [Mac (10, 14)] [NoMacCatalyst] [Protocol] interface NSEditorRegistration { @@ -5274,7 +5061,6 @@ interface NSEditorRegistration { void ObjectDidEndEditing (INSEditor editor); } - [Mac (10, 14)] [NoMacCatalyst] [Category] [BaseType (typeof (NSObject))] @@ -5290,7 +5076,6 @@ interface NSObject_NSEditorRegistration { interface INSEditor { } - [Mac (10, 14)] [NoMacCatalyst] [Protocol] interface NSEditor { @@ -5364,7 +5149,7 @@ interface NSController : NSCoding, NSEditorRegistration bool IsEditing { get; } } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSCursor : NSCoding { [Static] @@ -5586,7 +5371,6 @@ interface NSDatePicker { [Export ("maxDate", ArgumentSemantic.Copy)] NSDate MaxDate { get; set; } - [Mac (10, 15, 4)] [Export ("presentsCalendarOverlay")] bool PresentsCalendarOverlay { get; set; } @@ -5666,7 +5450,6 @@ interface NSDatePickerCellDelegate { void ValidateProposedDateValue (NSDatePickerCell aDatePickerCell, ref NSDate proposedDateValue, double proposedTimeInterval); } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -5817,11 +5600,9 @@ partial interface NSDocument : NSUserActivityRestoring { [Export ("saveDocumentWithDelegate:didSaveSelector:contextInfo:")] void SaveDocument ([NullAllowed] NSObject delegateObject, [NullAllowed] Selector didSaveSelector, [NullAllowed] IntPtr contextInfo); - [Mac (10, 9)] [Export ("saveDocumentToPDF:")] void SaveDocumentAsPdf ([NullAllowed] NSObject sender); - [Mac (10, 9)] [DebuggerBrowsable (DebuggerBrowsableState.Never)] [Export ("PDFPrintOperation", ArgumentSemantic.Retain)] NSPrintOperation PDFPrintOperation { get; } @@ -6088,42 +5869,34 @@ partial interface NSDocument : NSUserActivityRestoring { [Export ("allowedClassesForRestorableStateKeyPath:")] Class [] GetAllowedClasses (string keyPath); - [Mac (10, 10)] [DebuggerBrowsable (DebuggerBrowsableState.Never)] [Export ("userActivity", ArgumentSemantic.Strong)] NSUserActivity UserActivity { get; set; } - [Mac (10, 10)] [Export ("updateUserActivityState:")] void UpdateUserActivityState (NSUserActivity userActivity); #if !NET // Should be removed but radar://42781537 - Classes fail to conformsToProtocol despite header declaration - [Mac (10, 10)] [Export ("restoreUserActivityState:")] new void RestoreUserActivityState (NSUserActivity userActivity); #endif - [Mac (10, 12)] [Export ("isBrowsingVersions")] bool IsBrowsingVersions { get; } - [Mac (10, 12)] [Export ("stopBrowsingVersionsWithCompletionHandler:")] [Async] void StopBrowsingVersions ([NullAllowed] Action completionHandler); - [Mac (10, 13)] [Export ("allowsDocumentSharing")] bool AllowsDocumentSharing { get; } - [Mac (10, 13)] [Export ("shareDocumentWithSharingService:completionHandler:")] [Async] void ShareDocument (NSSharingService sharingService, [NullAllowed] Action completionHandler); - [Mac (10, 13)] [Export ("prepareSharingServicePicker:")] void Prepare (NSSharingServicePicker sharingServicePicker); } @@ -6413,14 +6186,12 @@ interface NSDraggingInfo { void EnumerateDraggingItems (NSDraggingItemEnumerationOptions enumOpts, NSView view, IntPtr classArray, NSDictionary searchOptions, NSDraggingEnumerator enumerator); - [Mac (10, 11)] #if NET [Abstract] #endif [Export ("springLoadingHighlight")] NSSpringLoadingHighlight SpringLoadingHighlight { get; } - [Mac (10, 11)] #if NET [Abstract] #endif @@ -6641,7 +6412,6 @@ interface NSDrawerDelegate { } [NoMacCatalyst] - [Mac (10, 14)] [Protocol] interface NSFontChanging { [Export ("changeFont:")] @@ -6940,7 +6710,6 @@ partial interface NSFont : NSSecureCoding, NSCopying { [Field ("NSFontFeatureSelectorIdentifierKey")] NSString FeatureSelectorIdentifierKey { get; } - [Mac (10, 11)] [Static] [Export ("systemFontOfSize:weight:")] [Internal] @@ -6952,31 +6721,25 @@ partial interface NSFont : NSSecureCoding, NSCopying { [Internal] IntPtr _SystemFontOfSize (nfloat fontSize, nfloat weight, nfloat width); - [Mac (10, 11)] [Static] [Export ("monospacedDigitSystemFontOfSize:weight:")] [Internal] IntPtr _MonospacedDigitSystemFontOfSize (nfloat fontSize, nfloat weight); - [Mac (10, 13)] [Export ("boundingRectForCGGlyph:")] CGRect GetBoundingRect (CGGlyph glyph); - [Mac (10, 13)] [Export ("advancementForCGGlyph:")] CGSize GetAdvancement (CGGlyph glyph); - [Mac (10, 13)] [Internal] [Export ("getBoundingRects:forCGGlyphs:count:")] void _GetBoundingRects (IntPtr bounds, IntPtr glyphs, nuint glyphCount); - [Mac (10, 13)] [Internal] [Export ("getAdvancements:forCGGlyphs:count:")] void _GetAdvancements (IntPtr advancements, IntPtr glyphs, nuint glyphCount); - [Mac (10, 15)] [Static] [Export ("monospacedSystemFontOfSize:weight:")] [Internal] @@ -7127,27 +6890,22 @@ interface NSMutableFontCollection { [Export ("removeQueryForDescriptors:")] void RemoveQueryForDescriptors (NSFontDescriptor [] descriptors); - [Mac (10, 10)] [Static] [Export ("fontCollectionWithDescriptors:")] NSMutableFontCollection FromDescriptors (NSFontDescriptor [] queryDescriptors); - [Mac (10, 10)] [Static] [Export ("fontCollectionWithAllAvailableDescriptors", ArgumentSemantic.Copy)] NSMutableFontCollection GetAllAvailableFonts (); - [Mac (10, 10)] [Static] [Export ("fontCollectionWithLocale:")] NSMutableFontCollection FromLocale (NSLocale locale); - [Mac (10, 10)] [Static] [Export ("fontCollectionWithName:")] NSMutableFontCollection FromName (string name); - [Mac (10, 10)] [Static] [Export ("fontCollectionWithName:visibility:")] NSMutableFontCollection FromName (string name, NSFontCollectionVisibility visibility); @@ -7213,11 +6971,9 @@ interface NSFontDescriptor : NSSecureCoding, NSCopying { [Export ("fontDescriptorWithFamily:")] NSFontDescriptor FontDescriptorWithFamily (string newFamily); - [Mac (10, 13)] [Export ("requiresFontAssetRequest")] bool RequiresFontAssetRequest { get; } - [Mac (10, 15)] [Export ("fontDescriptorWithDesign:")] [return: NullAllowed] NSFontDescriptor Create (NSFontDescriptorSystemDesign design); @@ -7413,7 +7169,6 @@ interface NSFontPanel { bool Enabled { [Bind ("isEnabled")] get; set; } } - [Mac (10, 11)] [NoMacCatalyst] [Static] interface NSFontWeight { @@ -7445,7 +7200,6 @@ interface NSFontWeight { nfloat Black { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Static] interface NSFontWidth { @@ -7708,17 +7462,14 @@ interface NSGraphicsContext { [Export ("CIContext")] CoreImage.CIContext CIContext { get; } - [Mac (10, 10)] [Export ("CGContext")] CGContext CGContext { get; } - [Mac (10, 10)] [Static, Export ("graphicsContextWithCGContext:flipped:")] NSGraphicsContext FromCGContext (CGContext graphicsPort, bool initialFlippedState); } - [Mac (10, 12)] [NoMacCatalyst] [BaseType (typeof (NSView))] interface NSGridView { @@ -7817,7 +7568,6 @@ interface NSGridView { nfloat SizeForContent { get; } } - [Mac (10, 12)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -7853,7 +7603,6 @@ interface NSGridRow : NSCoding { void MergeCells (NSRange range); } - [Mac (10, 12)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -7886,7 +7635,6 @@ interface NSGridColumn : NSCoding { void MergeCells (NSRange range); } - [Mac (10, 12)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -8240,31 +7988,24 @@ interface NSEvent : NSCoding, NSCopying { [Export ("trackSwipeEventWithOptions:dampenAmountThresholdMin:max:usingHandler:")] void TrackSwipeEvent (NSEventSwipeTrackingOptions options, nfloat minDampenThreshold, nfloat maxDampenThreshold, NSEventTrackHandler trackingHandler); - [Mac (10, 10, 3)] [Export ("stage")] nint Stage { get; } - [Mac (10, 10, 3)] [Export ("stageTransition")] nfloat StageTransition { get; } - [Mac (10, 10, 3)] [Export ("associatedEventsMask")] NSEventMask AssociatedEventsMask { get; } - [Mac (10, 12)] [Export ("allTouches")] NSSet AllTouches { get; } - [Mac (10, 12)] [Export ("touchesForView:")] NSSet GetTouches (NSView view); - [Mac (10, 12, 2)] [Export ("coalescedTouchesForTouch:")] NSTouch [] GetCoalescedTouches (NSTouch touch); - [Mac (10, 15)] [Export ("charactersByApplyingModifiers:")] [return: NullAllowed] string GetCharacters (NSEventModifierFlags modifiers); @@ -8272,7 +8013,6 @@ interface NSEvent : NSCoding, NSCopying { [Flags] [Native] - [Mac (10, 10)] [NoMacCatalyst] public enum NSEventModifierFlags : ulong { CapsLock = 1uL << 16, @@ -8286,7 +8026,6 @@ public enum NSEventModifierFlags : ulong { DeviceIndependentFlagsMask = 0xffff0000L, } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSObject), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (NSGestureRecognizerDelegate) })] interface NSGestureRecognizer : NSCoding { @@ -8399,32 +8138,25 @@ interface NSGestureRecognizer : NSCoding { [Export ("rotateWithEvent:")] void Rotate (NSEvent rotateEvent); - [Mac (10, 10, 3)] [Export ("pressureChangeWithEvent:")] void PressureChange (NSEvent pressureChangeEvent); - [Mac (10, 11)] [Export ("pressureConfiguration", ArgumentSemantic.Strong)] NSPressureConfiguration PressureConfiguration { get; set; } - [Mac (10, 12, 2)] [Export ("touchesBeganWithEvent:")] void TouchesBegan (NSEvent touchEvent); - [Mac (10, 12, 2)] [Export ("touchesMovedWithEvent:")] void TouchesMoved (NSEvent touchEvent); - [Mac (10, 12, 2)] [Export ("touchesEndedWithEvent:")] void TouchesEnded (NSEvent touchEvent); - [Mac (10, 12, 2)] [Export ("touchesCancelledWithEvent:")] void TouchesCancelled (NSEvent touchEvent); } - [Mac (10, 10)] [NoMacCatalyst] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -8447,11 +8179,9 @@ interface NSGestureRecognizerDelegate { bool ShouldReceiveEvent (NSGestureRecognizer gestureRecognizer, NSEvent gestureEvent); #endif - [Mac (10, 11)] [Export ("gestureRecognizer:shouldAttemptToRecognizeWithEvent:"), DelegateName ("NSGestureEvent"), DefaultValue (true)] bool ShouldAttemptToRecognize (NSGestureRecognizer gestureRecognizer, NSEvent theEvent); - [Mac (10, 12, 2)] [Export ("gestureRecognizer:shouldReceiveTouch:"), DelegateName ("NSTouchEvent"), DefaultValue (true)] bool ShouldReceiveTouch (NSGestureRecognizer gestureRecognizer, NSTouch touch); } @@ -8503,7 +8233,7 @@ partial interface NSMenu : NSCoding, NSCopying, NSAccessibility, NSAccessibility void RemoveAllItems (); [Export ("itemArray", ArgumentSemantic.Copy)] - NSMenuItem [] Items { get; [Mac (10, 14)] set; } + NSMenuItem [] Items { get; set; } #if !NET [Obsolete ("Use 'Items' instead.")] @@ -8627,7 +8357,6 @@ partial interface NSMenu : NSCoding, NSCopying, NSAccessibility, NSAccessibility [Export ("propertiesToUpdate")] NSMenuProperty PropertiesToUpdate (); - [Mac (10, 11)] [Export ("userInterfaceLayoutDirection", ArgumentSemantic.Assign)] NSUserInterfaceLayoutDirection UserInterfaceLayoutDirection { get; set; } } @@ -8774,7 +8503,6 @@ interface NSMenuItem : NSCoding, NSCopying, NSAccessibility, NSAccessibilityElem [Export ("toolTip"), NullAllowed] string ToolTip { get; set; } - [Mac (10, 13)] [Export ("allowsKeyEquivalentWhenHidden")] bool AllowsKeyEquivalentWhenHidden { get; set; } @@ -9218,7 +8946,6 @@ interface NSOpenGLContext { [Export ("currentVirtualScreen")] int CurrentVirtualScreen { get; set; } /* GLint = int32_t */ - [Mac (10, 10)] [Export ("pixelFormat", ArgumentSemantic.Retain)] NSOpenGLPixelFormat PixelFormat { get; } } @@ -9447,22 +9174,18 @@ partial interface NSOutlineView { [Protocolize] NSOutlineViewDataSource DataSource { get; set; } - [Mac (10, 10)] [Export ("numberOfChildrenOfItem:")] nint NumberOfChildren ([NullAllowed] NSObject item); - [Mac (10, 10)] [Export ("child:ofItem:")] NSObject GetChild (nint index, [NullAllowed] NSObject parentItem); [Export ("userInterfaceLayoutDirection")] NSUserInterfaceLayoutDirection UserInterfaceLayoutDirection { get; set; } - [Mac (10, 11)] [Export ("childIndexForItem:")] nint GetChildIndex (NSObject item); - [Mac (10, 12)] [Export ("stronglyReferencesItems")] bool StronglyReferencesItems { get; set; } } @@ -9652,7 +9375,6 @@ interface NSHapticFeedbackPerformer { interface INSHapticFeedbackPerformer { } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSHapticFeedbackManager { @@ -9695,7 +9417,7 @@ partial interface NSHelpManager { bool ContextHelpModeActive { [Bind ("isContextHelpModeActive")] get; set; } } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Delegates = new string [] { "WeakDelegate" } #if !__MACCATALYST__ , Events = new Type [] { typeof (NSImageDelegate) } @@ -9753,7 +9475,6 @@ partial interface NSImage : NSCopying, NSSecureCoding, NSPasteboardReading, NSPa [Export ("drawInRect:fromRect:operation:fraction:respectFlipped:hints:")] void Draw (CGRect dstSpacePortionRect, CGRect srcSpacePortionRect, NSCompositingOperation op, nfloat requestedAlpha, bool respectContextIsFlipped, [NullAllowed] NSDictionary hints); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("drawInRect:")] void Draw (CGRect rect); @@ -9918,12 +9639,10 @@ partial interface NSImage : NSCopying, NSSecureCoding, NSPasteboardReading, NSPa [Export ("flipped")] bool Flipped { [Bind ("isFlipped")] get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("capInsets")] NSEdgeInsets CapInsets { get; set; } - [Mac (10, 10)] [NoMacCatalyst] [Export ("resizingMode")] NSImageResizingMode ResizingMode { get; set; } @@ -9965,7 +9684,7 @@ partial interface NSImage : NSCopying, NSSecureCoding, NSPasteboardReading, NSPa NSImage GetImage (string systemSymbolName, double variableValue, [NullAllowed] string accessibilityDescription); } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum NSImageName { [Field ("NSImageNameQuickLookTemplate")] QuickLookTemplate, @@ -10111,387 +9830,310 @@ public enum NSImageName { [Field ("NSImageNameShareTemplate")] ShareTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAddDetailTemplate")] TouchBarAddDetailTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAddTemplate")] TouchBarAddTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAlarmTemplate")] TouchBarAlarmTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAudioInputMuteTemplate")] TouchBarAudioInputMuteTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAudioInputTemplate")] TouchBarAudioInputTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAudioOutputMuteTemplate")] TouchBarAudioOutputMuteTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAudioOutputVolumeHighTemplate")] TouchBarAudioOutputVolumeHighTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAudioOutputVolumeLowTemplate")] TouchBarAudioOutputVolumeLowTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAudioOutputVolumeMediumTemplate")] TouchBarAudioOutputVolumeMediumTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarAudioOutputVolumeOffTemplate")] TouchBarAudioOutputVolumeOffTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarBookmarksTemplate")] TouchBarBookmarksTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarColorPickerFill")] TouchBarColorPickerFill, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarColorPickerFont")] TouchBarColorPickerFont, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarColorPickerStroke")] TouchBarColorPickerStroke, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarCommunicationAudioTemplate")] TouchBarCommunicationAudioTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarCommunicationVideoTemplate")] TouchBarCommunicationVideoTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarComposeTemplate")] TouchBarComposeTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarDeleteTemplate")] TouchBarDeleteTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarDownloadTemplate")] TouchBarDownloadTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarEnterFullScreenTemplate")] TouchBarEnterFullScreenTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarExitFullScreenTemplate")] TouchBarExitFullScreenTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarFastForwardTemplate")] TouchBarFastForwardTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarFolderCopyToTemplate")] TouchBarFolderCopyToTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarFolderMoveToTemplate")] TouchBarFolderMoveToTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarFolderTemplate")] TouchBarFolderTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarGetInfoTemplate")] TouchBarGetInfoTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarGoBackTemplate")] TouchBarGoBackTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarGoDownTemplate")] TouchBarGoDownTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarGoForwardTemplate")] TouchBarGoForwardTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarGoUpTemplate")] TouchBarGoUpTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarHistoryTemplate")] TouchBarHistoryTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarIconViewTemplate")] TouchBarIconViewTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarListViewTemplate")] TouchBarListViewTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarMailTemplate")] TouchBarMailTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarNewFolderTemplate")] TouchBarNewFolderTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarNewMessageTemplate")] TouchBarNewMessageTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarOpenInBrowserTemplate")] TouchBarOpenInBrowserTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarPauseTemplate")] TouchBarPauseTemplate, - [Mac (10, 12, 2)] [NoMacCatalyst] [Field ("NSImageNameTouchBarPlayheadTemplate")] TouchBarPlayheadTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarPlayPauseTemplate")] TouchBarPlayPauseTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarPlayTemplate")] TouchBarPlayTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarQuickLookTemplate")] TouchBarQuickLookTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarRecordStartTemplate")] TouchBarRecordStartTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarRecordStopTemplate")] TouchBarRecordStopTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarRefreshTemplate")] TouchBarRefreshTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarRewindTemplate")] TouchBarRewindTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarRotateLeftTemplate")] TouchBarRotateLeftTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarRotateRightTemplate")] TouchBarRotateRightTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSearchTemplate")] TouchBarSearchTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarShareTemplate")] TouchBarShareTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSidebarTemplate")] TouchBarSidebarTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSkipAhead15SecondsTemplate")] TouchBarSkipAhead15SecondsTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSkipAhead30SecondsTemplate")] TouchBarSkipAhead30SecondsTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSkipAheadTemplate")] TouchBarSkipAheadTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSkipBack15SecondsTemplate")] TouchBarSkipBack15SecondsTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSkipBack30SecondsTemplate")] TouchBarSkipBack30SecondsTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSkipBackTemplate")] TouchBarSkipBackTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSkipToEndTemplate")] TouchBarSkipToEndTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSkipToStartTemplate")] TouchBarSkipToStartTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarSlideshowTemplate")] TouchBarSlideshowTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTagIconTemplate")] TouchBarTagIconTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextBoldTemplate")] TouchBarTextBoldTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextBoxTemplate")] TouchBarTextBoxTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextCenterAlignTemplate")] TouchBarTextCenterAlignTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextItalicTemplate")] TouchBarTextItalicTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextJustifiedAlignTemplate")] TouchBarTextJustifiedAlignTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextLeftAlignTemplate")] TouchBarTextLeftAlignTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextListTemplate")] TouchBarTextListTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextRightAlignTemplate")] TouchBarTextRightAlignTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextStrikethroughTemplate")] TouchBarTextStrikethroughTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarTextUnderlineTemplate")] TouchBarTextUnderlineTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarUserAddTemplate")] TouchBarUserAddTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarUserGroupTemplate")] TouchBarUserGroupTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarUserTemplate")] TouchBarUserTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarVolumeDownTemplate")] TouchBarVolumeDownTemplate, - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarVolumeUpTemplate")] TouchBarVolumeUpTemplate, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSImageNameTouchBarRemoveTemplate")] TouchBarRemoveTemplate, @@ -10503,7 +10145,6 @@ interface NSStringAttributes { [NoMacCatalyst] // Also defined in foundation.cs, use that declaration instead [ThreadSafe] - [Mac (10, 11)] [BaseType (typeof (NSObject))] interface NSStringDrawingContext { [Export ("minimumScaleFactor", ArgumentSemantic.Assign)] @@ -10558,11 +10199,9 @@ interface NSStringDrawing_NSAttributedString { [Category] [BaseType (typeof (NSAttributedString))] interface NSAttributedString_NSExtendedStringDrawing { - [Mac (10, 11)] [Export ("drawWithRect:options:context:")] void DrawWithRect (CGRect rect, NSStringDrawingOptions options, [NullAllowed] NSStringDrawingContext context); - [Mac (10, 11)] [Export ("boundingRectWithSize:options:context:")] CGRect BoundingRectWithSize (CGSize size, NSStringDrawingOptions options, [NullAllowed] NSStringDrawingContext context); } @@ -10678,7 +10317,6 @@ partial interface NSImageHint { [Field ("NSImageHintInterpolation")] NSString Interpolation { get; } - [Mac (10, 12)] [Field ("NSImageHintUserInterfaceLayoutDirection")] NSString UserInterfaceLayoutDirection { get; } } @@ -10818,7 +10456,6 @@ partial interface NSImageRep : NSCoding, NSCopying { [Export ("pixelsHigh")] nint PixelsHigh { get; set; } - [Mac (10, 12)] [Export ("layoutDirection", ArgumentSemantic.Assign)] NSImageLayoutDirection LayoutDirection { get; set; } } @@ -10852,12 +10489,10 @@ interface NSImageView : NSAccessibilityImage, NSMenuItemValidation { [Export ("allowsCutCopyPaste")] bool AllowsCutCopyPaste { get; set; } - [Mac (10, 12)] [Static] [Export ("imageViewWithImage:")] NSImageView FromImage (NSImage image); - [Mac (10, 14)] [NullAllowed, Export ("contentTintColor", ArgumentSemantic.Copy)] NSColor ContentTintColor { get; set; } @@ -11149,39 +10784,30 @@ interface NSLevelIndicator { [Export ("rectOfTickMarkAtIndex:")] CGRect RectOfTickMark (nint index); - [Mac (10, 10)] [Export ("levelIndicatorStyle")] NSLevelIndicatorStyle LevelIndicatorStyle { get; set; } - [Mac (10, 13)] [Export ("fillColor", ArgumentSemantic.Copy)] NSColor FillColor { get; set; } - [Mac (10, 13)] [Export ("warningFillColor", ArgumentSemantic.Copy)] NSColor WarningFillColor { get; set; } - [Mac (10, 13)] [Export ("criticalFillColor", ArgumentSemantic.Copy)] NSColor CriticalFillColor { get; set; } - [Mac (10, 13)] [Export ("drawsTieredCapacityLevels")] bool DrawsTieredCapacityLevels { get; set; } - [Mac (10, 13)] [Export ("placeholderVisibility", ArgumentSemantic.Assign)] NSLevelIndicatorPlaceholderVisibility PlaceholderVisibility { get; set; } - [Mac (10, 13)] [NullAllowed, Export ("ratingImage", ArgumentSemantic.Strong)] NSImage RatingImage { get; set; } - [Mac (10, 13)] [NullAllowed, Export ("ratingPlaceholderImage", ArgumentSemantic.Strong)] NSImage RatingPlaceholderImage { get; set; } - [Mac (10, 13)] [Export ("editable")] bool Editable { [Bind ("isEditable")] get; set; } } @@ -11239,7 +10865,6 @@ interface NSLayerDelegateContentsScaleUpdating { bool ShouldInheritContentsScale (CALayer layer, nfloat newScale, NSWindow fromWindow); } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSLayoutGuide : NSCoding, NSUserInterfaceItemIdentification { @@ -11279,16 +10904,13 @@ interface NSLayoutGuide : NSCoding, NSUserInterfaceItemIdentification { [Export ("centerYAnchor", ArgumentSemantic.Strong)] NSLayoutYAxisAnchor CenterYAnchor { get; } - [Mac (10, 12)] [Export ("hasAmbiguousLayout")] bool HasAmbiguousLayout { get; } - [Mac (10, 12)] [Export ("constraintsAffectingLayoutForOrientation:")] NSLayoutConstraint [] GetConstraintsAffectingLayout (NSLayoutConstraintOrientation orientation); } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSGestureRecognizer))] interface NSMagnificationGestureRecognizer { @@ -11388,7 +11010,6 @@ interface NSPanel { NativeHandle Constructor (CGRect contentRect, NSWindowStyle aStyle, NSBackingStore bufferingType, bool deferCreation); } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSGestureRecognizer))] interface NSPanGestureRecognizer : NSCoding { @@ -11407,12 +11028,10 @@ interface NSPanGestureRecognizer : NSCoding { [Export ("velocityInView:")] CGPoint VelocityInView (NSView view); - [Mac (10, 12, 2)] [Export ("numberOfTouchesRequired")] nint NumberOfTouchesRequired { get; set; } } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSGestureRecognizer))] interface NSPressGestureRecognizer { @@ -11428,12 +11047,10 @@ interface NSPressGestureRecognizer { [Export ("allowableMovement")] nfloat AllowableMovement { get; set; } - [Mac (10, 12, 2)] [Export ("numberOfTouchesRequired")] nint NumberOfTouchesRequired { get; set; } } - [Mac (10, 14)] [NoMacCatalyst] [Protocol] interface NSPasteboardTypeOwner { @@ -11618,23 +11235,18 @@ partial interface NSPasteboard // NSPasteboard does _not_ implement NSPasteboard [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'NSPasteboardNameDrag' instead.")] NSString NSDragPasteboardName { get; } - [Mac (10, 13)] [Field ("NSPasteboardNameGeneral")] NSString NSPasteboardNameGeneral { get; } - [Mac (10, 13)] [Field ("NSPasteboardNameFont")] NSString NSPasteboardNameFont { get; } - [Mac (10, 13)] [Field ("NSPasteboardNameRuler")] NSString NSPasteboardNameRuler { get; } - [Mac (10, 13)] [Field ("NSPasteboardNameFind")] NSString NSPasteboardNameFind { get; } - [Mac (10, 13)] [Field ("NSPasteboardNameDrag")] NSString NSPasteboardNameDrag { get; } @@ -11684,15 +11296,12 @@ partial interface NSPasteboard // NSPasteboard does _not_ implement NSPasteboard [Field ("NSPasteboardTypeTextFinderOptions")] NSString PasteboardTypeTextFinderOptions { get; } - [Mac (10, 13)] [Field ("NSPasteboardTypeURL")] NSString NSPasteboardTypeUrl { get; } - [Mac (10, 13)] [Field ("NSPasteboardTypeFileURL")] NSString NSPasteboardTypeFileUrl { get; } - [Mac (10, 12)] [Export ("prepareForNewContentsWithOptions:")] nint PrepareForNewContents (NSPasteboardContentsOptions options); } @@ -11944,27 +11553,21 @@ interface NSPathControl { [NullAllowed] NSMenu Menu { get; set; } - [Mac (10, 10)] [Export ("editable")] bool Editable { [Bind ("isEditable")] get; set; } - [Mac (10, 10)] [Export ("allowedTypes", ArgumentSemantic.Copy)] NSString [] AllowedTypes { get; set; } - [Mac (10, 10)] [Export ("placeholderString")] string PlaceholderString { get; set; } - [Mac (10, 10)] [Export ("placeholderAttributedString", ArgumentSemantic.Copy)] NSAttributedString PlaceholderAttributedString { get; set; } - [Mac (10, 10)] [Export ("clickedPathItem")] NSPathControlItem ClickedPathItem { get; } - [Mac (10, 10)] [Export ("pathItems", ArgumentSemantic.Copy)] NSPathControlItem [] PathItems { get; set; } @@ -11998,12 +11601,10 @@ interface NSPathControlDelegate { [Export ("pathControl:willPopUpMenu:")] void WillPopUpMenu (NSPathControl pathControl, NSMenu menu); - [Mac (10, 10)] [Export ("pathControl:shouldDragItem:withPasteboard:")] bool ShouldDragItem (NSPathControl pathControl, NSPathControlItem pathItem, NSPasteboard pasteboard); } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSPathControlItem { @@ -12085,7 +11686,6 @@ interface NSPopover : NSAppearanceCustomization, NSAccessibilityElementProtocol, [Notification (typeof (NSPopoverCloseEventArgs)), Field ("NSPopoverDidCloseNotification")] NSString DidCloseNotification { get; } - [Mac (10, 10)] [Export ("detached")] bool Detached { [Bind ("isDetached")] get; } } @@ -12118,7 +11718,6 @@ interface NSPopoverDelegate { [Export ("popoverDidClose:")] void DidClose (NSNotification notification); - [Mac (10, 10)] [Export ("popoverDidDetach:")] void DidDetach (NSPopover popover); } @@ -12224,7 +11823,6 @@ partial interface NSPopUpButton { [Export ("preferredEdge")] NSRectEdge PreferredEdge { get; set; } - [Mac (10, 10)] [Export ("selectedTag")] nint SelectedTag { get; } } @@ -12737,7 +12335,6 @@ interface NSProgressIndicator : NSAccessibilityProgressIndicator { // Technically on NSResponder but responder subclasses can implement any that make sense // So bound for user classes but not added to NSResponder binding - [Mac (10, 14)] [NoMacCatalyst] [Protocol] interface NSStandardKeyBindingResponding { @@ -13182,27 +12779,22 @@ partial interface NSResponder : NSCoding, NSTouchBarProvider, NSUserActivityRest [Export ("wantsForwardedScrollEventsForAxis:")] bool WantsForwardedScrollEventsForAxis (NSEventGestureAxis axis); - [Mac (10, 10)] [DebuggerBrowsable (DebuggerBrowsableState.Never)] [Export ("userActivity", ArgumentSemantic.Strong)] NSUserActivity UserActivity { get; set; } - [Mac (10, 10)] [Export ("updateUserActivityState:")] void UpdateUserActivityState (NSUserActivity userActivity); #if !NET // Should be removed but radar://42781537 - Classes fail to conformsToProtocol despite header declaration - [Mac (10, 10)] [Export ("restoreUserActivityState:")] new void RestoreUserActivityState (NSUserActivity userActivity); #endif - [Mac (10, 10, 3)] [Export ("pressureChangeWithEvent:")] void PressureChange (NSEvent pressureChangeEvent); - [Mac (10, 12)] [Export ("newWindowForTab:")] void GetNewWindowForTab ([NullAllowed] NSObject sender); @@ -13216,7 +12808,6 @@ partial interface NSResponder : NSCoding, NSTouchBarProvider, NSUserActivityRest [Export ("presentError:modalForWindow:delegate:didPresentSelector:contextInfo:")] void PresentError (NSError error, NSWindow window, [NullAllowed] NSObject @delegate, [NullAllowed] Selector didPresentSelector, IntPtr contextInfo); - [Mac (10, 13)] [Export ("encodeRestorableStateWithCoder:backgroundQueue:")] void EncodeRestorableState (NSCoder coder, NSOperationQueue queue); } @@ -13224,7 +12815,6 @@ partial interface NSResponder : NSCoding, NSTouchBarProvider, NSUserActivityRest [NoMacCatalyst] [Protocol] interface NSUserActivityRestoring { - [Mac (10, 10)] [Abstract] [Export ("restoreUserActivityState:")] void RestoreUserActivityState (NSUserActivity userActivity); @@ -13236,21 +12826,17 @@ interface INSUserActivityRestoring { } [Category] [BaseType (typeof (NSResponder))] interface NSResponder_NSTouchBarProvider : INSTouchBarProvider { - [Mac (10, 12, 2)] [Export ("touchBar")] [return: NullAllowed] NSTouchBar GetTouchBar (); - [Mac (10, 12, 2)] [Export ("setTouchBar:")] void SetTouchBar ([NullAllowed] NSTouchBar bar); - [Mac (10, 12, 2)] [Export ("makeTouchBar")] NSTouchBar MakeTouchBar (); } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSGestureRecognizer))] interface NSRotationGestureRecognizer { @@ -13390,7 +12976,6 @@ partial interface NSRulerView { NSView AccessoryView { get; set; } } - [Mac (10, 13)] [NoMacCatalyst] enum NSRulerViewUnits { [Field ("NSRulerViewUnitInches")] @@ -13522,11 +13107,9 @@ interface NSSavePanel { [Export ("runModalForDirectory:file:")] nint RunModal ([NullAllowed] string directory, [NullAllowed] string filename); - [Mac (10, 9)] [Export ("showsTagField")] bool ShowsTagField { get; set; } - [Mac (10, 9)] [Export ("tagNames", ArgumentSemantic.Copy)] string [] TagNames { get; set; } @@ -13599,32 +13182,26 @@ partial interface NSScreen { nfloat BackingScaleFactor { get; } [ThreadSafe] - [Mac (10, 9)] [Static, Export ("screensHaveSeparateSpaces")] bool ScreensHaveSeparateSpaces (); - [Mac (10, 12)] [Export ("canRepresentDisplayGamut:")] bool CanRepresentDisplayGamut (NSDisplayGamut displayGamut); // Inlined from unnamed category. [ThreadSafe] - [Mac (10, 11)] [Export ("maximumExtendedDynamicRangeColorComponentValue")] nfloat MaximumExtendedDynamicRangeColorComponentValue { get; } [ThreadSafe] - [Mac (10, 15)] [Export ("maximumPotentialExtendedDynamicRangeColorComponentValue")] nfloat MaximumPotentialExtendedDynamicRangeColorComponentValue { get; } [ThreadSafe] - [Mac (10, 15)] [Export ("maximumReferenceExtendedDynamicRangeColorComponentValue")] nfloat MaximumReferenceExtendedDynamicRangeColorComponentValue { get; } [ThreadSafe] - [Mac (10, 15)] [Export ("localizedName", ArgumentSemantic.Copy)] string LocalizedName { get; } @@ -13920,27 +13497,23 @@ partial interface NSScrollView : NSTextFinderBarContainer { [Notification, Field ("NSScrollViewWillStartLiveScrollNotification")] NSString WillStartLiveScrollNotification { get; } - [Mac (10, 9), Notification, Field ("NSScrollViewDidLiveScrollNotification")] + [Notification, Field ("NSScrollViewDidLiveScrollNotification")] NSString DidLiveScrollNotification { get; } - [Mac (10, 9), Notification, Field ("NSScrollViewDidEndLiveScrollNotification")] + [Notification, Field ("NSScrollViewDidEndLiveScrollNotification")] NSString DidEndLiveScrollNotification { get; } - [Mac (10, 10)] [Export ("automaticallyAdjustsContentInsets")] bool AutomaticallyAdjustsContentInsets { get; set; } // @property NSEdgeInsets contentInsets __attribute__((availability(macosx, introduced=10_10))); - [Mac (10, 10)] [Export ("contentInsets", ArgumentSemantic.Assign)] NSEdgeInsets ContentInsets { get; set; } // @property NSEdgeInsets scrollerInsets __attribute__((availability(macosx, introduced=10_10))); - [Mac (10, 10)] [Export ("scrollerInsets", ArgumentSemantic.Assign)] NSEdgeInsets ScrollerInsets { get; set; } - [Mac (10, 9)] [Export ("addFloatingSubview:forAxis:")] void AddFloatingSubview (NSView view, NSEventGestureAxis axis); } @@ -13960,34 +13533,27 @@ interface NSSearchField { [New, Export ("cell")] NSSearchFieldCell Cell { get; set; } - [Mac (10, 10)] [Export ("searchMenuTemplate", ArgumentSemantic.Retain)] NSMenu SearchMenuTemplate { get; set; } - [Mac (10, 10)] [Export ("sendsWholeSearchString")] bool SendsWholeSearchString { get; set; } - [Mac (10, 10)] [Export ("maximumRecents")] nint MaximumRecents { get; set; } - [Mac (10, 10)] [Export ("sendsSearchStringImmediately")] bool SendsSearchStringImmediately { get; set; } [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'SearchTextBounds' instead.")] - [Mac (10, 11)] [Export ("rectForSearchTextWhenCentered:")] CGRect GetRectForSearchText (bool isCentered); [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'SearchButtonBounds' instead.")] - [Mac (10, 11)] [Export ("rectForSearchButtonWhenCentered:")] CGRect GetRectForSearchButton (bool isCentered); [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'CancelButtonBounds' instead.")] - [Mac (10, 11)] [Export ("rectForCancelButtonWhenCentered:")] CGRect GetRectForCancelButton (bool isCentered); @@ -13996,12 +13562,10 @@ interface NSSearchField { [Protocolize] NSSearchFieldDelegate Delegate { get; set; } - [Mac (10, 11)] [NullAllowed, Export ("delegate", ArgumentSemantic.Assign)] NSObject WeakDelegate { get; set; } [Deprecated (PlatformName.MacOSX, 12, 0, message: "No longer availabile, now a no-op.")] - [Mac (10, 11)] [Export ("centersPlaceholder")] bool CentersPlaceholder { get; set; } @@ -14022,11 +13586,9 @@ interface NSSearchField { [BaseType (typeof (NSObject))] [Protocol, Model] interface NSSearchFieldDelegate : NSTextFieldDelegate { - [Mac (10, 11)] [Export ("searchFieldDidStartSearching:")] void SearchingStarted (NSSearchField sender); - [Mac (10, 11)] [Export ("searchFieldDidEndSearching:")] void SearchingEnded (NSSearchField sender); } @@ -14139,68 +13701,53 @@ interface NSSegmentedControl : NSUserInterfaceCompression { [Export ("segmentStyle")] NSSegmentStyle SegmentStyle { get; set; } - [Mac (10, 10, 3)] [Export ("springLoaded")] bool IsSpringLoaded { [Bind ("isSpringLoaded")] get; set; } - [Mac (10, 10, 3)] [Export ("trackingMode")] NSSegmentSwitchTracking TrackingMode { get; set; } - [Mac (10, 10, 3)] [Export ("doubleValueForSelectedSegment")] double GetValueForSelectedSegment (); // actually returns double - [Mac (10, 12)] [Static] [Internal] [Export ("segmentedControlWithLabels:trackingMode:target:action:")] NSSegmentedControl _FromLabels (string [] labels, NSSegmentSwitchTracking trackingMode, [NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 12)] [Static] [Internal] [Export ("segmentedControlWithImages:trackingMode:target:action:")] NSSegmentedControl _FromImages (NSImage [] images, NSSegmentSwitchTracking trackingMode, [NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 12, 2)] [NullAllowed, Export ("selectedSegmentBezelColor", ArgumentSemantic.Copy)] NSColor SelectedSegmentBezelColor { get; set; } - [Mac (10, 13)] [Export ("setToolTip:forSegment:")] void SetToolTip ([NullAllowed] string toolTip, nint segment); - [Mac (10, 13)] [Export ("toolTipForSegment:")] [return: NullAllowed] string GetToolTip (nint forSegment); - [Mac (10, 13)] [Export ("setTag:forSegment:")] void SetTag (nint tag, nint segment); - [Mac (10, 13)] [Export ("tagForSegment:")] nint GetTag (nint segment); - [Mac (10, 13)] [Export ("setShowsMenuIndicator:forSegment:")] void SetShowsMenuIndicator (bool showsMenuIndicator, nint segment); - [Mac (10, 13)] [Export ("showsMenuIndicatorForSegment:")] bool ShowsMenuIndicator (nint segment); - [Mac (10, 13)] [Export ("setAlignment:forSegment:")] void SetAlignment (NSTextAlignment alignment, nint segment); - [Mac (10, 13)] [Export ("alignmentForSegment:")] NSTextAlignment GetAlignment (nint segment); - [Mac (10, 13)] [Export ("segmentDistribution", ArgumentSemantic.Assign)] NSSegmentDistribution SegmentDistribution { get; set; } } @@ -14305,9 +13852,9 @@ interface NSSlider : NSAccessibilitySlider { [Export ("vertical")] // Radar 27222357 #if NET - bool IsVertical { [Bind ("isVertical")] get; [Mac (10, 12)] set; } + bool IsVertical { [Bind ("isVertical")] get; set; } #else - nint IsVertical { [Bind ("isVertical")] get; [Mac (10, 12)] set; } + nint IsVertical { [Bind ("isVertical")] get; set; } #endif [Export ("acceptsFirstMouse:")] @@ -14369,23 +13916,19 @@ interface NSSlider : NSAccessibilitySlider { [Export ("allowsTickMarkValuesOnly")] bool AllowsTickMarkValuesOnly { get; set; } - [Mac (10, 10)] [Export ("sliderType")] NSSliderType SliderType { get; set; } - [Mac (10, 12)] [Static] [Internal] [Export ("sliderWithTarget:action:")] NSSlider _FromTarget ([NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 12)] [Static] [Internal] [Export ("sliderWithValue:minValue:maxValue:target:action:")] NSSlider _FromValue (double value, double minValue, double maxValue, [NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 12, 2)] [NullAllowed, Export ("trackFillColor", ArgumentSemantic.Copy)] NSColor TrackFillColor { get; set; } } @@ -14406,9 +13949,9 @@ interface NSSliderCell { [Export ("vertical")] // Radar 27222357 #if NET - bool IsVertical { [Bind ("isVertical")] get; [Mac (10, 12)] set; } + bool IsVertical { [Bind ("isVertical")] get; set; } #else - nint IsVertical { [Bind ("isVertical")] get; [Mac (10, 12)] set; } + nint IsVertical { [Bind ("isVertical")] get; set; } #endif [Export ("knobRectFlipped:")] @@ -14481,13 +14024,11 @@ interface NSSliderCell { [Export ("allowsTickMarkValuesOnly")] bool AllowsTickMarkValuesOnly { get; set; } - [Mac (10, 9)] [Export ("barRectFlipped:")] CGRect BarRectFlipped (bool flipped); } - [Mac (10, 12, 2)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] interface NSSliderTouchBarItem { @@ -14521,22 +14062,18 @@ interface NSSliderTouchBarItem { [Export ("customizationLabel")] string CustomizationLabel { get; set; } - [Mac (10, 13)] [NoMacCatalyst] [Export ("view")] INSUserInterfaceCompression View { get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("doubleValue")] double DoubleValue { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("minimumSliderWidth")] nfloat MinimumSliderWidth { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("maximumSliderWidth")] nfloat MaximumSliderWidth { get; set; } @@ -14833,34 +14370,27 @@ partial interface NSSpellChecker { [Export ("setLanguage:"), Protected] bool SetLanguage (string language); - [Mac (10, 9)] [Static, Export ("isAutomaticQuoteSubstitutionEnabled")] bool IsAutomaticQuoteSubstitutionEnabled (); - [Mac (10, 9)] [Static, Export ("isAutomaticDashSubstitutionEnabled")] bool IsAutomaticDashSubstitutionEnabled (); - [Mac (10, 12)] [Static] [Export ("isAutomaticCapitalizationEnabled")] bool IsAutomaticCapitalizationEnabled { get; } - [Mac (10, 12)] [Static] [Export ("isAutomaticPeriodSubstitutionEnabled")] bool IsAutomaticPeriodSubstitutionEnabled { get; } - [Mac (10, 12)] [Export ("preventsAutocorrectionBeforeString:language:")] bool PreventsAutocorrectionBefore (string aString, [NullAllowed] string language); - [Mac (10, 12, 2)] [Static] [Export ("isAutomaticTextCompletionEnabled")] bool IsAutomaticTextCompletionEnabled { get; } - [Mac (10, 12, 2)] #if NET [Async (ResultTypeName="NSSpellCheckerCandidates")] #else @@ -14869,7 +14399,6 @@ partial interface NSSpellChecker { [Export ("requestCandidatesForSelectedRange:inString:types:options:inSpellDocumentWithTag:completionHandler:")] nint RequestCandidates (NSRange selectedRange, string stringToCheck, ulong checkingTypes, [NullAllowed] NSDictionary options, nint tag, [NullAllowed] Action completionHandler); - [Mac (10, 12, 2)] [Export ("deletesAutospaceBetweenString:andString:language:")] bool DeletesAutospace (string precedingString, string followingString, [NullAllowed] string language); @@ -15010,23 +14539,18 @@ partial interface NSSplitView { [Protocolize] NSSplitViewDelegate Delegate { get; set; } - [Mac (10, 11)] [Export ("arrangesAllSubviews")] bool ArrangesAllSubviews { get; set; } - [Mac (10, 11)] [Export ("arrangedSubviews", ArgumentSemantic.Copy)] NSView [] ArrangedSubviews { get; } - [Mac (10, 11)] [Export ("addArrangedSubview:")] void AddArrangedSubview (NSView view); - [Mac (10, 11)] [Export ("insertArrangedSubview:atIndex:")] void InsertArrangedSubview (NSView view, nint index); - [Mac (10, 11)] [Export ("removeArrangedSubview:")] void RemoveArrangedSubview (NSView view); @@ -15047,7 +14571,6 @@ partial interface NSSplitView { interface INSSplitViewDelegate { } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSViewController))] interface NSSplitViewController : NSSplitViewDelegate, NSUserInterfaceValidations { @@ -15072,15 +14595,12 @@ interface NSSplitViewController : NSSplitViewDelegate, NSUserInterfaceValidation [Export ("splitViewItemForViewController:")] NSSplitViewItem GetSplitViewItem (NSViewController viewController); - [Mac (10, 11)] [Export ("minimumThicknessForInlineSidebars", ArgumentSemantic.Assign)] nfloat MinimumThicknessForInlineSidebars { get; set; } - [Mac (10, 11)] [Export ("toggleSidebar:")] void ToggleSidebar ([NullAllowed] NSObject sender); - [Mac (10, 11)] [Field ("NSSplitViewControllerAutomaticDimension")] nfloat AutomaticDimension { get; } @@ -15111,7 +14631,6 @@ interface NSSplitViewController : NSSplitViewDelegate, NSUserInterfaceValidation new bool ShouldCollapseForDoubleClick (NSSplitView splitView, NSView subview, nint doubleClickAtDividerIndex); } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSSplitViewItem : NSAnimatablePropertyContainer, NSCoding { @@ -15130,41 +14649,32 @@ interface NSSplitViewItem : NSAnimatablePropertyContainer, NSCoding { [Static, Export ("splitViewItemWithViewController:")] NSSplitViewItem FromViewController (NSViewController viewController); - [Mac (10, 11)] [Static] [Export ("sidebarWithViewController:")] NSSplitViewItem CreateSidebar (NSViewController viewController); - [Mac (10, 11)] [Static] [Export ("contentListWithViewController:")] NSSplitViewItem CreateContentList (NSViewController viewController); - [Mac (10, 11)] [Export ("behavior")] NSSplitViewItemBehavior Behavior { get; } - [Mac (10, 11)] [Export ("minimumThickness", ArgumentSemantic.Assign)] nfloat MinimumThickness { get; set; } - [Mac (10, 11)] [Export ("maximumThickness", ArgumentSemantic.Assign)] nfloat MaximumThickness { get; set; } - [Mac (10, 11)] [Export ("preferredThicknessFraction", ArgumentSemantic.Assign)] nfloat PreferredThicknessFraction { get; set; } - [Mac (10, 11)] [Export ("automaticMaximumThickness", ArgumentSemantic.Assign)] nfloat AutomaticMaximumThickness { get; set; } - [Mac (10, 11)] [Export ("springLoaded")] bool SpringLoaded { [Bind ("isSpringLoaded")] get; set; } - [Mac (10, 11)] [Field ("NSSplitViewItemUnspecifiedDimension")] nfloat UnspecifiedDimension { get; } @@ -15223,7 +14733,6 @@ interface NSSplitViewDelegate { void DidResizeSubviews (NSNotification notification); } - [Mac (10, 11)] [NoMacCatalyst] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -15273,7 +14782,6 @@ interface NSSpringLoadingDestination { #endif } - [Mac (10, 9)] [NoMacCatalyst] [BaseType (typeof (NSView))] interface NSStackView { @@ -15352,28 +14860,22 @@ interface NSStackView { [Export ("setHuggingPriority:forOrientation:")] void SetHuggingPriority (float /* NSLayoutPriority = float */ huggingPriority, NSLayoutConstraintOrientation orientation); - [Mac (10, 11)] [Export ("detachesHiddenViews")] bool DetachesHiddenViews { get; set; } - [Mac (10, 11)] [Export ("distribution", ArgumentSemantic.Assign)] NSStackViewDistribution Distribution { get; set; } - [Mac (10, 11)] [Export ("arrangedSubviews", ArgumentSemantic.Copy)] // [Verify (StronglyTypedNSArray)] NSView [] ArrangedSubviews { get; } - [Mac (10, 11)] [Export ("addArrangedSubview:")] void AddArrangedSubview (NSView view); - [Mac (10, 11)] [Export ("insertArrangedSubview:atIndex:")] void InsertArrangedSubview (NSView view, nint index); - [Mac (10, 11)] [Export ("removeArrangedSubview:")] void RemoveArrangedSubview (NSView view); } @@ -15408,7 +14910,6 @@ partial interface NSStatusBar { nfloat Thickness { get; } } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSButton))] interface NSStatusBarButton { @@ -15492,19 +14993,15 @@ partial interface NSStatusItem { [NullAllowed] NSView View { get; set; } - [Mac (10, 10)] [Export ("button", ArgumentSemantic.Retain)] NSStatusBarButton Button { get; } - [Mac (10, 12)] [Export ("behavior", ArgumentSemantic.Assign)] NSStatusItemBehavior Behavior { get; set; } - [Mac (10, 12)] [Export ("visible")] bool Visible { [Bind ("isVisible")] get; set; } - [Mac (10, 12)] [Export ("autosaveName")] string AutosaveName { get; set; } } @@ -15600,7 +15097,6 @@ interface NSStringAttributeKey { [Field ("NSTextAlternativesAttributeName")] NSString TextAlternatives { get; } - [Mac (10, 10)] [Field ("NSTextEffectAttributeName")] NSString TextEffect { get; } @@ -15608,18 +15104,15 @@ interface NSStringAttributeKey { [Internal, Field ("NSFileTypeDocumentOption")] NSString NSFileTypeDocumentOption { get; } - [Mac (10, 15)] [Internal, Field ("NSTargetTextScalingDocumentOption")] NSString TargetTextScalingDocumentOption { get; } - [Mac (10, 15)] [Internal, Field ("NSSourceTextScalingDocumentOption")] NSString SourceTextScalingDocumentOption { get; } } delegate NSObject NSStoryboardControllerCreator (NSCoder coder); - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSStoryboard { @@ -15632,22 +15125,18 @@ interface NSStoryboard { [Export ("instantiateControllerWithIdentifier:")] NSObject InstantiateControllerWithIdentifier (string identifier); - [Mac (10, 13)] [Static] [NullAllowed, Export ("mainStoryboard", ArgumentSemantic.Strong)] NSStoryboard MainStoryboard { get; } - [Mac (10, 15)] [Export ("instantiateInitialControllerWithCreator:")] [return: NullAllowed] NSViewController InstantiateInitialController ([NullAllowed] NSStoryboardControllerCreator handler); - [Mac (10, 15)] [Export ("instantiateControllerWithIdentifier:creator:")] NSViewController InstantiateController (string identifier, [NullAllowed] NSStoryboardControllerCreator handler); } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSStoryboardSegue { @@ -15671,7 +15160,6 @@ interface NSStoryboardSegue { void Perform (); } - [Mac (10, 10)] [NoMacCatalyst] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -16688,136 +16176,104 @@ partial interface NSView : NSDraggingDestination, NSAnimatablePropertyContainer, [Export ("viewDidChangeBackingProperties")] void DidChangeBackingProperties (); - [Mac (10, 10)] [Export ("allowsVibrancy")] bool AllowsVibrancy { get; } - [Mac (10, 10)] [Export ("gestureRecognizers", ArgumentSemantic.Copy)] NSGestureRecognizer [] GestureRecognizers { get; set; } - [Mac (10, 10)] [Export ("addGestureRecognizer:")] void AddGestureRecognizer (NSGestureRecognizer gestureRecognizer); - [Mac (10, 10)] [Export ("removeGestureRecognizer:")] void RemoveGestureRecognizer (NSGestureRecognizer gestureRecognizer); [Export ("prepareForReuse")] void PrepareForReuse (); - [Mac (10, 9)] [Static, Export ("isCompatibleWithResponsiveScrolling")] bool IsCompatibleWithResponsiveScrolling { get; } - [Mac (10, 9)] [Export ("prepareContentInRect:")] void PrepareContentInRect (CGRect rect); - [Mac (10, 9)] [Export ("canDrawSubviewsIntoLayer")] bool CanDrawSubviewsIntoLayer { get; set; } - [Mac (10, 9)] [Export ("layerUsesCoreImageFilters")] bool LayerUsesCoreImageFilters { get; set; } - [Mac (10, 9)] // NS_AVAILABLE_MAC(10,8); but the 10.8 headers do not contain this member, nor can the dontlink tests find it in 10.8. [Export ("userInterfaceLayoutDirection")] NSUserInterfaceLayoutDirection UserInterfaceLayoutDirection { get; set; } - [Mac (10, 9)] [Export ("preparedContentRect")] CGRect PreparedContentRect { get; set; } - [Mac (10, 11)] [Export ("pressureConfiguration", ArgumentSemantic.Strong)] NSPressureConfiguration PressureConfiguration { get; set; } - [Mac (10, 11)] [Export ("willOpenMenu:withEvent:")] void WillOpenMenu (NSMenu menu, NSEvent theEvent); - [Mac (10, 11)] [Export ("didCloseMenu:withEvent:")] void DidCloseMenu (NSMenu menu, [NullAllowed] NSEvent theEvent); // NSConstraintBasedLayoutCoreMethods - [Mac (10, 11)] [Export ("leadingAnchor", ArgumentSemantic.Strong)] NSLayoutXAxisAnchor LeadingAnchor { get; } - [Mac (10, 11)] [Export ("trailingAnchor", ArgumentSemantic.Strong)] NSLayoutXAxisAnchor TrailingAnchor { get; } - [Mac (10, 11)] [Export ("leftAnchor", ArgumentSemantic.Strong)] NSLayoutXAxisAnchor LeftAnchor { get; } - [Mac (10, 11)] [Export ("rightAnchor", ArgumentSemantic.Strong)] NSLayoutXAxisAnchor RightAnchor { get; } - [Mac (10, 11)] [Export ("topAnchor", ArgumentSemantic.Strong)] NSLayoutYAxisAnchor TopAnchor { get; } - [Mac (10, 11)] [Export ("bottomAnchor", ArgumentSemantic.Strong)] NSLayoutYAxisAnchor BottomAnchor { get; } - [Mac (10, 11)] [Export ("widthAnchor", ArgumentSemantic.Strong)] NSLayoutDimension WidthAnchor { get; } - [Mac (10, 11)] [Export ("heightAnchor", ArgumentSemantic.Strong)] NSLayoutDimension HeightAnchor { get; } - [Mac (10, 11)] [Export ("centerXAnchor", ArgumentSemantic.Strong)] NSLayoutXAxisAnchor CenterXAnchor { get; } - [Mac (10, 11)] [Export ("centerYAnchor", ArgumentSemantic.Strong)] NSLayoutYAxisAnchor CenterYAnchor { get; } - [Mac (10, 11)] [Export ("firstBaselineAnchor", ArgumentSemantic.Strong)] NSLayoutYAxisAnchor FirstBaselineAnchor { get; } - [Mac (10, 11)] [Export ("lastBaselineAnchor", ArgumentSemantic.Strong)] NSLayoutYAxisAnchor LastBaselineAnchor { get; } - [Mac (10, 11)] [Export ("firstBaselineOffsetFromTop")] nfloat FirstBaselineOffsetFromTop { get; } - [Mac (10, 11)] [Export ("lastBaselineOffsetFromBottom")] nfloat LastBaselineOffsetFromBottom { get; } - [Mac (10, 11)] [Field ("NSViewNoIntrinsicMetric")] nfloat NoIntrinsicMetric { get; } - [Mac (10, 11)] [Export ("addLayoutGuide:")] void AddLayoutGuide (NSLayoutGuide guide); - [Mac (10, 11)] [Export ("removeLayoutGuide:")] void RemoveLayoutGuide (NSLayoutGuide guide); - [Mac (10, 11)] [Export ("layoutGuides", ArgumentSemantic.Copy)] NSLayoutGuide [] LayoutGuides { get; } - [Mac (10, 14)] [Export ("viewDidChangeEffectiveAppearance")] void ViewDidChangeEffectiveAppearance (); @@ -16825,11 +16281,9 @@ partial interface NSView : NSDraggingDestination, NSAnimatablePropertyContainer, [Export ("sortSubviewsUsingFunction:context:")] void SortSubviews (IntPtr function_pointer, IntPtr context); - [Mac (10, 15)] [Export ("horizontalContentSizeConstraintActive")] bool HorizontalContentSizeConstraintActive { [Bind ("isHorizontalContentSizeConstraintActive")] get; set; } - [Mac (10, 15)] [Export ("verticalContentSizeConstraintActive")] bool VerticalContentSizeConstraintActive { [Bind ("isVerticalContentSizeConstraintActive")] get; set; } @@ -16903,7 +16357,6 @@ interface NSViewAnimation { [Category] [BaseType (typeof (NSView))] interface NSView_NSTouchBar { - [Mac (10, 12, 2)] [Export ("allowedTouchTypes")] NSTouchTypeMask GetAllowedTouchTypes (); @@ -16937,144 +16390,109 @@ interface NSViewController : NSResponder, NSUserInterfaceItemIdentification, NSE [Export ("view", ArgumentSemantic.Strong)] NSView View { get; set; } - [Mac (10, 10)] [Export ("viewLoaded")] bool ViewLoaded { [Bind ("isViewLoaded")] get; } - [Mac (10, 10)] [Export ("preferredContentSize")] CGSize PreferredContentSize { get; set; } - [Mac (10, 10)] [Export ("viewDidLoad")] void ViewDidLoad (); - [Mac (10, 10)] [Export ("viewWillAppear")] void ViewWillAppear (); - [Mac (10, 10)] [Export ("viewDidAppear")] void ViewDidAppear (); - [Mac (10, 10)] [Export ("viewWillDisappear")] void ViewWillDisappear (); - [Mac (10, 10)] [Export ("viewDidDisappear")] void ViewDidDisappear (); - [Mac (10, 10)] [Export ("updateViewConstraints")] void UpdateViewConstraints (); - [Mac (10, 10)] [Export ("viewWillLayout")] void ViewWillLayout (); - [Mac (10, 10)] [Export ("viewDidLayout")] void ViewDidLayout (); - [Mac (10, 10)] [Export ("presentedViewControllers", ArgumentSemantic.Assign)] NSViewController [] PresentedViewControllers { get; } - [Mac (10, 10)] [Export ("presentingViewController", ArgumentSemantic.UnsafeUnretained)] NSViewController PresentingViewController { get; } - [Mac (10, 10)] [Export ("presentViewController:animator:")] void PresentViewController (NSViewController viewController, [Protocolize] NSViewControllerPresentationAnimator animator); - [Mac (10, 10)] [Export ("dismissViewController:")] void DismissViewController (NSViewController viewController); - [Mac (10, 10)] [Export ("dismissController:")] void DismissController (NSObject sender); - [Mac (10, 10)] [Export ("presentViewControllerAsSheet:")] void PresentViewControllerAsSheet (NSViewController viewController); - [Mac (10, 10)] [Export ("presentViewControllerAsModalWindow:")] void PresentViewControllerAsModalWindow (NSViewController viewController); - [Mac (10, 10)] [Export ("presentViewController:asPopoverRelativeToRect:ofView:preferredEdge:behavior:")] void PresentViewController (NSViewController viewController, CGRect positioningRect, NSView positioningView, nuint preferredEdge, NSPopoverBehavior behavior); - [Mac (10, 10)] [Export ("transitionFromViewController:toViewController:options:completionHandler:")] void TransitionFromViewController (NSViewController fromViewController, NSViewController toViewController, NSViewControllerTransitionOptions options, Action completion); - [Mac (10, 10)] [Export ("parentViewController")] NSViewController ParentViewController { get; } - [Mac (10, 10)] [Export ("childViewControllers", ArgumentSemantic.Copy)] NSViewController [] ChildViewControllers { get; set; } - [Mac (10, 10)] [Export ("addChildViewController:")] void AddChildViewController (NSViewController childViewController); - [Mac (10, 10)] [Export ("removeFromParentViewController")] void RemoveFromParentViewController (); - [Mac (10, 10)] [Export ("insertChildViewController:atIndex:")] void InsertChildViewController (NSViewController childViewController, nint index); - [Mac (10, 10)] [Export ("removeChildViewControllerAtIndex:")] void RemoveChildViewController (nint index); - [Mac (10, 10)] [Export ("preferredContentSizeDidChangeForViewController:")] void PreferredContentSizeDidChange (NSViewController viewController); - [Mac (10, 10)] [Export ("viewWillTransitionToSize:")] void ViewWillTransition (CGSize newSize); - [Mac (10, 10)] [Export ("storyboard", ArgumentSemantic.Strong)] NSStoryboard Storyboard { get; } - [Mac (10, 10)] [Export ("presentViewControllerInWidget:")] void PresentViewControllerInWidget (NSViewController viewController); - [Mac (10, 10)] [NullAllowed, Export ("extensionContext", ArgumentSemantic.Retain)] NSExtensionContext ExtensionContext { get; } - [Mac (10, 10)] [NullAllowed, Export ("sourceItemView", ArgumentSemantic.Strong)] NSView SourceItemView { get; set; } - [Mac (10, 10)] [Export ("preferredScreenOrigin", ArgumentSemantic.Assign)] CGPoint PreferredScreenOrigin { get; set; } - [Mac (10, 10)] [Export ("preferredMinimumSize")] CGSize PreferredMinimumSize { get; } - [Mac (10, 10)] [Export ("preferredMaximumSize")] CGSize PreferredMaximumSize { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -17231,7 +16649,6 @@ partial interface NSTableColumn : NSUserInterfaceItemIdentification, NSCoding { [Export ("hidden")] bool Hidden { [Bind ("isHidden")] get; set; } - [Mac (10, 10)] [Export ("title")] string Title { get; set; } } @@ -17290,11 +16707,9 @@ interface NSTableRowView : NSAccessibilityRow { [Export ("viewAtColumn:")] NSView ViewAtColumn (nint column); - [Mac (10, 10)] [Export ("previousRowSelected")] bool PreviousRowSelected { [Bind ("isPreviousRowSelected")] get; set; } - [Mac (10, 10)] [Export ("nextRowSelected")] bool NextRowSelected { [Bind ("isNextRowSelected")] get; set; } } @@ -17693,31 +17108,24 @@ partial interface NSTableView : NSDraggingSource, NSAccessibilityTable { [Export ("registeredNibsByIdentifier", ArgumentSemantic.Copy)] NSDictionary RegisteredNibsByIdentifier { get; } - [Mac (10, 10)] [Export ("usesStaticContents")] bool UsesStaticContents { get; set; } - [Mac (10, 11)] [Export ("hideRowsAtIndexes:withAnimation:")] void HideRows (NSIndexSet indexes, NSTableViewAnimation rowAnimation); - [Mac (10, 11)] [Export ("unhideRowsAtIndexes:withAnimation:")] void UnhideRows (NSIndexSet indexes, NSTableViewAnimation rowAnimation); - [Mac (10, 11)] [Export ("hiddenRowIndexes", ArgumentSemantic.Copy)] NSIndexSet HiddenRowIndexes { get; } - [Mac (10, 11)] [Export ("rowActionsVisible")] bool RowActionsVisible { get; set; } - [Mac (10, 12)] [Export ("userInterfaceLayoutDirection")] NSUserInterfaceLayoutDirection UserInterfaceLayoutDirection { get; set; } - [Mac (10, 13)] [Export ("usesAutomaticRowHeights")] bool UsesAutomaticRowHeights { get; set; } @@ -17817,7 +17225,6 @@ partial interface NSTableViewDelegate { [Export ("tableView:didRemoveRowView:forRow:"), EventArgs ("NSTableViewRow")] void DidRemoveRowView (NSTableView tableView, NSTableRowView rowView, nint row); - [Mac (10, 11)] [Export ("tableView:rowActionsForRow:edge:"), DelegateName ("NSTableViewRowActionsGetter"), NoDefaultValue] // [Verify (StronglyTypedNSArray)] NSTableViewRowAction [] RowActions (NSTableView tableView, nint row, NSTableRowActionEdge edge); @@ -18069,7 +17476,6 @@ interface NSTableHeaderView : NSViewToolTipOwner { NSTableView TableView { get; set; } } - [Mac (10, 11)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSTableViewRowAction : NSCopying { @@ -18083,7 +17489,6 @@ interface NSTableViewRowAction : NSCopying { [Export ("title", ArgumentSemantic.Copy)] string Title { get; set; } - [Mac (10, 12)] [Export ("image", ArgumentSemantic.Strong)] [NullAllowed] NSImage Image { get; set; } @@ -18133,12 +17538,11 @@ partial interface NSTabView { #if NET [Export ("tabViewItems")] - NSTabViewItem [] Items { get; [Mac (10, 14)] set; } + NSTabViewItem [] Items { get; set; } #else [Export ("tabViewItems")] NSTabViewItem [] Items { get; } - [Mac (10, 14)] [Export ("setTabViewItems:")] void SetItems (NSTabViewItem [] items); #endif @@ -18193,16 +17597,13 @@ partial interface NSTabView { [Export ("indexOfTabViewItemWithIdentifier:")] nint IndexOf (NSObject identifier); - [Mac (10, 12)] [Export ("tabPosition")] NSTabPosition TabPosition { get; set; } - [Mac (10, 12)] [Export ("tabViewBorderType")] NSTabViewBorderType BorderType { get; set; } } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSViewController))] interface NSTabViewController : NSTabViewDelegate, NSToolbarDelegate { @@ -18336,15 +17737,12 @@ interface NSTabViewItem : NSCoding { [Export ("toolTip"), NullAllowed] string ToolTip { get; set; } - [Mac (10, 10)] [Export ("image", ArgumentSemantic.Strong)] NSImage Image { get; set; } - [Mac (10, 10)] [Export ("viewController", ArgumentSemantic.Strong)] NSViewController ViewController { get; set; } - [Mac (10, 10)] [Static, Export ("tabViewItemWithViewController:")] NSTabViewItem GetTabViewItem (NSViewController viewController); } @@ -18732,42 +18130,33 @@ partial interface NSTextField : NSAccessibilityNavigableStaticText, NSUserInterf [Export ("preferredMaxLayoutWidth")] nfloat PreferredMaxLayoutWidth { get; set; } - [Mac (10, 10)] [Export ("placeholderString", ArgumentSemantic.Copy)] string PlaceholderString { get; set; } - [Mac (10, 10)] [Export ("placeholderAttributedString", ArgumentSemantic.Copy)] NSAttributedString PlaceholderAttributedString { get; set; } - [Mac (10, 11)] [Export ("maximumNumberOfLines", ArgumentSemantic.Assign)] nint MaximumNumberOfLines { get; set; } - [Mac (10, 11)] [Export ("allowsDefaultTighteningForTruncation")] bool AllowsDefaultTighteningForTruncation { get; set; } - [Mac (10, 15)] [Export ("lineBreakStrategy", ArgumentSemantic.Assign)] NSLineBreakStrategy LineBreakStrategy { get; set; } - [Mac (10, 12)] [Static] [Export ("labelWithString:")] NSTextField CreateLabel (string stringValue); - [Mac (10, 12)] [Static] [Export ("wrappingLabelWithString:")] NSTextField CreateWrappingLabel (string stringValue); - [Mac (10, 12)] [Static] [Export ("labelWithAttributedString:")] NSTextField CreateLabel (NSAttributedString attributedStringValue); - [Mac (10, 12)] [Static] [Export ("textFieldWithString:")] NSTextField CreateTextField ([NullAllowed] string stringValue); @@ -18781,7 +18170,6 @@ NSTextContentType ContentType { } } - [Mac (10, 12, 1)] [NoMacCatalyst] [Category] [BaseType (typeof (NSTextField))] @@ -18792,7 +18180,6 @@ interface NSTextField_NSTouchBar { [Export ("automaticTextCompletionEnabled:")] void SetAutomaticTextCompletionEnabled (bool enabled); - [Mac (10, 12, 2)] [Export ("allowsCharacterPickerTouchBarItem")] bool GetAllowsCharacterPickerTouchBarItem (); @@ -18844,16 +18231,13 @@ interface NSTextFieldDelegate { [Export ("controlTextDidBeginEditing:"), EventArgs ("NSNotification")] void EditingBegan (NSNotification notification); - [Mac (10, 12, 2)] [Export ("textField:textView:candidatesForSelectedRange:"), DelegateName ("NSTextFieldGetCandidates"), DefaultValue (null)] [return: NullAllowed] NSObject [] GetCandidates (NSTextField textField, NSTextView textView, NSRange selectedRange); - [Mac (10, 12, 2)] [Export ("textField:textView:candidates:forSelectedRange:"), DelegateName ("NSTextFieldTextCheckingResults"), DefaultValue (null)] NSTextCheckingResult [] GetTextCheckingResults (NSTextField textField, NSTextView textView, NSTextCheckingResult [] candidates, NSRange selectedRange); - [Mac (10, 12, 2)] [Export ("textField:textView:shouldSelectCandidateAtIndex:"), DelegateName ("NSTextFieldSelectCandidate"), DefaultValue (false)] bool ShouldSelectCandidate (NSTextField textField, NSTextView textView, nuint index); } @@ -19652,66 +19036,52 @@ partial interface NSTextView : NSTextInputClient, NSTextLayoutOrientationProvide [Export ("enabledTextCheckingTypes")] NSTextCheckingTypes EnabledTextCheckingTypes { get; set; } - [Mac (10, 10)] [Export ("usesRolloverButtonForSelection")] bool UsesRolloverButtonForSelection { get; set; } [Export ("toggleQuickLookPreviewPanel:")] void ToggleQuickLookPreviewPanel (NSObject sender); - [Mac (10, 12)] [Static] [Export ("stronglyReferencesTextStorage")] bool StronglyReferencesTextStorage { get; } - [Mac (10, 12, 1)] [Export ("automaticTextCompletionEnabled")] bool AutomaticTextCompletionEnabled { [Bind ("isAutomaticTextCompletionEnabled")] get; set; } - [Mac (10, 12, 2)] [Export ("toggleAutomaticTextCompletion:")] void ToggleAutomaticTextCompletion ([NullAllowed] NSObject sender); - [Mac (10, 12, 2)] [Export ("allowsCharacterPickerTouchBarItem")] bool AllowsCharacterPickerTouchBarItem { get; set; } - [Mac (10, 12, 2)] [Export ("updateTouchBarItemIdentifiers")] void UpdateTouchBarItemIdentifiers (); - [Mac (10, 12, 2)] [Export ("updateTextTouchBarItems")] void UpdateTextTouchBarItems (); - [Mac (10, 12, 2)] [Export ("updateCandidates")] void UpdateCandidates (); - [Mac (10, 12, 2)] [NullAllowed, Export ("candidateListTouchBarItem", ArgumentSemantic.Strong)] NSCandidateListTouchBarItem CandidateListTouchBarItem { get; } - [Mac (10, 14)] [Export ("performValidatedReplacementInRange:withAttributedString:")] bool PerformValidatedReplacement (NSRange range, NSAttributedString attributedString); - [Mac (10, 14)] [Static] [Export ("scrollableTextView")] NSScrollView CreateScrollableTextView (); - [Mac (10, 14)] [Static] [Export ("fieldEditor")] NSTextView CreateFieldEditor (); - [Mac (10, 14)] [Static] [Export ("scrollableDocumentContentTextView")] NSScrollView CreateScrollableDocumentContentTextView (); - [Mac (10, 14)] [Static] [Export ("scrollablePlainDocumentContentTextView")] NSScrollView CreateScrollablePlainDocumentContentTextView (); @@ -19900,20 +19270,16 @@ partial interface NSTextViewDelegate { [Export ("undoManagerForTextView:"), DelegateName ("NSTextViewGetUndoManager"), DefaultValue (null)] NSUndoManager GetUndoManager (NSTextView view); - [Mac (10, 12, 2)] [Export ("textView:shouldUpdateTouchBarItemIdentifiers:"), DelegateName ("NSTextViewUpdateTouchBarItemIdentifiers"), NoDefaultValue] string [] ShouldUpdateTouchBarItemIdentifiers (NSTextView textView, string [] identifiers); - [Mac (10, 12, 2)] [Export ("textView:candidatesForSelectedRange:"), DelegateName ("NSTextViewGetCandidates"), NoDefaultValue] [return: NullAllowed] NSObject [] GetCandidates (NSTextView textView, NSRange selectedRange); - [Mac (10, 12, 2)] [Export ("textView:candidates:forSelectedRange:"), DelegateName ("NSTextViewTextCheckingResults"), NoDefaultValue] NSTextCheckingResult [] GetTextCheckingCandidates (NSTextView textView, NSTextCheckingResult [] candidates, NSRange selectedRange); - [Mac (10, 12, 2)] [Export ("textView:shouldSelectCandidateAtIndex:"), DelegateName ("NSTextViewSelectCandidate"), NoDefaultValue] bool ShouldSelectCandidates (NSTextView textView, nuint index); @@ -19989,11 +19355,10 @@ interface NSTokenFieldDelegate { } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Delegates = new string [] { "Delegate" }, Events = new Type [] { typeof (NSToolbarDelegate) })] [DisableDefaultCtor] // init was added in 10.13 partial interface NSToolbar { - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("init")] NativeHandle Constructor (); @@ -20087,22 +19452,18 @@ partial interface NSToolbar { [Field ("NSToolbarPrintItemIdentifier")] NSString NSToolbarPrintItemIdentifier { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("allowsExtensionItems")] bool AllowsExtensionItems { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("NSToolbarToggleSidebarItemIdentifier")] NSString NSToolbarToggleSidebarItemIdentifier { get; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("NSToolbarCloudSharingItemIdentifier")] NSString NSToolbarCloudSharingItemIdentifier { get; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [NullAllowed, Export ("centeredItemIdentifier")] string CenteredItemIdentifier { get; set; } @@ -20132,7 +19493,7 @@ partial interface NSToolbar { NSString NSToolbarItemKey { get; } } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model, Protocol] interface NSToolbarDelegate { @@ -20166,7 +19527,6 @@ interface NSToolbarDelegate { } [NoMacCatalyst] - [Mac (10, 14)] [Protocol] interface NSToolbarItemValidation { [Abstract] @@ -20174,7 +19534,6 @@ interface NSToolbarItemValidation { bool ValidateToolbarItem (NSToolbarItem item); } - [Mac (10, 14)] [NoMacCatalyst] [Category] [BaseType (typeof (NSObject))] @@ -20183,7 +19542,7 @@ interface NSObject_NSToolbarItemValidation { bool ValidateToolbarItem (NSToolbarItem item); } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSToolbarItem : NSCopying, NSMenuItemValidation, NSValidatedUserInterfaceItem { [DesignatedInitializer] @@ -20271,12 +19630,10 @@ interface NSToolbarItem : NSCopying, NSMenuItemValidation, NSValidatedUserInterf [Export ("autovalidates")] bool Autovalidates { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("title")] string Title { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("bordered")] bool Bordered { [Bind ("isBordered")] get; set; } @@ -20287,7 +19644,7 @@ interface NSToolbarItem : NSCopying, NSMenuItemValidation, NSValidatedUserInterf bool Navigational { [Bind ("isNavigational")] get; set; } [NoMac] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("itemMenuFormRepresentation", ArgumentSemantic.Copy)] [NullAllowed] UIMenuElement ItemMenuFormRepresentation { get; set; } @@ -20298,7 +19655,7 @@ interface NSToolbarItem : NSCopying, NSMenuItemValidation, NSValidatedUserInterf NSSet PossibleLabels { get; set; } } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSToolbarItem))] interface NSToolbarItemGroup { [Export ("initWithItemIdentifier:")] @@ -20308,39 +19665,32 @@ interface NSToolbarItemGroup { [Export ("subitems", ArgumentSemantic.Copy)] NSToolbarItem [] Subitems { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("groupWithItemIdentifier:titles:selectionMode:labels:target:action:")] NSToolbarItemGroup Create (string itemIdentifier, string [] titles, NSToolbarItemGroupSelectionMode selectionMode, [NullAllowed] string [] labels, [NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("groupWithItemIdentifier:images:selectionMode:labels:target:action:")] NSToolbarItemGroup Create (string itemIdentifier, NSImage [] images, NSToolbarItemGroupSelectionMode selectionMode, [NullAllowed] string [] labels, [NullAllowed] NSObject target, [NullAllowed] Selector action); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("controlRepresentation", ArgumentSemantic.Assign)] NSToolbarItemGroupControlRepresentation ControlRepresentation { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("selectionMode", ArgumentSemantic.Assign)] NSToolbarItemGroupSelectionMode SelectionMode { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("selectedIndex")] nint SelectedIndex { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("setSelected:atIndex:")] void SetSelected (bool selected, nint index); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("isSelectedAtIndex:")] bool GetSelected (nint index); @@ -20369,7 +19719,6 @@ interface NSTouch : NSCopying { CGSize DeviceSize { get; } } - [Mac (10, 12, 2)] [NoMacCatalyst] [Category] [BaseType (typeof (NSTouch))] @@ -20385,8 +19734,7 @@ interface NSTouch_NSTouchBar { } [DesignatedDefaultCtor] - [Mac (10, 12, 2)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Delegates = new string [] { "Delegate" }, Events = new Type [] { typeof (NSTouchBarDelegate) })] interface NSTouchBar : NSCoding { [NullAllowed, Export ("customizationIdentifier")] @@ -20420,7 +19768,6 @@ interface NSTouchBar : NSCoding { [NullAllowed, Export ("escapeKeyReplacementItemIdentifier")] string EscapeKeyReplacementItemIdentifier { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("automaticCustomizeTouchBarMenuItemEnabled")] @@ -20429,7 +19776,7 @@ interface NSTouchBar : NSCoding { interface INSTouchBarDelegate { } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] interface NSTouchBarDelegate { @@ -20438,8 +19785,7 @@ interface NSTouchBarDelegate { NSTouchBarItem MakeItem (NSTouchBar touchBar, string identifier); } - [Mac (10, 12, 2)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSTouchBarItem : NSCoding { @@ -20471,22 +19817,21 @@ interface NSTouchBarItem : NSCoding { bool Visible { [Bind ("isVisible")] get; } } - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] public enum NSTouchBarItemIdentifier { - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Field ("NSTouchBarItemIdentifierFixedSpaceSmall")] FixedSpaceSmall, - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Field ("NSTouchBarItemIdentifierFixedSpaceLarge")] FixedSpaceLarge, - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Field ("NSTouchBarItemIdentifierFlexibleSpace")] FlexibleSpace, - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Field ("NSTouchBarItemIdentifierOtherItemsProxy")] OtherItemsProxy, @@ -20519,8 +19864,7 @@ public enum NSTouchBarItemIdentifier { CandidateList } - [Mac (10, 12, 2)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Protocol] interface NSTouchBarProvider { [Abstract] @@ -21577,119 +20921,91 @@ bool IsVisible { NSString DidChangeBackingPropertiesNotification { get; } // 10.10 - [Mac (10, 10)] [Export ("titleVisibility")] NSWindowTitleVisibility TitleVisibility { get; set; } - [Mac (10, 10)] [Export ("titlebarAppearsTransparent")] bool TitlebarAppearsTransparent { get; set; } - [Mac (10, 10)] [Export ("contentLayoutRect")] CGRect ContentLayoutRect { get; } - [Mac (10, 10)] [Export ("contentLayoutGuide")] NSObject ContentLayoutGuide { get; } - [Mac (10, 10)] [Export ("titlebarAccessoryViewControllers", ArgumentSemantic.Copy)] // Header says this is a r/w property, but it fails at runtime. // -[NSWindow setTitlebarAccessoryViewControllers:]: unrecognized selector sent to instance 0x6180001e0f00 NSTitlebarAccessoryViewController [] TitlebarAccessoryViewControllers { get; } - [Mac (10, 10)] [Export ("addTitlebarAccessoryViewController:")] void AddTitlebarAccessoryViewController (NSTitlebarAccessoryViewController childViewController); - [Mac (10, 10)] [Export ("insertTitlebarAccessoryViewController:atIndex:")] void InsertTitlebarAccessoryViewController (NSTitlebarAccessoryViewController childViewController, nint index); - [Mac (10, 10)] [Export ("removeTitlebarAccessoryViewControllerAtIndex:")] void RemoveTitlebarAccessoryViewControllerAtIndex (nint index); - [Mac (10, 10)] [Static, Export ("windowWithContentViewController:")] NSWindow GetWindowWithContentViewController (NSViewController contentViewController); - [Mac (10, 10)] [Export ("contentViewController", ArgumentSemantic.Strong)] NSViewController ContentViewController { get; set; } - [Mac (10, 10)] [Export ("trackEventsMatchingMask:timeout:mode:handler:")] void TrackEventsMatching (NSEventMask mask, double timeout, string mode, NSWindowTrackEventsMatchingCompletionHandler trackingHandler); - [Mac (10, 9)] [Export ("sheets", ArgumentSemantic.Copy)] NSWindow [] Sheets { get; } - [Mac (10, 9)] [Export ("sheetParent", ArgumentSemantic.Retain)] NSWindow SheetParent { get; } - [Mac (10, 9)] [Export ("occlusionState")] NSWindowOcclusionState OcclusionState { get; } - [Mac (10, 9)] [Export ("beginSheet:completionHandler:")] void BeginSheet (NSWindow sheetWindow, Action completionHandler); - [Mac (10, 9)] [Export ("beginCriticalSheet:completionHandler:")] void BeginCriticalSheet (NSWindow sheetWindow, Action completionHandler); - [Mac (10, 9)] [Export ("endSheet:")] void EndSheet (NSWindow sheetWindow); - [Mac (10, 9)] [Export ("endSheet:returnCode:")] void EndSheet (NSWindow sheetWindow, NSModalResponse returnCode); #if !NET [Obsolete ("Use the EndSheet(NSWindow,NSModalResponse) overload.")] - [Mac (10, 9)] [Wrap ("EndSheet (sheetWindow, (NSModalResponse)(long)returnCode)", IsVirtual = true)] void EndSheet (NSWindow sheetWindow, nint returnCode); #endif - [Mac (10, 11)] [Export ("minFullScreenContentSize", ArgumentSemantic.Assign)] CGSize MinFullScreenContentSize { get; set; } - [Mac (10, 11)] [Export ("maxFullScreenContentSize", ArgumentSemantic.Assign)] CGSize MaxFullScreenContentSize { get; set; } - [Mac (10, 11)] [Export ("performWindowDragWithEvent:")] void PerformWindowDrag (NSEvent theEvent); - [Mac (10, 12)] [Export ("canRepresentDisplayGamut:")] bool CanRepresentDisplayGamut (NSDisplayGamut displayGamut); - [Mac (10, 12)] [Export ("convertPointToScreen:")] CGPoint ConvertPointToScreen (CGPoint point); - [Mac (10, 12)] [Export ("convertPointFromScreen:")] CGPoint ConvertPointFromScreen (CGPoint point); - [Mac (10, 14)] [Export ("convertPointToBacking:")] CGPoint ConvertPointToBacking (CGPoint point); - [Mac (10, 14)] [Export ("convertPointFromBacking:")] CGPoint ConvertPointFromBacking (CGPoint point); - [Mac (10, 14)] [NullAllowed] [Export ("appearanceSource", ArgumentSemantic.Weak)] INSAppearanceCustomization AppearanceSource { get; set; } @@ -21707,7 +21023,6 @@ bool IsVisible { NSTitlebarSeparatorStyle TitlebarSeparatorStyle { get; set; } } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSViewController))] interface NSTitlebarAccessoryViewController : NSAnimationDelegate, NSAnimatablePropertyContainer { @@ -21732,7 +21047,6 @@ interface NSTitlebarAccessoryViewController : NSAnimationDelegate, NSAnimatableP [Export ("viewDidDisappear")] void ViewDidDisappear (); - [Mac (10, 12)] [Export ("hidden")] bool IsHidden { [Bind ("isHidden")] get; set; } @@ -21741,7 +21055,6 @@ interface NSTitlebarAccessoryViewController : NSAnimationDelegate, NSAnimatableP bool AutomaticallyAdjustsSize { get; set; } } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSView))] interface NSVisualEffectView { @@ -21771,7 +21084,6 @@ interface NSVisualEffectView { [Export ("viewWillMoveToWindow:")] void ViewWillMove (NSWindow newWindow); - [Mac (10, 12)] [Export ("emphasized")] bool Emphasized { [Bind ("isEmphasized")] get; set; } } @@ -21856,15 +21168,12 @@ interface NSWindowController : NSCoding, NSSeguePerforming { [Export ("loadWindow")] void LoadWindow (); - [Mac (10, 10)] [Export ("contentViewController", ArgumentSemantic.Retain)] NSViewController ContentViewController { get; set; } - [Mac (10, 10)] [Export ("storyboard", ArgumentSemantic.Strong)] NSStoryboard Storyboard { get; } - [Mac (10, 10)] [Export ("dismissController:")] void DismissController (NSObject sender); } @@ -22395,7 +21704,6 @@ interface NSWorkspace : NSWorkspaceAccessibilityExtensions { [Field ("NSWorkspaceDestroyOperation")] NSString OperationDestroy { get; } - [Mac (10, 10)] [Export ("openURL:options:configuration:error:")] [Deprecated (PlatformName.MacOSX, 10, 15)] [return: NullAllowed] @@ -22405,7 +21713,6 @@ interface NSWorkspace : NSWorkspaceAccessibilityExtensions { NSRunningApplication OpenURL (NSUrl url, NSWorkspaceLaunchOptions options, NSDictionary configuration, out NSError error); #endif - [Mac (10, 10)] [Export ("openURLs:withApplicationAtURL:options:configuration:error:")] [Deprecated (PlatformName.MacOSX, 10, 15)] [return: NullAllowed] @@ -22415,26 +21722,21 @@ interface NSWorkspace : NSWorkspaceAccessibilityExtensions { NSRunningApplication OpenURLs (NSUrl [] urls, NSUrl applicationURL, NSWorkspaceLaunchOptions options, NSDictionary configuration, out NSError error); #endif - [Mac (10, 10)] [Field ("NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification")] [Notification] NSString DisplayOptionsDidChangeNotification { get; } - [Mac (10, 14)] [Export ("requestAuthorizationOfType:completionHandler:")] void RequestAuthorization (NSWorkspaceAuthorizationType type, Action completionHandler); - [Mac (10, 15)] [Async] [Export ("openApplicationAtURL:configuration:completionHandler:")] void OpenApplication (NSUrl applicationUrl, NSWorkspaceOpenConfiguration configuration, [NullAllowed] Action completionHandler); - [Mac (10, 15)] [Async] [Export ("openURL:configuration:completionHandler:")] void OpenUrl (NSUrl url, NSWorkspaceOpenConfiguration configuration, [NullAllowed] Action completionHandler); - [Mac (10, 15)] [Async] [Export ("openURLs:withApplicationAtURL:configuration:completionHandler:")] void OpenUrls (NSUrl [] urls, NSUrl applicationUrl, NSWorkspaceOpenConfiguration configuration, [NullAllowed] Action completionHandler); @@ -22444,7 +21746,6 @@ interface NSWorkspace : NSWorkspaceAccessibilityExtensions { NSImage GetIcon (UTType contentType); } - [Mac (10, 14)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -22632,7 +21933,6 @@ interface NSPredicateEditorRowTemplate : NSCoding, NSCopying { } - [Mac (10, 10, 3)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSPressureConfiguration { @@ -22845,31 +22145,24 @@ interface NSSharingService { [Export ("performWithItems:")] void PerformWithItems (NSObject [] items); - [Mac (10, 9)] [Export ("menuItemTitle")] string MenuItemTitle { get; set; } - [Mac (10, 9)] [Export ("recipients", ArgumentSemantic.Copy)] NSObject [] Recipients { get; set; } - [Mac (10, 9)] [Export ("subject")] string Subject { get; set; } - [Mac (10, 9)] [Export ("messageBody")] string MessageBody { get; } - [Mac (10, 9)] [Export ("permanentLink", ArgumentSemantic.Copy)] NSUrl PermanentLink { get; } - [Mac (10, 9)] [Export ("accountName")] string AccountName { get; } - [Mac (10, 9)] [Export ("attachmentFileURLs", ArgumentSemantic.Copy)] NSUrl [] AttachmentFileUrls { get; } } @@ -22930,26 +22223,21 @@ enum NSSharingServiceName { [Field ("NSSharingServiceNamePostVideoOnTudou")] PostVideoOnTudou, - [Mac (10, 12)] [Field ("NSSharingServiceNameCloudSharing")] CloudSharing, - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use the proprietary SDK instead.")] [Field ("NSSharingServiceNamePostOnTencentWeibo")] PostOnTencentWeibo, - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use the proprietary SDK instead.")] [Field ("NSSharingServiceNamePostOnLinkedIn")] PostOnLinkedIn, - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use the proprietary SDK instead.")] [Field ("NSSharingServiceNameUseAsFacebookProfileImage")] UseAsFacebookProfileImage, - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use the proprietary SDK instead.")] [Field ("NSSharingServiceNameUseAsLinkedInProfileImage")] UseAsLinkedInProfileImage, @@ -22988,7 +22276,6 @@ interface INSSharingServiceDelegate { } interface INSCloudSharingServiceDelegate { } [Protocol, Model] - [Mac (10, 12)] [NoMacCatalyst] [BaseType (typeof (NSSharingServiceDelegate))] interface NSCloudSharingServiceDelegate { @@ -23400,79 +22687,64 @@ interface NSWindowBackingPropertiesEventArgs { } partial interface NSWindow { - [Mac (10, 12)] [MacCatalyst (13, 1)] [Static] [Export ("allowsAutomaticWindowTabbing")] bool AllowsAutomaticWindowTabbing { get; set; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Static] [Export ("userTabbingPreference")] NSWindowUserTabbingPreference UserTabbingPreference { get; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("tabbingMode", ArgumentSemantic.Assign)] NSWindowTabbingMode TabbingMode { get; set; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("tabbingIdentifier")] string TabbingIdentifier { get; set; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("selectNextTab:")] void SelectNextTab ([NullAllowed] NSObject sender); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("selectPreviousTab:")] void SelectPreviousTab ([NullAllowed] NSObject sender); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("moveTabToNewWindow:")] void MoveTabToNewWindow ([NullAllowed] NSObject sender); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("mergeAllWindows:")] void MergeAllWindows ([NullAllowed] NSObject sender); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("toggleTabBar:")] void ToggleTabBar ([NullAllowed] NSObject sender); - [Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("tabbedWindows", ArgumentSemantic.Copy)] NSWindow [] TabbedWindows { get; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("addTabbedWindow:ordered:")] void AddTabbedWindow (NSWindow window, NSWindowOrderingMode ordered); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("windowTitlebarLayoutDirection")] NSUserInterfaceLayoutDirection WindowTitlebarLayoutDirection { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("toggleTabOverview:")] void ToggleTabOverview ([NullAllowed] NSObject sender); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("tab", ArgumentSemantic.Strong)] NSWindowTab Tab { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("tabGroup", ArgumentSemantic.Weak)] NSWindowTabGroup TabGroup { get; } @@ -23512,7 +22784,6 @@ partial interface NSResponder { [Export ("validateProposedFirstResponder:forEvent:")] bool ValidateProposedFirstResponder (NSResponder responder, [NullAllowed] NSEvent forEvent); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("changeModeWithEvent:")] void ChangeMode (NSEvent withEvent); @@ -23605,24 +22876,20 @@ void ShowCorrectionIndicatorOfType (NSCorrectionIndicatorType type, string prima [Notification, Field ("NSSpellCheckerDidChangeAutomaticTextReplacementNotification")] NSString DidChangeAutomaticTextReplacementNotification { get; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("NSTextCheckingSelectedRangeKey")] NSString TextCheckingSelectedRangeKey { get; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("NSSpellCheckerDidChangeAutomaticCapitalizationNotification")] [Notification] NSString DidChangeAutomaticCapitalizationNotification { get; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("NSSpellCheckerDidChangeAutomaticPeriodSubstitutionNotification")] [Notification] NSString DidChangeAutomaticPeriodSubstitutionNotification { get; } - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSSpellCheckerDidChangeAutomaticTextCompletionNotification")] [Notification] @@ -23686,7 +22953,6 @@ partial interface NSTextView : NSTextLayoutOrientationProvider { [Notification, Field ("NSTextViewDidSwitchToNSLayoutManagerNotification")] NSString DidSwitchToNSLayoutManagerNotification { get; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("usesAdaptiveColorMappingForDarkAppearance")] bool UsesAdaptiveColorMappingForDarkAppearance { get; set; } @@ -23738,7 +23004,6 @@ partial interface NSControl { bool AllowsExpansionToolTips { get; set; } } - [Mac (10, 14)] [NoMacCatalyst] [Protocol] interface NSViewToolTipOwner { @@ -23857,7 +23122,6 @@ partial interface NSDocument : NSEditorRegistration, NSFilePresenter, NSMenuItem [Static, Export ("usesUbiquitousStorage")] bool UsesUbiquitousStorage { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("encodeRestorableStateWithCoder:backgroundQueue:")] void EncodeRestorableState (NSCoder coder, NSOperationQueue queue); @@ -23878,12 +23142,10 @@ partial interface NSDocumentController : NSMenuItemValidation [Export ("beginOpenPanel:forTypes:completionHandler:")] void BeginOpenPanel (NSOpenPanel openPanel, NSArray inTypes, NSDocumentControllerOpenPanelResultHandler completionHandler); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("allowsAutomaticShareMenu")] bool AllowsAutomaticShareMenu { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("standardShareMenuItem")] NSMenuItem StandardShareMenuItem { get; } @@ -24020,17 +23282,14 @@ partial interface NSGlyphInfo : NSCoding, NSCopying, NSSecureCoding { [Export ("characterCollection")] NSCharacterCollection CharacterCollection { get; } - [Mac (10, 13)] [Static] [Export ("glyphInfoWithCGGlyph:forFont:baseString:")] [return: NullAllowed] NSGlyphInfo GetGlyphInfo (ushort glyph, NSFont font, string @string); - [Mac (10, 13)] [Export ("glyphID")] ushort GlyphId { get; } - [Mac (10, 13)] [Export ("baseString")] string BaseString { get; } } @@ -24179,7 +23438,6 @@ partial interface NSText { [Notification, Field ("NSTextDidChangeNotification")] NSString DidChangeNotification { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextMovementUserInfoKey")] NSString MovementUserInfoKey { get; } @@ -24213,7 +23471,6 @@ partial interface NSImageRep { interface INSAccessibility { }; interface INSAccessibilityElement { }; - [Mac (10, 10)] [NoMacCatalyst] [Native] public enum NSAccessibilityOrientation : long { @@ -24222,7 +23479,6 @@ public enum NSAccessibilityOrientation : long { Horizontal = 2, } - [Mac (10, 10)] [NoMacCatalyst] [Native] public enum NSAccessibilitySortDirection : long { @@ -24231,7 +23487,6 @@ public enum NSAccessibilitySortDirection : long { Descending = 2, } - [Mac (10, 10)] [NoMacCatalyst] [Native] public enum NSAccessibilityRulerMarkerType : long { @@ -24245,7 +23500,6 @@ public enum NSAccessibilityRulerMarkerType : long { IndentFirstLine = 7, } - [Mac (10, 10)] [NoMacCatalyst] [Native] public enum NSAccessibilityUnits : long { @@ -24256,7 +23510,6 @@ public enum NSAccessibilityUnits : long { Picas = 4, } - [Mac (10, 9)] [NoMacCatalyst] [Native] public enum NSAccessibilityPriorityLevel : long { @@ -24272,731 +23525,586 @@ public enum NSAccessibilityPriorityLevel : long { [NoTV] [Protocol] interface NSAccessibility { - [Mac (10, 10)] [Abstract] [Export ("accessibilityFrame", ArgumentSemantic.Assign)] CGRect AccessibilityFrame { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityIdentifier")] string AccessibilityIdentifier { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityParent", ArgumentSemantic.Weak)] NSObject AccessibilityParent { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityFocused")] bool AccessibilityFocused { [Bind ("isAccessibilityFocused")] get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityElement")] bool AccessibilityElement { [Bind ("isAccessibilityElement")] get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityActivationPoint", ArgumentSemantic.Assign)] CGPoint AccessibilityActivationPoint { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityTopLevelUIElement", ArgumentSemantic.Weak)] NSObject AccessibilityTopLevelUIElement { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityURL", ArgumentSemantic.Copy)] NSUrl AccessibilityUrl { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityValue", ArgumentSemantic.Strong)] NSObject AccessibilityValue { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityValueDescription")] string AccessibilityValueDescription { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityVisibleChildren", ArgumentSemantic.Copy)] NSObject [] AccessibilityVisibleChildren { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySubrole")] string AccessibilitySubrole { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityTitle")] string AccessibilityTitle { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityTitleUIElement", ArgumentSemantic.Weak)] NSObject AccessibilityTitleUIElement { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityNextContents", ArgumentSemantic.Copy)] NSObject [] AccessibilityNextContents { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityOrientation", ArgumentSemantic.Assign)] NSAccessibilityOrientation AccessibilityOrientation { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityOverflowButton", ArgumentSemantic.Strong)] NSObject AccessibilityOverflowButton { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityPlaceholderValue")] string AccessibilityPlaceholderValue { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityPreviousContents", ArgumentSemantic.Copy)] NSObject [] AccessibilityPreviousContents { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityRole")] string AccessibilityRole { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityRoleDescription")] string AccessibilityRoleDescription { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySearchButton", ArgumentSemantic.Strong)] NSObject AccessibilitySearchButton { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySearchMenu", ArgumentSemantic.Strong)] NSObject AccessibilitySearchMenu { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilitySelected")] bool AccessibilitySelected { [Bind ("isAccessibilitySelected")] get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySelectedChildren", ArgumentSemantic.Copy)] NSObject [] AccessibilitySelectedChildren { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityServesAsTitleForUIElements", ArgumentSemantic.Copy)] NSObject [] AccessibilityServesAsTitleForUIElements { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityShownMenu", ArgumentSemantic.Strong)] NSObject AccessibilityShownMenu { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityMinValue", ArgumentSemantic.Strong)] NSObject AccessibilityMinValue { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityMaxValue", ArgumentSemantic.Strong)] NSObject AccessibilityMaxValue { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityLinkedUIElements", ArgumentSemantic.Copy)] NSObject [] AccessibilityLinkedUIElements { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityWindow", ArgumentSemantic.Weak)] NSObject AccessibilityWindow { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityHelp")] string AccessibilityHelp { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityFilename")] string AccessibilityFilename { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityExpanded")] bool AccessibilityExpanded { [Bind ("isAccessibilityExpanded")] get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityEdited")] bool AccessibilityEdited { [Bind ("isAccessibilityEdited")] get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityEnabled")] bool AccessibilityEnabled { [Bind ("isAccessibilityEnabled")] get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityChildren", ArgumentSemantic.Copy)] NSObject [] AccessibilityChildren { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityClearButton", ArgumentSemantic.Strong)] NSObject AccessibilityClearButton { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityCancelButton", ArgumentSemantic.Strong)] NSObject AccessibilityCancelButton { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityProtectedContent")] bool AccessibilityProtectedContent { [Bind ("isAccessibilityProtectedContent")] get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityContents", ArgumentSemantic.Copy)] NSObject [] AccessibilityContents { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityLabel")] string AccessibilityLabel { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityAlternateUIVisible")] bool AccessibilityAlternateUIVisible { [Bind ("isAccessibilityAlternateUIVisible")] get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySharedFocusElements", ArgumentSemantic.Copy)] NSObject [] AccessibilitySharedFocusElements { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityApplicationFocusedUIElement", ArgumentSemantic.Strong)] NSObject AccessibilityApplicationFocusedUIElement { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityMainWindow", ArgumentSemantic.Strong)] NSObject AccessibilityMainWindow { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityHidden")] bool AccessibilityHidden { [Bind ("isAccessibilityHidden")] get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityFrontmost")] bool AccessibilityFrontmost { [Bind ("isAccessibilityFrontmost")] get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityFocusedWindow", ArgumentSemantic.Strong)] NSObject AccessibilityFocusedWindow { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityWindows", ArgumentSemantic.Copy)] NSObject [] AccessibilityWindows { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityExtrasMenuBar", ArgumentSemantic.Weak)] NSObject AccessibilityExtrasMenuBar { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityMenuBar", ArgumentSemantic.Weak)] NSObject AccessibilityMenuBar { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityColumnTitles", ArgumentSemantic.Copy)] NSObject [] AccessibilityColumnTitles { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityOrderedByRow")] bool AccessibilityOrderedByRow { [Bind ("isAccessibilityOrderedByRow")] get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityHorizontalUnits", ArgumentSemantic.Assign)] NSAccessibilityUnits AccessibilityHorizontalUnits { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityVerticalUnits", ArgumentSemantic.Assign)] NSAccessibilityUnits AccessibilityVerticalUnits { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityHorizontalUnitDescription")] string AccessibilityHorizontalUnitDescription { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityVerticalUnitDescription")] string AccessibilityVerticalUnitDescription { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityLayoutPointForScreenPoint:")] CGPoint GetAccessibilityLayoutForScreen (CGPoint point); - [Mac (10, 10)] [Abstract] [Export ("accessibilityLayoutSizeForScreenSize:")] CGSize GetAccessibilityLayoutForScreen (CGSize size); - [Mac (10, 10)] [Abstract] [Export ("accessibilityScreenPointForLayoutPoint:")] CGPoint GetAccessibilityScreenForLayout (CGPoint point); - [Mac (10, 10)] [Abstract] [Export ("accessibilityScreenSizeForLayoutSize:")] CGSize GetAccessibilityScreenForLayout (CGSize size); - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityHandles", ArgumentSemantic.Copy)] NSObject [] AccessibilityHandles { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityWarningValue", ArgumentSemantic.Strong)] NSObject AccessibilityWarningValue { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityCriticalValue", ArgumentSemantic.Strong)] NSObject AccessibilityCriticalValue { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityDisclosed")] bool AccessibilityDisclosed { [Bind ("isAccessibilityDisclosed")] get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityDisclosedByRow", ArgumentSemantic.Weak)] NSObject AccessibilityDisclosedByRow { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityDisclosedRows", ArgumentSemantic.Strong)] NSObject AccessibilityDisclosedRows { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityDisclosureLevel")] nint AccessibilityDisclosureLevel { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityMarkerUIElements", ArgumentSemantic.Copy)] NSObject [] AccessibilityMarkerUIElements { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityMarkerValues", ArgumentSemantic.Strong)] NSObject AccessibilityMarkerValues { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityMarkerGroupUIElement", ArgumentSemantic.Strong)] NSObject AccessibilityMarkerGroupUIElement { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityUnits", ArgumentSemantic.Assign)] NSAccessibilityUnits AccessibilityUnits { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityUnitDescription")] string AccessibilityUnitDescription { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityRulerMarkerType", ArgumentSemantic.Assign)] NSAccessibilityRulerMarkerType AccessibilityRulerMarkerType { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityMarkerTypeDescription")] string AccessibilityMarkerTypeDescription { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityHorizontalScrollBar", ArgumentSemantic.Strong)] NSObject AccessibilityHorizontalScrollBar { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityVerticalScrollBar", ArgumentSemantic.Strong)] NSObject AccessibilityVerticalScrollBar { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityAllowedValues", ArgumentSemantic.Copy)] NSNumber [] AccessibilityAllowedValues { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityLabelUIElements", ArgumentSemantic.Copy)] NSObject [] AccessibilityLabelUIElements { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityLabelValue")] float AccessibilityLabelValue { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySplitters", ArgumentSemantic.Copy)] NSObject [] AccessibilitySplitters { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityDecrementButton", ArgumentSemantic.Strong)] NSObject AccessibilityDecrementButton { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityIncrementButton", ArgumentSemantic.Strong)] NSObject AccessibilityIncrementButton { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityTabs", ArgumentSemantic.Copy)] NSObject [] AccessibilityTabs { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityHeader", ArgumentSemantic.Strong)] NSObject AccessibilityHeader { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityColumnCount")] nint AccessibilityColumnCount { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityRowCount")] nint AccessibilityRowCount { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityIndex")] nint AccessibilityIndex { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityColumns", ArgumentSemantic.Copy)] NSObject [] AccessibilityColumns { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityRows", ArgumentSemantic.Copy)] NSObject [] AccessibilityRows { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityVisibleRows", ArgumentSemantic.Copy)] NSObject [] AccessibilityVisibleRows { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySelectedRows", ArgumentSemantic.Copy)] NSObject [] AccessibilitySelectedRows { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityVisibleColumns", ArgumentSemantic.Copy)] NSObject [] AccessibilityVisibleColumns { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySelectedColumns", ArgumentSemantic.Copy)] NSObject [] AccessibilitySelectedColumns { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilitySortDirection", ArgumentSemantic.Assign)] NSAccessibilitySortDirection AccessibilitySortDirection { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityRowHeaderUIElements", ArgumentSemantic.Copy)] NSObject [] AccessibilityRowHeaderUIElements { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySelectedCells", ArgumentSemantic.Copy)] NSObject [] AccessibilitySelectedCells { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityVisibleCells", ArgumentSemantic.Copy)] NSObject [] AccessibilityVisibleCells { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityColumnHeaderUIElements", ArgumentSemantic.Copy)] NSObject [] AccessibilityColumnHeaderUIElements { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityCellForColumn:row:")] [return: NullAllowed] NSObject GetAccessibilityCellForColumn (nint column, nint row); - [Mac (10, 10)] [Abstract] [Export ("accessibilityRowIndexRange", ArgumentSemantic.Assign)] NSRange AccessibilityRowIndexRange { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityColumnIndexRange", ArgumentSemantic.Assign)] NSRange AccessibilityColumnIndexRange { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityInsertionPointLineNumber")] nint AccessibilityInsertionPointLineNumber { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilitySharedCharacterRange", ArgumentSemantic.Assign)] NSRange AccessibilitySharedCharacterRange { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySharedTextUIElements", ArgumentSemantic.Copy)] NSObject [] AccessibilitySharedTextUIElements { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityVisibleCharacterRange", ArgumentSemantic.Assign)] NSRange AccessibilityVisibleCharacterRange { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityNumberOfCharacters")] nint AccessibilityNumberOfCharacters { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySelectedText")] string AccessibilitySelectedText { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilitySelectedTextRange", ArgumentSemantic.Assign)] NSRange AccessibilitySelectedTextRange { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilitySelectedTextRanges", ArgumentSemantic.Copy)] NSValue [] AccessibilitySelectedTextRanges { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityAttributedStringForRange:")] [return: NullAllowed] NSAttributedString GetAccessibilityAttributedString (NSRange range); - [Mac (10, 10)] [Abstract] [Export ("accessibilityRangeForLine:")] NSRange GetAccessibilityRangeForLine (nint line); - [Mac (10, 10)] [Abstract] [Export ("accessibilityStringForRange:")] [return: NullAllowed] string GetAccessibilityString (NSRange range); - [Mac (10, 10)] [Abstract] [Export ("accessibilityRangeForPosition:")] NSRange GetAccessibilityRange (CGPoint point); - [Mac (10, 10)] [Abstract] [Export ("accessibilityRangeForIndex:")] NSRange GetAccessibilityRange (nint index); - [Mac (10, 10)] [Abstract] [Export ("accessibilityFrameForRange:")] CGRect GetAccessibilityFrame (NSRange range); - [Mac (10, 10)] [Abstract] [Export ("accessibilityRTFForRange:")] [return: NullAllowed] NSData GetAccessibilityRtf (NSRange range); - [Mac (10, 10)] [Abstract] [Export ("accessibilityStyleRangeForIndex:")] NSRange GetAccessibilityStyleRange (nint index); - [Mac (10, 10)] [Abstract] [Export ("accessibilityLineForIndex:")] nint GetAccessibilityLine (nint index); - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityToolbarButton", ArgumentSemantic.Strong)] NSObject AccessibilityToolbarButton { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityModal")] bool AccessibilityModal { [Bind ("isAccessibilityModal")] get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityProxy", ArgumentSemantic.Strong)] NSObject AccessibilityProxy { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityMain")] bool AccessibilityMain { [Bind ("isAccessibilityMain")] get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityFullScreenButton", ArgumentSemantic.Strong)] NSObject AccessibilityFullScreenButton { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityGrowArea", ArgumentSemantic.Strong)] NSObject AccessibilityGrowArea { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityDocument")] string AccessibilityDocument { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityDefaultButton", ArgumentSemantic.Strong)] NSObject AccessibilityDefaultButton { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityCloseButton", ArgumentSemantic.Strong)] NSObject AccessibilityCloseButton { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityZoomButton", ArgumentSemantic.Strong)] NSObject AccessibilityZoomButton { get; set; } - [Mac (10, 10)] [Abstract] [NullAllowed, Export ("accessibilityMinimizeButton", ArgumentSemantic.Strong)] NSObject AccessibilityMinimizeButton { get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityMinimized")] bool AccessibilityMinimized { [Bind ("isAccessibilityMinimized")] get; set; } - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformCancel")] bool AccessibilityPerformCancel (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformConfirm")] bool AccessibilityPerformConfirm (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformDecrement")] bool AccessibilityPerformDecrement (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformDelete")] bool AccessibilityPerformDelete (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformIncrement")] bool AccessibilityPerformIncrement (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformPick")] bool AccessibilityPerformPick (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformPress")] bool AccessibilityPerformPress (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformRaise")] bool AccessibilityPerformRaise (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformShowAlternateUI")] bool AccessibilityPerformShowAlternateUI (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformShowDefaultUI")] bool AccessibilityPerformShowDefaultUI (); - [Mac (10, 10)] [Abstract] [Export ("accessibilityPerformShowMenu")] bool AccessibilityPerformShowMenu (); - [Mac (10, 10)] [Abstract] [Export ("isAccessibilitySelectorAllowed:")] bool IsAccessibilitySelectorAllowed (Selector selector); - [Mac (10, 12)] #if NET [Abstract] #endif @@ -25135,21 +24243,18 @@ interface NSAccessibility { [Field ("NSAccessibilityAnnouncementRequestedNotification")] NSString AnnouncementRequestedNotification { get; } - [Mac (10, 13)] #if NET [Abstract] #endif [NullAllowed, Export ("accessibilityChildrenInNavigationOrder", ArgumentSemantic.Copy)] NSAccessibilityElement [] AccessibilityChildrenInNavigationOrder { get; set; } - [Mac (10, 13)] #if NET [Abstract] #endif [Export ("accessibilityCustomRotors", ArgumentSemantic.Copy)] NSAccessibilityCustomRotor [] AccessibilityCustomRotors { get; set; } - [Mac (10, 13)] #if NET [Abstract] #endif @@ -25160,12 +24265,10 @@ interface NSAccessibility { [NoMacCatalyst] [Protocol] interface NSCollectionViewSectionHeaderView : NSCollectionViewElement { - [Mac (10, 12)] [NullAllowed, Export ("sectionCollapseButton", ArgumentSemantic.Assign)] NSButton SectionCollapseButton { get; set; } } - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSAccessibilityElement : NSAccessibility { @@ -25182,23 +24285,18 @@ interface NSAccessibilityElement : NSAccessibility { [NoMacCatalyst] [Static] partial interface NSAccessibilityAttributes { - [Mac (10, 10)] [Field ("NSAccessibilitySharedFocusElementsAttribute")] NSString SharedFocusElementsAttribute { get; } - [Mac (10, 10)] [Field ("NSAccessibilityAlternateUIVisibleAttribute")] NSString AlternateUIVisibleAttribute { get; } - [Mac (10, 11)] [Field ("NSAccessibilityListItemPrefixTextAttribute")] NSString ListItemPrefixTextAttribute { get; } - [Mac (10, 11)] [Field ("NSAccessibilityListItemIndexTextAttribute")] NSString ListItemIndexTextAttribute { get; } - [Mac (10, 11)] [Field ("NSAccessibilityListItemLevelTextAttribute")] NSString ListItemLevelTextAttribute { get; } @@ -25319,7 +24417,6 @@ partial interface NSAccessibilityAttributes { [Field ("NSAccessibilityDocumentAttribute")] NSString DocumentAttribute { get; } - [Mac (10, 10)] [Field ("NSAccessibilityActivationPointAttribute")] NSString ActivationPointAttribute { get; } @@ -25347,7 +24444,6 @@ partial interface NSAccessibilityAttributes { [Field ("NSAccessibilityPlaceholderValueAttribute")] NSString PlaceholderValueAttribute { get; } - [Mac (10, 9)] [Field ("NSAccessibilityContainsProtectedContentAttribute")] NSString ContainsProtectedContentAttribute { get; } @@ -25647,29 +24743,23 @@ partial interface NSAccessibilityAttributes { [Field ("NSAccessibilityIdentifierAttribute")] NSString IdentifierAttribute { get; } - [Mac (10, 12)] [Field ("NSAccessibilityRequiredAttribute")] NSString RequiredAttribute { get; } - [Mac (10, 12)] [Field ("NSAccessibilityTextAlignmentAttribute")] NSString TextAlignmentAttribute { get; } - [Mac (10, 13)] [Field ("NSAccessibilityLanguageTextAttribute")] NSString LanguageTextAttribute { get; } - [Mac (10, 13)] [Field ("NSAccessibilityCustomTextAttribute")] NSString CustomTextAttribute { get; } - [Mac (10, 13)] [Field ("NSAccessibilityAnnotationTextAttribute")] NSString AnnotationTextAttribute { get; } } [Static] - [Mac (10, 13)] [NoMacCatalyst] partial interface NSAccessibilityAnnotationAttributeKey { [Field ("NSAccessibilityAnnotationLabel")] @@ -25860,11 +24950,9 @@ interface NSAccessibilityRoles { [Field ("NSAccessibilityHandleRole")] NSString HandleRole { get; } - [Mac (10, 12)] [Field ("NSAccessibilityMenuBarItemRole")] NSString MenuBarItemRole { get; } - [Mac (10, 13)] [Field ("NSAccessibilityPageRole")] NSString PageRole { get; } } @@ -25950,27 +25038,21 @@ interface NSAccessibilitySubroles { [Field ("NSAccessibilityFullScreenButtonSubrole")] NSString FullScreenButtonSubrole { get; } - [Mac (10, 9)] [Field ("NSAccessibilityToggleSubrole")] NSString ToggleSubrole { get; } - [Mac (10, 9)] [Field ("NSAccessibilitySwitchSubrole")] NSString SwitchSubrole { get; } - [Mac (10, 9)] [Field ("NSAccessibilityDescriptionListSubrole")] NSString DescriptionListSubrole { get; } - [Mac (10, 13)] [Field ("NSAccessibilityTabButtonSubrole")] NSString TabButtonSubrole { get; } - [Mac (10, 13)] [Field ("NSAccessibilityCollectionListSubrole")] NSString CollectionListSubrole { get; } - [Mac (10, 13)] [Field ("NSAccessibilitySectionListSubrole")] NSString SectionListSubrole { get; } } @@ -26059,7 +25141,6 @@ interface NSAccessibilityNotifications { [Field ("NSAccessibilityCreatedNotification")] NSString CreatedNotification { get; } - [Mac (10, 9)] [Obsolete ("Use the 'Notifications.LayoutChangedNotification' helper method instead on the accessibility item in question.")] [Field ("NSAccessibilityLayoutChangedNotification")] NSString LayoutChangedNotification { get; } @@ -26116,7 +25197,6 @@ interface NSAccessibilityNotifications { [Static] [NoMacCatalyst] interface NSWorkspaceAccessibilityNotifications { - [Mac (10, 10)] [Field ("NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification")] NSString DisplayOptionsDidChangeNotification { get; } } @@ -26125,11 +25205,9 @@ interface NSWorkspaceAccessibilityNotifications { [Static] [NoMacCatalyst] interface NSAccessibilityNotificationUserInfoKeys { - [Mac (10, 9)] [Field ("NSAccessibilityUIElementsKey")] NSString UIElementsKey { get; } - [Mac (10, 9)] [Field ("NSAccessibilityPriorityKey")] NSString PriorityKey { get; } @@ -26167,16 +25245,13 @@ interface NSAccessibilityActions { [Field ("NSAccessibilityDeleteAction")] NSString DeleteAction { get; } - [Mac (10, 9)] [Field ("NSAccessibilityShowAlternateUIAction")] NSString ShowAlternateUIAction { get; } - [Mac (10, 9)] [Field ("NSAccessibilityShowDefaultUIAction")] NSString ShowDefaultUIAction { get; } } - [Mac (10, 10)] [NoMacCatalyst] [NoiOS] [NoTV] @@ -26197,13 +25272,11 @@ interface NSAccessibilityElementProtocol { string AccessibilityIdentifier { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityGroup : NSAccessibilityElementProtocol { } - [Mac (10, 10)] [NoMacCatalyst] [NoiOS] [NoTV] @@ -26218,7 +25291,6 @@ interface NSAccessibilityButton : NSAccessibilityElementProtocol { bool AccessibilityPerformPress (); } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilitySwitch : NSAccessibilityButton { @@ -26233,7 +25305,6 @@ interface NSAccessibilitySwitch : NSAccessibilityButton { bool AccessibilityPerformDecrement (); } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityRadioButton : NSAccessibilityButton { @@ -26242,7 +25313,6 @@ interface NSAccessibilityRadioButton : NSAccessibilityButton { NSNumber AccessibilityValue { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityCheckBox : NSAccessibilityButton { @@ -26251,7 +25321,6 @@ interface NSAccessibilityCheckBox : NSAccessibilityButton { NSNumber AccessibilityValue { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityStaticText : NSAccessibilityElementProtocol { @@ -26267,7 +25336,6 @@ interface NSAccessibilityStaticText : NSAccessibilityElementProtocol { NSRange AccessibilityVisibleCharacterRange { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityNavigableStaticText : NSAccessibilityStaticText { @@ -26289,7 +25357,6 @@ interface NSAccessibilityNavigableStaticText : NSAccessibilityStaticText { CGRect GetAccessibilityFrame (NSRange range); } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityProgressIndicator : NSAccessibilityGroup { @@ -26298,7 +25365,6 @@ interface NSAccessibilityProgressIndicator : NSAccessibilityGroup { NSNumber AccessibilityValue { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityStepper : NSAccessibilityElementProtocol { @@ -26318,7 +25384,6 @@ interface NSAccessibilityStepper : NSAccessibilityElementProtocol { NSObject AccessibilityValue { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilitySlider : NSAccessibilityElementProtocol { @@ -26339,7 +25404,6 @@ interface NSAccessibilitySlider : NSAccessibilityElementProtocol { bool AccessibilityPerformDecrement (); } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityImage : NSAccessibilityElementProtocol { @@ -26348,7 +25412,6 @@ interface NSAccessibilityImage : NSAccessibilityElementProtocol { string AccessibilityLabel { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityContainsTransientUI : NSAccessibilityElementProtocol { @@ -26367,7 +25430,6 @@ interface NSAccessibilityContainsTransientUI : NSAccessibilityElementProtocol { interface INSAccessibilityRow { } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityTable : NSAccessibilityGroup { @@ -26411,19 +25473,16 @@ interface NSAccessibilityTable : NSAccessibilityGroup { NSObject [] AccessibilityColumnHeaderUIElements { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityOutline : NSAccessibilityTable { } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityList : NSAccessibilityTable { } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityRow : NSAccessibilityGroup { @@ -26435,7 +25494,6 @@ interface NSAccessibilityRow : NSAccessibilityGroup { nint AccessibilityDisclosureLevel { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityLayoutArea : NSAccessibilityGroup { @@ -26456,7 +25514,6 @@ interface NSAccessibilityLayoutArea : NSAccessibilityGroup { NSObject AccessibilityFocusedUIElement { get; } } - [Mac (10, 10)] [NoMacCatalyst] [Protocol] interface NSAccessibilityLayoutItem : NSAccessibilityGroup { @@ -26521,13 +25578,11 @@ interface NSObjectAccessibilityExtensions { [Export ("accessibilityArrayAttributeValues:index:maxCount:")] NSObject [] GetAccessibilityArrayAttributeValues (NSString attribute, nuint index, nuint maxCount); - [Mac (10, 9)] [DebuggerBrowsable (DebuggerBrowsableState.Never)] [Export ("accessibilityNotifiesWhenDestroyed")] bool AccessibilityNotifiesWhenDestroyed { get; } } - [Mac (10, 10)] [NoMacCatalyst] interface NSWorkspaceAccessibilityExtensions { [Export ("accessibilityDisplayShouldIncreaseContrast")] @@ -26539,19 +25594,15 @@ interface NSWorkspaceAccessibilityExtensions { [Export ("accessibilityDisplayShouldReduceTransparency")] bool AccessibilityDisplayShouldReduceTransparency { get; } - [Mac (10, 12)] [Export ("accessibilityDisplayShouldInvertColors")] bool AccessibilityDisplayShouldInvertColors { get; } - [Mac (10, 12)] [Export ("accessibilityDisplayShouldReduceMotion")] bool AccessibilityDisplayShouldReduceMotion { get; } - [Mac (10, 13)] [Export ("voiceOverEnabled")] bool VoiceOverEnabled { [Bind ("isVoiceOverEnabled")] get; } - [Mac (10, 13)] [Export ("switchControlEnabled")] bool SwitchControlEnabled { [Bind ("isSwitchControlEnabled")] get; } } @@ -26559,7 +25610,6 @@ interface NSWorkspaceAccessibilityExtensions { interface INSFilePromiseProviderDelegate { } [DesignatedDefaultCtor] - [Mac (10, 12)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSFilePromiseProvider : NSPasteboardWriting { @@ -26576,7 +25626,6 @@ interface NSFilePromiseProvider : NSPasteboardWriting { NativeHandle Constructor (string fileType, INSFilePromiseProviderDelegate @delegate); } - [Mac (10, 12)] [NoMacCatalyst] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -26595,7 +25644,6 @@ interface NSFilePromiseProviderDelegate { NSOperationQueue GetOperationQueue (NSFilePromiseProvider filePromiseProvider); } - [Mac (10, 12)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSFilePromiseReceiver : NSPasteboardReading { @@ -26629,7 +25677,6 @@ interface NSValidatedUserInterfaceItem { [NoMacCatalyst] [Protocol] - [Mac (10, 12)] interface NSCloudSharingValidation { [Abstract] [Export ("cloudShareForUserInterfaceItem:")] @@ -26676,7 +25723,6 @@ interface INSToolTipOwner { } interface INSUserInterfaceValidations { } [Protocol] - [Mac (10, 11)] [NoMacCatalyst] [NoiOS] interface NSUserInterfaceValidations { @@ -26693,7 +25739,6 @@ interface NSMenuValidation { bool ValidateMenuItem (NSMenuItem menuItem); } - [Mac (10, 14)] [NoMacCatalyst] [Protocol] interface NSMenuItemValidation { @@ -26706,7 +25751,6 @@ public interface INSCandidateListTouchBarItemDelegate { } delegate NSAttributedString AttributedStringForCandidateHandler (NSObject candidate, nint index); - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] @@ -26754,19 +25798,15 @@ interface NSCandidateListTouchBarItem { [Protocol, Model] [BaseType (typeof (NSObject))] interface NSCandidateListTouchBarItemDelegate { - [Mac (10, 12, 2)] [Export ("candidateListTouchBarItem:beginSelectingCandidateAtIndex:")] void BeginSelectingCandidate (NSCandidateListTouchBarItem anItem, nint index); - [Mac (10, 12, 2)] [Export ("candidateListTouchBarItem:changeSelectionFromCandidateAtIndex:toIndex:")] void ChangeSelectionFromCandidate (NSCandidateListTouchBarItem anItem, nint previousIndex, nint index); - [Mac (10, 12, 2)] [Export ("candidateListTouchBarItem:endSelectingCandidateAtIndex:")] void EndSelectingCandidate (NSCandidateListTouchBarItem anItem, nint index); - [Mac (10, 12, 2)] [Export ("candidateListTouchBarItem:changedCandidateListVisibility:")] void ChangedCandidateListVisibility (NSCandidateListTouchBarItem anItem, bool isVisible); } @@ -26775,13 +25815,11 @@ interface NSCandidateListTouchBarItemDelegate { [Category] [BaseType (typeof (NSView))] interface NSView_NSCandidateListTouchBarItem { - [Mac (10, 12, 2)] [Export ("candidateListTouchBarItem")] NSCandidateListTouchBarItem GetCandidateListTouchBarItem (); } - [Mac (10, 12, 2)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] interface NSColorPickerTouchBarItem { @@ -26828,13 +25866,11 @@ interface NSColorPickerTouchBarItem { [Export ("enabled")] bool Enabled { [Bind ("isEnabled")] get; set; } - [Mac (10, 13)] [NoMacCatalyst] [NullAllowed, Export ("allowedColorSpaces", ArgumentSemantic.Copy)] NSColorSpace [] AllowedColorSpaces { get; set; } } - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] @@ -26858,17 +25894,14 @@ interface NSCustomTouchBarItem { [Category] [BaseType (typeof (NSGestureRecognizer))] interface NSGestureRecognizer_NSTouchBar { - [Mac (10, 12, 1)] [Export ("allowedTouchTypes", ArgumentSemantic.Assign)] NSTouchTypeMask GetAllowedTouchTypes (); - [Mac (10, 12, 1)] [Export ("setAllowedTouchTypes:", ArgumentSemantic.Assign)] void SetAllowedTouchTypes (NSTouchTypeMask types); } - [Mac (10, 12, 2)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] interface NSGroupTouchBarItem { @@ -26887,46 +25920,38 @@ interface NSGroupTouchBarItem { [Export ("customizationLabel")] string CustomizationLabel { get; set; } - [Mac (10, 13)] [NoMacCatalyst] [Static] [Export ("groupItemWithIdentifier:items:allowedCompressionOptions:")] NSGroupTouchBarItem CreateGroupItem (string identifier, NSTouchBarItem [] items, NSUserInterfaceCompressionOptions allowedCompressionOptions); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("alertStyleGroupItemWithIdentifier:")] NSGroupTouchBarItem CreateAlertStyleGroupItem (string identifier); - [Mac (10, 13)] [NoMacCatalyst] [Export ("groupUserInterfaceLayoutDirection", ArgumentSemantic.Assign)] NSUserInterfaceLayoutDirection GroupUserInterfaceLayoutDirection { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("prefersEqualWidths")] bool PrefersEqualWidths { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("preferredItemWidth")] nfloat PreferredItemWidth { get; set; } - [Mac (10, 13)] [NoMacCatalyst] [Export ("effectiveCompressionOptions")] NSUserInterfaceCompressionOptions EffectiveCompressionOptions { get; } - [Mac (10, 13)] [NoMacCatalyst] [Export ("prioritizedCompressionOptions", ArgumentSemantic.Copy)] NSUserInterfaceCompressionOptions [] PrioritizedCompressionOptions { get; set; } } - [Mac (10, 12, 2)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] interface NSPopoverTouchBarItem { @@ -26975,12 +26000,10 @@ interface INSScrubberDelegate { } [Protocol, Model] [BaseType (typeof (NSObject))] interface NSScrubberDataSource { - [Mac (10, 12, 2)] [Abstract] [Export ("numberOfItemsForScrubber:")] nint GetNumberOfItems (NSScrubber scrubber); - [Mac (10, 12, 2)] [Abstract] [Export ("scrubber:viewForItemAtIndex:")] NSScrubberItemView GetViewForItem (NSScrubber scrubber, nint index); @@ -26990,33 +26013,26 @@ interface NSScrubberDataSource { [Protocol, Model] [BaseType (typeof (NSObject))] interface NSScrubberDelegate { - [Mac (10, 12, 2)] [Export ("scrubber:didSelectItemAtIndex:")] void DidSelectItem (NSScrubber scrubber, nint selectedIndex); - [Mac (10, 12, 2)] [Export ("scrubber:didHighlightItemAtIndex:")] void DidHighlightItem (NSScrubber scrubber, nint highlightedIndex); - [Mac (10, 12, 2)] [Export ("scrubber:didChangeVisibleRange:")] void DidChangeVisible (NSScrubber scrubber, NSRange visibleRange); - [Mac (10, 12, 2)] [Export ("didBeginInteractingWithScrubber:")] void DidBeginInteracting (NSScrubber scrubber); - [Mac (10, 12, 2)] [Export ("didFinishInteractingWithScrubber:")] void DidFinishInteracting (NSScrubber scrubber); - [Mac (10, 12, 2)] [Export ("didCancelInteractingWithScrubber:")] void DidCancelInteracting (NSScrubber scrubber); } [DesignatedDefaultCtor] - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSScrubberSelectionStyle : NSCoding { @@ -27032,7 +26048,6 @@ interface NSScrubberSelectionStyle : NSCoding { NSScrubberSelectionView MakeSelectionView (); } - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSView))] interface NSScrubber { @@ -27122,7 +26137,6 @@ interface NSScrubber { NSScrubberItemView MakeItem (string itemIdentifier, [NullAllowed] NSObject owner); } - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSView))] interface NSScrubberArrangedView { @@ -27141,19 +26155,16 @@ interface NSScrubberArrangedView { } // These are empty but types used in other bindings - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSScrubberArrangedView))] interface NSScrubberItemView { } - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSScrubberArrangedView))] interface NSScrubberSelectionView { } - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSScrubberItemView))] interface NSScrubberTextItemView { @@ -27164,7 +26175,6 @@ interface NSScrubberTextItemView { string Title { get; set; } } - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSScrubberItemView))] interface NSScrubberImageItemView { @@ -27178,7 +26188,6 @@ interface NSScrubberImageItemView { NSImageAlignment ImageAlignment { get; set; } } - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSScrubberLayoutAttributes : NSCopying { @@ -27197,7 +26206,6 @@ interface NSScrubberLayoutAttributes : NSCopying { } [DesignatedDefaultCtor] - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSScrubberLayout : NSCoding { @@ -27248,7 +26256,6 @@ interface NSScrubberFlowLayoutDelegate : NSScrubberDelegate { CGSize Layout (NSScrubber scrubber, NSScrubberFlowLayout layout, nint itemIndex); } - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSScrubberLayout))] interface NSScrubberFlowLayout { @@ -27262,7 +26269,6 @@ interface NSScrubberFlowLayout { void InvalidateLayoutForItems (NSIndexSet invalidItemIndexes); } - [Mac (10, 12, 2)] [NoMacCatalyst] [BaseType (typeof (NSScrubberLayout))] interface NSScrubberProportionalLayout { @@ -27285,8 +26291,7 @@ interface NSSharingServicePickerTouchBarItemDelegate : NSSharingServicePickerDel INSPasteboardWriting [] ItemsForSharingServicePickerTouchBarItem (NSSharingServicePickerTouchBarItem pickerTouchBarItem); } - [Mac (10, 12, 2)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] interface NSSharingServicePickerTouchBarItem { @@ -27308,8 +26313,7 @@ interface NSSharingServicePickerTouchBarItem { NSImage ButtonImage { get; set; } } - [Mac (10, 12)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSSliderAccessory : NSCoding, NSAccessibility, NSAccessibilityElementProtocol { @@ -27323,19 +26327,16 @@ interface NSSliderAccessory : NSCoding, NSAccessibility, NSAccessibilityElementP [Export ("enabled")] bool Enabled { [Bind ("isEnabled")] get; set; } - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSSliderAccessoryWidthDefault")] double DefaultWidth { get; } - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Field ("NSSliderAccessoryWidthWide")] double WidthWide { get; } } - [Mac (10, 12)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSSliderAccessoryBehavior : NSCoding, NSCopying { [Static] @@ -27362,7 +26363,6 @@ interface NSSliderAccessoryBehavior : NSCoding, NSCopying { void HandleAction (NSSliderAccessory sender); } - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSAccessibilityCustomAction { @@ -27386,7 +26386,6 @@ interface NSAccessibilityCustomAction { Selector Selector { get; set; } } - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSAccessibilityCustomRotor { @@ -27409,7 +26408,6 @@ interface NSAccessibilityCustomRotor { INSAccessibilityElementLoading ItemLoadingDelegate { get; set; } } - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSAccessibilityCustomRotorSearchParameters { @@ -27423,7 +26421,6 @@ interface NSAccessibilityCustomRotorSearchParameters { string FilterString { get; set; } } - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -27451,7 +26448,6 @@ interface NSAccessibilityCustomRotorItemResult { interface INSAccessibilityCustomRotorItemSearchDelegate { } - [Mac (10, 13)] [NoMacCatalyst] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -27464,7 +26460,6 @@ interface NSAccessibilityCustomRotorItemSearchDelegate { interface INSAccessibilityElementLoading { } - [Mac (10, 13)] [NoMacCatalyst] [Protocol] interface NSAccessibilityElementLoading { @@ -27479,7 +26474,6 @@ interface NSAccessibilityElementLoading { interface INSCollectionViewPrefetching { } - [Mac (10, 13)] [NoMacCatalyst] [Protocol] interface NSCollectionViewPrefetching { @@ -27493,7 +26487,6 @@ interface NSCollectionViewPrefetching { delegate bool DownloadFontAssetsRequestCompletionHandler (NSError error); - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -27528,7 +26521,6 @@ interface NSObject_NSFontPanelValidationAdditions { } [DesignatedDefaultCtor] - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSUserInterfaceCompressionOptions : NSCopying, NSCoding { @@ -27578,7 +26570,6 @@ interface NSUserInterfaceCompressionOptions : NSCopying, NSCoding { interface INSUserInterfaceCompression { } - [Mac (10, 13)] [NoMacCatalyst] [Protocol] interface NSUserInterfaceCompression { @@ -27595,7 +26586,6 @@ interface NSUserInterfaceCompression { NSUserInterfaceCompressionOptions ActiveCompressionOptions { get; } } - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSWindowTab { @@ -27612,7 +26602,6 @@ interface NSWindowTab { NSView AccessoryView { get; set; } } - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -27642,8 +26631,7 @@ interface NSWindowTabGroup { void Remove (NSWindow window); } - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] interface NSButtonTouchBarItem { @@ -27686,7 +26674,6 @@ interface NSButtonTouchBarItem { string CustomizationLabel { get; set; } } - [Mac (10, 15)] [NoMacCatalyst] [Native] public enum NSCollectionLayoutSectionOrthogonalScrollingBehavior : long { @@ -27698,8 +26685,7 @@ public enum NSCollectionLayoutSectionOrthogonalScrollingBehavior : long { GroupPagingCentered, } - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSPickerTouchBarItemControlRepresentation : long { Automatic = 0, @@ -27707,8 +26693,7 @@ public enum NSPickerTouchBarItemControlRepresentation : long { Collapsed = 2, } - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSPickerTouchBarItemSelectionMode : long { SelectOne = 0, @@ -27716,7 +26701,6 @@ public enum NSPickerTouchBarItemSelectionMode : long { Momentary = 2, } - [Mac (10, 15)] [NoMacCatalyst] [Native] public enum NSTextInputTraitType : long { @@ -27725,8 +26709,7 @@ public enum NSTextInputTraitType : long { Yes, } - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSToolbarItemGroupControlRepresentation : long { Automatic, @@ -27734,8 +26717,7 @@ public enum NSToolbarItemGroupControlRepresentation : long { Collapsed, } - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSToolbarItemGroupSelectionMode : long { SelectOne = 0, @@ -27743,8 +26725,7 @@ public enum NSToolbarItemGroupSelectionMode : long { Momentary = 2, } - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] interface NSPickerTouchBarItem { @@ -27811,7 +26792,6 @@ interface NSPickerTouchBarItem { string CustomizationLabel { get; set; } } - [Mac (10, 15)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSCollectionViewCompositionalLayoutConfiguration : NSCopying { @@ -27825,7 +26805,6 @@ interface NSCollectionViewCompositionalLayoutConfiguration : NSCopying { NSCollectionLayoutBoundarySupplementaryItem [] BoundarySupplementaryItems { get; set; } } - [Mac (10, 15)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NSColorSampler { @@ -27834,7 +26813,6 @@ interface NSColorSampler { } [NoMacCatalyst] - [Mac (10, 15)] [BaseType (typeof (NSControl))] [DesignatedDefaultCtor] interface NSSwitch : NSAccessibilitySwitch { @@ -27842,8 +26820,7 @@ interface NSSwitch : NSAccessibilitySwitch { nint State { get; set; } } - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSToolbarItem))] #if XAMCORE_5_0 [DisableDefaultCtor] @@ -27860,7 +26837,7 @@ interface NSMenuToolbarItem { [Export ("showsIndicator")] bool ShowsIndicator { get; set; } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NoMac] [Export ("itemMenu", ArgumentSemantic.Copy)] UIMenu ItemMenu { get; set; } @@ -27869,7 +26846,6 @@ interface NSMenuToolbarItem { [NoMacCatalyst] delegate NSCollectionLayoutSection NSCollectionViewCompositionalLayoutSectionProvider (nint section, INSCollectionLayoutEnvironment layout); - [Mac (10, 15)] [NoMacCatalyst] [BaseType (typeof (NSCollectionViewLayout))] [DisableDefaultCtor] @@ -27890,8 +26866,7 @@ interface NSCollectionViewCompositionalLayout { NSCollectionViewCompositionalLayoutConfiguration Configuration { get; set; } } - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSTouchBarItem))] [DisableDefaultCtor] interface NSStepperTouchBarItem { @@ -27927,7 +26902,6 @@ interface NSStepperTouchBarItem { } [Protocol] - [Mac (10, 15)] [NoMacCatalyst] interface NSTextInputTraits { [Export ("autocorrectionType", ArgumentSemantic.Assign)] @@ -27964,7 +26938,6 @@ interface NSTextInputTraits { interface INSTextCheckingClient { } [Protocol] - [Mac (10, 15)] [NoMacCatalyst] interface NSTextCheckingClient : NSTextInputTraits, NSTextInputClient { [Abstract] @@ -28002,7 +26975,6 @@ interface NSTextCheckingClient : NSTextInputTraits, NSTextInputClient { NSCandidateListTouchBarItem CandidateListTouchBarItem { get; } } - [Mac (10, 15)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -28059,7 +27031,6 @@ CFBundle.Architecture LaunchArchitecture { bool RequiresUniversalLinks { get; set; } } - [Mac (10, 15)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -28134,7 +27105,6 @@ interface NSTextCheckingController { [NoMacCatalyst] delegate NSView NSCollectionViewDiffableDataSourceSupplementaryViewProvider (NSCollectionView collectionView, string str, NSIndexPath indexPath); - [Mac (10, 15)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -28163,7 +27133,6 @@ interface NSCollectionViewDiffableDataSource ExifData { get; } } - [iOS (11, 0)] [Deprecated (PlatformName.iOS, 14, 0, message: "Use Raycasting methods over HitTestResult ones.")] [NoWatch, NoTV, NoMac] [BaseType (typeof (NSObject))] @@ -545,7 +533,6 @@ Matrix4 WorldTransform { ARAnchor Anchor { get; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -558,7 +545,6 @@ interface ARLightEstimate { nfloat AmbientColorTemperature { get; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (ARAnchor))] [DisableDefaultCtor] @@ -654,7 +640,6 @@ interface ARSCNPlaneGeometry { void Update (ARPlaneGeometry planeGeometry); } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -735,7 +720,6 @@ interface ARVideoFormat : NSCopying { bool IsVideoHdrSupported { [Bind ("isVideoHDRSupported")] get; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (SCNView))] interface ARSCNView : ARSessionProviding { @@ -786,7 +770,6 @@ interface ARSCNView : ARSessionProviding { interface IARSCNViewDelegate { } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -809,7 +792,6 @@ interface ARSCNViewDelegate : SCNSceneRendererDelegate, ARSessionObserver { void DidRemoveNode (ISCNSceneRenderer renderer, SCNNode node, ARAnchor anchor); } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (SKView))] interface ARSKView : ARSessionProviding { @@ -836,7 +818,6 @@ interface ARSKView : ARSessionProviding { interface IARSKViewDelegate { } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -861,7 +842,6 @@ interface ARSKViewDelegate : SKViewDelegate, ARSessionObserver { delegate void GetGeolocationCallback (CLLocationCoordinate2D coordinate, double altitude, NSError error); - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (NSObject))] interface ARSession { @@ -939,7 +919,6 @@ interface ARSession { void CaptureHighResolutionFrame (Action handler); } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [Protocol] interface ARSessionObserver { @@ -974,7 +953,6 @@ interface ARSessionObserver { interface IARSessionDelegate { } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -993,7 +971,6 @@ interface ARSessionDelegate : ARSessionObserver { void DidRemoveAnchors (ARSession session, ARAnchor [] anchors); } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (NSObject))] [Abstract] @@ -1058,7 +1035,6 @@ ARVideoFormat [] SupportedVideoFormats { bool VideoHdrAllowed { get; set; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (ARConfiguration))] interface ARWorldTrackingConfiguration { @@ -1141,7 +1117,6 @@ interface ARWorldTrackingConfiguration { bool SupportsFrameSemantics (ARFrameSemantics frameSemantics); } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (ARConfiguration))] interface AROrientationTrackingConfiguration { @@ -1161,7 +1136,6 @@ interface AROrientationTrackingConfiguration { bool SupportsFrameSemantics (ARFrameSemantics frameSemantics); } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [Static] interface ARSCNDebugOptions { @@ -1173,7 +1147,6 @@ interface ARSCNDebugOptions { SCNDebugOptions ShowFeaturePoints { get; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [Protocol] interface ARTrackable { @@ -1182,7 +1155,6 @@ interface ARTrackable { bool IsTracked { get; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (ARConfiguration))] interface ARFaceTrackingConfiguration { @@ -1215,7 +1187,6 @@ interface ARFaceTrackingConfiguration { bool SupportsFrameSemantics (ARFrameSemantics frameSemantics); } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [StrongDictionary ("ARBlendShapeLocationKeys")] interface ARBlendShapeLocationOptions { @@ -1326,7 +1297,6 @@ interface ARBlendShapeLocationOptions { float TongueOut { get; set; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [Static] [Internal] @@ -1490,7 +1460,6 @@ interface ARBlendShapeLocationKeys { NSString TongueOutKey { get; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (ARAnchor))] [DisableDefaultCtor] @@ -1538,7 +1507,6 @@ Vector3 LookAtPoint { ARBlendShapeLocationOptions BlendShapes { get; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1572,7 +1540,6 @@ interface ARFaceGeometry : NSCopying, NSSecureCoding { IntPtr GetRawTriangleIndices (); } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (SCNGeometry))] [DisableDefaultCtor] @@ -1625,7 +1592,6 @@ interface ARImageAnchor : ARTrackable { nfloat EstimatedScaleFactor { get; } } - [iOS (11, 0)] [NoWatch, NoTV, NoMac] [BaseType (typeof (ARLightEstimate))] [DisableDefaultCtor] diff --git a/src/audiounit.cs b/src/audiounit.cs index 0ade15bc762a..9c8cb837b7f2 100644 --- a/src/audiounit.cs +++ b/src/audiounit.cs @@ -48,7 +48,7 @@ internal delegate AudioUnitStatus AURenderPullInputBlock (ref AudioUnitRenderAct uint frameCount, nint inputBusNumber, AudioBuffers inputData); delegate void AUScheduleParameterBlock (AUEventSampleTime eventSampleTime, uint rampDurationSampleFrames, ulong parameterAddress, float value); - [iOS (11, 0), Mac (10, 13), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] delegate int AUMidiOutputEventBlock (long eventSampleTime, byte cable, nint length, IntPtr midiBytes); delegate void AUImplementorValueObserver (AUParameter param, float value); @@ -79,7 +79,6 @@ internal delegate AudioUnitStatus AURenderPullInputBlock (ref AudioUnitRenderAct [MacCatalyst (13, 1)] delegate void AUMidiCIProfileChangedCallback (byte cable, byte channel, MidiCIProfile profile, bool enabled); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -122,7 +121,7 @@ interface AUAudioUnit { [NullAllowed, Export ("manufacturerName")] string ManufacturerName { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("audioUnitShortName")] string ShortName { get; } @@ -166,7 +165,6 @@ interface AUAudioUnit { // [NullAllowed, Export ("musicalContextBlock", ArgumentSemantic.Copy)] // AUHostMusicalContextBlock MusicalContextBlock { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("MIDIOutputNames", ArgumentSemantic.Copy)] string [] MidiOutputNames { get; } @@ -187,12 +185,10 @@ interface AUAudioUnit { // [Export ("hostMIDIProtocol", ArgumentSemantic.Assign)] // MIDIProtocolID HostMIDIProtocol { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("providesUserInterface")] bool ProvidesUserInterface { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("MIDIOutputEventBlock", ArgumentSemantic.Copy)] AUMidiOutputEventBlock MidiOutputEventBlock { get; set; } @@ -210,7 +206,7 @@ interface AUAudioUnit { AUParameterTree ParameterTree { get; - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] set; } @@ -265,12 +261,10 @@ AUParameterTree ParameterTree { [NullAllowed, Export ("contextName")] string ContextName { get; set; } - [iOS (10, 0), Mac (10, 12), TV (10, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Export ("supportsMPE")] bool SupportsMpe { get; } - [iOS (10, 0), Mac (10, 12), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("channelMap"), NullAllowed] NSNumber [] ChannelMap { get; set; } @@ -294,83 +288,81 @@ AUParameterTree ParameterTree { [Notification, Field ("kAudioComponentInstanceInvalidationNotification")] NSString AudioComponentInstanceInvalidationNotification { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("MIDIOutputBufferSizeHint")] nint MidiOutputBufferSizeHint { get; set; } - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [NoWatch] [NoTV] [MacCatalyst (13, 1)] [Export ("profileStateForCable:channel:")] MidiCIProfileState GetProfileState (byte cable, byte channel); - [Mac (10, 14), iOS (12, 0), NoWatch, NoTV] + [iOS (12, 0), NoWatch, NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("profileChangedBlock", ArgumentSemantic.Assign)] AUMidiCIProfileChangedCallback ProfileChangedCallback { get; set; } - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [NoWatch] [NoTV] [MacCatalyst (13, 1)] [Export ("disableProfile:cable:onChannel:error:")] bool Disable (MidiCIProfile profile, byte cable, byte channel, [NullAllowed] out NSError outError); - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [NoWatch] [NoTV] [MacCatalyst (13, 1)] [Export ("enableProfile:cable:onChannel:error:")] bool Enable (MidiCIProfile profile, byte cable, byte channel, [NullAllowed] out NSError outError); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("userPresets", ArgumentSemantic.Copy)] AUAudioUnitPreset [] UserPresets { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("saveUserPreset:error:")] bool SaveUserPreset (AUAudioUnitPreset userPreset, [NullAllowed] out NSError outError); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("deleteUserPreset:error:")] bool DeleteUserPreset (AUAudioUnitPreset userPreset, [NullAllowed] out NSError outError); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("presetStateFor:error:")] [return: NullAllowed] NSDictionary GetPresetState (AUAudioUnitPreset userPreset, [NullAllowed] out NSError outError); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("supportsUserPresets")] bool SupportsUserPresets { get; } [Introduced (PlatformName.MacCatalyst, 13, 0)] // needed since it's not in iOS - [NoWatch, NoTV, NoiOS, Mac (10, 15)] + [NoWatch, NoTV, NoiOS] [Export ("isLoadedInProcess")] bool IsLoadedInProcess { get; } } // kept separate from AUAudioUnit, quote: // These methods will fail if the audio unit is not an input/output audio unit. - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (AUAudioUnit))] interface AUAudioUnit_AUAudioInputOutputUnit { - [Mac (10, 12), NoTV, NoiOS, NoWatch] + [NoTV, NoiOS, NoWatch] [NoMacCatalyst] [Export ("deviceID")] uint GetDeviceId (); - [Mac (10, 12), NoTV, NoiOS, NoWatch] + [NoTV, NoiOS, NoWatch] [NoMacCatalyst] [Export ("setDeviceID:error:")] bool SetDeviceId (uint deviceID, out NSError outError); @@ -414,23 +406,21 @@ interface AUAudioUnit_AUAudioInputOutputUnit { void SetOutputProvider ([NullAllowed] AURenderPullInputBlock provider); // the following are properties but we cannot have properties in Categories. - [Mac (10, 13), NoWatch, NoiOS, NoTV] + [NoWatch, NoiOS, NoTV] [NoMacCatalyst] [Export ("deviceInputLatency")] double GetDeviceInputLatency (); - [Mac (10, 13), NoWatch, NoiOS, NoTV] + [NoWatch, NoiOS, NoTV] [NoMacCatalyst] [Export ("deviceOutputLatency")] double GetDeviceOutputLatency (); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("running")] bool IsRunning (); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AUAudioUnitBus { @@ -471,13 +461,11 @@ interface AUAudioUnitBus { [Export ("maximumChannelCount")] uint MaximumChannelCount { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("shouldAllocateBuffer")] bool ShouldAllocateBuffer { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -521,7 +509,6 @@ interface AUAudioUnitBusArray : INSFastEnumeration { void ReplaceBusses (AUAudioUnitBus [] busArray); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AUAudioUnitPreset : NSSecureCoding { @@ -532,7 +519,6 @@ interface AUAudioUnitPreset : NSSecureCoding { string Name { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (AUParameterNode))] interface AUParameter : NSSecureCoding { @@ -587,24 +573,19 @@ interface AUParameter : NSSecureCoding { [Export ("valueFromString:")] float GetValue (string str); - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Internal] [Export ("setValue:originator:atHostTime:eventType:")] void SetValue (float value, IntPtr originator, ulong hostTime, AUParameterAutomationEventType eventType); - [iOS (10, 0), Mac (10, 12), Watch (4, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Wrap ("SetValue (value, originator.ObserverToken, hostTime, eventType)")] void SetValue (float value, AUParameterObserverToken originator, ulong hostTime, AUParameterAutomationEventType eventType); } - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] delegate void AUParameterAutomationObserver (ulong address, float value); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AUParameterNode { @@ -655,21 +636,16 @@ interface AUParameterNode { [Export ("implementorDisplayNameWithLengthCallback", ArgumentSemantic.Copy)] AUImplementorDisplayNameWithLengthCallback ImplementorDisplayNameWithLengthCallback { get; set; } - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Internal] [Export ("tokenByAddingParameterAutomationObserver:")] IntPtr _GetToken (AUParameterAutomationObserver observer); - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Wrap ("new AUParameterObserverToken (_GetToken (observer))")] AUParameterObserverToken GetToken (AUParameterAutomationObserver observer); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (AUParameterNode))] interface AUParameterGroup : NSSecureCoding { @@ -680,7 +656,6 @@ interface AUParameterGroup : NSSecureCoding { AUParameter [] AllParameters { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (AUParameterGroup))] interface AUParameterTree : NSSecureCoding { diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index 77cf9fd813c7..162ce9f9db10 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -84,7 +84,6 @@ public enum ASCredentialServiceIdentifierType : long { [TV (16, 0)] [Watch (6, 2)] - [Mac (10, 15)] [iOS (12, 0)] [MacCatalyst (13, 1)] [Native] @@ -274,7 +273,7 @@ interface ASCredentialProviderViewController { void PrepareInterfaceForExtensionConfiguration (); } - [Watch (6, 0), TV (13, 0), Mac (10, 15)] + [Watch (6, 0), TV (13, 0)] [iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -298,7 +297,6 @@ interface ASPasswordCredential : NSCopying, NSSecureCoding, ASAuthorizationCrede [TV (16, 0)] [Watch (6, 2)] - [Mac (10, 15)] [iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -325,13 +323,13 @@ interface ASWebAuthenticationSession { [Export ("prefersEphemeralWebBrowserSession")] bool PrefersEphemeralWebBrowserSession { get; set; } - [Mac (10, 15, 4), iOS (13, 4)] + [iOS (13, 4)] [MacCatalyst (13, 1)] [Export ("canStart")] bool CanStart { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -352,7 +350,7 @@ interface ASAuthorization { IntPtr _Credential { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] enum ASAuthorizationScope { [Field ("ASAuthorizationScopeFullName")] @@ -361,7 +359,7 @@ enum ASAuthorizationScope { Email, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum ASUserDetectionStatus : long { @@ -370,7 +368,7 @@ enum ASUserDetectionStatus : long { LikelyReal, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "ASAuthorizationAppleIDCredential")] [DisableDefaultCtor] @@ -402,7 +400,7 @@ interface ASAuthorizationAppleIdCredential : ASAuthorizationCredential { ASUserDetectionStatus RealUserStatus { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum ASAuthorizationAppleIdProviderCredentialState : long { @@ -412,7 +410,7 @@ enum ASAuthorizationAppleIdProviderCredentialState : long { Transferred, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "ASAuthorizationAppleIDProvider")] interface ASAuthorizationAppleIdProvider : ASAuthorizationProvider { @@ -429,7 +427,7 @@ interface ASAuthorizationAppleIdProvider : ASAuthorizationProvider { NSString CredentialRevokedNotification { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (ASAuthorizationOpenIdRequest), Name = "ASAuthorizationAppleIDRequest")] [DisableDefaultCtor] // NSInvalidArgumentException Reason: -[ASAuthorizationAppleIDRequest init]: unrecognized selector sent to instance 0x600002ff8b40 @@ -441,7 +439,7 @@ interface ASAuthorizationAppleIdRequest { interface IASAuthorizationControllerDelegate { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Protocol][Model] @@ -465,7 +463,7 @@ interface ASAuthorizationControllerDelegate { interface IASAuthorizationControllerPresentationContextProviding { } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface ASAuthorizationControllerPresentationContextProviding { @@ -475,7 +473,7 @@ interface ASAuthorizationControllerPresentationContextProviding { UIWindow GetPresentationAnchor (ASAuthorizationController controller); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -524,12 +522,12 @@ interface ASAuthorizationController { interface IASAuthorizationCredential { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface ASAuthorizationCredential : NSCopying, NSSecureCoding { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("ASAuthorizationErrorDomain")] [Native] @@ -542,7 +540,7 @@ public enum ASAuthorizationError : long { NotInteractive = 1005, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] enum ASAuthorizationOperation { [Field ("ASAuthorizationOperationImplicit")] @@ -558,7 +556,7 @@ enum ASAuthorizationOperation { Logout, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (ASAuthorizationRequest), Name = "ASAuthorizationOpenIDRequest")] [DisableDefaultCtor] // NSInvalidArgumentException Reason: -[ASAuthorizationOpenIDRequest init]: unrecognized selector sent to instance 0x600002ff0660 @@ -579,7 +577,7 @@ interface ASAuthorizationOpenIdRequest { NSString RequestedOperation { get; set; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface ASAuthorizationPasswordProvider : ASAuthorizationProvider { @@ -588,7 +586,7 @@ interface ASAuthorizationPasswordProvider : ASAuthorizationProvider { ASAuthorizationPasswordRequest CreateRequest (); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (ASAuthorizationRequest))] // Name: NSInvalidArgumentException Reason: -[ASAuthorizationPasswordRequest init]: unrecognized selector sent to instance 0x6000005f2dc0 @@ -597,13 +595,13 @@ interface ASAuthorizationPasswordRequest { } interface IASAuthorizationProvider { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface ASAuthorizationProvider { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [Protocol] interface ASAuthorizationProviderExtensionAuthorizationRequestHandler { @@ -616,7 +614,7 @@ interface ASAuthorizationProviderExtensionAuthorizationRequestHandler { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] enum ASAuthorizationProviderAuthorizationOperation { // no value yet - but we must handle `nil` as a default value [DefaultEnumValue] @@ -635,7 +633,7 @@ enum ASAuthorizationProviderAuthorizationOperation { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [BaseType (typeof (NSObject))] interface ASAuthorizationProviderExtensionAuthorizationRequest { @@ -720,7 +718,7 @@ interface ASAuthorizationProviderExtensionAuthorizationRequest { ASAuthorizationProviderExtensionLoginManager LoginManager { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -734,7 +732,7 @@ interface ASAuthorizationRequest : NSCopying, NSSecureCoding { IntPtr _Provider { get; } } - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -761,7 +759,7 @@ interface ASAuthorizationSingleSignOnCredential : ASAuthorizationCredential { SecKey [] PrivateKeys { get; } } - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -781,7 +779,7 @@ interface ASAuthorizationSingleSignOnProvider : ASAuthorizationProvider { bool CanPerformAuthorization { get; } } - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (ASAuthorizationOpenIdRequest))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: -[ASAuthorizationSingleSignOnRequest init]: unrecognized selector sent to instance 0x60000095aa60 @@ -795,19 +793,19 @@ interface ASAuthorizationSingleSignOnRequest { bool UserInterfaceEnabled { [Bind ("isUserInterfaceEnabled")] get; set; } } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum ASAuthorizationAppleIdButtonType : long { SignIn, Continue, - [TV (13, 2), Mac (10, 15, 1), iOS (13, 2)] + [TV (13, 2), iOS (13, 2)] [MacCatalyst (13, 1)] SignUp, Default = SignIn, } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum ASAuthorizationAppleIdButtonStyle : long { @@ -816,7 +814,7 @@ enum ASAuthorizationAppleIdButtonStyle : long { Black = 2, } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIControl), Name = "ASAuthorizationAppleIDButton")] [DisableDefaultCtor] @@ -842,7 +840,7 @@ interface ASAuthorizationAppleIdButton { interface IASWebAuthenticationPresentationContextProviding { } - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface ASWebAuthenticationPresentationContextProviding { @@ -854,7 +852,6 @@ interface ASWebAuthenticationPresentationContextProviding { interface IASWebAuthenticationSessionRequestDelegate { } - [Mac (10, 15)] [Introduced (PlatformName.MacCatalyst, 13, 0)] [NoTV] [NoiOS] @@ -877,7 +874,6 @@ interface ASWebAuthenticationSessionRequestDelegate { interface IASWebAuthenticationSessionWebBrowserSessionHandling { } - [Mac (10, 15)] [NoTV] [NoiOS] [NoWatch] @@ -894,7 +890,6 @@ interface ASWebAuthenticationSessionWebBrowserSessionHandling { void CancelWebAuthenticationSessionRequest (ASWebAuthenticationSessionRequest request); } - [Mac (10, 15)] [Introduced (PlatformName.MacCatalyst, 13, 0)] [NoTV] [NoiOS] @@ -929,7 +924,6 @@ interface ASWebAuthenticationSessionRequest : NSSecureCoding, NSCopying { void Complete (NSUrl callbackUrl); } - [Mac (10, 15)] [NoTV] [NoiOS] [NoWatch] diff --git a/src/automaticassessmentconfiguration.cs b/src/automaticassessmentconfiguration.cs index 089b8c37ae16..a2568f9d9a3f 100644 --- a/src/automaticassessmentconfiguration.cs +++ b/src/automaticassessmentconfiguration.cs @@ -19,7 +19,7 @@ namespace AutomaticAssessmentConfiguration { [ErrorDomain ("AEAssessmentErrorDomain")] - [Mac (10, 15, 4), iOS (13, 4)] + [iOS (13, 4)] [MacCatalyst (14, 0)] [Native] public enum AEAssessmentErrorCode : long { @@ -36,7 +36,7 @@ enum AEAutocorrectMode : long { Punctuation = 1 << 1, } - [Mac (10, 15, 4), iOS (13, 4)] + [iOS (13, 4)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] interface AEAssessmentConfiguration : NSCopying { @@ -103,7 +103,7 @@ interface AEAssessmentConfiguration : NSCopying { void SetConfiguration (AEAssessmentParticipantConfiguration configuration, AEAssessmentApplication application); } - [Mac (10, 15, 4), iOS (13, 4)] + [iOS (13, 4)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -139,7 +139,7 @@ interface AEAssessmentSession { interface IAEAssessmentSessionDelegate { } - [Mac (10, 15, 4), iOS (13, 4)] + [iOS (13, 4)] [MacCatalyst (14, 0)] #if NET [Protocol, Model] diff --git a/src/avfoundation.cs b/src/avfoundation.cs index fdd9b6f4e9cb..c1ba52b65fcc 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -117,7 +117,6 @@ interface MTAudioProcessingTap {} delegate AVAudioBuffer AVAudioConverterInputHandler (uint inNumberOfPackets, out AVAudioConverterInputStatus outStatus); [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAsynchronousVideoCompositionRequest : NSCopying { @@ -198,7 +197,6 @@ enum AVMediaTypes { [Field ("AVMediaTypeMuxed")] Muxed = 7, - [iOS (9, 0)] [NoMac] [NoWatch] [MacCatalyst (13, 1)] @@ -208,8 +206,7 @@ enum AVMediaTypes { [Field ("AVMediaTypeMetadata")] Metadata = 9, - [iOS (11, 0), Mac (10, 13), NoWatch] - [TV (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMediaTypeDepthData")] DepthData = 10, @@ -251,7 +248,6 @@ interface AVMediaType { [Field ("AVMediaTypeMuxed")] NSString Muxed { get; } - [iOS (9, 0)] [NoMac] [Field ("AVMediaTypeMetadataObject")] NSString MetadataObject { get; } @@ -262,7 +258,6 @@ interface AVMediaType { #endif // !NET [Watch (6, 0)] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (AVMetadataGroup))] interface AVDateRangeMetadataGroup : NSCopying, NSMutableCopying { @@ -279,7 +274,7 @@ interface AVDateRangeMetadataGroup : NSCopying, NSMutableCopying { AVMetadataItem [] Items { get; [NotImplemented] set; } } - [iOS (9, 0), Mac (10, 11), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVDateRangeMetadataGroup))] interface AVMutableDateRangeMetadataGroup { @@ -297,7 +292,7 @@ interface AVMutableDateRangeMetadataGroup { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [TV (11, 0), NoWatch, iOS (11, 0), Mac (10, 13)] + [NoWatch] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVDepthData { @@ -359,7 +354,6 @@ enum AVMediaCharacteristics { [Field ("AVMediaCharacteristicFrameBased")] FrameBased = 3, - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("AVMediaCharacteristicUsesWideGamutColorSpace")] UsesWideGamutColorSpace = 4, @@ -387,22 +381,19 @@ enum AVMediaCharacteristics { [Field ("AVMediaCharacteristicEasyToRead")] EasyToRead = 11, - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMediaCharacteristicLanguageTranslation")] LanguageTranslation = 12, - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMediaCharacteristicDubbedTranslation")] DubbedTranslation = 13, - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMediaCharacteristicVoiceOverTranslation")] VoiceOverTranslation = 14, - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVMediaCharacteristicIsOriginalContent")] IsOriginalContent = 15, @@ -412,7 +403,7 @@ enum AVMediaCharacteristics { [Field ("AVMediaCharacteristicContainsHDRVideo")] ContainsHdrVideo = 16, - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVMediaCharacteristicContainsAlphaChannel")] ContainsAlphaChannel = 17, @@ -437,7 +428,6 @@ interface AVMediaCharacteristic { [Field ("AVMediaCharacteristicFrameBased")] NSString FrameBased { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [Field ("AVMediaCharacteristicUsesWideGamutColorSpace")] NSString UsesWideGamutColorSpace { get; } @@ -463,23 +453,20 @@ interface AVMediaCharacteristic { [Field ("AVMediaCharacteristicEasyToRead")] NSString EasyToRead { get; } - [iOS (9, 0), Mac (10, 11)] [Field ("AVMediaCharacteristicLanguageTranslation")] NSString LanguageTranslation { get; } - [iOS (9, 0), Mac (10, 11)] [Field ("AVMediaCharacteristicDubbedTranslation")] NSString DubbedTranslation { get; } - [iOS (9, 0), Mac (10, 11)] [Field ("AVMediaCharacteristicVoiceOverTranslation")] NSString VoiceOverTranslation { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [Field ("AVMediaCharacteristicIsOriginalContent")] NSString IsOriginalContent { get; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [Field ("AVMediaCharacteristicContainsAlphaChannel")] NSString ContainsAlphaChannel { get; } @@ -490,8 +477,6 @@ interface AVMediaCharacteristic { [Watch (6, 0)] [MacCatalyst (13, 1)] enum AVMetadataFormat { - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVMetadataFormatHLSMetadata")] FormatHlsMetadata = 0, @@ -502,7 +487,6 @@ enum AVMetadataFormat { [Field ("AVMetadataFormatID3Metadata")] FormatID3Metadata = 2, - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVMetadataFormatISOUserData")] FormatISOUserData = 3, @@ -510,7 +494,6 @@ enum AVMetadataFormat { [Field ("AVMetadataFormatQuickTimeUserData")] FormatQuickTimeUserData = 4, - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVMetadataFormatUnknown")] Unknown = 5, @@ -528,7 +511,6 @@ enum AVFileTypes { [Field ("AVFileTypeAppleM4V")] AppleM4V = 2, - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVFileType3GPP")] ThreeGpp = 3, @@ -551,63 +533,46 @@ enum AVFileTypes { [Field ("AVFileTypeAMR")] Amr = 9, - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVFileType3GPP2")] ThreeGpp2 = 10, - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVFileTypeMPEGLayer3")] MpegLayer3 = 11, - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVFileTypeSunAU")] SunAU = 12, - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVFileTypeAC3")] AC3 = 13, - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVFileTypeEnhancedAC3")] EnhancedAC3 = 14, - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVFileTypeJPEG")] Jpeg = 15, - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVFileTypeDNG")] Dng = 16, - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVFileTypeHEIC")] Heic = 17, - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVFileTypeAVCI")] Avci = 18, - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVFileTypeHEIF")] Heif = 19, - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVFileTypeTIFF")] Tiff = 20, @@ -635,7 +600,6 @@ interface AVFileType { [Field ("AVFileTypeAppleM4V")] NSString AppleM4V { get; } - [Mac (10, 11)] [Field ("AVFileType3GPP")] NSString ThreeGpp { get; } @@ -657,29 +621,24 @@ interface AVFileType { [Field ("AVFileTypeAMR")] NSString Amr { get; } - [Mac (10, 11)] [Field ("AVFileType3GPP2")] NSString ThreeGpp2 { get; } - [Mac (10, 9)] [Field ("AVFileTypeMPEGLayer3")] NSString MpegLayer3 { get; } - [Mac (10, 9)] [Field ("AVFileTypeSunAU")] NSString SunAU { get; } - [Mac (10, 9)] [Field ("AVFileTypeAC3")] NSString AC3 { get; } - [iOS (9, 0), Mac (10, 11)] [Field ("AVFileTypeEnhancedAC3")] NSString EnhancedAC3 { get; } } #endif - [iOS (9, 0), Mac (10, 11), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] interface AVStreamingKeyDelivery { @@ -719,7 +678,6 @@ interface AVVideo { [Field ("AVVideoCodecKey")] NSString CodecKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVVideoMaxKeyFrameIntervalDurationKey")] NSString MaxKeyFrameIntervalDurationKey { get; } @@ -729,37 +687,31 @@ interface AVVideo { [Field ("AVVideoAppleProRAWBitDepthKey")] NSString AppleProRawBitDepthKey { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVVideoAllowFrameReorderingKey")] NSString AllowFrameReorderingKey { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVVideoAverageNonDroppableFrameRateKey")] NSString AverageNonDroppableFrameRateKey { get; } [NoiOS, NoTV] - [Mac (10, 10), NoMacCatalyst] + [NoMacCatalyst] [Field ("AVVideoEncoderSpecificationKey")] NSString EncoderSpecificationKey { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVVideoExpectedSourceFrameRateKey")] NSString ExpectedSourceFrameRateKey { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVVideoH264EntropyModeCABAC")] NSString H264EntropyModeCABAC { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVVideoH264EntropyModeCAVLC")] NSString H264EntropyModeCAVLC { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVVideoH264EntropyModeKey")] NSString H264EntropyModeKey { get; } @@ -838,27 +790,22 @@ interface AVVideo { [Field ("AVVideoProfileLevelH264Main41")] NSString ProfileLevelH264Main41 { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVVideoProfileLevelH264High40")] NSString ProfileLevelH264High40 { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVVideoProfileLevelH264High41")] NSString ProfileLevelH264High41 { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVVideoProfileLevelH264BaselineAutoLevel")] NSString ProfileLevelH264BaselineAutoLevel { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVVideoProfileLevelH264MainAutoLevel")] NSString ProfileLevelH264MainAutoLevel { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVVideoProfileLevelH264HighAutoLevel")] NSString ProfileLevelH264HighAutoLevel { get; } @@ -906,9 +853,6 @@ interface AVVideoScalingModeKey { NSString ResizeAspectFill { get; } } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // `init` crash in tests - it may be a bug or this is an abstract class (doc not helpful) @@ -923,9 +867,6 @@ interface AVAudioBuffer : NSCopying, NSMutableCopying { IntPtr mutableAudioBufferList { get; } } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // fails (nil handle on iOS 10) @@ -954,8 +895,6 @@ interface AVAudioChannelLayout : NSSecureCoding { bool IsEqual (NSObject other); } - [Watch (3, 0)] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioBuffer))] [DisableDefaultCtor] // just like base class (AVAudioBuffer) can't, avoid crash when ToString call `description` @@ -981,19 +920,15 @@ interface AVAudioCompressedBuffer { [NullAllowed, Export ("packetDescriptions")] AudioStreamPacketDescription PacketDescriptions { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("byteCapacity")] uint ByteCapacity { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("byteLength")] uint ByteLength { get; set; } } - [Watch (3, 0)] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // fails (nil handle on iOS 10) @@ -1009,13 +944,9 @@ interface AVAudioConnectionPoint { nuint Bus { get; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] delegate AVAudioEngineManualRenderingStatus AVAudioEngineManualRenderingBlock (/* AVAudioFrameCount = uint */ uint numberOfFrames, AudioBuffers outBuffer, [NullAllowed] /* OSStatus */ ref int outError); - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAudioEngine { @@ -1028,8 +959,6 @@ interface AVAudioEngine { [Export ("outputNode")] AVAudioOutputNode OutputNode { get; } - [TV (11, 0)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [Export ("inputNode")] AVAudioInputNode InputNode { get; } @@ -1052,7 +981,6 @@ interface AVAudioEngine { [Export ("connect:to:format:")] void Connect (AVAudioNode sourceNode, AVAudioNode targetNode, [NullAllowed] AVAudioFormat format); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("connect:toConnectionPoints:fromBus:format:")] void Connect (AVAudioNode sourceNode, AVAudioConnectionPoint [] destNodes, nuint sourceBus, [NullAllowed] AVAudioFormat format); @@ -1084,13 +1012,11 @@ interface AVAudioEngine { [Export ("stop")] void Stop (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [return: NullAllowed] [Export ("inputConnectionPointForNode:inputBus:")] AVAudioConnectionPoint InputConnectionPoint (AVAudioNode node, nuint bus); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("outputConnectionPointsForNode:outputBus:")] AVAudioConnectionPoint [] OutputConnectionPoints (AVAudioNode node, nuint bus); @@ -1099,97 +1025,86 @@ interface AVAudioEngine { [Field ("AVAudioEngineConfigurationChangeNotification")] NSString ConfigurationChangeNotification { get; } - [TV (11, 0), NoWatch, Mac (10, 13), iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("autoShutdownEnabled")] bool AutoShutdownEnabled { [Bind ("isAutoShutdownEnabled")] get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("enableManualRenderingMode:format:maximumFrameCount:error:")] bool EnableManualRenderingMode (AVAudioEngineManualRenderingMode mode, AVAudioFormat pcmFormat, uint maximumFrameCount, out NSError outError); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("renderOffline:toBuffer:error:")] AVAudioEngineManualRenderingStatus RenderOffline (uint numberOfFrames, AVAudioPcmBuffer buffer, [NullAllowed] out NSError outError); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("manualRenderingBlock")] AVAudioEngineManualRenderingBlock ManualRenderingBlock { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("isInManualRenderingMode")] bool InManualRenderingMode { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("manualRenderingMode")] AVAudioEngineManualRenderingMode ManualRenderingMode { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("manualRenderingFormat")] AVAudioFormat ManualRenderingFormat { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("manualRenderingMaximumFrameCount")] uint ManualRenderingMaximumFrameCount { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("manualRenderingSampleTime")] long ManualRenderingSampleTime { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("disableManualRenderingMode")] void DisableManualRenderingMode (); #if !WATCH - [TV (12, 0), Mac (10, 14), iOS (12, 0), NoWatch] + [TV (12, 0), iOS (12, 0), NoWatch] [MacCatalyst (13, 1)] [Export ("connectMIDI:to:format:block:")] void ConnectMidi (AVAudioNode sourceNode, AVAudioNode destinationNode, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiOutputEventBlock tapHandler); - [TV (12, 0), Mac (10, 14), iOS (12, 0), NoWatch] + [TV (12, 0), iOS (12, 0), NoWatch] [MacCatalyst (13, 1)] [Export ("connectMIDI:toNodes:format:block:")] void ConnectMidi (AVAudioNode sourceNode, AVAudioNode [] destinationNodes, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiOutputEventBlock tapHandler); #endif - [TV (12, 0), Mac (10, 14), iOS (12, 0), NoWatch] + [TV (12, 0), iOS (12, 0), NoWatch] [MacCatalyst (13, 1)] [Export ("disconnectMIDI:from:")] void DisconnectMidi (AVAudioNode sourceNode, AVAudioNode destinationNode); - [TV (12, 0), Mac (10, 14), iOS (12, 0), NoWatch] + [TV (12, 0), iOS (12, 0), NoWatch] [MacCatalyst (13, 1)] [Export ("disconnectMIDI:fromNodes:")] void DisconnectMidi (AVAudioNode sourceNode, AVAudioNode [] destinationNodes); - [TV (12, 0), Mac (10, 14), iOS (12, 0), NoWatch] + [TV (12, 0), iOS (12, 0), NoWatch] [MacCatalyst (13, 1)] [Export ("disconnectMIDIInput:")] void DisconnectMidiInput (AVAudioNode node); - [TV (12, 0), Mac (10, 14), iOS (12, 0), NoWatch] + [TV (12, 0), iOS (12, 0), NoWatch] [MacCatalyst (13, 1)] [Export ("disconnectMIDIOutput:")] void DisconnectMidiOutput (AVAudioNode node); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("attachedNodes", ArgumentSemantic.Copy)] NSSet AttachedNodes { get; } } [NoWatch] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioNode))] [DisableDefaultCtor] // designated @@ -1227,15 +1142,12 @@ interface AVAudioEnvironmentNode : AVAudioMixing { [Export ("outputVolume")] float OutputVolume { get; set; } /* float, not CGFloat */ - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("outputType", ArgumentSemantic.Assign)] AVAudioEnvironmentOutputType OutputType { get; set; } } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // returns a nil handle @@ -1253,9 +1165,6 @@ interface AVAudioEnvironmentDistanceAttenuationParameters { float RolloffFactor { get; set; } /* float, not CGFloat */ } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // returns a nil handle @@ -1273,9 +1182,6 @@ interface AVAudioEnvironmentReverbParameters { void LoadFactoryReverbPreset (AVAudioUnitReverbPreset preset); } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAudioFile { @@ -1322,9 +1228,6 @@ interface AVAudioFile { bool WriteFromBuffer (AVAudioPcmBuffer buffer, out NSError outError); } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAudioFormat : NSSecureCoding { @@ -1352,8 +1255,6 @@ interface AVAudioFormat : NSSecureCoding { [Wrap ("this (settings.GetDictionary ()!)")] NativeHandle Constructor (AudioSettings settings); - [iOS (9, 0)] - [Mac (10, 11)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Export ("initWithCMAudioFormatDescription:")] @@ -1387,8 +1288,6 @@ interface AVAudioFormat : NSSecureCoding { [Wrap ("WeakSettings")] AudioSettings Settings { get; } - [iOS (9, 0)] - [Mac (10, 11)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Export ("formatDescription")] @@ -1397,7 +1296,6 @@ interface AVAudioFormat : NSSecureCoding { [Export ("isEqual:"), Internal] bool IsEqual (NSObject obj); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("magicCookie", ArgumentSemantic.Retain)] NSData MagicCookie { get; set; } @@ -1434,39 +1332,36 @@ interface AVAudio3DMixing { #if NET [Abstract] - [TV (13,0), NoWatch, Mac (10,15), iOS (13,0)] + [TV (13,0), NoWatch, iOS (13,0)] [MacCatalyst (13, 1)] [Export ("sourceMode", ArgumentSemantic.Assign)] AVAudio3DMixingSourceMode SourceMode { get; set; } [Abstract] - [TV (13,0), NoWatch, Mac (10,15), iOS (13,0)] + [TV (13,0), NoWatch, iOS (13,0)] [MacCatalyst (13, 1)] [Export ("pointSourceInHeadMode", ArgumentSemantic.Assign)] AVAudio3DMixingPointSourceInHeadMode PointSourceInHeadMode { get; set; } #else - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [Export ("sourceMode", ArgumentSemantic.Assign)] AVAudio3DMixingSourceMode GetSourceMode (); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [Export ("setSourceMode:")] void SetSourceMode (AVAudio3DMixingSourceMode sourceMode); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [Export ("pointSourceInHeadMode", ArgumentSemantic.Assign)] AVAudio3DMixingPointSourceInHeadMode GetPointSourceInHeadMode (); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [Export ("setPointSourceInHeadMode:")] void SetPointSourceInHeadMode (AVAudio3DMixingPointSourceInHeadMode pointSourceInHeadMode); #endif } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Protocol] interface AVAudioMixing : AVAudioStereoMixing @@ -1475,7 +1370,6 @@ interface AVAudioMixing : AVAudioStereoMixing #endif { - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] #if NET // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. @@ -1490,8 +1384,6 @@ interface AVAudioMixing : AVAudioStereoMixing float Volume { get; set; } /* float, not CGFloat */ } - [Watch (3, 0)] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // Default constructor not allowed : Objective-C exception thrown @@ -1501,9 +1393,6 @@ interface AVAudioMixingDestination : AVAudioMixing { AVAudioConnectionPoint ConnectionPoint { get; } } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -1515,9 +1404,6 @@ interface AVAudioStereoMixing { delegate void AVAudioNodeTapBlock (AVAudioPcmBuffer buffer, AVAudioTime when); - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // documented as an abstract class, returned Handle is nil @@ -1557,25 +1443,20 @@ interface AVAudioNode { [Export ("removeTapOnBus:")] void RemoveTapOnBus (nuint bus); - [NoWatch, TV (11, 0), Mac (10, 13), iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("AUAudioUnit")] AUAudioUnit AUAudioUnit { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("latency")] double Latency { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("outputPresentationLatency")] double OutputPresentationLatency { get; } } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioNode))] [DisableDefaultCtor] // documented as a base class - returned Handle is nil @@ -1588,20 +1469,17 @@ interface AVAudioIONode { [Export ("audioUnit"), NullAllowed] global::AudioUnit.AudioUnit AudioUnit { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("voiceProcessingEnabled")] bool VoiceProcessingEnabled { [Bind ("isVoiceProcessingEnabled")] get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setVoiceProcessingEnabled:error:")] bool SetVoiceProcessingEnabled (bool enabled, out NSError outError); } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioNode))] [DisableDefaultCtor] // designated @@ -1618,9 +1496,6 @@ interface AVAudioMixerNode : AVAudioMixing { nuint NextAvailableInputBus { get; } } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // returned Handle is nil // note: sample source (header) suggest it comes from AVAudioEngine properties @@ -1629,45 +1504,37 @@ interface AVAudioOutputNode { } - [Watch (4, 0), TV (11, 0), Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] delegate AudioBuffers AVAudioIONodeInputBlock (uint frameCount); - [Watch (4, 0)] - [iOS (8, 0)] - [Mac (10, 10)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioIONode))] [DisableDefaultCtor] // returned Handle is nil // note: sample source (header) suggest it comes from AVAudioEngine properties interface AVAudioInputNode : AVAudioMixing { - [Mac (10, 13), iOS (11, 0), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [Export ("setManualRenderingInputPCMFormat:inputBlock:")] bool SetManualRenderingInputPcmFormat (AVAudioFormat format, AVAudioIONodeInputBlock block); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("voiceProcessingBypassed")] bool VoiceProcessingBypassed { [Bind ("isVoiceProcessingBypassed")] get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("voiceProcessingAGCEnabled")] bool VoiceProcessingAgcEnabled { [Bind ("isVoiceProcessingAGCEnabled")] get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("voiceProcessingInputMuted")] bool VoiceProcessingInputMuted { [Bind ("isVoiceProcessingInputMuted")] get; set; } } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioBuffer), Name = "AVAudioPCMBuffer")] [DisableDefaultCtor] // crash in tests @@ -1701,7 +1568,6 @@ interface AVAudioPcmBuffer { IntPtr Int32ChannelData { get; } } - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1744,7 +1610,6 @@ interface AVAudioPlayer { [Export ("volume")] float Volume { get; set; } // defined as 'float' - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("setVolume:fadeDuration:")] void SetVolume (float volume, double duration); @@ -1794,26 +1659,23 @@ interface AVAudioPlayer { [Export ("channelAssignments", ArgumentSemantic.Copy), NullAllowed] AVAudioSessionChannelDescription [] ChannelAssignments { get; set; } - [Mac (10, 9), Export ("initWithData:fileTypeHint:error:")] + [Export ("initWithData:fileTypeHint:error:")] [MacCatalyst (13, 1)] NativeHandle Constructor (NSData data, [NullAllowed] string fileTypeHint, out NSError outError); - [Mac (10, 9), Export ("initWithContentsOfURL:fileTypeHint:error:")] + [Export ("initWithContentsOfURL:fileTypeHint:error:")] [MacCatalyst (13, 1)] NativeHandle Constructor (NSUrl url, [NullAllowed] string fileTypeHint, out NSError outError); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [Export ("format")] AVAudioFormat Format { get; } - [NoiOS, Mac (10, 13), NoTV, NoWatch, MacCatalyst (15, 0)] + [NoiOS, NoTV, NoWatch, MacCatalyst (15, 0)] [NullAllowed, Export ("currentDevice")] string CurrentDevice { get; set; } } - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -1854,9 +1716,6 @@ interface AVAudioPlayerDelegate { #endif } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioNode))] [DisableDefaultCtor] // designated @@ -1878,13 +1737,11 @@ interface AVAudioPlayerNode : AVAudioMixing { void ScheduleBuffer (AVAudioPcmBuffer buffer, [NullAllowed] AVAudioTime when, AVAudioPlayerNodeBufferOptions options, [NullAllowed] Action completionHandler); [Async] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("scheduleBuffer:completionCallbackType:completionHandler:")] void ScheduleBuffer (AVAudioPcmBuffer buffer, AVAudioPlayerNodeCompletionCallbackType callbackType, [NullAllowed] Action completionHandler); [Async] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("scheduleBuffer:atTime:options:completionCallbackType:completionHandler:")] void ScheduleBuffer (AVAudioPcmBuffer buffer, [NullAllowed] AVAudioTime when, AVAudioPlayerNodeBufferOptions options, AVAudioPlayerNodeCompletionCallbackType callbackType, [NullAllowed] Action completionHandler); @@ -1894,7 +1751,6 @@ interface AVAudioPlayerNode : AVAudioMixing { void ScheduleFile (AVAudioFile file, [NullAllowed] AVAudioTime when, [NullAllowed] Action completionHandler); [Async] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("scheduleFile:atTime:completionCallbackType:completionHandler:")] void ScheduleFile (AVAudioFile file, [NullAllowed] AVAudioTime when, AVAudioPlayerNodeCompletionCallbackType callbackType, [NullAllowed] Action completionHandler); @@ -1904,7 +1760,6 @@ interface AVAudioPlayerNode : AVAudioMixing { void ScheduleSegment (AVAudioFile file, long startFrame, uint /* AVAudioFrameCount = uint32_t */ numberFrames, [NullAllowed] AVAudioTime when, [NullAllowed] Action completionHandler); [Async] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("scheduleSegment:startingFrame:frameCount:atTime:completionCallbackType:completionHandler:")] void ScheduleSegment (AVAudioFile file, long startFrame, uint numberFrames, [NullAllowed] AVAudioTime when, AVAudioPlayerNodeCompletionCallbackType callbackType, [NullAllowed] Action completionHandler); @@ -1935,7 +1790,6 @@ interface AVAudioPlayerNode : AVAudioMixing { [BaseType (typeof (NSObject))] [NoTV] - [Watch (4, 0)] [MacCatalyst (13, 1)] interface AVAudioRecorder { [Export ("initWithURL:settings:error:")] @@ -1943,7 +1797,6 @@ interface AVAudioRecorder { IntPtr InitWithUrl (NSUrl url, NSDictionary settings, out NSError error); [Internal] - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("initWithURL:format:error:")] IntPtr InitWithUrl (NSUrl url, AVAudioFormat format, out NSError outError); @@ -2011,22 +1864,18 @@ interface AVAudioRecorder { [Export ("channelAssignments", ArgumentSemantic.Copy), NullAllowed] AVAudioSessionChannelDescription [] ChannelAssignments { get; set; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("recordAtTime:")] bool RecordAt (double time); - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("recordAtTime:forDuration:")] bool RecordAt (double time, double duration); - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("deviceCurrentTime")] double DeviceCurrentTime { get; } - [iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("format")] AVAudioFormat Format { get; } @@ -2036,7 +1885,6 @@ interface AVAudioRecorder { [Model] [Protocol] [NoTV] - [Watch (4, 0)] [MacCatalyst (13, 1)] interface AVAudioRecorderDelegate { [Export ("audioRecorderDidFinishRecording:successfully:"), CheckDisposed] @@ -2101,7 +1949,6 @@ interface SpatialPlaybackCapabilitiesChangedEventArgs { } [Mac (11, 0)] - [Watch (3, 0)] [MacCatalyst (13, 1)] #if MONOMAC [Static] @@ -2288,7 +2135,6 @@ interface AVAudioSession { bool SetActive (bool active, AVAudioSessionSetActiveOptions options, out NSError outError); [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("availableCategories")] string [] AvailableCategories { get; } @@ -2299,7 +2145,6 @@ interface AVAudioSession { bool SetCategory (string category, AVAudioSessionCategoryOptions options, out NSError outError); [NoMac] - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("setCategory:mode:options:error:")] bool SetCategory (string category, string mode, AVAudioSessionCategoryOptions options, out NSError outError); @@ -2310,7 +2155,6 @@ interface AVAudioSession { AVAudioSessionCategoryOptions CategoryOptions { get; } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("availableModes")] string [] AvailableModes { get; } @@ -2428,7 +2272,6 @@ interface AVAudioSession { NSString ModeVideoChat { get; } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("AVAudioSessionModeSpokenAudio")] NSString ModeSpokenAudio { get; } @@ -2499,7 +2342,6 @@ interface AVAudioSession { NSString PortBluetoothLE { get; } [NoMac] - [iOS (7, 1)] [MacCatalyst (13, 1)] [Field ("AVAudioSessionPortCarAudio")] NSString PortCarAudio { get; } @@ -2573,7 +2415,6 @@ interface AVAudioSession { bool SetOutputDataSource ([NullAllowed] AVAudioSessionDataSourceDescription dataSource, out NSError outError); [NoTV, NoMac] - [Watch (4, 0)] [MacCatalyst (13, 1)] [Export ("requestRecordPermission:")] void RequestRecordPermission (AVPermissionGranted responseCallback); @@ -2635,12 +2476,10 @@ interface AVAudioSession { [UnifiedInternal, Field ("AVAudioSessionOrientationBack")] NSString OrientationBack { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("AVAudioSessionOrientationLeft")] NSString OrientationLeft { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("AVAudioSessionOrientationRight")] NSString OrientationRight { get; } @@ -2661,33 +2500,33 @@ interface AVAudioSession { // 8.0 [NoTV, NoMac] - [iOS (8, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [Export ("recordPermission")] AVAudioSessionRecordPermission RecordPermission { get; } - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [Export ("secondaryAudioShouldBeSilencedHint")] bool SecondaryAudioShouldBeSilencedHint { get; } - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [Field ("AVAudioSessionSilenceSecondaryAudioHintNotification")] [Notification (typeof (AVAudioSessionSecondaryAudioHintEventArgs))] NSString SilenceSecondaryAudioHintNotification { get; } - [NoWatch, NoTV, iOS (10, 0), NoMac] + [NoWatch, NoTV, NoMac] [MacCatalyst (13, 1)] [Export ("setAggregatedIOPreference:error:")] bool SetAggregatedIOPreference (AVAudioSessionIOType ioType, out NSError error); - [TV (11, 0), Watch (5, 0), iOS (11, 0), NoMac] + [Watch (5, 0), NoMac] [MacCatalyst (13, 1)] [Export ("setCategory:mode:routeSharingPolicy:options:error:")] bool SetCategory (string category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, [NullAllowed] out NSError outError); - [TV (11, 0), Watch (5, 0), iOS (11, 0), NoMac] + [Watch (5, 0), NoMac] [MacCatalyst (13, 1)] [Export ("routeSharingPolicy")] AVAudioSessionRouteSharingPolicy RouteSharingPolicy { get; } @@ -2805,7 +2644,6 @@ interface AVAudioSessionInterruptionEventArgs { [Export ("AVAudioSessionInterruptionReasonKey")] AVAudioSessionInterruptionReason Reason { get; } - [iOS (10, 3), TV (10, 2), Watch (3, 2)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("AVAudioSessionInterruptionWasSuspendedKey")] @@ -2850,7 +2688,6 @@ interface AVAudioSessionDelegate { } [NoMac] - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAudioSessionChannelDescription { @@ -2868,7 +2705,6 @@ interface AVAudioSessionChannelDescription { } [NoMac] - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAudioSessionPortDescription { @@ -2881,7 +2717,6 @@ interface AVAudioSessionPortDescription { [Export ("UID")] string UID { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("hasHardwareVoiceCallProcessing")] bool HasHardwareVoiceCallProcessing { get; } @@ -2917,7 +2752,6 @@ interface AVAudioSessionPortDescription { } [NoMac] - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAudioSessionRouteDescription { @@ -2929,7 +2763,7 @@ interface AVAudioSessionRouteDescription { } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioNode))] [DisableDefaultCtor] // returns a nil handle @@ -2952,20 +2786,19 @@ interface AVAudioUnit { [Export ("loadAudioUnitPresetAtURL:error:")] bool LoadAudioUnitPreset (NSUrl url, out NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("instantiateWithComponentDescription:options:completionHandler:")] [Async] void FromComponentDescription (AudioComponentDescription audioComponentDescription, AudioComponentInstantiationOptions options, Action completionHandler); - [NoWatch, iOS (9, 0), Mac (10, 11)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("AUAudioUnit")] AUAudioUnit AUAudioUnit { get; } } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnitEffect))] interface AVAudioUnitDelay { @@ -2983,7 +2816,6 @@ interface AVAudioUnitDelay { } [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnitEffect))] interface AVAudioUnitDistortion { @@ -2997,7 +2829,7 @@ interface AVAudioUnitDistortion { void LoadFactoryPreset (AVAudioUnitDistortionPreset preset); } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnit))] [DisableDefaultCtor] // returns a nil handle @@ -3010,8 +2842,6 @@ interface AVAudioUnitEffect { } [NoWatch] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnitEffect))] interface AVAudioUnitEQ { @@ -3025,9 +2855,6 @@ interface AVAudioUnitEQ { float GlobalGain { get; set; } /* float, not CGFloat */ } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // returns a nil handle @@ -3048,7 +2875,7 @@ interface AVAudioUnitEQFilterParameters { bool Bypass { get; set; } } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnit))] [DisableDefaultCtor] // returns a nil handle @@ -3060,7 +2887,7 @@ interface AVAudioUnitGenerator : AVAudioMixing { bool Bypass { get; set; } } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnit), Name = "AVAudioUnitMIDIInstrument")] [DisableDefaultCtor] // returns a nil handle @@ -3102,7 +2929,7 @@ interface AVAudioUnitMidiInstrument : AVAudioMixing { void SendMidiSysExEvent (NSData midiData); } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnitMidiInstrument))] interface AVAudioUnitSampler { @@ -3134,7 +2961,7 @@ interface AVAudioUnitSampler { float OverallGain { get; set; } } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnitEffect))] interface AVAudioUnitReverb { @@ -3147,7 +2974,7 @@ interface AVAudioUnitReverb { } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnit))] [DisableDefaultCtor] // returns a nil handle @@ -3159,7 +2986,7 @@ interface AVAudioUnitTimeEffect { bool Bypass { get; set; } } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnitTimeEffect))] interface AVAudioUnitTimePitch { @@ -3177,7 +3004,7 @@ interface AVAudioUnitTimePitch { float Overlap { get; set; } /* float, not CGFloat */ } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioUnitTimeEffect))] interface AVAudioUnitVarispeed { @@ -3188,9 +3015,6 @@ interface AVAudioUnitVarispeed { float Rate { get; set; } /* float, not CGFloat */ } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAudioTime { @@ -3247,8 +3071,6 @@ interface AVAudioTime { AVAudioTime ExtrapolateTimeFromAnchor (AVAudioTime anchorTime); } - [Watch (3, 0)] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // Docs/headers do not state that init is disallowed but if @@ -3463,12 +3285,10 @@ interface AVAsset : NSCopying { [Export ("chapterMetadataGroupsBestMatchingPreferredLanguages:")] AVTimedMetadataGroup [] GetChapterMetadataGroupsBestMatchingPreferredLanguages (string [] languages); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("trackGroups", ArgumentSemantic.Copy)] AVAssetTrackGroup [] TrackGroups { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("metadata")] AVMetadataItem [] Metadata { get; } @@ -3476,7 +3296,6 @@ interface AVAsset : NSCopying { [Export ("unusedTrackID")] int /* CMPersistentTrackID -> int32_t */ UnusedTrackId { get; } // TODO: wrong name, should have benn UnusedTrackID - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("preferredMediaSelection")] AVMediaSelection PreferredMediaSelection { get; } @@ -3484,63 +3303,53 @@ interface AVAsset : NSCopying { // AVAsset (AVAssetFragments) Category // This is being inlined because there are no property extensions - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("canContainFragments")] bool CanContainFragments { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("containsFragments")] bool ContainsFragments { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("compatibleWithAirPlayVideo")] bool CompatibleWithAirPlayVideo { [Bind ("isCompatibleWithAirPlayVideo")] get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetDurationDidChangeNotification")] [Notification] NSString DurationDidChangeNotification { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetChapterMetadataGroupsDidChangeNotification")] [Notification] NSString ChapterMetadataGroupsDidChangeNotification { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Notification, Field ("AVAssetMediaSelectionGroupsDidChangeNotification")] NSString MediaSelectionGroupsDidChangeNotification { get; } - [Mac (10, 11)] [TV (12, 0), NoWatch, iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetContainsFragmentsDidChangeNotification")] [Notification] NSString ContainsFragmentsDidChangeNotification { get; } - [Mac (10, 11)] [TV (12, 0), NoWatch, iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetWasDefragmentedNotification")] [Notification] NSString WasDefragmentedNotification { get; } - [iOS (10, 2), Mac (10, 12, 2), TV (10, 2)] [MacCatalyst (13, 1)] [Export ("overallDurationHint")] CMTime OverallDurationHint { get; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("allMediaSelections")] AVMediaSelection [] AllMediaSelections { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("minimumTimeOffsetFromLive")] CMTime MinimumTimeOffsetFromLive { get; } @@ -3589,7 +3398,6 @@ interface AVAsset : NSCopying { interface IAVFragmentMinding { } [Protocol] - [Mac (10, 11)] [iOS (12, 0), TV (12, 0), Watch (6, 0)] [MacCatalyst (13, 1)] interface AVFragmentMinding { @@ -3601,7 +3409,6 @@ interface AVFragmentMinding { bool IsAssociatedWithFragmentMinder (); } - [Mac (10, 11)] [iOS (12, 0), TV (12, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] @@ -3619,7 +3426,6 @@ interface AVFragmentedAsset : AVFragmentMinding { AVFragmentedAssetTrack [] Tracks { get; } } - [Mac (10, 11)] [iOS (12, 0), TV (12, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Category] @@ -3659,7 +3465,6 @@ interface AVFragmentedAsset_AVFragmentedAssetTrackInspection { } - [Mac (10, 11)] [iOS (12, 0), TV (12, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3669,7 +3474,6 @@ interface AVFragmentedAssetMinder { [Export ("fragmentedAssetMinderWithAsset:mindingInterval:")] AVFragmentedAssetMinder FromAsset (AVAsset asset, double mindingInterval); - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("initWithAsset:mindingInterval:")] NativeHandle Constructor (IAVFragmentMinding asset, double mindingInterval); @@ -3687,7 +3491,6 @@ interface AVFragmentedAssetMinder { void RemoveFragmentedAsset (AVAsset asset); } - [Mac (10, 11)] [iOS (12, 0), TV (12, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] @@ -3717,7 +3520,7 @@ interface AVCaptureFileOutputDelegate { // [Abstract] // Abstract superclass. #endif [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVCaptureSynchronizedData { @@ -3726,7 +3529,7 @@ interface AVCaptureSynchronizedData { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVCaptureSynchronizedDataCollection : INSFastEnumeration { @@ -3756,7 +3559,7 @@ interface AVCaptureSynchronizedDataCollection : INSFastEnumeration { interface IAVCaptureDataOutputSynchronizerDelegate { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [NoMac] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -3766,7 +3569,7 @@ interface AVCaptureDataOutputSynchronizerDelegate { void DidOutputSynchronizedDataCollection (AVCaptureDataOutputSynchronizer synchronizer, AVCaptureSynchronizedDataCollection synchronizedDataCollection); } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3793,7 +3596,7 @@ interface AVCaptureDataOutputSynchronizer { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoMac, NoWatch, NoTV, iOS (11, 0)] + [NoMac, NoWatch, NoTV] [BaseType (typeof (AVCaptureSynchronizedData))] interface AVCaptureSynchronizedSampleBufferData { [Export ("sampleBuffer")] @@ -3807,7 +3610,7 @@ interface AVCaptureSynchronizedSampleBufferData { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoMac, NoWatch, NoTV, iOS (11, 0)] + [NoMac, NoWatch, NoTV] [BaseType (typeof (AVCaptureSynchronizedData))] interface AVCaptureSynchronizedMetadataObjectData { [Export ("metadataObjects")] @@ -3815,7 +3618,7 @@ interface AVCaptureSynchronizedMetadataObjectData { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoMac, NoWatch, NoTV, iOS (11, 0)] + [NoMac, NoWatch, NoTV] [BaseType (typeof (AVCaptureSynchronizedData))] [DisableDefaultCtor] interface AVCaptureSynchronizedDepthData { @@ -3829,7 +3632,7 @@ interface AVCaptureSynchronizedDepthData { AVCaptureOutputDataDroppedReason DroppedReason { get; } } - [TV (11, 0), Watch (6, 0), Mac (10, 13), iOS (11, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [Protocol] interface AVQueuedSampleBufferRendering { @@ -3866,7 +3669,7 @@ interface AVQueuedSampleBufferRendering { bool HasSufficientMediaDataForReliablePlaybackStart { get; } } - [TV (11, 0), Watch (6, 0), Mac (10, 13), iOS (11, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVSampleBufferAudioRenderer : AVQueuedSampleBufferRendering { @@ -3910,7 +3713,7 @@ interface AVSampleBufferAudioRenderer : AVQueuedSampleBufferRendering { } - [TV (11, 0), Watch (6, 0), Mac (10, 13), iOS (11, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] interface AudioRendererWasFlushedAutomaticallyEventArgs { [Internal] @@ -3920,17 +3723,17 @@ interface AudioRendererWasFlushedAutomaticallyEventArgs { interface IAVQueuedSampleBufferRendering { } - [TV (11, 0), Watch (6, 0), Mac (10, 13), iOS (11, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVSampleBufferRenderSynchronizer { - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("AVSampleBufferRenderSynchronizerRateDidChangeNotification")] [Notification] NSString RateDidChangeNotification { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("currentTime")] CMTime CurrentTime { get; } @@ -3987,7 +3790,7 @@ interface AVSampleBufferRenderSynchronizer { void RemoveTimeObserver (NSObject observer); } - [Mac (10, 10), NoTV, NoiOS, NoWatch, NoMacCatalyst] + [NoTV, NoiOS, NoWatch, NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVSampleBufferGenerator { @@ -4007,7 +3810,7 @@ interface AVSampleBufferGenerator { void NotifyOfDataReady (CMSampleBuffer sbuf, Action completionHandler); } - [Mac (10, 10), NoTV, NoiOS, NoWatch, NoMacCatalyst] + [NoTV, NoiOS, NoWatch, NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVSampleBufferRequest { @@ -4098,13 +3901,11 @@ interface AVAssetImageGenerator { [Export ("requestedTimeToleranceAfter", ArgumentSemantic.Assign)] CMTime RequestedTimeToleranceAfter { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("asset")] AVAsset Asset { get; } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("customVideoCompositor", ArgumentSemantic.Copy), NullAllowed] [Protocolize] @@ -4169,24 +3970,20 @@ interface AVAssetReaderOutput { [Export ("alwaysCopiesSampleData")] bool AlwaysCopiesSampleData { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("supportsRandomAccess")] bool SupportsRandomAccess { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("resetForReadingTimeRanges:")] void ResetForReadingTimeRanges (NSValue [] timeRanges); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("markConfigurationAsFinal")] void MarkConfigurationAsFinal (); } [NoWatch] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: *** -[AVAssetReaderOutputMetadataAdaptor initWithAssetReaderTrackOutput:] invalid parameter not satisfying: trackOutput != ((void*)0) @@ -4208,7 +4005,6 @@ interface AVAssetReaderOutputMetadataAdaptor { } [NoWatch] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAssetReaderOutput))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: *** -[AVAssetReaderSampleReferenceOutput initWithTrack:] invalid parameter not satisfying: track != ((void*)0) @@ -4258,7 +4054,6 @@ interface AVAssetReaderTrackOutput { [Export ("outputSettings"), NullAllowed] NSDictionary OutputSettings { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("audioTimePitchAlgorithm", ArgumentSemantic.Copy)] // DOC: this is a AVAudioTimePitch value @@ -4300,7 +4095,6 @@ interface AVAssetReaderAudioMixOutput { [Wrap ("AudioSettings"), NullAllowed] AudioSettings Settings { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("audioTimePitchAlgorithm", ArgumentSemantic.Copy)] // This is an AVAudioTimePitch constant @@ -4343,14 +4137,13 @@ interface AVAssetReaderVideoCompositionOutput { CVPixelBufferAttributes UncompressedVideoSettings { get; } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("customVideoCompositor", ArgumentSemantic.Copy), NullAllowed] [Protocolize] AVVideoCompositing CustomVideoCompositor { get; } } - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // no valid handle, docs now says "You do not create resource loader objects yourself." @@ -4366,13 +4159,12 @@ interface AVAssetResourceLoader { void SetDelegate ([Protocolize][NullAllowed] AVAssetResourceLoaderDelegate resourceLoaderDelegate, [NullAllowed] DispatchQueue delegateQueue); // AVAssetResourceLoader (AVAssetResourceLoaderContentKeySupport) Category - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("preloadsEligibleContentKeys")] bool PreloadsEligibleContentKeys { get; set; } } - [Mac (10, 9), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -4387,31 +4179,27 @@ interface AVAssetResourceLoaderDelegate { bool ShouldWaitForLoadingOfRequestedResource (AVAssetResourceLoader resourceLoader, AVAssetResourceLoadingRequest loadingRequest); [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("resourceLoader:didCancelLoadingRequest:")] void DidCancelLoadingRequest (AVAssetResourceLoader resourceLoader, AVAssetResourceLoadingRequest loadingRequest); [NoWatch] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("resourceLoader:shouldWaitForResponseToAuthenticationChallenge:")] bool ShouldWaitForResponseToAuthenticationChallenge (AVAssetResourceLoader resourceLoader, NSUrlAuthenticationChallenge authenticationChallenge); [NoWatch] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("resourceLoader:didCancelAuthenticationChallenge:")] void DidCancelAuthenticationChallenge (AVAssetResourceLoader resourceLoader, NSUrlAuthenticationChallenge authenticationChallenge); [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("resourceLoader:shouldWaitForRenewalOfRequestedResource:")] bool ShouldWaitForRenewalOfRequestedResource (AVAssetResourceLoader resourceLoader, AVAssetResourceRenewalRequest renewalRequest); } - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // crash at 'description' - not meant to be used callable (it's used from a property getter) @@ -4428,13 +4216,12 @@ interface AVAssetResourceLoadingDataRequest { [Export ("respondWithData:")] void Respond (NSData responseData); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("requestsAllDataToEndOfResource")] bool RequestsAllDataToEndOfResource { get; } } - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // not meant be be user created (resource loader job, see documentation) @@ -4469,13 +4256,12 @@ interface AVAssetResourceLoadingRequest { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.TvOS, 15, 0)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] - [iOS (9, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("persistentContentKeyFromKeyVendorResponse:options:error:")] [return: NullAllowed] NSData GetPersistentContentKey (NSData keyVendorResponse, [NullAllowed] NSDictionary options, out NSError error); - [iOS (9, 0), Mac (10, 14), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Field ("AVAssetResourceLoadingRequestStreamingContentKeyRequestRequiresPersistentKey")] NSString StreamingContentKeyRequestRequiresPersistentKey { get; } @@ -4498,13 +4284,13 @@ interface AVAssetResourceLoadingRequest { [Export ("finishLoading")] void FinishLoading (); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("requestor")] AVAssetResourceLoadingRequestor Requestor { get; } } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [DisableDefaultCtor] // not meant be be user created (resource loader job, see documentation) fix crash [BaseType (typeof (AVAssetResourceLoadingRequest))] @@ -4512,7 +4298,7 @@ interface AVAssetResourceRenewalRequest { } - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // no valid handle, the instance is received (not created) -> see doc @@ -4526,12 +4312,11 @@ interface AVAssetResourceLoadingContentInformationRequest { [Export ("byteRangeAccessSupported")] bool ByteRangeAccessSupported { [Bind ("isByteRangeAccessSupported")] get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("renewalDate", ArgumentSemantic.Copy), NullAllowed] NSDate RenewalDate { get; set; } - [Watch (4, 2), TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [Watch (4, 2), TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("allowedContentTypes")] string [] AllowedContentTypes { get; } @@ -4577,7 +4362,6 @@ interface AVAssetWriter { [Export ("movieFragmentInterval", ArgumentSemantic.Assign)] CMTime MovieFragmentInterval { get; set; } - [iOS (9, 0), Mac (10, 11)] // There is no availability attribute on headers but was introduced on iOS9 and Mac 10.11 [MacCatalyst (13, 1)] [Export ("overallDurationHint", ArgumentSemantic.Assign)] CMTime OverallDurationHint { get; set; } @@ -4655,7 +4439,6 @@ interface AVAssetWriter { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use the asynchronous 'FinishWriting (NSAction completionHandler)' instead.")] bool FinishWriting (); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("finishWritingWithCompletionHandler:")] [Async] @@ -4664,22 +4447,18 @@ interface AVAssetWriter { [Export ("movieTimeScale")] int /* CMTimeScale = int32_t */ MovieTimeScale { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("canAddInputGroup:")] bool CanAddInputGroup (AVAssetWriterInputGroup inputGroup); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("addInputGroup:")] void AddInputGroup (AVAssetWriterInputGroup inputGroup); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("inputGroups")] AVAssetWriterInputGroup [] InputGroups { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("directoryForTemporaryFiles", ArgumentSemantic.Copy), NullAllowed] NSUrl DirectoryForTemporaryFiles { get; set; } @@ -4809,37 +4588,30 @@ interface AVAssetWriterInput { [Export ("mediaTimeScale")] int /* CMTimeScale = int32_t */ MediaTimeScale { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("languageCode", ArgumentSemantic.Copy), NullAllowed] string LanguageCode { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("extendedLanguageTag", ArgumentSemantic.Copy), NullAllowed] string ExtendedLanguageTag { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("naturalSize")] CGSize NaturalSize { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("preferredVolume")] float PreferredVolume { get; set; } // defined as 'float' - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("marksOutputTrackAsEnabled")] bool MarksOutputTrackAsEnabled { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("canAddTrackAssociationWithTrackOfInput:type:")] bool CanAddTrackAssociationWithTrackOfInput (AVAssetWriterInput input, NSString trackAssociationType); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("addTrackAssociationWithTrackOfInput:type:")] void AddTrackAssociationWithTrackOfInput (AVAssetWriterInput input, NSString trackAssociationType); @@ -4850,49 +4622,41 @@ interface AVAssetWriterInput { // // AVAssetWriterInputMultiPass Category // - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("performsMultiPassEncodingIfSupported")] bool PerformsMultiPassEncodingIfSupported { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("canPerformMultiplePasses")] bool CanPerformMultiplePasses { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("currentPassDescription"), NullAllowed] AVAssetWriterInputPassDescription CurrentPassDescription { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("respondToEachPassDescriptionOnQueue:usingBlock:")] void SetPassHandler (DispatchQueue queue, Action passHandler); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("markCurrentPassAsFinished")] void MarkCurrentPassAsFinished (); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("preferredMediaChunkAlignment")] nint PreferredMediaChunkAlignment { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("preferredMediaChunkDuration")] CMTime PreferredMediaChunkDuration { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("sampleReferenceBaseURL", ArgumentSemantic.Copy), NullAllowed] NSUrl SampleReferenceBaseUrl { get; set; } // AVAssetWriterInput_AVAssetWriterInputFileTypeSpecificProperties - [iOS (11, 0), Mac (10, 13), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("mediaDataLocation")] string MediaDataLocation { get; set; } @@ -4900,8 +4664,6 @@ interface AVAssetWriterInput { } [NoWatch] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAssetWriterInputPassDescription { @@ -4911,7 +4673,6 @@ interface AVAssetWriterInputPassDescription { } [NoWatch] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: *** -[AVAssetWriterInputMetadataAdaptor initWithAssetWriterInput:] invalid parameter not satisfying: input != ((void*)0) @@ -4933,7 +4694,7 @@ interface AVAssetWriterInputMetadataAdaptor { [NoWatch] [DisableDefaultCtor] // Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -[AVAssetWriterInputGroup initWithInputs:defaultInput:] invalid parameter not satisfying: inputs != ((void*)0) - [Mac (10, 9), BaseType (typeof (AVMediaSelectionGroup))] + [BaseType (typeof (AVMediaSelectionGroup))] [MacCatalyst (13, 1)] interface AVAssetWriterInputGroup { @@ -4987,7 +4748,7 @@ interface AVAssetWriterInputPixelBufferAdaptor { bool AppendPixelBufferWithPresentationTime (CVPixelBuffer pixelBuffer, CMTime presentationTime); } - [NoWatch, iOS (10, 0), TV (10, 0), Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -5057,32 +4818,30 @@ interface AVUrlAsset [Static, Export ("isPlayableExtendedMIMEType:")] bool IsPlayable (string extendedMimeType); - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("resourceLoader")] AVAssetResourceLoader ResourceLoader { get; } - [iOS (8, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("AVURLAssetHTTPCookiesKey")] NSString HttpCookiesKey { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("assetCache")] AVAssetCache Cache { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("AVURLAssetAllowsCellularAccessKey")] NSString AllowsCellularAccessKey { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVURLAssetAllowsExpensiveNetworkAccessKey")] NSString AllowsExpensiveNetworkAccessKey { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVURLAssetAllowsConstrainedNetworkAccessKey")] NSString AllowsConstrainedNetworkAccessKey { get; } @@ -5120,7 +4879,6 @@ interface AVAssetTrack : NSCopying { [Export ("mediaType")] string MediaType { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("decodable")] bool Decodable { [Bind ("isDecodable")] get; } @@ -5193,69 +4951,61 @@ interface AVAssetTrack : NSCopying { [Export ("isPlayable")] bool Playable { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("availableTrackAssociationTypes")] NSString [] AvailableTrackAssociationTypes { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("minFrameDuration")] CMTime MinFrameDuration { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("associatedTracksOfType:")] AVAssetTrack [] GetAssociatedTracks (NSString avAssetTrackTrackAssociationType); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("metadata")] AVMetadataItem [] Metadata { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("requiresFrameReordering")] bool RequiresFrameReordering { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetTrackTimeRangeDidChangeNotification")] [Notification] NSString TimeRangeDidChangeNotification { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetTrackSegmentsDidChangeNotification")] [Notification] NSString SegmentsDidChangeNotification { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetTrackTrackAssociationsDidChangeNotification")] [Notification] NSString TrackAssociationsDidChangeNotification { get; } - [Mac (10, 10), NoiOS, NoTV, NoWatch, MacCatalyst (15, 0)] + [NoiOS, NoTV, NoWatch, MacCatalyst (15, 0)] [Export ("canProvideSampleCursors")] bool CanProvideSampleCursors { get; } - [Mac (10, 10), NoiOS, NoTV, NoWatch, NoMacCatalyst] + [NoiOS, NoTV, NoWatch, NoMacCatalyst] [return: NullAllowed] [Export ("makeSampleCursorWithPresentationTimeStamp:")] AVSampleCursor MakeSampleCursor (CMTime presentationTimeStamp); - [Mac (10, 10), NoiOS, NoTV, NoWatch, NoMacCatalyst] + [NoiOS, NoTV, NoWatch, NoMacCatalyst] [return: NullAllowed] [Export ("makeSampleCursorAtFirstSampleInDecodeOrder")] AVSampleCursor MakeSampleCursorAtFirstSampleInDecodeOrder (); - [Mac (10, 10), NoiOS, NoTV, NoWatch, NoMacCatalyst] + [NoiOS, NoTV, NoWatch, NoMacCatalyst] [return: NullAllowed] [Export ("makeSampleCursorAtLastSampleInDecodeOrder")] AVSampleCursor MakeSampleCursorAtLastSampleInDecodeOrder (); - [iOS (13, 0), TV (13, 0), Mac (10, 15)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("hasAudioSampleDependencies")] bool HasAudioSampleDependencies { get; } @@ -5281,7 +5031,7 @@ interface AVAssetTrack : NSCopying { void LoadSegment (CMTime trackTime, Action completionHandler); } - [Mac (10, 10), NoiOS, NoTV, NoWatch] + [NoiOS, NoTV, NoWatch] [NoMacCatalyst] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -5331,7 +5081,6 @@ interface AVSampleCursor : NSCopying { AVSampleCursorSyncInfo CurrentSampleDependencyInfo { get; } #pragma warning restore - [Mac (10, 11)] [Export ("samplesRequiredForDecoderRefresh")] nint SamplesRequiredForDecoderRefresh { get; } @@ -5359,7 +5108,6 @@ interface AVSampleCursor : NSCopying { #if MONOMAC [NoiOS][NoWatch][NoTV] - [Mac (10,15)] [Export ("currentSampleAudioDependencyInfo")] AVSampleCursorAudioDependencyInfo CurrentSampleAudioDependencyInfo { get; } #endif @@ -5373,7 +5121,7 @@ interface AVSampleCursor : NSCopying { NSDictionary CurrentSampleDependencyAttachments { get; } } - [Mac (10, 9), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [Category, BaseType (typeof (AVAssetTrack))] interface AVAssetTrackTrackAssociation { @@ -5392,14 +5140,12 @@ interface AVAssetTrackTrackAssociation { [Field ("AVTrackAssociationTypeTimecode")] NSString Timecode { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVTrackAssociationTypeMetadataReferent")] NSString MetadataReferent { get; } } - [Mac (10, 9), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAssetTrackGroup : NSCopying { @@ -5441,8 +5187,6 @@ interface AVMediaSelectionGroup : NSCopying { [Export ("mediaSelectionOptionsFromArray:filteredAndSortedAccordingToPreferredLanguages:")] AVMediaSelectionOption [] MediaSelectionOptionsFilteredAndSorted (AVMediaSelectionOption [] mediaSelectionOptions, string [] preferredLanguages); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("defaultOption"), NullAllowed] AVMediaSelectionOption DefaultOption { get; } @@ -5483,17 +5227,14 @@ interface AVMediaSelectionOption : NSCopying { [Export ("propertyList")] NSObject PropertyList { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("displayName")] string DisplayName { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("displayNameWithLocale:")] string GetDisplayName (NSLocale locale); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("extendedLanguageTag"), NullAllowed] string ExtendedLanguageTag { get; } @@ -5735,49 +5476,40 @@ interface AVMetadata { [Field ("AVMetadata3GPUserDataKeyDescription")] NSString K3GPUserDataKeyDescription { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVMetadata3GPUserDataKeyCollection")] NSString K3GPUserDataKeyCollection { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVMetadata3GPUserDataKeyUserRating")] NSString K3GPUserDataKeyUserRating { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVMetadata3GPUserDataKeyThumbnail")] NSString K3GPUserDataKeyThumbnail { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVMetadata3GPUserDataKeyAlbumAndTrack")] NSString K3GPUserDataKeyAlbumAndTrack { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVMetadata3GPUserDataKeyKeywordList")] NSString K3GPUserDataKeyKeywordList { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVMetadata3GPUserDataKeyMediaClassification")] NSString K3GPUserDataKeyMediaClassification { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVMetadata3GPUserDataKeyMediaRating")] NSString K3GPUserDataKeyMediaRating { get; } #if !NET - [Mac (10, 9)] [Field ("AVMetadataFormatISOUserData")] [Obsolete ("Use 'AVMetadataFormat' enum values.")] NSString KFormatISOUserData { get; } #endif - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVMetadataKeySpaceISOUserData")] NSString KKeySpaceISOUserData { get; } @@ -5908,7 +5640,6 @@ interface AVMetadata { [Field ("AVMetadataQuickTimeMetadataKeyDirectionMotion")] NSString QuickTimeMetadataKeyDirectionMotion { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMetadataQuickTimeMetadataKeyContentIdentifier")] NSString QuickTimeMetadataKeyContentIdentifier { get; } @@ -6098,7 +5829,6 @@ interface AVMetadata { [Field ("AVMetadataID3MetadataKeyComments")] NSString ID3MetadataKeyComments { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMetadataID3MetadataKeyCommercial")] NSString ID3MetadataKeyCommercial { get; } @@ -6371,13 +6101,10 @@ interface AVMetadata { [Field ("AVMetadataID3MetadataKeyUserURL")] NSString ID3MetadataKeyUserURL { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVMetadataISOUserDataKeyTaggedCharacteristic")] NSString IsoUserDataKeyTaggedCharacteristic { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("AVMetadataISOUserDataKeyDate")] NSString IsoUserDataKeyDate { get; } @@ -6392,41 +6119,28 @@ interface AVMetadata { [Field ("AVMetadataIdentifierISOUserDataAccessibilityDescription")] NSString IsoUserDataAccessibilityDescription { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVMetadataKeySpaceIcy")] NSString KeySpaceIcy { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVMetadataIcyMetadataKeyStreamTitle")] NSString IcyMetadataKeyStreamTitle { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVMetadataIcyMetadataKeyStreamURL")] NSString IcyMetadataKeyStreamUrl { get; } #if !NET - [iOS (8, 0)] - [Mac (10, 10)] [Field ("AVMetadataFormatHLSMetadata")] [Obsolete ("Use 'AVMetadataFormat' enum values.")] NSString FormatHlsMetadata { get; } #endif - [iOS (9, 3)] - [Mac (10, 12)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Field ("AVMetadataKeySpaceHLSDateRange")] NSString KeySpaceHlsDateRange { get; } - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVMetadataKeySpaceAudioFile")] NSString KeySpaceAudioFile { get; } @@ -6441,28 +6155,20 @@ interface AVMetadata { [Static] interface AVMetadataExtraAttribute { - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVMetadataExtraAttributeValueURIKey")] NSString ValueUriKey { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVMetadataExtraAttributeBaseURIKey")] NSString BaseUriKey { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMetadataExtraAttributeInfoKey")] NSString InfoKey { get; } } class AVMetadataIdentifiers { - [iOS (8, 0)] - [Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] @@ -6543,8 +6249,6 @@ interface CommonIdentifier { } - [iOS (8, 0)] - [Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] @@ -6670,13 +6374,10 @@ interface QuickTime { } [Watch (6, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static] interface Iso { - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("AVMetadataIdentifierISOUserDataDate")] NSString UserDataDate { get; } @@ -6689,8 +6390,6 @@ interface Iso { } [Watch (6, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static] interface ThreeGP { @@ -6740,8 +6439,6 @@ interface ThreeGP { NSString UserDataMediaRating { get; } } - [iOS (8, 0)] - [Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] @@ -6869,17 +6566,14 @@ interface QuickTimeMetadata { [Field ("AVMetadataIdentifierQuickTimeMetadataPreferredAffineTransform")] NSString PreferredAffineTransform { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMetadataIdentifierQuickTimeMetadataDetectedFace")] NSString DetectedFace { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMetadataIdentifierQuickTimeMetadataVideoOrientation")] NSString VideoOrientation { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMetadataIdentifierQuickTimeMetadataContentIdentifier")] NSString ContentIdentifier { get; } @@ -6940,8 +6634,6 @@ interface QuickTimeMetadata { NSString LocationHorizontalAccuracyInMeters { get; } } - [iOS (8, 0)] - [Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] @@ -7091,8 +6783,6 @@ interface iTunesMetadata { NSString ExecProducer { get; } } - [iOS (8, 0)] - [Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] @@ -7109,15 +6799,12 @@ interface ID3Metadata { [Field ("AVMetadataIdentifierID3MetadataComments")] NSString Comments { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVMetadataIdentifierID3MetadataCommercial")] NSString Commercial { get; } - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 9, 0)] [Deprecated (PlatformName.TvOS, 9, 0)] - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 10, 11)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1)] @@ -7386,8 +7073,6 @@ interface ID3Metadata { NSString UserUrl { get; } } - [iOS (8, 0)] - [Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] @@ -7445,7 +7130,7 @@ interface AVMetadataItem : NSMutableCopying { [Export ("metadataItemsFromArray:withKey:keySpace:")] AVMetadataItem [] FilterWithKey (AVMetadataItem [] metadataItems, [NullAllowed] NSObject key, [NullAllowed] string keySpace); - [Mac (10, 9), NoWatch] // headers say it is the watch, but the AVMetadataItemFilter is not + [NoWatch] // headers say it is the watch, but the AVMetadataItemFilter is not [MacCatalyst (13, 1)] [Static, Export ("metadataItemsFromArray:filteredByMetadataItemFilter:")] AVMetadataItem [] FilterWithItemFilter (AVMetadataItem [] metadataItems, AVMetadataItemFilter metadataItemFilter); @@ -7463,58 +7148,41 @@ interface AVMetadataItem : NSMutableCopying { [Static, Export ("metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:")] AVMetadataItem [] FilterFromPreferredLanguages (AVMetadataItem [] metadataItems, string [] preferredLanguages); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("identifier"), NullAllowed] NSString MetadataIdentifier { get; [NotImplemented] set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("extendedLanguageTag"), NullAllowed] string ExtendedLanguageTag { get; [NotImplemented] set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("dataType"), NullAllowed] NSString DataType { get; [NotImplemented] set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [return: NullAllowed] [Static, Export ("identifierForKey:keySpace:")] NSString GetMetadataIdentifier (NSObject key, NSString keySpace); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [return: NullAllowed] [Static, Export ("keySpaceForIdentifier:")] NSString GetKeySpaceForIdentifier (NSString identifier); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [return: NullAllowed] [Static, Export ("keyForIdentifier:")] NSObject GetKeyForIdentifier (NSString identifier); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("metadataItemsFromArray:filteredByIdentifier:")] AVMetadataItem [] FilterWithIdentifier (AVMetadataItem [] metadataItems, NSString metadataIdentifer); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("startDate"), NullAllowed] NSDate StartDate { get; [NotImplemented] set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("metadataItemWithPropertiesOfMetadataItem:valueLoadingHandler:")] @@ -7522,7 +7190,6 @@ interface AVMetadataItem : NSMutableCopying { } [Watch (6, 0)] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVMetadataItemValueRequest { @@ -7537,7 +7204,7 @@ interface AVMetadataItemValueRequest { void Respond (NSError error); } - [Mac (10, 9), Watch (8, 0)] + [Watch (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // for binary compatibility this is added in AVMetadataItemFilter.cs w/[Obsolete] @@ -7548,7 +7215,6 @@ interface AVMetadataItemFilter { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] - [Mac (10, 10)] [BaseType (typeof (NSObject))] // Objective-C exception thrown. Name: NSGenericException Reason: Cannot instantiate AVMetadataObject because it is an abstract superclass. [DisableDefaultCtor] @@ -7569,71 +7235,58 @@ interface AVMetadataObject { [Field ("AVMetadataObjectTypeFace")] NSString TypeFace { get; } - [Mac (10, 15)] [Field ("AVMetadataObjectTypeAztecCode")] NSString TypeAztecCode { get; } - [Mac (10, 15)] [Field ("AVMetadataObjectTypeCode128Code")] NSString TypeCode128Code { get; } - [Mac (10, 15)] [Field ("AVMetadataObjectTypeCode39Code")] NSString TypeCode39Code { get; } - [Mac (10, 15)] [Field ("AVMetadataObjectTypeCode39Mod43Code")] NSString TypeCode39Mod43Code { get; } - [Mac (10, 15)] [Field ("AVMetadataObjectTypeCode93Code")] NSString TypeCode93Code { get; } - [Mac (10, 15)] [Field ("AVMetadataObjectTypeEAN13Code")] NSString TypeEAN13Code { get; } - [Mac (10, 15)] [Field ("AVMetadataObjectTypeEAN8Code")] NSString TypeEAN8Code { get; } [Field ("AVMetadataObjectTypePDF417Code")] - [Mac (10, 15)] NSString TypePDF417Code { get; } - [Mac (10, 15)] [Field ("AVMetadataObjectTypeQRCode")] NSString TypeQRCode { get; } - [Mac (10, 15)] [Field ("AVMetadataObjectTypeUPCECode")] NSString TypeUPCECode { get; } - [iOS (8, 0), Mac (10, 15)] [Field ("AVMetadataObjectTypeInterleaved2of5Code")] NSString TypeInterleaved2of5Code { get; } - [iOS (8, 0), Mac (10, 15)] [Field ("AVMetadataObjectTypeITF14Code")] NSString TypeITF14Code { get; } - [iOS (8, 0), Mac (10, 15)] [Field ("AVMetadataObjectTypeDataMatrixCode")] NSString TypeDataMatrixCode { get; } - [NoWatch, NoTV, iOS (13, 0), Mac (10, 15)] + [NoWatch, NoTV, iOS (13, 0)] [Field ("AVMetadataObjectTypeCatBody")] NSString TypeCatBody { get; } - [NoWatch, NoTV, iOS (13, 0), Mac (10, 15)] + [NoWatch, NoTV, iOS (13, 0)] [Field ("AVMetadataObjectTypeDogBody")] NSString TypeDogBody { get; } - [NoWatch, NoTV, iOS (13, 0), Mac (10, 15)] + [NoWatch, NoTV, iOS (13, 0)] [Field ("AVMetadataObjectTypeHumanBody")] NSString TypeHumanBody { get; } - [NoWatch, NoTV, iOS (13, 0), Mac (10, 15)] + [NoWatch, NoTV, iOS (13, 0)] [Field ("AVMetadataObjectTypeSalientObject")] NSString TypeSalientObject { get; } #endif @@ -7643,7 +7296,6 @@ interface AVMetadataObject { [NoWatch] #endif [Introduced (PlatformName.MacCatalyst, 14, 0)] - [Mac (10, 10)] [Flags] enum AVMetadataObjectType : ulong { [Field (null)] @@ -7654,106 +7306,93 @@ enum AVMetadataObjectType : ulong { [Field ("AVMetadataObjectTypeFace")] Face = 1 << 0, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypeAztecCode")] AztecCode = 1 << 1, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypeCode128Code")] Code128Code = 1 << 2, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypeCode39Code")] Code39Code = 1 << 3, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypeCode39Mod43Code")] Code39Mod43Code = 1 << 4, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypeCode93Code")] Code93Code = 1 << 5, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypeEAN13Code")] EAN13Code = 1 << 6, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypeEAN8Code")] EAN8Code = 1 << 7, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypePDF417Code")] PDF417Code = 1 << 8, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypeQRCode")] QRCode = 1 << 9, - [Mac (10, 15)] [NoWatch] [MacCatalyst (13, 1)] [Field ("AVMetadataObjectTypeUPCECode")] UPCECode = 1 << 10, - [iOS (8, 0), Mac (10, 15)] [NoWatch] [MacCatalyst (14, 0)] [Field ("AVMetadataObjectTypeInterleaved2of5Code")] Interleaved2of5Code = 1 << 11, - [iOS (8, 0), Mac (10, 15)] [NoWatch] [MacCatalyst (14, 0)] [Field ("AVMetadataObjectTypeITF14Code")] ITF14Code = 1 << 12, - [iOS (8, 0), Mac (10, 15)] [NoWatch] [MacCatalyst (14, 0)] [Field ("AVMetadataObjectTypeDataMatrixCode")] DataMatrixCode = 1 << 13, - [iOS (13, 0), Mac (10, 15)] + [iOS (13, 0)] [NoTV] [NoWatch] [MacCatalyst (14, 0)] [Field ("AVMetadataObjectTypeCatBody")] CatBody = 1 << 14, - [iOS (13, 0), Mac (10, 15)] + [iOS (13, 0)] [NoTV] [NoWatch] [MacCatalyst (14, 0)] [Field ("AVMetadataObjectTypeDogBody")] DogBody = 1 << 15, - [iOS (13, 0), Mac (10, 15)] + [iOS (13, 0)] [NoTV] [NoWatch] [MacCatalyst (14, 0)] [Field ("AVMetadataObjectTypeHumanBody")] HumanBody = 1 << 16, - [iOS (13, 0), Mac (10, 15)] + [iOS (13, 0)] [NoTV] [NoWatch] [MacCatalyst (14, 0)] @@ -7787,7 +7426,6 @@ enum AVMetadataObjectType : ulong { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] - [Mac (10, 10)] [BaseType (typeof (AVMetadataObject))] interface AVMetadataFaceObject : NSCopying { [Export ("hasRollAngle")] @@ -7808,7 +7446,6 @@ interface AVMetadataFaceObject : NSCopying { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] - [Mac (10, 15)] [BaseType (typeof (AVMetadataObject))] interface AVMetadataMachineReadableCodeObject { [Export ("corners", ArgumentSemantic.Copy)] @@ -7819,7 +7456,6 @@ interface AVMetadataMachineReadableCodeObject { // @interface AVMetadataMachineReadableCodeDescriptor (AVMetadataMachineReadableCodeObject) - [iOS (11, 0), TV (11, 0)] [MacCatalyst (14, 0)] [Export ("descriptor")] [NullAllowed] @@ -7827,8 +7463,6 @@ interface AVMetadataMachineReadableCodeObject { } [NoWatch] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "AVMIDIPlayer")] interface AVMidiPlayer { @@ -7862,7 +7496,7 @@ interface AVMidiPlayer { void Stop (); } - [Watch (6, 0), NoTV, Mac (10, 10), iOS (13, 0)] + [Watch (6, 0), NoTV, iOS (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (AVAsset))] @@ -7886,13 +7520,11 @@ interface AVMovie : NSCopying, NSMutableCopying { [DesignatedInitializer] NativeHandle Constructor (NSUrl URL, [NullAllowed] NSDictionary options); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("movieWithData:options:")] AVMovie FromData (NSData data, [NullAllowed] NSDictionary options); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("initWithData:options:")] [DesignatedInitializer] @@ -7901,12 +7533,10 @@ interface AVMovie : NSCopying, NSMutableCopying { [NullAllowed, Export ("URL")] NSUrl URL { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("data")] NSData Data { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("defaultMediaDataStorage")] AVMediaDataStorage DefaultMediaDataStorage { get; } @@ -7917,7 +7547,6 @@ interface AVMovie : NSCopying, NSMutableCopying { [Export ("canContainMovieFragments")] bool CanContainMovieFragments { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("containsMovieFragments")] bool ContainsMovieFragments { get; } @@ -7928,18 +7557,15 @@ interface AVMovie : NSCopying, NSMutableCopying { [Category] [BaseType (typeof (AVMovie))] interface AVMovie_AVMovieMovieHeaderSupport { - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("movieHeaderWithFileType:error:")] [return: NullAllowed] NSData GetMovieHeader (string fileType, [NullAllowed] out NSError outError); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("writeMovieHeaderToURL:fileType:options:error:")] bool WriteMovieHeader (NSUrl URL, string fileType, AVMovieWritingOptions options, [NullAllowed] out NSError outError); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("isCompatibleWithFileType:")] bool IsCompatibleWithFileType (string fileType); @@ -7982,7 +7608,7 @@ interface AVMovie_AVMovieTrackInspection { void LoadTracksWithMediaCharacteristic (string mediaCharacteristic, Action, NSError> completionHandler); } - [Watch (6, 0), NoTV, Mac (10, 11), iOS (13, 0)] + [Watch (6, 0), NoTV, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVMovie))] interface AVMutableMovie { @@ -8118,7 +7744,7 @@ interface AVMutableMovie_AVMutableMovieTrackInspection { AVMutableMovieTrack [] GetTracks (AVMediaCharacteristics mediaCharacteristic); } - [Mac (10, 11), Watch (6, 0), iOS (13, 0), NoTV] + [Watch (6, 0), iOS (13, 0), NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -8131,7 +7757,7 @@ interface AVMediaDataStorage { NSUrl URL { get; } } - [Mac (10, 10), Watch (6, 0), iOS (13, 0), NoTV] + [Watch (6, 0), iOS (13, 0), NoTV] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (AVMovie))] @@ -8140,7 +7766,6 @@ interface AVFragmentedMovie : AVFragmentMinding { [DesignatedInitializer] NativeHandle Constructor (NSUrl URL, [NullAllowed] NSDictionary options); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("initWithData:options:")] [DesignatedInitializer] @@ -8199,7 +7824,7 @@ interface AVFragmentedMovie_AVFragmentedMovieTrackInspection { void LoadTracksWithMediaCharacteristic (string mediaCharacteristic, Action, NSError> completionHandler); } - [Mac (10, 10), Watch (6, 0), iOS (13, 0), NoTV] + [Watch (6, 0), iOS (13, 0), NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (AVFragmentedAssetMinder))] interface AVFragmentedMovieMinder { @@ -8224,34 +7849,30 @@ interface AVFragmentedMovieMinder { void Remove (AVFragmentedMovie movie); } - [Mac (10, 10), Watch (6, 0), iOS (13, 0), NoTV] + [Watch (6, 0), iOS (13, 0), NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (AVAssetTrack))] [DisableDefaultCtor] interface AVMovieTrack { - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("mediaPresentationTimeRange")] CMTimeRange MediaPresentationTimeRange { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("mediaDecodeTimeRange")] CMTimeRange MediaDecodeTimeRange { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("alternateGroupID")] nint AlternateGroupID { get; } // AVMovieTrack_AVMovieTrackMediaDataStorage - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("mediaDataStorage", ArgumentSemantic.Copy)] AVMediaDataStorage MediaDataStorage { get; } } - [Mac (10, 11), Watch (6, 0), iOS (13, 0), NoTV] + [Watch (6, 0), iOS (13, 0), NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (AVMovieTrack))] [DisableDefaultCtor] @@ -8321,17 +7942,14 @@ interface AVMutableMovieTrack { [Export ("metadata", ArgumentSemantic.Copy)] AVMetadataItem [] Metadata { get; set; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("appendSampleBuffer:decodeTime:presentationTime:error:")] bool AppendSampleBuffer (CMSampleBuffer sampleBuffer, out CMTime outDecodeTime, out CMTime presentationTime, out NSError error); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("insertMediaTimeRange:intoTimeRange:")] bool InsertMediaTimeRange (CMTimeRange mediaTimeRange, CMTimeRange trackTimeRange); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("replaceFormatDescription:withFormatDescription:")] void ReplaceFormatDescription (CMFormatDescription formatDescription, CMFormatDescription newFormatDescription); @@ -8367,7 +7985,7 @@ interface AVMutableMovieTrack_AVMutableMovieTrackTrackAssociations { void RemoveTrackAssociation (AVMovieTrack movieTrack, string trackAssociationType); } - [Mac (10, 10), NoTV, Watch (6, 0), iOS (13, 0)] + [NoTV, Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVMovieTrack))] [DisableDefaultCtor] @@ -8409,7 +8027,6 @@ interface AVMutableMetadataItem { [Override] CMTime Duration { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("identifier", ArgumentSemantic.Copy)] @@ -8439,22 +8056,18 @@ interface AVMutableMetadataItem { [Export ("key", ArgumentSemantic.Copy)] NSObject Key { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("dataType", ArgumentSemantic.Copy)] [Override] NSString DataType { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("extendedLanguageTag")] [Override] string ExtendedLanguageTag { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("startDate"), NullAllowed] [Override] @@ -8470,7 +8083,7 @@ interface AVCompositionTrack { [Export ("segments", ArgumentSemantic.Copy)] AVCompositionTrackSegment [] Segments { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("formatDescriptionReplacements")] AVCompositionTrackFormatDescriptionReplacement [] FormatDescriptionReplacements { get; } @@ -8525,22 +8138,22 @@ interface AVMutableCompositionTrack { [Export ("insertTimeRanges:ofTracks:atTime:error:")] bool InsertTimeRanges (NSValue [] cmTimeRanges, AVAssetTrack [] tracks, CMTime startTime, out NSError error); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("addTrackAssociationToTrack:type:")] void AddTrackAssociation (AVCompositionTrack compositionTrack, string trackAssociationType); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("removeTrackAssociationToTrack:type:")] void RemoveTrackAssociation (AVCompositionTrack compositionTrack, string trackAssociationType); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("replaceFormatDescription:withFormatDescription:")] void ReplaceFormatDescription (CMFormatDescription originalFormatDescription, [NullAllowed] CMFormatDescription replacementFormatDescription); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("enabled")] bool Enabled { [Bind ("isEnabled")] get; set; } @@ -8574,20 +8187,14 @@ interface AVErrorKeys { [Field ("AVErrorMediaSubTypeKey")] NSString MediaSubType { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVErrorPresentationTimeStampKey")] NSString PresentationTimeStamp { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVErrorPersistentTrackIDKey")] NSString PersistentTrackID { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVErrorFileTypeKey")] NSString FileType { get; } @@ -8623,13 +8230,12 @@ interface AVComposition : NSMutableCopying { [New] CGSize NaturalSize { get; [NotImplemented] set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("URLAssetInitializationOptions", ArgumentSemantic.Copy)] NSDictionary UrlAssetInitializationOptions { get; } } - [iOS (9, 0), Mac (10, 11), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (AVComposition))] @@ -8675,7 +8281,6 @@ interface AVMutableComposition { [Export ("composition"), Static] AVMutableComposition Create (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("compositionWithURLAssetInitializationOptions:")] @@ -8709,7 +8314,7 @@ interface AVMutableComposition { CGSize NaturalSize { get; set; } } - [iOS (9, 0), Mac (10, 11), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (AVMutableComposition))] @@ -8862,29 +8467,22 @@ interface AVAssetExportSession { [Export ("error"), NullAllowed] NSError Error { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetLowQuality")] NSString PresetLowQuality { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetMediumQuality")] NSString PresetMediumQuality { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetHighestQuality")] NSString PresetHighestQuality { get; } - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetHEVCHighestQuality")] NSString PresetHevcHighestQuality { get; } - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetHEVC3840x2160")] NSString PresetHevc3840x2160 { get; } @@ -8901,14 +8499,10 @@ interface AVAssetExportSession { [Field ("AVAssetExportPreset1920x1080")] NSString Preset1920x1080 { get; } - [iOS (9, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPreset3840x2160")] NSString Preset3840x2160 { get; } - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetHEVC1920x1080")] NSString PresetHevc1920x1080 { get; } @@ -8919,16 +8513,16 @@ interface AVAssetExportSession { [Field ("AVAssetExportPresetPassthrough")] NSString PresetPassthrough { get; } - [NoWatch, NoTV, MacCatalyst (15, 0), iOS (15, 0), Mac (10, 15)] + [NoWatch, NoTV, MacCatalyst (15, 0), iOS (15, 0)] [Field ("AVAssetExportPresetAppleProRes4444LPCM")] NSString PresetAppleProRes4444Lpcm { get; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetHEVC1920x1080WithAlpha")] NSString PresetHevc1920x1080WithAlpha { get; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetHEVC3840x2160WithAlpha")] NSString PresetHevc3840x2160WithAlpha { get; } @@ -8938,7 +8532,7 @@ interface AVAssetExportSession { [Field ("AVAssetExportPresetHEVC7680x4320")] NSString PresetHevc7680x4320 { get; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetExportPresetHEVCHighestQualityWithAlpha")] NSString PresetHevcHighestQualityWithAlpha { get; } @@ -8956,7 +8550,6 @@ interface AVAssetExportSession { [Export ("estimatedOutputFileLength")] long EstimatedOutputFileLength { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("determineCompatibilityOfExportPreset:withAsset:outputFileType:completionHandler:")] [Async] @@ -8966,50 +8559,44 @@ interface AVAssetExportSession { [Wrap ("DetermineCompatibilityOfExportPreset (presetName, asset, outputFileType.GetConstant (), isCompatibleResult)")] void DetermineCompatibilityOfExportPreset (string presetName, AVAsset asset, [NullAllowed] AVFileTypes outputFileType, Action isCompatibleResult); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("determineCompatibleFileTypesWithCompletionHandler:")] [Async] void DetermineCompatibleFileTypes (Action compatibleFileTypesHandler); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("metadataItemFilter", ArgumentSemantic.Retain), NullAllowed] AVMetadataItemFilter MetadataItemFilter { get; set; } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [NullAllowed, Export ("customVideoCompositor", ArgumentSemantic.Copy)] [Protocolize] AVVideoCompositing CustomVideoCompositor { get; } // DOC: Use the values from AVAudioTimePitchAlgorithm class. - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("audioTimePitchAlgorithm", ArgumentSemantic.Copy)] NSString AudioTimePitchAlgorithm { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("canPerformMultiplePassesOverSourceMediaData")] [Advice ("This property cannot be set after the export has started.")] bool CanPerformMultiplePassesOverSourceMediaData { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("directoryForTemporaryFiles", ArgumentSemantic.Copy), NullAllowed] [Advice ("This property cannot be set after the export has started.")] NSUrl DirectoryForTemporaryFiles { get; set; } [Async] - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("estimateMaximumDurationWithCompletionHandler:")] void EstimateMaximumDuration (Action handler); [Async] - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("estimateOutputFileLengthWithCompletionHandler:")] void EstimateOutputFileLength (Action handler); @@ -9024,17 +8611,14 @@ interface AVAudioTimePitchAlgorithm { [Field ("AVAudioTimePitchAlgorithmLowQualityZeroLatency")] NSString LowQualityZeroLatency { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVAudioTimePitchAlgorithmTimeDomain")] NSString TimeDomain { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVAudioTimePitchAlgorithmSpectral")] NSString Spectral { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVAudioTimePitchAlgorithmVarispeed")] NSString Varispeed { get; } @@ -9069,13 +8653,12 @@ interface AVAudioMixInputParameters : NSMutableCopying { [Export ("getVolumeRampForTime:startVolume:endVolume:timeRange:")] bool GetVolumeRamp (CMTime forTime, ref float /* defined as 'float*' */ startVolume, ref float /* defined as 'float*' */ endVolume, ref CMTimeRange timeRange); - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed] [Export ("audioTapProcessor", ArgumentSemantic.Retain)] MTAudioProcessingTap AudioTapProcessor { get; [NotImplemented] set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("audioTimePitchAlgorithm", ArgumentSemantic.Copy)] @@ -9103,14 +8686,13 @@ interface AVMutableAudioMixInputParameters { [Export ("setVolume:atTime:")] void SetVolume (float /* defined as 'float' */ volume, CMTime atTime); - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("audioTapProcessor", ArgumentSemantic.Retain)] [Override] MTAudioProcessingTap AudioTapProcessor { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("audioTimePitchAlgorithm", ArgumentSemantic.Copy)] @@ -9143,17 +8725,16 @@ interface AVVideoCompositing { [Export ("cancelAllPendingVideoCompositionRequests")] void CancelAllPendingVideoCompositionRequests (); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("supportsWideColorSourceFrames")] bool SupportsWideColorSourceFrames { get; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("anticipateRenderingUsingHint:")] void AnticipateRendering (AVVideoCompositionRenderHint renderHint); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("prerollForRenderingUsingHint:")] void PrerollForRendering (AVVideoCompositionRenderHint renderHint); @@ -9186,7 +8767,6 @@ interface AVVideoComposition : NSMutableCopying { [Export ("animationTool", ArgumentSemantic.Retain), NullAllowed] AVVideoCompositionCoreAnimationTool AnimationTool { get; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("renderScale")] float RenderScale { get; [NotImplemented] set; } // defined as 'float' @@ -9196,34 +8776,28 @@ interface AVVideoComposition : NSMutableCopying { [Export ("isValidForAsset:timeRange:validationDelegate:")] bool IsValidForAsset ([NullAllowed] AVAsset asset, CMTimeRange timeRange, [Protocolize][NullAllowed] AVVideoCompositionValidationHandling validationDelegate); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("videoCompositionWithPropertiesOfAsset:")] AVVideoComposition FromAssetProperties (AVAsset asset); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("customVideoCompositorClass", ArgumentSemantic.Copy), NullAllowed] Class CustomVideoCompositorClass { get; [NotImplemented] set; } [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("videoCompositionWithAsset:applyingCIFiltersWithHandler:")] AVVideoComposition CreateVideoComposition (AVAsset asset, Action applier); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("colorPrimaries")] string ColorPrimaries { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("colorYCbCrMatrix")] string ColorYCbCrMatrix { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("colorTransferFunction")] string ColorTransferFunction { get; } @@ -9235,7 +8809,6 @@ interface AVVideoComposition : NSMutableCopying { } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVVideoCompositionRenderContext { @@ -9310,7 +8883,6 @@ interface AVMutableVideoComposition { [Export ("animationTool", ArgumentSemantic.Retain)] AVVideoCompositionCoreAnimationTool AnimationTool { get; set; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("renderScale")] float RenderScale { get; set; } // defined as 'float' @@ -9319,47 +8891,40 @@ interface AVMutableVideoComposition { AVMutableVideoComposition Create (); // in 7.0 they declared this was available in 6.0 - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("videoCompositionWithPropertiesOfAsset:")] AVMutableVideoComposition Create (AVAsset asset); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("videoCompositionWithPropertiesOfAsset:prototypeInstruction:")] AVMutableVideoComposition Create (AVAsset asset, AVVideoCompositionInstruction prototypeInstruction); [NullAllowed] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("customVideoCompositorClass", ArgumentSemantic.Retain)] [Override] Class CustomVideoCompositorClass { get; set; } [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("videoCompositionWithAsset:applyingCIFiltersWithHandler:")] AVMutableVideoComposition GetVideoComposition (AVAsset asset, Action applier); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("colorPrimaries")] string ColorPrimaries { get; set; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("colorYCbCrMatrix")] string ColorYCbCrMatrix { get; set; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("colorTransferFunction")] string ColorTransferFunction { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("sourceTrackIDForFrameTiming")] int SourceTrackIdForFrameTiming { get; set; } @@ -9395,17 +8960,14 @@ CGColor BackgroundColor { // These are there because it adopts the protocol *of the same name* - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("containsTweening")] bool ContainsTweening { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [NullAllowed, Export ("requiredSourceTrackIDs")] NSNumber [] RequiredSourceTrackIDs { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("passthroughTrackID")] int PassthroughTrackID { get; } /* CMPersistentTrackID = int32_t */ @@ -9459,7 +9021,7 @@ interface AVVideoCompositionLayerInstruction : NSSecureCoding, NSMutableCopying [Export ("getOpacityRampForTime:startOpacity:endOpacity:timeRange:")] bool GetOpacityRamp (CMTime time, ref float /* defined as 'float*' */ startOpacity, ref float /* defined as 'float*' */ endOpacity, ref CMTimeRange timeRange); - [Mac (10, 9), Export ("getCropRectangleRampForTime:startCropRectangle:endCropRectangle:timeRange:")] + [Export ("getCropRectangleRampForTime:startCropRectangle:endCropRectangle:timeRange:")] [MacCatalyst (13, 1)] bool GetCrop (CMTime time, ref CGRect startCropRectangle, ref CGRect endCropRectangle, ref CMTimeRange timeRange); } @@ -9491,12 +9053,10 @@ interface AVMutableVideoCompositionLayerInstruction { [Export ("setOpacity:atTime:")] void SetOpacity (float /* defined as 'float' */ opacity, CMTime time); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("setCropRectangleRampFromStartCropRectangle:toEndCropRectangle:timeRange:")] void SetCrop (CGRect startCropRectangle, CGRect endCropRectangle, CMTimeRange timeRange); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("setCropRectangle:atTime:")] void SetCrop (CGRect cropRectangle, CMTime time); @@ -9514,14 +9074,13 @@ interface AVVideoCompositionCoreAnimationTool { [Export ("videoCompositionCoreAnimationToolWithPostProcessingAsVideoLayer:inLayer:")] AVVideoCompositionCoreAnimationTool FromLayer (CALayer videoLayer, CALayer animationLayer); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("videoCompositionCoreAnimationToolWithPostProcessingAsVideoLayers:inLayer:")] AVVideoCompositionCoreAnimationTool FromComposedVideoFrames (CALayer [] videoLayers, CALayer inAnimationlayer); } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [TV (11, 0), NoWatch, Mac (10, 13), iOS (11, 0)] + [NoWatch] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVCameraCalibrationData { @@ -9628,13 +9187,10 @@ interface AVCaptureSession { [Field ("AVCaptureSessionPreset1280x720")] NSString Preset1280x720 { get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("AVCaptureSessionPreset1920x1080")] NSString Preset1920x1080 { get; } - [Mac (10, 15)] - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("AVCaptureSessionPreset3840x2160")] NSString Preset3840x2160 { get; } @@ -9677,20 +9233,17 @@ interface AVCaptureSession { [Notification] NSString DidStopRunningNotification { get; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Field ("AVCaptureSessionInterruptionEndedNotification")] [Notification] NSString InterruptionEndedNotification { get; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Field ("AVCaptureSessionWasInterruptedNotification")] [Notification] NSString WasInterruptedNotification { get; } [NoMac] - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("AVCaptureSessionInterruptionReasonKey")] NSString InterruptionReasonKey { get; } @@ -9706,7 +9259,6 @@ interface AVCaptureSession { bool AutomaticallyConfiguresApplicationAudioSession { get; set; } [NoMac] - [iOS (10, 0)] [MacCatalyst (14, 0)] [Export ("automaticallyConfiguresCaptureDeviceForWideColor")] bool AutomaticallyConfiguresCaptureDeviceForWideColor { get; set; } @@ -9730,32 +9282,27 @@ interface AVCaptureSession { // // iOS 8 // - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("addInputWithNoConnections:")] void AddInputWithNoConnections (AVCaptureInput input); - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("addOutputWithNoConnections:")] void AddOutputWithNoConnections (AVCaptureOutput output); - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("canAddConnection:")] bool CanAddConnection (AVCaptureConnection connection); - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("addConnection:")] void AddConnection (AVCaptureConnection connection); - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("removeConnection:")] void RemoveConnection (AVCaptureConnection connection); - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [MacCatalyst (14, 0)] [Export ("connections")] AVCaptureConnection [] Connections { get; } @@ -9767,24 +9314,20 @@ interface AVCaptureSession { [BaseType (typeof (NSObject))] interface AVCaptureConnection { - [iOS (8, 0)] [MacCatalyst (14, 0)] [Static] [Export ("connectionWithInputPorts:output:")] AVCaptureConnection FromInputPorts (AVCaptureInputPort [] ports, AVCaptureOutput output); - [iOS (8, 0)] [MacCatalyst (14, 0)] [Static] [Export ("connectionWithInputPort:videoPreviewLayer:")] AVCaptureConnection FromInputPort (AVCaptureInputPort port, AVCaptureVideoPreviewLayer layer); - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("initWithInputPorts:output:")] NativeHandle Constructor (AVCaptureInputPort [] inputPorts, AVCaptureOutput output); - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("initWithInputPort:videoPreviewLayer:")] NativeHandle Constructor (AVCaptureInputPort inputPort, AVCaptureVideoPreviewLayer layer); @@ -9874,13 +9417,11 @@ interface AVCaptureConnection { bool EnablesVideoStabilizationWhenAvailable { get; set; } [NoMac] - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("preferredVideoStabilizationMode")] AVCaptureVideoStabilizationMode PreferredVideoStabilizationMode { get; set; } [NoMac] - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("activeVideoStabilizationMode")] AVCaptureVideoStabilizationMode ActiveVideoStabilizationMode { get; } @@ -9895,12 +9436,12 @@ interface AVCaptureConnection { [Export ("videoFieldMode")] AVVideoFieldMode VideoFieldMode { get; set; } - [iOS (11, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (14, 0)] [Export ("cameraIntrinsicMatrixDeliverySupported")] bool CameraIntrinsicMatrixDeliverySupported { [Bind ("isCameraIntrinsicMatrixDeliverySupported")] get; } - [iOS (11, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (14, 0)] [Export ("cameraIntrinsicMatrixDeliveryEnabled")] bool CameraIntrinsicMatrixDeliveryEnabled { [Bind ("isCameraIntrinsicMatrixDeliveryEnabled")] get; set; } @@ -9960,7 +9501,7 @@ interface AVCaptureInputPort { [Export ("input")] AVCaptureInput Input { get; } - [Mac (10, 9), Export ("clock", ArgumentSemantic.Copy), NullAllowed] + [Export ("clock", ArgumentSemantic.Copy), NullAllowed] [MacCatalyst (13, 1)] CMClock Clock { get; } @@ -9979,7 +9520,7 @@ interface AVCaptureInputPort { interface IAVCaptureDepthDataOutputDelegate { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, iOS (11, 0), NoMac] + [NoWatch, NoTV, NoMac] [Protocol, Model] [BaseType (typeof (NSObject))] interface AVCaptureDepthDataOutputDelegate { @@ -9991,7 +9532,7 @@ interface AVCaptureDepthDataOutputDelegate { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, iOS (11, 0), NoMac] + [NoWatch, NoTV, NoMac] [BaseType (typeof (AVCaptureOutput))] interface AVCaptureDepthDataOutput { [Export ("setDelegate:callbackQueue:")] @@ -10150,17 +9691,14 @@ interface AVCaptureOutput { [return: NullAllowed] AVCaptureConnection ConnectionFromMediaType (NSString avMediaType); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("metadataOutputRectOfInterestForRect:")] CGRect GetMetadataOutputRectOfInterestForRect (CGRect rectInOutputCoordinates); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("rectForMetadataOutputRectOfInterest:")] CGRect GetRectForMetadataOutputRectOfInterest (CGRect rectInMetadataOutputCoordinates); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("transformedMetadataObjectForMetadataObject:connection:")] [return: NullAllowed] @@ -10202,7 +9740,6 @@ interface AVCaptureVideoPreviewLayer { [Export ("session", ArgumentSemantic.Retain)] AVCaptureSession Session { get; set; } - [iOS (8, 0)] [MacCatalyst (14, 0)] [Export ("setSessionWithNoConnection:")] void SetSessionWithNoConnection (AVCaptureSession session); @@ -10253,7 +9790,6 @@ interface AVCaptureVideoPreviewLayer { [Internal] IntPtr InitWithConnection (AVCaptureSession session); - [iOS (8, 0)] [MacCatalyst (14, 0)] [Internal] [Export ("initWithSessionWithNoConnection:")] @@ -10262,33 +9798,27 @@ interface AVCaptureVideoPreviewLayer { [NullAllowed, Export ("connection")] AVCaptureConnection Connection { get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("captureDevicePointOfInterestForPoint:")] CGPoint CaptureDevicePointOfInterestForPoint (CGPoint pointInLayer); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("pointForCaptureDevicePointOfInterest:")] CGPoint PointForCaptureDevicePointOfInterest (CGPoint captureDevicePointOfInterest); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("transformedMetadataObjectForMetadataObject:")] [return: NullAllowed] AVMetadataObject GetTransformedMetadataObject (AVMetadataObject metadataObject); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("metadataOutputRectOfInterestForRect:")] CGRect MapToMetadataOutputCoordinates (CGRect rectInLayerCoordinates); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("rectForMetadataOutputRectOfInterest:")] CGRect MapToLayerCoordinates (CGRect rectInMetadataOutputCoordinates); - [iOS (8, 0), Mac (10, 15)] [MacCatalyst (14, 0)] [Static] [Export ("layerWithSessionWithNoConnection:")] @@ -10357,25 +9887,21 @@ interface AVCaptureVideoDataOutput { [Export ("availableVideoCodecTypes")] NSString [] AvailableVideoCodecTypes { get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("recommendedVideoSettingsForAssetWriterWithOutputFileType:")] [return: NullAllowed] NSDictionary GetRecommendedVideoSettingsForAssetWriter (string outputFileType); - [iOS (11, 0), Mac (10, 15)] [MacCatalyst (14, 0)] [Export ("availableVideoCodecTypesForAssetWriterWithOutputFileType:")] string [] GetAvailableVideoCodecTypes (string outputFileType); [Internal] - [iOS (11, 0), Mac (10, 15)] [MacCatalyst (14, 0)] [Export ("recommendedVideoSettingsForVideoCodecType:assetWriterOutputFileType:")] [return: NullAllowed] NSDictionary GetWeakRecommendedVideoSettings (string videoCodecType, string outputFileType); - [iOS (11, 0), Mac (10, 15)] [MacCatalyst (14, 0)] [Wrap ("new AVPlayerItemVideoOutputSettings (GetWeakRecommendedVideoSettings (videoCodecType, outputFileType)!)")] [return: NullAllowed] @@ -10435,7 +9961,6 @@ interface AVCaptureAudioDataOutput { void SetSampleBufferDelegateQueue ([NullAllowed] AVCaptureAudioDataOutputSampleBufferDelegate sampleBufferDelegate, [NullAllowed] DispatchQueue sampleBufferCallbackDispatchQueue); #endif - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("recommendedAudioSettingsForAssetWriterWithOutputFileType:")] [return: NullAllowed] @@ -10468,7 +9993,6 @@ interface AVCaptureAudioDataOutputSampleBufferDelegate { [NoMac] [NoWatch] [NoTV] - [iOS (8, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] [Abstract] @@ -10479,7 +10003,6 @@ interface AVCaptureBracketedStillImageSettings { [NoMac] [NoWatch] [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVCaptureBracketedStillImageSettings))] [DisableDefaultCtor] @@ -10497,7 +10020,6 @@ interface AVCaptureManualExposureBracketedStillImageSettings { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch, NoMac] [NoTV] - [iOS (8, 0)] [BaseType (typeof (AVCaptureBracketedStillImageSettings))] [DisableDefaultCtor] interface AVCaptureAutoExposureBracketedStillImageSettings { @@ -10633,7 +10155,7 @@ interface AVCaptureMetadataOutputObjectsDelegate { void DidOutputMetadataObjects (AVCaptureMetadataOutput captureOutput, AVMetadataObject [] metadataObjects, AVCaptureConnection connection); } - [NoTV, Mac (10, 15), NoWatch, iOS (12, 0)] + [NoTV, NoWatch, iOS (12, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -10649,7 +10171,7 @@ interface AVCapturePhotoSettingsThumbnailFormatKeys { } - [NoTV, Mac (10, 15), NoWatch, iOS (12, 0)] + [NoTV, NoWatch, iOS (12, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("AVCapturePhotoSettingsThumbnailFormatKeys")] interface AVCapturePhotoSettingsThumbnailFormat { @@ -10660,7 +10182,7 @@ interface AVCapturePhotoSettingsThumbnailFormat { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] - [NoTV, Mac (10, 15), iOS (10, 0)] + [NoTV] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVCapturePhotoSettings : NSCopying { @@ -10684,7 +10206,6 @@ interface AVCapturePhotoSettings : NSCopying { [Export ("photoSettingsFromPhotoSettings:")] AVCapturePhotoSettings FromPhotoSettings (AVCapturePhotoSettings photoSettings); - [iOS (11, 0)] [MacCatalyst (14, 0)] [Static] [Export ("photoSettingsWithRawPixelFormatType:rawFileType:processedFormat:processedFileType:")] @@ -10728,88 +10249,72 @@ interface AVCapturePhotoSettings : NSCopying { NSDictionary PreviewPhotoFormat { get; set; } [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'AutoVirtualDeviceFusionEnabled' instead.")] - [iOS (10, 2)] [MacCatalyst (14, 0)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'AutoVirtualDeviceFusionEnabled' instead.")] [Export ("autoDualCameraFusionEnabled")] bool AutoDualCameraFusionEnabled { [Bind ("isAutoDualCameraFusionEnabled")] get; set; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("processedFileType")] string ProcessedFileType { get; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("rawFileType")] string RawFileType { get; } [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'VirtualDeviceConstituentPhotoDeliveryEnabled' instead.")] - [iOS (11, 0)] [MacCatalyst (14, 0)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'VirtualDeviceConstituentPhotoDeliveryEnabled' instead.")] [Export ("dualCameraDualPhotoDeliveryEnabled")] bool DualCameraDualPhotoDeliveryEnabled { [Bind ("isDualCameraDualPhotoDeliveryEnabled")] get; set; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("depthDataDeliveryEnabled")] bool DepthDataDeliveryEnabled { [Bind ("isDepthDataDeliveryEnabled")] get; set; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("embedsDepthDataInPhoto")] bool EmbedsDepthDataInPhoto { get; set; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("depthDataFiltered")] bool DepthDataFiltered { [Bind ("isDepthDataFiltered")] get; set; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("cameraCalibrationDataDeliveryEnabled")] bool CameraCalibrationDataDeliveryEnabled { [Bind ("isCameraCalibrationDataDeliveryEnabled")] get; set; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("metadata", ArgumentSemantic.Copy)] NSDictionary Metadata { get; set; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("livePhotoVideoCodecType")] string LivePhotoVideoCodecType { get; set; } [Internal] - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("availableEmbeddedThumbnailPhotoCodecTypes")] NSString [] _GetAvailableEmbeddedThumbnailPhotoCodecTypes { get; } #if !NET [Obsolete ("Use 'AvailableEmbeddedThumbnailPhotoCodecTypes' instead.")] - [iOS (11, 0)] [Wrap ("Array.ConvertAll (_GetAvailableEmbeddedThumbnailPhotoCodecTypes, s => AVVideoCodecTypeExtensions.GetValue (s))", IsVirtual = false)] AVVideoCodecType [] GetAvailableEmbeddedThumbnailPhotoCodecTypes { get; } #endif - [iOS (11, 0)] [MacCatalyst (14, 0)] [Wrap ("Array.ConvertAll (_GetAvailableEmbeddedThumbnailPhotoCodecTypes, s => AVVideoCodecTypeExtensions.GetValue (s))", IsVirtual = true)] AVVideoCodecType [] AvailableEmbeddedThumbnailPhotoCodecTypes { get; } #if NET - [iOS (11, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("embeddedThumbnailPhotoFormat", ArgumentSemantic.Copy)] NSDictionary WeakEmbeddedThumbnailPhotoFormat { get; set; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Wrap ("WeakEmbeddedThumbnailPhotoFormat")] AVCapturePhotoSettingsThumbnailFormat EmbeddedThumbnailPhotoFormat { get; set; } #else - [iOS (11, 0)] [NullAllowed, Export ("embeddedThumbnailPhotoFormat", ArgumentSemantic.Copy)] NSDictionary EmbeddedThumbnailPhotoFormat { get; set; } #endif @@ -10886,11 +10391,10 @@ interface AVCapturePhotoSettings : NSCopying { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] - [NoTV, NoMac, iOS (10, 0)] + [NoTV, NoMac] [BaseType (typeof (AVCapturePhotoSettings))] [DisableDefaultCtor] interface AVCapturePhotoBracketSettings { - [iOS (11, 0)] [MacCatalyst (14, 0)] [Static] [Export ("photoBracketSettingsWithRawPixelFormatType:rawFileType:processedFormat:processedFileType:bracketedSettings:")] @@ -10909,7 +10413,7 @@ interface AVCapturePhotoBracketSettings { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] - [NoTV, Mac (10, 15), iOS (10, 0)] + [NoTV] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVCaptureResolvedPhotoSettings { @@ -10939,18 +10443,15 @@ interface AVCaptureResolvedPhotoSettings { bool IsStillImageStabilizationEnabled { [Bind ("isStillImageStabilizationEnabled")] get; } [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'VirtualDeviceFusionEnabled' instead.")] - [iOS (10, 2)] [MacCatalyst (14, 0)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'VirtualDeviceFusionEnabled' instead.")] [Export ("dualCameraFusionEnabled")] bool DualCameraFusionEnabled { [Bind ("isDualCameraFusionEnabled")] get; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("embeddedThumbnailDimensions")] CMVideoDimensions EmbeddedThumbnailDimensions { get; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("expectedPhotoCount")] nuint ExpectedPhotoCount { get; } @@ -10997,7 +10498,7 @@ interface IAVCapturePhotoCaptureDelegate { } [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] - [NoTV, Mac (10, 15), iOS (10, 0)] + [NoTV] [Protocol, Model] [BaseType (typeof (NSObject))] interface AVCapturePhotoCaptureDelegate { @@ -11024,7 +10525,6 @@ interface AVCapturePhotoCaptureDelegate { [Export ("captureOutput:didFinishProcessingRawPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:")] void DidFinishProcessingRawPhoto (AVCapturePhotoOutput captureOutput, [NullAllowed] CMSampleBuffer rawSampleBuffer, [NullAllowed] CMSampleBuffer previewPhotoSampleBuffer, AVCaptureResolvedPhotoSettings resolvedSettings, [NullAllowed] AVCaptureBracketedStillImageSettings bracketSettings, [NullAllowed] NSError error); - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("captureOutput:didFinishProcessingPhoto:error:")] void DidFinishProcessingPhoto (AVCapturePhotoOutput output, AVCapturePhoto photo, [NullAllowed] NSError error); @@ -11045,7 +10545,7 @@ interface AVCapturePhotoCaptureDelegate { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] - [NoTV, Mac (10, 15), iOS (10, 0)] + [NoTV] [BaseType (typeof (AVCaptureOutput))] interface AVCapturePhotoOutput { [Export ("capturePhotoWithSettings:delegate:")] @@ -11116,7 +10616,6 @@ interface AVCapturePhotoOutput { [NullAllowed, Export ("photoSettingsForSceneMonitoring", ArgumentSemantic.Copy)] AVCapturePhotoSettings PhotoSettingsForSceneMonitoring { get; set; } - [Mac (10, 15)] [Deprecated (PlatformName.iOS, 16, 0, message: "Use 'MaxPhotoDimensions' instead.")] [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use 'MaxPhotoDimensions' instead.")] [Deprecated (PlatformName.MacOSX, 13, 0, message: "Use 'MaxPhotoDimensions' instead.")] @@ -11184,7 +10683,7 @@ interface AVCapturePhotoOutput { void SetPreparedPhotoSettings (AVCapturePhotoSettings [] preparedPhotoSettingsArray, [NullAllowed] Action completionHandler); [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'VirtualDeviceFusionSupported' instead.")] - [iOS (10, 2), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'VirtualDeviceFusionSupported' instead.")] [Export ("dualCameraFusionSupported")] @@ -11192,79 +10691,75 @@ interface AVCapturePhotoOutput { // From AVCapturePhotoOutput (AVCapturePhotoOutputDepthDataDeliverySupport) Category - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("depthDataDeliverySupported")] bool DepthDataDeliverySupported { [Bind ("isDepthDataDeliverySupported")] get; } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("depthDataDeliveryEnabled")] bool DepthDataDeliveryEnabled { [Bind ("isDepthDataDeliveryEnabled")] get; set; } [Internal] - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("availablePhotoFileTypes")] NSString [] _GetAvailablePhotoFileTypes { get; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Wrap ("Array.ConvertAll (_GetAvailablePhotoFileTypes, s => AVFileTypesExtensions.GetValue (s))")] AVFileTypes [] GetAvailablePhotoFileTypes { get; } [Internal] - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("availableRawPhotoFileTypes")] NSString [] _GetAvailableRawPhotoFileTypes { get; } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Wrap ("Array.ConvertAll (_GetAvailableRawPhotoFileTypes, s => AVFileTypesExtensions.GetValue (s))")] AVFileTypes [] GetAvailableRawPhotoFileTypes { get; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("supportedPhotoPixelFormatTypesForFileType:")] NSNumber [] GetSupportedPhotoPixelFormatTypesForFileType (string fileType); [Internal] - [iOS (11, 0), Mac (10, 15)] [MacCatalyst (14, 0)] [Export ("supportedPhotoCodecTypesForFileType:")] NSString [] _GetSupportedPhotoCodecTypesForFileType (string fileType); - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Wrap ("Array.ConvertAll (_GetSupportedPhotoCodecTypesForFileType (fileType), s => AVVideoCodecTypeExtensions.GetValue (s))")] AVVideoCodecType [] GetSupportedPhotoCodecTypesForFileType (string fileType); - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("supportedRawPhotoPixelFormatTypesForFileType:")] NSNumber [] GetSupportedRawPhotoPixelFormatTypesForFileType (string fileType); [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'VirtualDeviceConstituentPhotoDeliverySupported' instead.")] - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'VirtualDeviceConstituentPhotoDeliverySupported' instead.")] [Export ("dualCameraDualPhotoDeliverySupported")] bool DualCameraDualPhotoDeliverySupported { [Bind ("isDualCameraDualPhotoDeliverySupported")] get; } [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'VirtualDeviceConstituentPhotoDeliveryEnabledDevices' instead.")] - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'VirtualDeviceConstituentPhotoDeliveryEnabledDevices' instead.")] [Export ("dualCameraDualPhotoDeliveryEnabled")] bool DualCameraDualPhotoDeliveryEnabled { [Bind ("isDualCameraDualPhotoDeliveryEnabled")] get; set; } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("availableLivePhotoVideoCodecTypes")] string [] AvailableLivePhotoVideoCodecTypes { [return: BindAs (typeof (AVVideoCodecType []))] get; } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("cameraCalibrationDataDeliverySupported")] bool CameraCalibrationDataDeliverySupported { [Bind ("isCameraCalibrationDataDeliverySupported")] get; } @@ -11354,29 +10849,24 @@ interface AVCaptureMovieFileOutput { CMTime MovieFragmentInterval { get; set; } [NoMac] - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("recordsVideoOrientationAndMirroringChangesAsMetadataTrackForConnection:")] bool RecordsVideoOrientationAndMirroringChangesAsMetadataTrack (AVCaptureConnection connection); [NoMac] - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("setRecordsVideoOrientationAndMirroringChanges:asMetadataTrackForConnection:")] void SetRecordsVideoOrientationAndMirroringChanges (bool doRecordChanges, AVCaptureConnection connection); [NoMac] - [iOS (10, 0)] [MacCatalyst (14, 0)] [Export ("availableVideoCodecTypes")] NSString [] AvailableVideoCodecTypes { get; } - [iOS (10, 0)] [MacCatalyst (14, 0)] [Export ("outputSettingsForConnection:")] NSDictionary GetOutputSettings (AVCaptureConnection connection); - [iOS (10, 0)] [MacCatalyst (14, 0)] [Export ("setOutputSettings:forConnection:")] void SetOutputSettings ([NullAllowed] NSDictionary outputSettings, AVCaptureConnection connection); @@ -11459,44 +10949,38 @@ interface AVCaptureStillImageOutput { bool IsStillImageStabilizationSupported { [Bind ("isStillImageStabilizationSupported")] get; } [NoMac] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("captureStillImageBracketAsynchronouslyFromConnection:withSettingsArray:completionHandler:")] void CaptureStillImageBracket (AVCaptureConnection connection, AVCaptureBracketedStillImageSettings [] settings, Action imageHandler); [NoMac] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("maxBracketedCaptureStillImageCount")] nuint MaxBracketedCaptureStillImageCount { get; } [NoMac] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("prepareToCaptureStillImageBracketFromConnection:withSettingsArray:completionHandler:")] void PrepareToCaptureStillImageBracket (AVCaptureConnection connection, AVCaptureBracketedStillImageSettings [] settings, Action handler); [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("lensStabilizationDuringBracketedCaptureSupported")] bool LensStabilizationDuringBracketedCaptureSupported { [Bind ("isLensStabilizationDuringBracketedCaptureSupported")] get; } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("lensStabilizationDuringBracketedCaptureEnabled")] bool LensStabilizationDuringBracketedCaptureEnabled { [Bind ("isLensStabilizationDuringBracketedCaptureEnabled")] get; set; } [Introduced (PlatformName.MacCatalyst, 14, 0)] [Deprecated (PlatformName.MacCatalyst, 14, 0)] - [iOS (8, 0), Mac (10, 14)] [Export ("highResolutionStillImageOutputEnabled")] bool HighResolutionStillImageOutputEnabled { [Bind ("isHighResolutionStillImageOutputEnabled")] get; set; } } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoTV, iOS (10, 0), Mac (10, 15), NoWatch] + [NoTV, NoWatch] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // init NS_UNAVAILABLE interface AVCaptureDeviceDiscoverySession { @@ -11522,7 +11006,7 @@ interface AVCaptureDeviceDiscoverySession { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoTV, iOS (10, 0), Mac (10, 15), NoWatch] + [NoTV, NoWatch] enum AVCaptureDeviceType { [Field ("AVCaptureDeviceTypeBuiltInMicrophone")] @@ -11543,7 +11027,7 @@ enum AVCaptureDeviceType { [Field ("AVCaptureDeviceTypeBuiltInDuoCamera")] BuiltInDuoCamera, - [iOS (10, 2), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Field ("AVCaptureDeviceTypeBuiltInDualCamera")] BuiltInDualCamera, @@ -11577,7 +11061,7 @@ enum AVCaptureDeviceType { BuiltInLiDarDepthCamera, } - [NoTV, Mac (10, 14), NoWatch] // matches API that uses it. + [NoTV, NoWatch] // matches API that uses it. [MacCatalyst (13, 1)] enum AVAuthorizationMediaType { Video, @@ -11801,7 +11285,7 @@ interface AVCaptureDevice { [Notification] NSString WasDisconnectedNotification { get; } - [Mac (10, 15), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Field ("AVCaptureMaxAvailableTorchLevel")] float MaxAvailableTorchLevel { get; } // defined as 'float' @@ -11817,7 +11301,7 @@ interface AVCaptureDevice { [Export ("subjectAreaChangeMonitoringEnabled")] bool SubjectAreaChangeMonitoringEnabled { [Bind ("isSubjectAreaChangeMonitoringEnabled")] get; set; } - [NoWatch, Mac (10, 15)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("isFlashAvailable")] bool FlashAvailable { get; } @@ -11829,23 +11313,23 @@ interface AVCaptureDevice { [Export ("isFlashActive")] bool FlashActive { get; } - [NoWatch, Mac (10, 15)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("isTorchAvailable")] bool TorchAvailable { get; } - [NoWatch, Mac (10, 15)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("torchLevel")] float TorchLevel { get; } // defined as 'float' // 6.0 - [NoWatch, Mac (10, 15)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("torchActive")] bool TorchActive { [Bind ("isTorchActive")] get; } - [NoWatch, Mac (10, 15)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("setTorchModeOnWithLevel:error:")] bool SetTorchModeLevel (float /* defined as 'float' */ torchLevel, out NSError outError); @@ -11922,7 +11406,6 @@ interface AVCaptureDevice { void RequestAccessForMediaType (AVAuthorizationMediaType mediaType, AVRequestAccessStatus completion); [NoWatch] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Static, Export ("requestAccessForMediaType:completionHandler:")] [Async] @@ -11930,14 +11413,12 @@ interface AVCaptureDevice { // Calling this method with any media type other than AVMediaTypeVideo or AVMediaTypeAudio raises an exception. [NoWatch] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetAuthorizationStatus (mediaType == AVAuthorizationMediaType.Video ? AVMediaTypes.Video.GetConstant ()! : AVMediaTypes.Audio.GetConstant ()!)")] AVAuthorizationStatus GetAuthorizationStatus (AVAuthorizationMediaType mediaType); [NoWatch] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Static, Export ("authorizationStatusForMediaType:")] AVAuthorizationStatus GetAuthorizationStatus (NSString avMediaTypeToken); @@ -11975,7 +11456,7 @@ interface AVCaptureDevice { [Export ("linkedDevices")] AVCaptureDevice [] LinkedDevices { get; } - [Mac (10, 9), iOS (14, 0), NoWatch] + [iOS (14, 0), NoWatch] [MacCatalyst (14, 0)] [Export ("manufacturer")] string Manufacturer { get; } @@ -12023,47 +11504,45 @@ interface AVCaptureDevice { AVCaptureDeviceTransportControlsPlaybackMode TransportControlsPlaybackMode { get; } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("activeVideoMinFrameDuration", ArgumentSemantic.Copy)] CMTime ActiveVideoMinFrameDuration { get; set; } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("activeVideoMaxFrameDuration", ArgumentSemantic.Copy)] CMTime ActiveVideoMaxFrameDuration { get; set; } - [iOS (10, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (14, 0)] [Export ("lockingFocusWithCustomLensPositionSupported")] bool LockingFocusWithCustomLensPositionSupported { [Bind ("isLockingFocusWithCustomLensPositionSupported")] get; } - [iOS (10, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (14, 0)] [Export ("lockingWhiteBalanceWithCustomDeviceGainsSupported")] bool LockingWhiteBalanceWithCustomDeviceGainsSupported { [Bind ("isLockingWhiteBalanceWithCustomDeviceGainsSupported")] get; } // From AVCaptureDevice (AVCaptureDeviceType) Category [Internal] - [iOS (10, 0), Mac (10, 15), NoWatch] + [NoWatch] [MacCatalyst (14, 0)] [Export ("deviceType")] NSString _DeviceType { get; } - [iOS (10, 0), Mac (10, 15), NoWatch] + [NoWatch] [MacCatalyst (14, 0)] [Wrap ("AVCaptureDeviceTypeExtensions.GetValue (_DeviceType)")] AVCaptureDeviceType DeviceType { get; } [Internal] - [iOS (10, 0), Mac (10, 15), NoWatch] + [NoWatch] [MacCatalyst (14, 0)] [Static] [Export ("defaultDeviceWithDeviceType:mediaType:position:")] AVCaptureDevice _DefaultDeviceWithDeviceType (NSString deviceType, string mediaType, AVCaptureDevicePosition position); - [iOS (10, 0), Mac (10, 15), NoWatch] + [NoWatch] [MacCatalyst (14, 0)] [Static] [Wrap ("AVCaptureDevice._DefaultDeviceWithDeviceType (deviceType.GetConstant ()!, mediaType, position)")] @@ -12072,163 +11551,163 @@ interface AVCaptureDevice { // // iOS 8 // - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Field ("AVCaptureLensPositionCurrent")] float FocusModeLensPositionCurrent { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("lensAperture")] float LensAperture { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("exposureDuration")] CMTime ExposureDuration { get; } - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("ISO")] float ISO { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("exposureTargetOffset")] float ExposureTargetOffset { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("exposureTargetBias")] float ExposureTargetBias { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("minExposureTargetBias")] float MinExposureTargetBias { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("maxExposureTargetBias")] float MaxExposureTargetBias { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("setExposureModeCustomWithDuration:ISO:completionHandler:")] [Async] void LockExposure (CMTime duration, float /* float, not CGFloat */ ISO, [NullAllowed] Action completionHandler); - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("setExposureTargetBias:completionHandler:")] [Async] void SetExposureTargetBias (float /* float, not CGFloat */ bias, [NullAllowed] Action completionHandler); - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("lensPosition")] float LensPosition { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("setFocusModeLockedWithLensPosition:completionHandler:")] [Async] void SetFocusModeLocked (float /* float, not CGFloat */ lensPosition, [NullAllowed] Action completionHandler); - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("deviceWhiteBalanceGains")] AVCaptureWhiteBalanceGains DeviceWhiteBalanceGains { get; } - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("grayWorldDeviceWhiteBalanceGains")] AVCaptureWhiteBalanceGains GrayWorldDeviceWhiteBalanceGains { get; } - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("maxWhiteBalanceGain")] float MaxWhiteBalanceGain { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("setWhiteBalanceModeLockedWithDeviceWhiteBalanceGains:completionHandler:")] [Async] void SetWhiteBalanceModeLockedWithDeviceWhiteBalanceGains (AVCaptureWhiteBalanceGains whiteBalanceGains, [NullAllowed] Action completionHandler); - [iOS (8, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (14, 0)] [Export ("chromaticityValuesForDeviceWhiteBalanceGains:")] AVCaptureWhiteBalanceChromaticityValues GetChromaticityValues (AVCaptureWhiteBalanceGains whiteBalanceGains); - [iOS (8, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (14, 0)] [Export ("deviceWhiteBalanceGainsForChromaticityValues:")] AVCaptureWhiteBalanceGains GetDeviceWhiteBalanceGains (AVCaptureWhiteBalanceChromaticityValues chromaticityValues); - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("temperatureAndTintValuesForDeviceWhiteBalanceGains:")] AVCaptureWhiteBalanceTemperatureAndTintValues GetTemperatureAndTintValues (AVCaptureWhiteBalanceGains whiteBalanceGains); - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("deviceWhiteBalanceGainsForTemperatureAndTintValues:")] AVCaptureWhiteBalanceGains GetDeviceWhiteBalanceGains (AVCaptureWhiteBalanceTemperatureAndTintValues tempAndTintValues); - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Field ("AVCaptureExposureDurationCurrent")] CMTime ExposureDurationCurrent { get; } - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Field ("AVCaptureExposureTargetBiasCurrent")] float ExposureTargetBiasCurrent { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Field ("AVCaptureISOCurrent")] float ISOCurrent { get; } /* float, not CGFloat */ - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Field ("AVCaptureLensPositionCurrent")] float LensPositionCurrent { get; } /* float, not CGFloat */ - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Field ("AVCaptureWhiteBalanceGainsCurrent")] AVCaptureWhiteBalanceGains WhiteBalanceGainsCurrent { get; } - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("automaticallyAdjustsVideoHDREnabled")] bool AutomaticallyAdjustsVideoHdrEnabled { get; set; } - [iOS (8, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("videoHDREnabled")] bool VideoHdrEnabled { [Bind ("isVideoHDREnabled")] get; set; } - [iOS (10, 0), NoWatch, Mac (10, 15)] + [NoWatch] [MacCatalyst (14, 0)] [Export ("activeColorSpace", ArgumentSemantic.Assign)] AVCaptureColorSpace ActiveColorSpace { get; set; } // From AVCaptureDevice (AVCaptureDeviceDepthSupport) Category - [iOS (11, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("activeDepthDataFormat", ArgumentSemantic.Retain), NullAllowed] AVCaptureDeviceFormat ActiveDepthDataFormat { get; set; } - [iOS (11, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("minAvailableVideoZoomFactor")] nfloat MinAvailableVideoZoomFactor { get; } - [iOS (11, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Export ("maxAvailableVideoZoomFactor")] nfloat MaxAvailableVideoZoomFactor { get; } @@ -12240,7 +11719,7 @@ interface AVCaptureDevice { AVCaptureSystemPressureState SystemPressureState { get; } [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'VirtualDeviceSwitchOverVideoZoomFactors' instead.")] - [iOS (11, 0), NoWatch, NoMac] + [NoWatch, NoMac] [MacCatalyst (14, 0)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'VirtualDeviceSwitchOverVideoZoomFactors' instead.")] [Export ("dualCameraSwitchOverVideoZoomFactor")] @@ -12259,7 +11738,7 @@ interface AVCaptureDevice { [Export ("activeMaxExposureDuration", ArgumentSemantic.Assign)] CMTime ActiveMaxExposureDuration { get; set; } - [Mac (10, 15), iOS (10, 0), NoTV, NoWatch] + [NoTV, NoWatch] [MacCatalyst (14, 0)] [Static] [Export ("defaultDeviceWithDeviceType:mediaType:position:")] @@ -12450,7 +11929,6 @@ interface AVCaptureDeviceFormat { [Export ("videoSupportedFrameRateRanges", ArgumentSemantic.Copy)] AVFrameRateRange [] VideoSupportedFrameRateRanges { get; } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (14, 0)] [Export ("supportedColorSpaces")] #if NET @@ -12458,7 +11936,6 @@ interface AVCaptureDeviceFormat { #endif NSNumber [] SupportedColorSpaces { get; } - [iOS (8, 0), Mac (10, 15)] [MacCatalyst (14, 0)] [Export ("autoFocusSystem")] AVCaptureAutoFocusSystem AutoFocusSystem { get; } @@ -12490,71 +11967,71 @@ interface AVCaptureDeviceFormat { [Export ("videoZoomFactorUpscaleThreshold")] nfloat VideoZoomFactorUpscaleThreshold { get; } - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("minExposureDuration")] CMTime MinExposureDuration { get; } - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("maxExposureDuration")] CMTime MaxExposureDuration { get; } - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("minISO")] float MinISO { get; } /* float, not CGFloat */ - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("maxISO")] float MaxISO { get; } /* float, not CGFloat */ - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("isVideoStabilizationModeSupported:")] bool IsVideoStabilizationModeSupported (AVCaptureVideoStabilizationMode mode); - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("videoHDRSupported")] bool IsVideoHdrSupported { [Bind ("isVideoHDRSupported")] get; } #if !XAMCORE_5_0 - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Obsolete ("Use the 'IsVideoHdrSupported' property instead.")] [Wrap ("IsVideoHdrSupported", IsVirtual = true)] bool videoHDRSupportedVideoHDREnabled { [Bind ("isVideoHDRSupported")] get; } #endif - [iOS (8, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Deprecated (PlatformName.iOS, 16, 0, message: "Use 'SupportedMaxPhotoDimension' instead.")] [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use 'SupportedMaxPhotoDimension' instead.")] [Export ("highResolutionStillImageDimensions")] CMVideoDimensions HighResolutionStillImageDimensions { get; } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Deprecated (PlatformName.iOS, 16, 0, message: "Use 'SupportedVideoZoomFactorsForDepthDataDelivery' instead.")] [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use 'SupportedVideoZoomFactorsForDepthDataDelivery' instead.")] [Export ("videoMinZoomFactorForDepthDataDelivery")] nfloat VideoMinZoomFactorForDepthDataDelivery { get; } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Deprecated (PlatformName.iOS, 16, 0, message: "Use 'SupportedVideoZoomFactorsForDepthDataDelivery' instead.")] [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use 'SupportedVideoZoomFactorsForDepthDataDelivery' instead.")] [Export ("videoMaxZoomFactorForDepthDataDelivery")] nfloat VideoMaxZoomFactorForDepthDataDelivery { get; } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("supportedDepthDataFormats")] AVCaptureDeviceFormat [] SupportedDepthDataFormats { get; } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (14, 0)] [Export ("unsupportedCaptureOutputClasses")] Class [] UnsupportedCaptureOutputClasses { get; } @@ -12696,7 +12173,7 @@ interface AVPlayerRateDidChangeEventArgs { NSString RateDidChangeOriginatingParticipant { get; } } - [iOS (10, 0), TV (10, 0), Mac (10, 12), MacCatalyst (14, 5)] + [MacCatalyst (14, 5)] enum AVPlayerWaitingReason { [MacCatalyst (15, 0)] [Field ("AVPlayerWaitingToMinimizeStallsReason")] @@ -12772,17 +12249,14 @@ interface AVPlayer { [Export ("pause")] void Pause (); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("timeControlStatus")] AVPlayerTimeControlStatus TimeControlStatus { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("reasonForWaitingToPlay")] string ReasonForWaitingToPlay { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("playImmediatelyAtRate:")] void PlayImmediatelyAtRate (float rate); @@ -12843,18 +12317,15 @@ interface AVPlayer { [Async] void Seek (CMTime time, CMTime toleranceBefore, CMTime toleranceAfter, AVCompletion completion); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("seekToDate:")] void Seek (NSDate date); - [Mac (10, 9)] // Header says 10.7, but it's a lie [MacCatalyst (13, 1)] [Export ("seekToDate:completionHandler:")] [Async] void Seek (NSDate date, AVCompletion onComplete); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("automaticallyWaitsToMinimizeStalling")] bool AutomaticallyWaitsToMinimizeStalling { get; set; } @@ -12869,7 +12340,6 @@ interface AVPlayer { [Export ("cancelPendingPrerolls")] void CancelPendingPrerolls (); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("outputObscuredDueToInsufficientExternalProtection")] bool OutputObscuredDueToInsufficientExternalProtection { get; } @@ -12882,12 +12352,10 @@ interface AVPlayer { [Export ("masterClock"), NullAllowed] CMClock MasterClock { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("allowsExternalPlayback")] bool AllowsExternalPlayback { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("externalPlaybackActive")] bool ExternalPlaybackActive { [Bind ("isExternalPlaybackActive")] get; } @@ -12897,7 +12365,6 @@ interface AVPlayer { [Export ("usesExternalPlaybackWhileExternalScreenIsActive")] bool UsesExternalPlaybackWhileExternalScreenIsActive { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Protected] [Export ("externalPlaybackVideoGravity", ArgumentSemantic.Copy)] @@ -12909,39 +12376,33 @@ interface AVPlayer { [Export ("muted")] bool Muted { [Bind ("isMuted")] get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("appliesMediaSelectionCriteriaAutomatically")] bool AppliesMediaSelectionCriteriaAutomatically { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [return: NullAllowed] [Export ("mediaSelectionCriteriaForMediaCharacteristic:")] AVPlayerMediaSelectionCriteria MediaSelectionCriteriaForMediaCharacteristic (NSString avMediaCharacteristic); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("setMediaSelectionCriteria:forMediaCharacteristic:")] void SetMediaSelectionCriteria ([NullAllowed] AVPlayerMediaSelectionCriteria criteria, NSString avMediaCharacteristic); - [Mac (10, 9), NoiOS, NoTV, NoWatch, MacCatalyst (15, 0)] + [NoiOS, NoTV, NoWatch, MacCatalyst (15, 0)] [Export ("audioOutputDeviceUniqueID"), NullAllowed] string AudioOutputDeviceUniqueID { get; set; } #if !NET [Obsolete ("Use 'AVPlayerWaitingReason' enum instead.")] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [Field ("AVPlayerWaitingToMinimizeStallsReason")] NSString WaitingToMinimizeStallsReason { get; } [Obsolete ("Use 'AVPlayerWaitingReason' enum instead.")] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [Field ("AVPlayerWaitingWhileEvaluatingBufferingRateReason")] NSString WaitingWhileEvaluatingBufferingRateReason { get; } [Obsolete ("Use 'AVPlayerWaitingReason' enum instead.")] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [Field ("AVPlayerWaitingWithNoItemToPlayReason")] NSString WaitingWithNoItemToPlayReason { get; } @@ -12974,25 +12435,25 @@ interface AVPlayer { // From AVPlayer (AVPlayerVideoDecoderGPUSupport) Category - [NoWatch, NoTV, NoiOS, Mac (10, 13, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [Export ("preferredVideoDecoderGPURegistryID")] ulong PreferredVideoDecoderGpuRegistryId { get; set; } // From AVPlayerVideoDisplaySleepPrevention (AVPlayer) Category - [TV (12, 0), NoWatch, Mac (10, 14), iOS (12, 0)] + [TV (12, 0), NoWatch, iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("preventsDisplaySleepDuringVideoPlayback")] bool PreventsDisplaySleepDuringVideoPlayback { get; set; } - [TV (13, 4), NoWatch, Mac (10, 15), iOS (13, 4)] + [TV (13, 4), NoWatch, iOS (13, 4)] [MacCatalyst (13, 1)] [Static] [Export ("eligibleForHDRPlayback")] bool EligibleForHdrPlayback { get; } [Notification] - [TV (13, 4), NoWatch, Mac (10, 15), iOS (13, 4)] + [TV (13, 4), NoWatch, iOS (13, 4)] [MacCatalyst (13, 1)] [Field ("AVPlayerEligibleForHDRPlaybackDidChangeNotification")] NSString EligibleForHdrPlaybackDidChangeNotification { get; } @@ -13012,7 +12473,7 @@ interface AVPlayer { AVPlayerPlaybackCoordinator PlaybackCoordinator { get; } } - [Mac (10, 9), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVPlayerMediaSelectionCriteria { @@ -13025,20 +12486,19 @@ interface AVPlayerMediaSelectionCriteria { [Export ("initWithPreferredLanguages:preferredMediaCharacteristics:")] NativeHandle Constructor ([NullAllowed] string [] preferredLanguages, [NullAllowed] NSString [] preferredMediaCharacteristics); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithPrincipalMediaCharacteristics:preferredLanguages:preferredMediaCharacteristics:")] NativeHandle Constructor ([NullAllowed][BindAs (typeof (AVMediaCharacteristics []))] NSString [] principalMediaCharacteristics, [NullAllowed][BindAs (typeof (AVMediaCharacteristics []))] NSString [] preferredLanguages, [NullAllowed] string [] preferredMediaCharacteristics); [BindAs (typeof (AVMediaCharacteristics []))] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("principalMediaCharacteristics")] NSString [] PrincipalMediaCharacteristics { get; } } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSGenericException *** -[AVTextStyleRule init] Not available. Use initWithTextMarkupAttributes:textSelector: instead @@ -13100,8 +12560,6 @@ interface AVTextStyleRule : NSCopying { NativeHandle Constructor (CMTextMarkupAttributes attributes, string textSelector); } - [iOS (9, 0)] - [Mac (10, 11)] [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -13110,16 +12568,10 @@ interface AVMetadataGroup { [Export ("items", ArgumentSemantic.Copy)] AVMetadataItem [] Items { get; } - [iOS (9, 3)] - [Mac (10, 12)] - [TV (9, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("classifyingLabel")] string ClassifyingLabel { get; } - [iOS (9, 3)] - [TV (9, 2)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("uniqueID")] string UniqueID { get; } @@ -13139,14 +12591,10 @@ interface AVTimedMetadataGroup : NSMutableCopying { NativeHandle Constructor (AVMetadataItem [] items, CMTimeRange timeRange); [return: NullAllowed] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("copyFormatDescription")] CMFormatDescription CopyFormatDescription (); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("initWithSampleBuffer:")] NativeHandle Constructor (CMSampleBuffer sampleBuffer); @@ -13221,12 +12669,10 @@ interface AVPlayerItem : NSCopying { [Export ("playbackBufferEmpty")] bool PlaybackBufferEmpty { [Bind ("isPlaybackBufferEmpty")] get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("canUseNetworkResourcesForLiveStreamingWhilePaused", ArgumentSemantic.Assign)] bool CanUseNetworkResourcesForLiveStreamingWhilePaused { get; set; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("preferredForwardBufferDuration")] double PreferredForwardBufferDuration { get; set; } @@ -13345,7 +12791,6 @@ interface AVPlayerItem : NSCopying { [Export ("selectedMediaOptionInMediaSelectionGroup:")] AVMediaSelectionOption SelectedMediaOption (AVMediaSelectionGroup inMediaSelectionGroup); - [iOS (9, 0), MacAttribute (10, 11)] [MacCatalyst (13, 1)] [Export ("currentMediaSelection")] AVMediaSelection CurrentMediaSelection { get; } @@ -13379,82 +12824,67 @@ interface AVPlayerItem : NSCopying { [Export ("timebase"), NullAllowed] CMTimebase Timebase { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("seekToDate:completionHandler:")] [Async] bool Seek (NSDate date, AVCompletion completion); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("seekingWaitsForVideoCompositionRendering")] bool SeekingWaitsForVideoCompositionRendering { get; set; } - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("textStyleRules", ArgumentSemantic.Copy), NullAllowed] AVTextStyleRule [] TextStyleRules { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVPlayerItemPlaybackStalledNotification")] [Notification] NSString PlaybackStalledNotification { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVPlayerItemNewAccessLogEntryNotification")] [Notification] NSString NewAccessLogEntryNotification { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVPlayerItemNewErrorLogEntryNotification")] [Notification] NSString NewErrorLogEntryNotification { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("playerItemWithAsset:automaticallyLoadedAssetKeys:")] AVPlayerItem FromAsset ([NullAllowed] AVAsset asset, [NullAllowed] NSString [] automaticallyLoadedAssetKeys); - [Mac (10, 9)] [MacCatalyst (13, 1)] [DesignatedInitializer] [Export ("initWithAsset:automaticallyLoadedAssetKeys:")] NativeHandle Constructor (AVAsset asset, [NullAllowed] params NSString [] automaticallyLoadedAssetKeys); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("automaticallyLoadedAssetKeys", ArgumentSemantic.Copy)] NSString [] AutomaticallyLoadedAssetKeys { get; } - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("customVideoCompositor", ArgumentSemantic.Copy), NullAllowed] [Protocolize] AVVideoCompositing CustomVideoCompositor { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("audioTimePitchAlgorithm", ArgumentSemantic.Copy)] // DOC: Mention this is an AVAudioTimePitch constant NSString AudioTimePitchAlgorithm { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("selectMediaOptionAutomaticallyInMediaSelectionGroup:")] void SelectMediaOptionAutomaticallyInMediaSelectionGroup (AVMediaSelectionGroup mediaSelectionGroup); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("preferredPeakBitRate")] double PreferredPeakBitRate { get; set; } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("preferredMaximumResolution", ArgumentSemantic.Assign)] CGSize PreferredMaximumResolution { get; set; } @@ -13482,68 +12912,59 @@ interface AVPlayerItem : NSCopying { AVInterstitialTimeRange [] InterstitialTimeRanges { get; set; } #endregion - [iOS (9, 3)] - [Mac (10, 12)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Export ("addMediaDataCollector:")] void AddMediaDataCollector (AVPlayerItemMediaDataCollector collector); - [iOS (9, 3)] - [Mac (10, 12)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Export ("removeMediaDataCollector:")] void RemoveMediaDataCollector (AVPlayerItemMediaDataCollector collector); - [iOS (9, 3)] - [Mac (10, 12)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Export ("mediaDataCollectors")] AVPlayerItemMediaDataCollector [] MediaDataCollectors { get; } - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [NullAllowed, Export ("nextContentProposal", ArgumentSemantic.Assign)] AVContentProposal NextContentProposal { get; set; } - [TV (11, 0), NoWatch, Mac (10, 13), iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Internal] [Export ("videoApertureMode")] NSString _VideoApertureMode { get; set; } [Notification] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVPlayerItemRecommendedTimeOffsetFromLiveDidChangeNotification")] NSString RecommendedTimeOffsetFromLiveDidChangeNotification { get; } [Notification] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVPlayerItemMediaSelectionDidChangeNotification")] NSString MediaSelectionDidChangeNotification { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("configuredTimeOffsetFromLive", ArgumentSemantic.Assign)] CMTime ConfiguredTimeOffsetFromLive { get; set; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("recommendedTimeOffsetFromLive")] CMTime RecommendedTimeOffsetFromLive { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("automaticallyPreservesTimeOffsetFromLive")] bool AutomaticallyPreservesTimeOffsetFromLive { get; set; } [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'AllowedAudioSpatializationFormats' instead.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'AllowedAudioSpatializationFormats' instead.")] - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'AllowedAudioSpatializationFormats' instead.")] [Export ("audioSpatializationAllowed")] @@ -13685,8 +13106,6 @@ interface AVPlayerItemOutput { } [Watch (6, 0)] - [iOS (9, 3)] - [TV (9, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // initialization method -init cannot be sent to an abstract object of class AVPlayerItemMediaDataCollector: Create a concrete instance! @@ -13694,8 +13113,6 @@ interface AVPlayerItemOutput { interface AVPlayerItemMediaDataCollector { } - [iOS (8, 0)] - [Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVPlayerItemOutput))] @@ -13724,22 +13141,16 @@ interface AVPlayerItemMetadataOutput { } [BaseType (typeof (NSObject))] - [iOS (8, 0)] - [Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Protocol, Model] interface AVPlayerItemMetadataOutputPushDelegate : AVPlayerItemOutputPushDelegate { - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("metadataOutput:didOutputTimedMetadataGroups:fromPlayerItemTrack:")] void DidOutputTimedMetadataGroups (AVPlayerItemMetadataOutput output, AVTimedMetadataGroup [] groups, [NullAllowed] AVPlayerItemTrack track); } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [NoWatch] [MacCatalyst (13, 1)] [Static] @@ -13757,7 +13168,6 @@ interface AVVideoColorPrimaries { [Field ("AVVideoColorPrimaries_P3_D65")] NSString P3_D65 { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("AVVideoColorPrimaries_ITU_R_2020")] NSString Itu_R_2020 { get; } @@ -13767,12 +13177,11 @@ interface AVVideoColorPrimaries { [MacCatalyst (13, 1)] [Static] interface AVVideoTransferFunction { - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("AVVideoTransferFunction_ITU_R_709_2")] NSString AVVideoTransferFunction_Itu_R_709_2 { get; } - [NoiOS, NoTV, Mac (10, 12), NoMacCatalyst] + [NoiOS, NoTV, NoMacCatalyst] [Field ("AVVideoTransferFunction_SMPTE_240M_1995")] NSString AVVideoTransferFunction_Smpte_240M_1995 { get; } } @@ -13782,21 +13191,18 @@ interface AVVideoTransferFunction { [Static] interface AVVideoYCbCrMatrix { - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("AVVideoYCbCrMatrix_ITU_R_709_2")] NSString Itu_R_709_2 { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("AVVideoYCbCrMatrix_ITU_R_601_4")] NSString Itu_R_601_4 { get; } - [NoiOS, NoTV, Mac (10, 12), NoMacCatalyst] + [NoiOS, NoTV, NoMacCatalyst] [Field ("AVVideoYCbCrMatrix_SMPTE_240M_1995")] NSString Smpte_240M_1995 { get; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("AVVideoYCbCrMatrix_ITU_R_2020")] NSString Itu_R_2020 { get; } @@ -13817,17 +13223,14 @@ interface AVColorProperties { [Static] [Internal] interface AVColorPropertiesKeys { - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("AVVideoColorPrimariesKey")] NSString AVVideoColorPrimariesKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("AVVideoTransferFunctionKey")] NSString AVVideoTransferFunctionKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("AVVideoYCbCrMatrixKey")] NSString AVVideoYCbCrMatrixKey { get; } @@ -13906,16 +13309,11 @@ interface AVCompressionPropertiesKeys { [StrongDictionary ("AVPlayerItemVideoOutputSettingsKeys")] interface AVPlayerItemVideoOutputSettings { - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] AVColorProperties ColorProperties { get; set; } AVCompressionProperties CompressionProperties { get; set; } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] bool AllowWideColor { get; set; } @@ -13930,8 +13328,6 @@ interface AVPlayerItemVideoOutputSettings { [Static] [Internal] interface AVPlayerItemVideoOutputSettingsKeys { - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("AVVideoColorPropertiesKey")] NSString ColorPropertiesKey { get; } @@ -13939,8 +13335,6 @@ interface AVPlayerItemVideoOutputSettingsKeys { [Field ("AVVideoCompressionPropertiesKey")] NSString CompressionPropertiesKey { get; } - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("AVVideoAllowWideColorKey")] NSString AllowWideColorKey { get; } @@ -13986,7 +13380,6 @@ interface AVPlayerItemVideoOutput { NativeHandle Constructor (CVPixelBufferAttributes attributes); [DesignatedInitializer] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("this (settings.GetDictionary (), AVPlayerItemVideoOutput.InitMode.OutputSettings)")] NativeHandle Constructor (AVPlayerItemVideoOutputSettings settings); @@ -14040,7 +13433,7 @@ interface AVPlayerItemLegibleOutputPushDelegate { void DidOutputAttributedStrings (AVPlayerItemLegibleOutput output, NSAttributedString [] strings, CMSampleBuffer [] nativeSamples, CMTime itemTime); } - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (AVPlayerItemOutput))] interface AVPlayerItemLegibleOutput { @@ -14146,22 +13539,18 @@ interface AVPlayerItemAccessLogEvent : NSCopying { [Export ("observedBitrate")] double ObservedBitrate { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("indicatedBitrate")] double IndicatedBitrate { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("indicatedAverageBitrate")] double IndicatedAverageBitrate { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("averageVideoBitrate")] double AverageVideoBitrate { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("averageAudioBitrate")] double AverageAudioBitrate { get; } @@ -14169,17 +13558,14 @@ interface AVPlayerItemAccessLogEvent : NSCopying { [Export ("numberOfDroppedVideoFrames")] nint DroppedVideoFrameCount { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("numberOfMediaRequests")] nint NumberOfMediaRequests { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("startupTime")] double StartupTime { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("downloadOverdue")] nint DownloadOverdue { get; } @@ -14189,7 +13575,6 @@ interface AVPlayerItemAccessLogEvent : NSCopying { [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'ObservedBitrateStandardDeviation' instead.")] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'ObservedBitrateStandardDeviation' instead.")] [Deprecated (PlatformName.WatchOS, 8, 0, message: "Use 'ObservedBitrateStandardDeviation' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("observedMaxBitrate")] double ObservedMaxBitrate { get; } @@ -14199,32 +13584,26 @@ interface AVPlayerItemAccessLogEvent : NSCopying { [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'ObservedBitrateStandardDeviation' instead.")] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'ObservedBitrateStandardDeviation' instead.")] [Deprecated (PlatformName.WatchOS, 8, 0, message: "Use 'ObservedBitrateStandardDeviation' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("observedMinBitrate")] double ObservedMinBitrate { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("observedBitrateStandardDeviation")] double ObservedBitrateStandardDeviation { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("playbackType", ArgumentSemantic.Copy), NullAllowed] string PlaybackType { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("mediaRequestsWWAN")] nint MediaRequestsWWAN { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("switchBitrate")] double SwitchBitrate { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("transferDuration")] double TransferDuration { get; } @@ -14270,8 +13649,6 @@ interface AVPlayerItemMetadataCollectorPushDelegate { } [Watch (6, 0)] - [iOS (9, 3), Mac (10, 12)] - [TV (9, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (AVPlayerItemMediaDataCollector))] interface AVPlayerItemMetadataCollector { @@ -14319,19 +13696,16 @@ interface AVPlayerLayer { [Export ("isReadyForDisplay")] bool ReadyForDisplay { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("videoRect")] CGRect VideoRect { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("pixelBufferAttributes", ArgumentSemantic.Copy), NullAllowed] NSDictionary WeakPixelBufferAttributes { get; set; } } [NoWatch] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -14374,7 +13748,6 @@ interface AVPlayerItemTrack { [NullAllowed, Export ("assetTrack")] AVAssetTrack AssetTrack { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("currentVideoFrameRate")] float CurrentVideoFrameRate { get; } // defined as 'float' @@ -14382,7 +13755,6 @@ interface AVPlayerItemTrack { [NoiOS] [NoTV] [NoWatch] - [Mac (10, 10)] [NoMacCatalyst] [Field ("AVPlayerItemTrackVideoFieldModeDeinterlaceFields")] NSString VideoFieldModeDeinterlaceFields { get; } @@ -14390,7 +13762,6 @@ interface AVPlayerItemTrack { [NoiOS] [NoTV] [NoWatch] - [Mac (10, 10)] [NoMacCatalyst] [Export ("videoFieldMode"), NullAllowed] string VideoFieldMode { get; set; } @@ -14580,7 +13951,6 @@ interface AVQueuePlayer { void RemoveAllItems (); } - [Watch (3, 0)] [MacCatalyst (13, 1)] [Static] interface AVAudioSettings { @@ -14605,7 +13975,6 @@ interface AVAudioSettings { [Field ("AVLinearPCMIsNonInterleaved")] NSString AVLinearPCMIsNonInterleaved { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("AVAudioFileTypeKey")] NSString FileTypeKey { get; } @@ -14619,7 +13988,6 @@ interface AVAudioSettings { [Field ("AVEncoderBitRatePerChannelKey")] NSString AVEncoderBitRatePerChannelKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVEncoderBitRateStrategyKey"), Internal] NSString AVEncoderBitRateStrategyKey { get; } @@ -14636,49 +14004,40 @@ interface AVAudioSettings { [Field ("AVChannelLayoutKey")] NSString AVChannelLayoutKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVAudioBitRateStrategy_Constant"), Internal] NSString _Constant { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVAudioBitRateStrategy_LongTermAverage"), Internal] NSString _LongTermAverage { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVAudioBitRateStrategy_VariableConstrained"), Internal] NSString _VariableConstrained { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVAudioBitRateStrategy_Variable"), Internal] NSString _Variable { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVSampleRateConverterAlgorithm_Normal"), Internal] NSString AVSampleRateConverterAlgorithm_Normal { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVSampleRateConverterAlgorithm_Mastering"), Internal] NSString AVSampleRateConverterAlgorithm_Mastering { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("AVSampleRateConverterAlgorithm_MinimumPhase")] NSString AVSampleRateConverterAlgorithm_MinimumPhase { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("AVEncoderAudioQualityForVBRKey"), Internal] NSString AVEncoderAudioQualityForVBRKey { get; } } [NoWatch] - [TV (10, 2), iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CALayer))] interface AVSampleBufferDisplayLayer { @@ -14727,7 +14086,6 @@ interface AVSampleBufferDisplayLayer { void StopRequestingMediaData (); // TODO: Remove (alongside others) when https://github.com/xamarin/xamarin-macios/issues/3213 is fixed and conformance to 'AVQueuedSampleBufferRendering' is restored. - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("timebase", ArgumentSemantic.Retain)] CMTimebase Timebase { get; } @@ -14741,12 +14099,12 @@ interface AVSampleBufferDisplayLayer { // AVSampleBufferDisplayLayerImageProtection - [TV (12, 2), NoWatch, Mac (10, 14, 4), iOS (12, 2)] + [TV (12, 2), NoWatch, iOS (12, 2)] [MacCatalyst (13, 1)] [Export ("preventsCapture")] bool PreventsCapture { get; set; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("preventsDisplaySleepDuringVideoPlayback")] bool PreventsDisplaySleepDuringVideoPlayback { get; set; } @@ -14792,8 +14150,6 @@ interface AVSynchronizedLayer { AVPlayerItem PlayerItem { get; set; } } - [Mac (10, 15)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVSpeechSynthesisVoice : NSSecureCoding { @@ -14808,7 +14164,6 @@ interface AVSpeechSynthesisVoice : NSSecureCoding { [Static, Export ("voiceWithLanguage:")] AVSpeechSynthesisVoice FromLanguage ([NullAllowed] string language); - [iOS (9, 0)] [MacCatalyst (13, 1)] [return: NullAllowed] [Static, Export ("voiceWithIdentifier:")] @@ -14817,27 +14172,22 @@ interface AVSpeechSynthesisVoice : NSSecureCoding { [Export ("language", ArgumentSemantic.Copy)] string Language { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("identifier")] string Identifier { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("name")] string Name { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("quality")] AVSpeechSynthesisVoiceQuality Quality { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("AVSpeechSynthesisVoiceIdentifierAlex")] NSString IdentifierAlex { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Field ("AVSpeechSynthesisIPANotationAttribute")] NSString IpaNotationAttribute { get; } @@ -14853,8 +14203,6 @@ interface AVSpeechSynthesisVoice : NSSecureCoding { NSDictionary AudioFileSettings { get; } } - [Mac (10, 15)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVSpeechUtterance : NSCopying, NSSecureCoding { @@ -14862,8 +14210,6 @@ interface AVSpeechUtterance : NSCopying, NSSecureCoding { [Static, Export ("speechUtteranceWithString:")] AVSpeechUtterance FromString (string speechString); - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("speechUtteranceWithAttributedString:")] @@ -14872,8 +14218,6 @@ interface AVSpeechUtterance : NSCopying, NSSecureCoding { [Export ("initWithString:")] NativeHandle Constructor (string speechString); - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithAttributedString:")] NativeHandle Constructor (NSAttributedString speechString); @@ -14885,8 +14229,6 @@ interface AVSpeechUtterance : NSCopying, NSSecureCoding { [Export ("speechString", ArgumentSemantic.Copy)] string SpeechString { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("attributedSpeechString")] NSAttributedString AttributedSpeechString { get; } @@ -14921,8 +14263,6 @@ interface AVSpeechUtterance : NSCopying, NSSecureCoding { bool PrefersAssistiveTechnologySettings { get; set; } } - [Mac (10, 15)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (AVSpeechSynthesizerDelegate) })] interface AVSpeechSynthesizer { @@ -14969,15 +14309,11 @@ interface AVSpeechSynthesizer { bool ContinueSpeaking (); [NoMac] - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("outputChannels", ArgumentSemantic.Retain)] AVAudioSessionChannelDescription [] OutputChannels { get; set; } } - [Mac (10, 15)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Model] [BaseType (typeof (NSObject))] @@ -15008,7 +14344,7 @@ interface AVSpeechSynthesizerDelegate { void WillSpeakRangeOfSpeechString (AVSpeechSynthesizer synthesizer, NSRange characterRange, AVSpeechUtterance utterance); } - [NoWatch, NoTV, Mac (12, 0), iOS (11, 0)] + [NoWatch, NoTV, Mac (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -15025,7 +14361,7 @@ interface AVAssetDownloadStorageManager { AVAssetDownloadStorageManagementPolicy GetStorageManagementPolicy (NSUrl downloadStorageUrl); } - [NoWatch, NoTV, Mac (12, 0), iOS (11, 0)] + [NoWatch, NoTV, Mac (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -15038,7 +14374,7 @@ interface AVAssetDownloadStorageManagementPolicy : NSCopying, NSMutableCopying { NSDate ExpirationDate { get; [NotImplemented] set; } } - [NoWatch, NoTV, Mac (12, 0), iOS (11, 0)] + [NoWatch, NoTV, Mac (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAssetDownloadStorageManagementPolicy))] [DisableDefaultCtor] @@ -15053,7 +14389,7 @@ interface AVMutableAssetDownloadStorageManagementPolicy { [NoWatch] [NoTV] - [iOS (9, 0), Mac (12, 0)] + [Mac (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSUrlSessionTask))] [DisableDefaultCtor] // not meant to be user createable @@ -15076,7 +14412,7 @@ interface AVAssetDownloadTask { } - [Mac (12, 0), NoWatch, NoTV, iOS (11, 0)] + [Mac (12, 0), NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSUrlSessionTask))] [DisableDefaultCtor] @@ -15094,12 +14430,12 @@ interface AVAggregateAssetDownloadTask { #endif [Static, Internal] interface AVAssetDownloadTaskKeys { - [iOS (9, 0), Mac (12, 0)] + [Mac (12, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetDownloadTaskMinimumRequiredMediaBitrateKey")] NSString MinimumRequiredMediaBitrateKey { get; } - [iOS (9, 0), Mac (12, 0)] + [Mac (12, 0)] [MacCatalyst (13, 1)] [Field ("AVAssetDownloadTaskMediaSelectionKey")] NSString MediaSelectionKey { get; } @@ -15150,7 +14486,7 @@ interface AVAssetDownloadOptions { [NoTV] [NoWatch] - [iOS (9, 0), Mac (12, 0)] + [Mac (12, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSUrlSession), Name = "AVAssetDownloadURLSession")] @@ -15170,19 +14506,17 @@ interface AVAssetDownloadUrlSession { [return: NullAllowed] AVAssetDownloadTask GetAssetDownloadTask (AVUrlAsset urlAsset, NSUrl destinationUrl, AVAssetDownloadOptions options); - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("assetDownloadTaskWithURLAsset:assetTitle:assetArtworkData:options:")] [return: NullAllowed] AVAssetDownloadTask GetAssetDownloadTask (AVUrlAsset urlAsset, string title, [NullAllowed] NSData artworkData, [NullAllowed] NSDictionary options); - [iOS (10, 0)] [MacCatalyst (13, 1)] [Wrap ("GetAssetDownloadTask (urlAsset, title, artworkData, options.GetDictionary ())")] [return: NullAllowed] AVAssetDownloadTask GetAssetDownloadTask (AVUrlAsset urlAsset, string title, [NullAllowed] NSData artworkData, AVAssetDownloadOptions options); - [Mac (12, 0), NoWatch, iOS (11, 0)] + [Mac (12, 0), NoWatch] [MacCatalyst (13, 1)] [Export ("aggregateAssetDownloadTaskWithURLAsset:mediaSelections:assetTitle:assetArtworkData:options:")] [return: NullAllowed] @@ -15197,7 +14531,7 @@ interface IAVAssetDownloadDelegate { } [NoTV] [NoWatch] - [iOS (9, 0), Mac (12, 0), MacCatalyst (15, 0)] + [Mac (12, 0), MacCatalyst (15, 0)] [Protocol, Model] [BaseType (typeof (NSObject))] interface AVAssetDownloadDelegate : NSUrlSessionTaskDelegate { @@ -15207,22 +14541,18 @@ interface AVAssetDownloadDelegate : NSUrlSessionTaskDelegate { [Export ("URLSession:assetDownloadTask:didResolveMediaSelection:")] void DidResolveMediaSelection (NSUrlSession session, AVAssetDownloadTask assetDownloadTask, AVMediaSelection resolvedMediaSelection); - [iOS (10, 0)] [MacCatalyst (15, 0)] [Export ("URLSession:assetDownloadTask:didFinishDownloadingToURL:")] void DidFinishDownloadingToUrl (NSUrlSession session, AVAssetDownloadTask assetDownloadTask, NSUrl location); - [iOS (11, 0)] [MacCatalyst (15, 0)] [Export ("URLSession:aggregateAssetDownloadTask:willDownloadToURL:")] void WillDownloadToUrl (NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, NSUrl location); - [iOS (11, 0)] [MacCatalyst (15, 0)] [Export ("URLSession:aggregateAssetDownloadTask:didCompleteForMediaSelection:")] void DidCompleteForMediaSelection (NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, AVMediaSelection mediaSelection); - [iOS (11, 0)] [MacCatalyst (15, 0)] [Export ("URLSession:aggregateAssetDownloadTask:didLoadTimeRange:totalTimeRangesLoaded:timeRangeExpectedToLoad:forMediaSelection:")] void DidLoadTimeRange (NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, CMTimeRange timeRange, NSValue [] loadedTimeRanges, CMTimeRange timeRangeExpectedToLoad, AVMediaSelection mediaSelection); @@ -15234,12 +14564,10 @@ interface AVAssetDownloadDelegate : NSUrlSessionTaskDelegate { } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVOutputSettingsAssistant { - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("availableOutputSettingsPresets")] string [] AvailableOutputSettingsPresets { get; } @@ -15278,7 +14606,6 @@ interface AVOutputSettingsAssistant { [Export ("sourceVideoAverageFrameDuration", ArgumentSemantic.Copy)] CMTime SourceVideoAverageFrameDuration { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("sourceVideoMinFrameDuration", ArgumentSemantic.Copy)] CMTime SourceVideoMinFrameDuration { get; set; } @@ -15295,26 +14622,19 @@ interface AVOutputSettingsAssistant { [Internal, Field ("AVOutputSettingsPreset1920x1080")] NSString _Preset1920x1080 { get; } - [iOS (9, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Internal, Field ("AVOutputSettingsPreset3840x2160")] NSString _Preset3840x2160 { get; } - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Internal, Field ("AVOutputSettingsPresetHEVC1920x1080")] NSString _PresetHevc1920x1080 { get; } - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Internal, Field ("AVOutputSettingsPresetHEVC3840x2160")] NSString _PresetHevc3840x2160 { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -15331,7 +14651,6 @@ interface AVMediaSelection : NSCopying, NSMutableCopying { bool CriteriaCanBeAppliedAutomaticallyToMediaSelectionGroup (AVMediaSelectionGroup mediaSelectionGroup); } - [iOS (9, 0), Mac (10, 11)] [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVMediaSelection))] @@ -15341,8 +14660,7 @@ interface AVMutableMediaSelection { void SelectMediaOption ([NullAllowed] AVMediaSelectionOption mediaSelectionOption, AVMediaSelectionGroup mediaSelectionGroup); } - [NoWatch, iOS (9, 0)] - [Mac (10, 11)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAudioSequencer { @@ -15408,8 +14726,7 @@ interface AVAudioSequencer { void Stop (); } - [NoWatch, iOS (9, 0)] - [Mac (10, 11)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // Docs/headers do not state that init is disallowed but if @@ -15452,9 +14769,6 @@ interface AVMusicTrack { nuint TimeResolution { get; } } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] interface AVAudioUnitType { @@ -15490,8 +14804,7 @@ interface AVAudioUnitType { NSString MidiProcessor { get; } } - [NoWatch, iOS (9, 0)] - [Mac (10, 10)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAudioUnitComponent { @@ -15538,7 +14851,7 @@ interface AVAudioUnitComponent { [NullAllowed, Export ("iconURL")] NSUrl IconUrl { get; } - [Mac (10, 11), MacCatalyst (15, 0), NoiOS, NoTV, NoWatch] + [MacCatalyst (15, 0), NoiOS, NoTV, NoWatch] [NullAllowed, Export ("icon")] UIImage Icon { get; } @@ -15571,7 +14884,7 @@ interface AVAudioUnitComponent { delegate bool AVAudioUnitComponentFilter (AVAudioUnitComponent comp, ref bool stop); - [NoWatch, iOS (9, 0), Mac (10, 10)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // for binary compatibility this is added in AVCompat.cs w/[Obsolete] @@ -15597,18 +14910,16 @@ interface AVAudioUnitComponentManager { AVAudioUnitComponent [] GetComponents (AudioComponentDescription desc); [Notification] - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVAudioUnitComponentManagerRegistrationsChangedNotification")] NSString RegistrationsChangedNotification { get; } } - [Watch (3, 0)] [MacCatalyst (13, 1)] [Static] interface AVAudioUnitManufacturerName { [Field ("AVAudioUnitManufacturerNameApple")] - [Mac (10, 10), iOS (9, 0)] [MacCatalyst (13, 1)] NSString Apple { get; } } @@ -15618,7 +14929,6 @@ interface AVAudioUnitManufacturerName { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] [NoTV] - [iOS (9, 0)] [BaseType (typeof (AVCaptureInput))] [DisableDefaultCtor] // Objective-C exception thrown. Name: NSInvalidArgumentException Reason: Format description is required. interface AVCaptureMetadataInput { @@ -15637,7 +14947,6 @@ interface AVCaptureMetadataInput { } [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVAsynchronousCIImageFilteringRequest : NSCopying { @@ -15658,7 +14967,7 @@ interface AVAsynchronousCIImageFilteringRequest : NSCopying { void Finish (NSError error); } - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -15688,7 +14997,7 @@ interface AVContentProposal : NSCopying { partial interface IAVContentKeySessionDelegate { } - [TV (10, 2), Mac (10, 12, 4), iOS (10, 3), Watch (7, 0)] + [Watch (7, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -15712,17 +15021,17 @@ interface AVContentKeySessionDelegate { [Export ("contentKeySessionContentProtectionSessionIdentifierDidChange:")] void DidChange (AVContentKeySession session); - [NoTV, Mac (10, 15), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Export ("contentKeySession:didUpdatePersistableContentKey:forContentKeyIdentifier:")] void DidUpdate (AVContentKeySession session, NSData persistableContentKey, NSObject keyIdentifier); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("contentKeySession:contentKeyRequestDidSucceed:")] void DidSucceed (AVContentKeySession session, AVContentKeyRequest keyRequest); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("contentKeySessionDidGenerateExpiredSessionReport:")] void DidGenerateExpiredSessionReport (AVContentKeySession session); @@ -15730,7 +15039,7 @@ interface AVContentKeySessionDelegate { partial interface IAVContentKeyRecipient { } - [TV (10, 2), Mac (10, 12, 4), iOS (10, 3), Watch (7, 0)] + [Watch (7, 0)] [MacCatalyst (13, 1)] [Protocol] interface AVContentKeyRecipient { @@ -15744,13 +15053,12 @@ interface AVContentKeyRecipient { bool MayRequireContentKeysForMediaDataProcessing { get; } } - [TV (10, 2), Mac (10, 12, 4), iOS (10, 3), Watch (7, 0)] + [Watch (7, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] interface AVContentKeySession { - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("contentKeySessionWithKeySystem:")] @@ -15797,13 +15105,13 @@ interface AVContentKeySession { void RenewExpiringResponseData (AVContentKeyRequest contentKeyRequest); [Async] - [NoTV, Mac (10, 15), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Export ("makeSecureTokenForExpirationDateOfPersistableContentKey:completionHandler:")] void MakeSecureToken (NSData persistableContentKeyData, Action handler); [Async] - [NoTV, Mac (10, 15), iOS (12, 2)] + [NoTV, iOS (12, 2)] [MacCatalyst (13, 1)] [Export ("invalidatePersistableContentKey:options:completionHandler:")] void InvalidatePersistableContentKey (NSData persistableContentKeyData, [NullAllowed] NSDictionary options, Action handler); @@ -15815,7 +15123,7 @@ interface AVContentKeySession { void InvalidatePersistableContentKey (NSData persistableContentKeyData, [NullAllowed] AVContentKeySessionServerPlaybackContextOptions options, Action handler); [Async] - [NoTV, Mac (10, 15), iOS (12, 2)] + [NoTV, iOS (12, 2)] [MacCatalyst (13, 1)] [Export ("invalidateAllPersistableContentKeysForApp:options:completionHandler:")] void InvalidateAllPersistableContentKeys (NSData appIdentifier, [NullAllowed] NSDictionary options, Action handler); @@ -15842,7 +15150,7 @@ interface AVContentKeySession { [Static] [Internal] - [Watch (7, 0), NoTV, Mac (10, 15), iOS (12, 2)] + [Watch (7, 0), NoTV, iOS (12, 2)] [MacCatalyst (13, 1)] interface AVContentKeySessionServerPlaybackContextOptionKeys { [Field ("AVContentKeySessionServerPlaybackContextOptionProtocolVersions")] @@ -15861,7 +15169,7 @@ interface AVContentKeySessionServerPlaybackContextOptions { NSData ServerChallenge { get; } } - [TV (10, 2), Mac (10, 12, 4), iOS (10, 3), Watch (7, 0)] + [Watch (7, 0)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (AVContentKeySession))] @@ -15876,7 +15184,7 @@ interface AVContentKeySession_AVContentKeyRecipients { IAVContentKeyRecipient [] GetContentKeyRecipients (); } - [TV (10, 2), Mac (10, 12, 4), iOS (10, 3), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -15911,7 +15219,7 @@ interface AVContentKeyRequest { [Export ("canProvidePersistableContentKey")] bool CanProvidePersistableContentKey { get; } - [TV (12, 2), Mac (10, 14, 4), iOS (12, 2), Watch (7, 0)] + [TV (12, 2), iOS (12, 2), Watch (7, 0)] [MacCatalyst (13, 1)] [Export ("options", ArgumentSemantic.Copy)] NSDictionary Options { get; } @@ -15938,12 +15246,12 @@ interface AVContentKeyRequest { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use the 'NSError' overload instead.")] void RespondByRequestingPersistableContentKeyRequest (); - [Watch (7, 0), NoTV, Mac (10, 15), iOS (11, 2)] + [Watch (7, 0), NoTV, iOS (11, 2)] [MacCatalyst (13, 1)] [Export ("respondByRequestingPersistableContentKeyRequestAndReturnError:")] bool RespondByRequestingPersistableContentKeyRequest ([NullAllowed] out NSError error); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("AVContentKeyRequestRequiresValidationDataInSecureTokenKey")] NSString RequiresValidationDataInSecureTokenKey { get; } @@ -15960,7 +15268,7 @@ interface AVContentKeyRequest { } [Category] - [Mac (10, 12, 4), iOS (10, 3), TV (10, 2), Watch (7, 0)] + [Watch (7, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVContentKeyRequest))] interface AVContentKeyRequest_AVContentKeyRequestRenewal { @@ -15968,7 +15276,7 @@ interface AVContentKeyRequest_AVContentKeyRequestRenewal { bool GetRenewsExpiringResponseData (); } - [TV (10, 2), Mac (10, 12, 4), iOS (10, 3), Watch (7, 0)] + [Watch (7, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (AVContentKeyRequest))] @@ -15979,7 +15287,7 @@ interface AVPersistableContentKeyRequest { } - [TV (10, 2), Mac (10, 12, 4), iOS (10, 3), Watch (7, 0)] + [Watch (7, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -15989,14 +15297,13 @@ interface AVContentKeyResponse { [Export ("contentKeyResponseWithFairPlayStreamingKeyResponseData:")] AVContentKeyResponse _InitWithFairPlayStreamingKeyResponseData (NSData fairPlayStreamingKeyResponseData); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("contentKeyResponseWithClearKeyData:initializationVector:")] AVContentKeyResponse Create (NSData keyData, [NullAllowed] NSData initializationVector); [Internal] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("contentKeyResponseWithAuthorizationTokenData:")] @@ -16033,7 +15340,7 @@ interface AVContentKey { AVContentKeySpecifier ContentKeySpecifier { get; } } - [TV (11, 0), NoWatch, Mac (10, 13), iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -16084,7 +15391,7 @@ interface AVCapturePhotoFileDataRepresentationCustomizer { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoTV, iOS (11, 0), NoWatch, Mac (10, 15)] + [NoTV, NoWatch] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVCapturePhoto { @@ -16198,7 +15505,7 @@ interface AVCapturePhoto { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [Watch (6, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (6, 0), TV (12, 0), iOS (12, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVPortraitEffectsMatte { @@ -16225,7 +15532,7 @@ interface AVPortraitEffectsMatte { CVPixelBuffer MattingImage { get; } } - [NoWatch, TV (12, 0), Mac (10, 14), iOS (12, 0)] + [NoWatch, TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -16235,7 +15542,7 @@ interface AVAssetResourceLoadingRequestor { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] enum AVSemanticSegmentationMatteType { [DefaultEnumValue] [Field (null)] @@ -16256,7 +15563,7 @@ enum AVSemanticSegmentationMatteType { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVSemanticSegmentationMatte { @@ -16288,7 +15595,7 @@ interface AVSemanticSegmentationMatte { CVPixelBuffer MattingImage { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -16305,7 +15612,7 @@ interface AVCompositionTrackFormatDescriptionReplacement : NSSecureCoding { delegate /* OSStatus */ int AVAudioSourceNodeRenderHandler (bool isSilence, AudioToolbox.AudioTimeStamp timestamp, uint frameCount, ref AudioBuffers outputData); delegate /* OSStatus */ int AVAudioSourceNodeRenderHandler2 (ref bool isSilence, ref AudioTimeStamp timestamp, uint frameCount, ref AudioBuffers outputData); #endif - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioNode))] [DisableDefaultCtor] @@ -16329,7 +15636,7 @@ interface AVAudioSourceNode : AVAudioMixing { delegate int AVAudioSinkNodeReceiverHandler (AudioTimeStamp timestamp, uint frameCount, ref AudioBuffers inputData); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (AVAudioNode))] [DisableDefaultCtor] @@ -16339,7 +15646,7 @@ interface AVAudioSinkNode { NativeHandle Constructor (AVAudioSinkNodeReceiverHandler receiverHandler); } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AVVideoCompositionRenderHint { @@ -16367,7 +15674,7 @@ interface AVCaptureMultiCamSession { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [BaseType (typeof (AVMetadataObject))] [DisableDefaultCtor] interface AVMetadataBodyObject : NSCopying { @@ -16376,28 +15683,28 @@ interface AVMetadataBodyObject : NSCopying { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [BaseType (typeof (AVMetadataBodyObject))] [DisableDefaultCtor] interface AVMetadataCatBodyObject : NSCopying { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [BaseType (typeof (AVMetadataBodyObject))] [DisableDefaultCtor] interface AVMetadataDogBodyObject : NSCopying { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [BaseType (typeof (AVMetadataBodyObject))] [DisableDefaultCtor] interface AVMetadataHumanBodyObject : NSCopying { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, NoTV, Mac (10, 15), iOS (13, 0)] + [NoWatch, NoTV, iOS (13, 0)] [BaseType (typeof (AVMetadataObject))] [DisableDefaultCtor] interface AVMetadataSalientObject : NSCopying { diff --git a/src/avkit.cs b/src/avkit.cs index 5ac8802e44a0..8699bf040fe1 100644 --- a/src/avkit.cs +++ b/src/avkit.cs @@ -50,8 +50,6 @@ namespace AVKit { [TV (14, 0)] - [iOS (9, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -146,7 +144,7 @@ interface AVPictureInPictureController { interface IAVPictureInPictureControllerDelegate { } - [iOS (9, 0), Mac (10, 15), TV (14, 0)] + [TV (14, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -171,7 +169,6 @@ interface AVPictureInPictureControllerDelegate { } [NoMac] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] interface AVPlayerViewController { @@ -201,31 +198,26 @@ interface AVPlayerViewController { [Export ("contentOverlayView")] UIView ContentOverlayView { get; } - [TV (11, 0)] [NoiOS] [NoMacCatalyst] [Export ("unobscuredContentGuide")] UILayoutGuide UnobscuredContentGuide { get; } [TV (14, 0)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("allowsPictureInPicturePlayback")] bool AllowsPictureInPicturePlayback { get; set; } [NoTV] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("updatesNowPlayingInfoCenter")] bool UpdatesNowPlayingInfoCenter { get; set; } - [iOS (11, 0)] [NoTV] [MacCatalyst (13, 1)] [Export ("entersFullScreenWhenPlaybackBegins")] bool EntersFullScreenWhenPlaybackBegins { get; set; } - [iOS (11, 0)] [NoTV] [MacCatalyst (13, 1)] [Export ("exitsFullScreenWhenPlaybackEnds")] @@ -236,7 +228,6 @@ interface AVPlayerViewController { [Protocolize] AVPlayerViewControllerDelegate Delegate { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] NSObject WeakDelegate { get; set; } @@ -262,40 +253,40 @@ interface AVPlayerViewController { #endregion [NullAllowed] - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("contentProposalViewController", ArgumentSemantic.Assign)] AVContentProposalViewController ContentProposalViewController { get; set; } - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("skippingBehavior", ArgumentSemantic.Assign)] AVPlayerViewControllerSkippingBehavior SkippingBehavior { get; set; } - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("skipForwardEnabled")] bool SkipForwardEnabled { [Bind ("isSkipForwardEnabled")] get; set; } - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("skipBackwardEnabled")] bool SkipBackwardEnabled { [Bind ("isSkipBackwardEnabled")] get; set; } // From AVPlayerViewControllerControls category - [NoiOS, TV (11, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("playbackControlsIncludeTransportBar")] bool PlaybackControlsIncludeTransportBar { get; set; } - [NoiOS, TV (11, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("playbackControlsIncludeInfoViews")] bool PlaybackControlsIncludeInfoViews { get; set; } [NullAllowed] - [NoiOS, TV (11, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'CustomInfoViewControllers' instead.")] [NoMacCatalyst] [Export ("customInfoViewController", ArgumentSemantic.Assign)] @@ -306,7 +297,7 @@ interface AVPlayerViewController { [Export ("appliesPreferredDisplayCriteriaAutomatically")] bool AppliesPreferredDisplayCriteriaAutomatically { get; set; } - [iOS (9, 0), TV (13, 0), NoWatch] + [TV (13, 0), NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("pixelBufferAttributes", ArgumentSemantic.Copy)] NSDictionary PixelBufferAttributes { get; set; } @@ -412,21 +403,18 @@ interface AVPlayerViewControllerDelegate { [NoiOS] [NoMac] - [TV (11, 0)] [NoMacCatalyst] [Export ("playerViewControllerShouldDismiss:")] bool ShouldDismiss (AVPlayerViewController playerViewController); [NoiOS] [NoMac] - [TV (11, 0)] [NoMacCatalyst] [Export ("playerViewControllerWillBeginDismissalTransition:")] void WillBeginDismissalTransition (AVPlayerViewController playerViewController); [NoiOS] [NoMac] - [TV (11, 0)] [NoMacCatalyst] [Export ("playerViewControllerDidEndDismissalTransition:")] void DidEndDismissalTransition (AVPlayerViewController playerViewController); @@ -456,37 +444,37 @@ interface AVPlayerViewControllerDelegate { [Export ("playerViewController:didSelectExternalSubtitleOptionLanguage:")] void DidSelectExternalSubtitleOptionLanguage (AVPlayerViewController playerViewController, string language); - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("playerViewController:timeToSeekAfterUserNavigatedFromTime:toTime:")] CMTime GetTimeToSeekAfterUserNavigated (AVPlayerViewController playerViewController, CMTime oldTime, CMTime targetTime); - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("skipToNextItemForPlayerViewController:")] void SkipToNextItem (AVPlayerViewController playerViewController); - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("skipToPreviousItemForPlayerViewController:")] void SkipToPreviousItem (AVPlayerViewController playerViewController); - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("playerViewController:shouldPresentContentProposal:")] bool ShouldPresentContentProposal (AVPlayerViewController playerViewController, AVContentProposal proposal); - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("playerViewController:didAcceptContentProposal:")] void DidAcceptContentProposal (AVPlayerViewController playerViewController, AVContentProposal proposal); - [NoiOS, TV (10, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("playerViewController:didRejectContentProposal:")] void DidRejectContentProposal (AVPlayerViewController playerViewController, AVContentProposal proposal); - [NoiOS, TV (11, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Export ("playerViewController:willTransitionToVisibilityOfTransportBar:withAnimationCoordinator:")] void WillTransitionToVisibilityOfTransportBar (AVPlayerViewController playerViewController, bool visible, IAVPlayerViewControllerAnimationCoordinator coordinator); @@ -539,7 +527,7 @@ interface AVAudioSession_AVPlaybackRouteSelecting { interface IAVPlayerViewControllerAnimationCoordinator { } - [NoiOS, TV (11, 0), NoWatch, NoMac] + [NoiOS, NoWatch, NoMac] [NoMacCatalyst] [Protocol] interface AVPlayerViewControllerAnimationCoordinator { @@ -550,7 +538,6 @@ interface AVPlayerViewControllerAnimationCoordinator { } [NoiOS, NoWatch, NoTV] - [Mac (10, 9)] [NoMacCatalyst] [BaseType (typeof (NSView))] interface AVPlayerView { @@ -564,28 +551,23 @@ interface AVPlayerView { [Export ("controlsStyle")] AVPlayerViewControlsStyle ControlsStyle { get; set; } - [Mac (10, 10)] [NoMacCatalyst] [Export ("videoGravity")] string VideoGravity { get; set; } - [Mac (10, 10)] [NoMacCatalyst] [Export ("readyForDisplay")] bool ReadyForDisplay { [Bind ("isReadyForDisplay")] get; } - [Mac (10, 10)] [NoMacCatalyst] [Export ("videoBounds")] CGRect VideoBounds { get; } [NullAllowed] - [Mac (10, 10)] [NoMacCatalyst] [Export ("contentOverlayView")] NSView ContentOverlayView { get; } - [Mac (10, 13)] [NoMacCatalyst] [Export ("updatesNowPlayingInfoCenter")] bool UpdatesNowPlayingInfoCenter { get; set; } @@ -613,23 +595,19 @@ interface AVPlayerView { [Export ("showsSharingServiceButton")] bool ShowsSharingServiceButton { get; set; } - [Mac (10, 15)] [NoMacCatalyst] [Export ("allowsPictureInPicturePlayback")] bool AllowsPictureInPicturePlayback { get; set; } - [Mac (10, 15)] [NoMacCatalyst] [Wrap ("WeakPictureInPictureDelegate")] [NullAllowed] IAVPlayerViewPictureInPictureDelegate PictureInPictureDelegate { get; set; } - [Mac (10, 15)] [NoMacCatalyst] [NullAllowed, Export ("pictureInPictureDelegate", ArgumentSemantic.Weak)] NSObject WeakPictureInPictureDelegate { get; set; } - [Mac (10, 15)] [NoMacCatalyst] [Export ("showsTimecodes")] bool ShowsTimecodes { get; set; } @@ -677,7 +655,6 @@ interface AVPlayerView { interface IAVPlayerViewPictureInPictureDelegate { } [NoiOS, NoWatch, NoTV] - [Mac (10, 15)] [NoMacCatalyst] #if NET [Protocol, Model] @@ -710,7 +687,6 @@ interface AVPlayerViewPictureInPictureDelegate { } [NoiOS, NoWatch, NoTV] - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSView))] interface AVCaptureView { @@ -741,7 +717,6 @@ interface IAVCaptureViewDelegate { } [NoiOS, NoWatch, NoTV] [Protocol, Model] - [Mac (10, 10)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface AVCaptureViewDelegate { @@ -789,7 +764,7 @@ interface AVNavigationMarkersGroup { } [NoMac] - [NoiOS, TV (10, 0), NoWatch] + [NoiOS, NoWatch] [NoMacCatalyst] [BaseType (typeof (UIViewController))] interface AVContentProposalViewController { @@ -818,7 +793,7 @@ interface AVContentProposalViewController { [Static] [NoMac] - [NoiOS, TV (10, 1), NoWatch] + [NoiOS, NoWatch] [NoMacCatalyst] interface AVKitMetadataIdentifier { @@ -829,34 +804,27 @@ interface AVKitMetadataIdentifier { [Field ("AVKitMetadataIdentifierPlaybackProgress")] NSString PlaybackProgress { get; } - [TV (11, 0)] [NoMacCatalyst] [Field ("AVKitMetadataIdentifierExactStartDate")] NSString ExactStartDate { get; } - [TV (11, 0)] [NoMacCatalyst] [Field ("AVKitMetadataIdentifierApproximateStartDate")] NSString ApproximateStartDate { get; } - [TV (11, 0)] [NoMacCatalyst] [Field ("AVKitMetadataIdentifierExactEndDate")] NSString ExactEndDate { get; } - [TV (11, 0)] [NoMacCatalyst] [Field ("AVKitMetadataIdentifierApproximateEndDate")] NSString ApproximateEndDate { get; } - [TV (11, 0)] [NoMacCatalyst] [Field ("AVKitMetadataIdentifierServiceIdentifier")] NSString ServiceIdentifier { get; } } - [Mac (10, 15)] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIView))] interface AVRoutePickerView { @@ -877,7 +845,6 @@ interface AVRoutePickerView { UIColor ActiveTintColor { get; set; } [NoiOS, NoMac, NoWatch, NoMacCatalyst] - [TV (11, 0)] [Export ("routePickerButtonStyle", ArgumentSemantic.Assign)] AVRoutePickerViewButtonStyle RoutePickerButtonStyle { get; set; } @@ -913,7 +880,6 @@ interface AVRoutePickerView { } [NoiOS, NoMac, NoWatch, NoMacCatalyst] - [TV (11, 0)] [Native] public enum AVRoutePickerViewButtonStyle : long { System, @@ -923,8 +889,6 @@ public enum AVRoutePickerViewButtonStyle : long { interface IAVRoutePickerViewDelegate { } - [TV (11, 0), iOS (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -1091,7 +1055,6 @@ interface AVPlayerViewDelegate { void RestoreUserInterfaceForFullScreenExit (AVPlayerView playerView, Action completionHandler); } - [Mac (10, 10)] [NoiOS] [NoTV] [NoWatch] @@ -1104,7 +1067,6 @@ public enum AVCaptureViewControlsStyle : long { Default = Inline, } - [Mac (10, 9)] [NoiOS] [NoTV] [NoWatch] diff --git a/src/businesschat.cs b/src/businesschat.cs index e9196a8f73d6..ce848eeaddb1 100644 --- a/src/businesschat.cs +++ b/src/businesschat.cs @@ -26,7 +26,7 @@ namespace BusinessChat { [Deprecated (PlatformName.MacOSX, 13, 1)] [Deprecated (PlatformName.iOS, 16, 2)] - [Mac (10, 13, 4), iOS (11, 3)] + [iOS (11, 3)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 16, 2)] [BaseType (typeof (UIControl))] @@ -40,7 +40,7 @@ interface BCChatButton { [Deprecated (PlatformName.MacOSX, 13, 1)] [Deprecated (PlatformName.iOS, 16, 2)] - [Mac (10, 13, 4), iOS (11, 3)] + [iOS (11, 3)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 16, 2)] [BaseType (typeof (NSObject))] diff --git a/src/callkit.cs b/src/callkit.cs index 76971588cf85..a3e51e9706e9 100644 --- a/src/callkit.cs +++ b/src/callkit.cs @@ -19,7 +19,7 @@ namespace CallKit { - [iOS (10, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (13, 1)] [Native] public enum CXCallDirectoryEnabledStatus : long { @@ -28,7 +28,7 @@ public enum CXCallDirectoryEnabledStatus : long { Enabled = 2 } - [iOS (10, 0), NoMac, MacCatalyst (14, 0), Watch (9, 0)] + [NoMac, MacCatalyst (14, 0), Watch (9, 0)] [ErrorDomain ("CXErrorDomain")] [Native] public enum CXErrorCode : long { @@ -38,7 +38,7 @@ public enum CXErrorCode : long { MissingVoIPBackgroundMode = 3, } - [iOS (10, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [ErrorDomain ("CXErrorDomainIncomingCall")] [Native] @@ -50,7 +50,7 @@ public enum CXErrorCodeIncomingCallError : long { FilteredByBlockList = 4 } - [iOS (10, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [ErrorDomain ("CXErrorDomainRequestTransaction")] [Native] @@ -65,7 +65,7 @@ public enum CXErrorCodeRequestTransactionError : long { MaximumCallGroupsReached = 7, } - [iOS (10, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [ErrorDomain ("CXErrorDomainCallDirectoryManager")] [Native] @@ -97,8 +97,7 @@ public enum CXErrorCodeNotificationServiceExtensionError : long { [Mac (11, 0)] [Obsoleted (PlatformName.MacOSX, 12, 1)] #endif - [MacCatalyst (13, 0)] - [iOS (10, 0)] + [MacCatalyst (13, 1)] [Native] public enum CXPlayDtmfCallActionType : long { SingleTone = 1, @@ -112,8 +111,7 @@ public enum CXPlayDtmfCallActionType : long { [Mac (11, 0)] [Obsoleted (PlatformName.MacOSX, 12, 1)] #endif - [MacCatalyst (13, 0)] - [iOS (10, 0)] + [MacCatalyst (13, 1)] [Native] public enum CXCallEndedReason : long { Failed = 1, @@ -129,8 +127,7 @@ public enum CXCallEndedReason : long { [Mac (11, 0)] [Obsoleted (PlatformName.MacOSX, 12, 1)] #endif - [MacCatalyst (13, 0)] - [iOS (10, 0)] + [MacCatalyst (13, 1)] [Native] public enum CXHandleType : long { Generic = 1, @@ -138,7 +135,7 @@ public enum CXHandleType : long { EmailAddress = 3, } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -158,7 +155,7 @@ interface CXHandle : NSCopying, NSSecureCoding { bool IsEqual (CXHandle handle); } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // designated @@ -184,7 +181,7 @@ interface CXAction : NSCopying, NSSecureCoding { void Fail (); } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CXCallAction))] [DisableDefaultCtor] @@ -198,7 +195,7 @@ interface CXAnswerCallAction { void Fulfill (NSDate dateConnected); } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -223,7 +220,7 @@ interface CXCall { bool IsEqual (CXCall call); } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CXAction))] [DisableDefaultCtor] @@ -237,7 +234,7 @@ interface CXCallAction { NativeHandle Constructor (NSUuid callUuid); } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CXCallController { @@ -253,20 +250,18 @@ interface CXCallController { [Export ("requestTransaction:completion:")] void RequestTransaction (CXTransaction transaction, Action completion); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Async] [Export ("requestTransactionWithActions:completion:")] void RequestTransaction (CXAction [] actions, Action completion); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Async] [Export ("requestTransactionWithAction:completion:")] void RequestTransaction (CXAction action, Action completion); } - [iOS (10, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSExtensionContext))] interface CXCallDirectoryExtensionContext { @@ -285,27 +280,22 @@ interface CXCallDirectoryExtensionContext { [MacCatalyst (13, 1)] ICXCallDirectoryExtensionContextDelegate Delegate { get; set; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("incremental")] bool Incremental { [Bind ("isIncremental")] get; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("removeBlockingEntryWithPhoneNumber:")] void RemoveBlockingEntry (/* CXCallDirectoryPhoneNumber -> int64_t */ long phoneNumber); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("removeAllBlockingEntries")] void RemoveAllBlockingEntries (); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("removeIdentificationEntryWithPhoneNumber:")] void RemoveIdentificationEntry (/* CXCallDirectoryPhoneNumber -> int64_t */ long phoneNumber); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("removeAllIdentificationEntries")] void RemoveAllIdentificationEntries (); @@ -313,7 +303,7 @@ interface CXCallDirectoryExtensionContext { interface ICXCallDirectoryExtensionContextDelegate { } - [iOS (10, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (13, 1)] [Protocol] [Model] @@ -325,7 +315,7 @@ interface CXCallDirectoryExtensionContextDelegate { void RequestFailed (CXCallDirectoryExtensionContext extensionContext, NSError error); } - [iOS (10, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CXCallDirectoryManager { @@ -348,7 +338,7 @@ interface CXCallDirectoryManager { void OpenSettings ([NullAllowed] Action completion); } - [iOS (10, 0), NoMac, NoWatch] + [NoMac, NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CXCallDirectoryProvider : NSExtensionRequestHandling { @@ -357,7 +347,7 @@ interface CXCallDirectoryProvider : NSExtensionRequestHandling { interface ICXCallObserverDelegate { } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -368,7 +358,7 @@ interface CXCallObserverDelegate { void CallChanged (CXCallObserver callObserver, CXCall call); } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CXCallObserver { @@ -380,7 +370,7 @@ interface CXCallObserver { void SetDelegate ([NullAllowed] ICXCallObserverDelegate aDelegate, [NullAllowed] DispatchQueue queue); } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CXCallUpdate : NSCopying { @@ -407,7 +397,7 @@ interface CXCallUpdate : NSCopying { bool HasVideo { get; set; } } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (CXCallAction))] @@ -421,7 +411,7 @@ interface CXEndCallAction { void Fulfill (NSDate dateEnded); } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (CXCallAction), Name = "CXPlayDTMFCallAction")] @@ -441,7 +431,7 @@ interface CXPlayDtmfCallAction { interface ICXProviderDelegate { } [Protocol, Model] - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CXProviderDelegate { @@ -492,7 +482,6 @@ interface CXProviderDelegate { void DidDeactivateAudioSession (CXProvider provider, AVAudioSession audioSession); } - [iOS (10, 0)] [NoMac] [Watch (9, 0)] [MacCatalyst (13, 1)] @@ -542,7 +531,7 @@ interface CXProvider { CXCallAction [] GetPendingCallActions (Class callActionClass, NSUuid callUuid); } - [iOS (10, 0), Mac (11, 0), Watch (9, 0)] + [Mac (11, 0), Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -568,7 +557,6 @@ interface CXProviderConfiguration : NSCopying { [Export ("maximumCallsPerCallGroup")] nuint MaximumCallsPerCallGroup { get; set; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("includesCallsInRecents")] bool IncludesCallsInRecents { get; set; } @@ -593,7 +581,6 @@ interface CXProviderConfiguration : NSCopying { NativeHandle Constructor (); } - [iOS (10, 0)] [NoMac] [Watch (9, 0)] [MacCatalyst (13, 1)] @@ -609,7 +596,7 @@ interface CXSetGroupCallAction { NSUuid CallUuidToGroupWith { get; set; } } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (CXCallAction))] @@ -623,7 +610,7 @@ interface CXSetHeldCallAction { bool OnHold { [Bind ("isOnHold")] get; set; } } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CXCallAction))] [DisableDefaultCtor] @@ -637,7 +624,7 @@ interface CXSetMutedCallAction { bool Muted { [Bind ("isMuted")] get; set; } } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (CXCallAction))] @@ -662,7 +649,7 @@ interface CXStartCallAction { void Fulfill (NSDate dateStarted); } - [iOS (10, 0), NoMac, Watch (9, 0)] + [NoMac, Watch (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // there's a designated initializer that does not accept null diff --git a/src/cfnetwork.cs b/src/cfnetwork.cs index 848e071a93c2..ba71880ce161 100644 --- a/src/cfnetwork.cs +++ b/src/cfnetwork.cs @@ -79,8 +79,6 @@ interface CFHTTPMessage { [Field ("kCFHTTPVersion1_1", "CFNetwork")] IntPtr _HTTPVersion1_1 { get; } - [Mac (10, 11)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Internal] [Field ("kCFHTTPVersion2_0", "CFNetwork")] @@ -124,7 +122,6 @@ interface CFHTTPMessage { // OSX headers says it's 10.9 only // iOS headers says it's iOS 7.0 only (but comments talks about OSX) // yet both 7.0+ and 10.9 returns null - [Mac (10, 9)] [MacCatalyst (13, 1)] [Internal] [Field ("kCFHTTPAuthenticationSchemeOAuth1", "CFNetwork")] diff --git a/src/clockkit.cs b/src/clockkit.cs index c70d51181c87..c5f0d057debe 100644 --- a/src/clockkit.cs +++ b/src/clockkit.cs @@ -116,7 +116,6 @@ interface CLKComplicationDataSource { void GetPlaceholderTemplate (CLKComplication complication, Action handler); [Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")] - [Watch (3, 0)] [Export ("getLocalizableSampleTemplateForComplication:withHandler:")] void GetLocalizableSampleTemplate (CLKComplication complication, Action handler); @@ -761,7 +760,6 @@ interface CLKComplicationTemplateCircularSmallStackImage { } [Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")] - [Watch (3, 0)] [BaseType (typeof (CLKComplicationTemplate))] interface CLKComplicationTemplateExtraLargeSimpleText { @@ -779,7 +777,6 @@ interface CLKComplicationTemplateExtraLargeSimpleText { } [Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")] - [Watch (3, 0)] [BaseType (typeof (CLKComplicationTemplate))] interface CLKComplicationTemplateExtraLargeSimpleImage { @@ -797,7 +794,6 @@ interface CLKComplicationTemplateExtraLargeSimpleImage { } [Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")] - [Watch (3, 0)] [BaseType (typeof (CLKComplicationTemplate))] interface CLKComplicationTemplateExtraLargeRingText { @@ -821,7 +817,6 @@ interface CLKComplicationTemplateExtraLargeRingText { } [Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")] - [Watch (3, 0)] [BaseType (typeof (CLKComplicationTemplate))] interface CLKComplicationTemplateExtraLargeRingImage { @@ -845,7 +840,6 @@ interface CLKComplicationTemplateExtraLargeRingImage { } [Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")] - [Watch (3, 0)] [BaseType (typeof (CLKComplicationTemplate))] interface CLKComplicationTemplateExtraLargeStackText { @@ -869,7 +863,6 @@ interface CLKComplicationTemplateExtraLargeStackText { } [Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")] - [Watch (3, 0)] [BaseType (typeof (CLKComplicationTemplate))] interface CLKComplicationTemplateExtraLargeStackImage { @@ -893,7 +886,6 @@ interface CLKComplicationTemplateExtraLargeStackImage { } [Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")] - [Watch (3, 0)] [BaseType (typeof (CLKComplicationTemplate))] interface CLKComplicationTemplateExtraLargeColumnsText { @@ -1010,17 +1002,14 @@ interface CLKTextProvider : NSCopying { // but static methods are not great candidates for extensions methods // so they are inlined inside the actual type - [Watch (3, 0)] [Static] [Export ("localizableTextProviderWithStringsFileTextKey:")] CLKTextProvider CreateLocalizable (string textKey); - [Watch (3, 0)] [Static] [Export ("localizableTextProviderWithStringsFileTextKey:shortTextKey:")] CLKTextProvider CreateLocalizable (string textKey, [NullAllowed] string shortTextKey); - [Watch (3, 0)] [Static] [Export ("localizableTextProviderWithStringsFileFormatKey:textProviders:")] CLKTextProvider CreateLocalizable (string formatKey, CLKTextProvider [] textProviders); diff --git a/src/cloudkit.cs b/src/cloudkit.cs index a51297564820..ba41c2d1396e 100644 --- a/src/cloudkit.cs +++ b/src/cloudkit.cs @@ -12,8 +12,6 @@ namespace CloudKit { - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // NSInvalidArgumentException Reason: You must call -[CKAsset initWithFileURL:] or -[CKAsset initWithData:] [BaseType (typeof (NSObject))] @@ -27,7 +25,6 @@ interface CKAsset : NSCoding, NSSecureCoding, CKRecordValue { NSUrl FileUrl { get; } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -63,7 +60,6 @@ interface CKUserIdentityLookupInfo : NSSecureCoding, NSCopying { CKRecordID UserRecordID { get; } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -80,13 +76,12 @@ interface CKUserIdentity : NSSecureCoding, NSCopying { [Export ("hasiCloudAccount")] bool HasICloudAccount { get; } - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Export ("contactIdentifiers", ArgumentSemantic.Copy)] string [] ContactIdentifiers { get; } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CKShareMetadata : NSCopying, NSSecureCoding { @@ -104,7 +99,7 @@ interface CKShareMetadata : NSCopying, NSSecureCoding { [Export ("rootRecordID", ArgumentSemantic.Copy)] CKRecordID RootRecordID { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("participantRole", ArgumentSemantic.Assign)] CKShareParticipantRole ParticipantRole { get; } @@ -134,7 +129,6 @@ interface CKShareMetadata : NSCopying, NSSecureCoding { CKRecordID HierarchicalRootRecordId { get; } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CKRecord))] [DisableDefaultCtor] @@ -175,7 +169,6 @@ interface CKShare { } [Static] - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] partial interface CKShareKeys { @@ -189,7 +182,6 @@ partial interface CKShareKeys { NSString Type { get; } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -197,7 +189,7 @@ interface CKShareParticipant : NSSecureCoding, NSCopying { [Export ("userIdentity", ArgumentSemantic.Strong)] CKUserIdentity UserIdentity { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("role", ArgumentSemantic.Assign)] CKShareParticipantRole Role { get; set; } @@ -217,8 +209,6 @@ interface CKShareParticipant : NSSecureCoding, NSCopying { CKShareParticipantPermission Permission { get; set; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // NSInternalInconsistencyException Reason: Use +[CKContainer privateCloudDatabase] or +[CKContainer publicCloudDatabase] instead of creating your own [BaseType (typeof (NSObject))] @@ -233,7 +223,6 @@ interface CKContainer { [Field ("CKOwnerDefaultName")] NSString OwnerDefaultName { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("CKCurrentUserDefaultName")] NSString CurrentUserDefaultName { get; } @@ -258,13 +247,10 @@ interface CKContainer { [Export ("publicCloudDatabase")] CKDatabase PublicCloudDatabase { get; } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("sharedCloudDatabase")] CKDatabase SharedCloudDatabase { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("databaseWithDatabaseScope:")] CKDatabase GetDatabase (CKDatabaseScope databaseScope); @@ -285,80 +271,64 @@ interface CKContainer { [Async] void FetchUserRecordId (Action completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [NoTV] [MacCatalyst (13, 1)] [Export ("discoverAllIdentitiesWithCompletionHandler:")] [Async] void DiscoverAllIdentities (Action completionHandler); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("discoverUserIdentityWithEmailAddress:completionHandler:")] [Async] void DiscoverUserIdentityWithEmailAddress (string email, Action completionHandler); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("discoverUserIdentityWithPhoneNumber:completionHandler:")] [Async] void DiscoverUserIdentityWithPhoneNumber (string phoneNumber, Action completionHandler); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("discoverUserIdentityWithUserRecordID:completionHandler:")] [Async] void DiscoverUserIdentity (CKRecordID userRecordID, Action completionHandler); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("CKAccountChangedNotification")] [Notification] NSString AccountChangedNotification { get; } - [iOS (9, 3)] - [Mac (10, 11, 4)] [NoTV] // does not answer on devices [MacCatalyst (13, 1)] [Export ("fetchAllLongLivedOperationIDsWithCompletionHandler:")] [Async] void FetchAllLongLivedOperationIDs (Action, NSError> completionHandler); - [iOS (9, 3)] - [Mac (10, 11, 4)] [NoTV] // does not answer on devices [MacCatalyst (13, 1)] [Export ("fetchLongLivedOperationWithID:completionHandler:")] [Async] void FetchLongLivedOperation (string [] operationID, Action, NSError> completionHandler); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("fetchShareParticipantWithEmailAddress:completionHandler:")] [Async] void FetchShareParticipantWithEmailAddress (string emailAddress, Action completionHandler); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("fetchShareParticipantWithPhoneNumber:completionHandler:")] [Async] void FetchShareParticipantWithPhoneNumber (string phoneNumber, Action completionHandler); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("fetchShareParticipantWithUserRecordID:completionHandler:")] [Async] void FetchShareParticipant (CKRecordID userRecordID, Action completionHandler); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("fetchShareMetadataWithURL:completionHandler:")] [Async] void FetchShareMetadata (NSUrl url, Action completionHandler); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("acceptShareMetadata:completionHandler:")] [Async] @@ -367,8 +337,6 @@ interface CKContainer { delegate void CKDatabaseDeleteSubscriptionHandler (string subscriptionId, NSError error); - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // *** Assertion failure in -[CKDatabase init] [BaseType (typeof (NSObject))] @@ -376,7 +344,6 @@ interface CKDatabase { [Export ("addOperation:")] void AddOperation (CKDatabaseOperation operation); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("databaseScope", ArgumentSemantic.Assign)] CKDatabaseScope DatabaseScope { get; } @@ -438,8 +405,6 @@ interface CKDatabase { void DeleteSubscription (string subscriptionID, CKDatabaseDeleteSubscriptionHandler completionHandler); } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CKOperation))] [DisableDefaultCtor] @@ -461,7 +426,6 @@ interface CKDatabaseOperation { [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'CKDiscoverAllUserIdentitiesOperation' instead.")] [Obsoleted (PlatformName.MacOSX, 10, 16, message: "Use 'CKDiscoverAllUserIdentitiesOperation' instead.")] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Use 'CKDiscoverAllUserIdentitiesOperation' instead.")] - [iOS (8, 0), Mac (10, 10)] [BaseType (typeof (CKOperation))] [DisableDefaultCtor] // designated interface CKDiscoverAllContactsOperation { @@ -477,7 +441,6 @@ interface CKDiscoverAllContactsOperation { [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'CKUserIdentity' instead.")] [Obsoleted (PlatformName.MacOSX, 10, 16, message: "Use 'CKUserIdentity' instead.")] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Use 'CKUserIdentity' instead.")] - [iOS (8, 0), Mac (10, 10)] [NoWatch] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // designated @@ -494,8 +457,6 @@ interface CKDiscoveredUserInfo : NSCoding, NSCopying, NSSecureCoding { #endif // !NET // CKError.h Fields - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static] interface CKErrorFields { @@ -525,7 +486,6 @@ interface CKErrorFields { NSString UserDidResetEncryptedDataKey { get; } } - [iOS (8, 0), Watch (3, 0), TV (10, 0), Mac (10, 10)] [BaseType (typeof (CKOperation))] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'CKDatabaseSubscription', 'CKFetchDatabaseChangesOperation' and 'CKFetchRecordZoneChangesOperation' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'CKDatabaseSubscription', 'CKFetchDatabaseChangesOperation' and 'CKFetchRecordZoneChangesOperation' instead.")] @@ -568,8 +528,6 @@ Action Completed { } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // Objective-C exception thrown. Name: CKException Reason: You can't call init on CKServerChangeToken [BaseType (typeof (NSObject))] @@ -578,14 +536,12 @@ interface CKServerChangeToken : NSCopying, NSSecureCoding { } [NoWatch] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] delegate void CKFetchRecordChangesHandler (CKServerChangeToken serverChangeToken, NSData clientChangeTokenData, NSError operationError); [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'CKFetchRecordZoneChangesOperation' instead.")] [Deprecated (PlatformName.TvOS, 10, 0, message: "Use 'CKFetchRecordZoneChangesOperation' instead.")] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Use 'CKFetchRecordZoneChangesOperation' instead.")] - [iOS (8, 0), Mac (10, 10)] [NoWatch] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'CKFetchRecordZoneChangesOperation' instead.")] @@ -640,22 +596,18 @@ CKFetchRecordChangesHandler AllChangesReported { } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] delegate void CKFetchRecordZoneChangesWithIDWasDeletedHandler (CKRecordID recordID, NSString recordType); - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] delegate void CKFetchRecordZoneChangesTokensUpdatedHandler (CKRecordZoneID recordZoneID, CKServerChangeToken serverChangeToken, NSData clientChangeTokenData); - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] delegate void CKFetchRecordZoneChangesFetchCompletedHandler (CKRecordZoneID recordZoneID, CKServerChangeToken serverChangeToken, NSData clientChangeTokenData, bool moreComing, NSError recordZoneError); [iOS (15, 0), Watch (8, 0), TV (15, 0), Mac (12, 0), MacCatalyst (15, 0)] delegate void CKFetchRecordZoneChangesRecordWasChangedHandler (CKRecordID recordId, CKRecord record, NSError error); - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CKDatabaseOperation))] [DisableDefaultCtor] // designated @@ -672,7 +624,7 @@ interface CKFetchRecordZoneChangesOperation { [Export ("initWithRecordZoneIDs:optionsByRecordZoneID:")] NativeHandle Constructor (CKRecordZoneID [] recordZoneIDs, [NullAllowed] NSDictionary optionsByRecordZoneID); - [iOS (12, 0), Watch (5, 0), TV (12, 0), Mac (10, 14)] + [iOS (12, 0), Watch (5, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithRecordZoneIDs:configurationsByRecordZoneID:")] NativeHandle Constructor (CKRecordZoneID [] recordZoneIDs, [NullAllowed] NSDictionary configurationsByRecordZoneID); @@ -689,7 +641,7 @@ interface CKFetchRecordZoneChangesOperation { [NullAllowed, Export ("optionsByRecordZoneID", ArgumentSemantic.Copy)] NSDictionary OptionsByRecordZoneID { get; set; } - [iOS (12, 0), Watch (5, 0), TV (12, 0), Mac (10, 14)] + [iOS (12, 0), Watch (5, 0), TV (12, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("configurationsByRecordZoneID", ArgumentSemantic.Copy)] NSDictionary ConfigurationsByRecordZoneID { get; set; } @@ -727,7 +679,6 @@ interface CKFetchRecordZoneChangesOperation { [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'CKFetchRecordZoneChangesConfiguration' instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'CKFetchRecordZoneChangesConfiguration' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'CKFetchRecordZoneChangesConfiguration' instead.")] - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'CKFetchRecordZoneChangesConfiguration' instead.")] [BaseType (typeof (NSObject))] @@ -742,7 +693,7 @@ interface CKFetchRecordZoneChangesOptions : NSSecureCoding, NSCopying { string [] DesiredKeys { get; set; } } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CKFetchRecordZoneChangesConfiguration : NSSecureCoding, NSCopying { @@ -757,11 +708,9 @@ interface CKFetchRecordZoneChangesConfiguration : NSSecureCoding, NSCopying { string [] DesiredKeys { get; set; } } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] delegate void CKFetchRecordsCompletedHandler (NSDictionary recordsByRecordId, NSError error); - [iOS (8, 0), Watch (3, 0), TV (10, 0), Mac (10, 10)] [MacCatalyst (13, 1)] #if WATCH [DisableDefaultCtor] // does not work on watchOS, working stub provided to ease source compatibility @@ -808,14 +757,12 @@ CKFetchRecordsCompletedHandler Completed { CKFetchRecordsOperation FetchCurrentUserRecordOperation (); } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] delegate void CKRecordZoneCompleteHandler (NSDictionary recordZonesByZoneId, NSError operationError); [Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] delegate void CKRecordZonePerRecordZoneCompletionHandler (CKRecordZoneID recordZoneId, CKRecordZone recordZone, NSError error); - [iOS (8, 0), Watch (3, 0), TV (10, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CKDatabaseOperation))] #if WATCH @@ -850,14 +797,12 @@ CKRecordZoneCompleteHandler Completed { } [NoWatch] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] delegate void CKFetchSubscriptionsCompleteHandler (NSDictionary subscriptionsBySubscriptionId, NSError operationError); [Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] delegate void CKFetchSubscriptionsPerSubscriptionCompletionHandler (NSString subscriptionId, CKSubscription subscription, NSError error); - [iOS (8, 0), Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CKDatabaseOperation))] @@ -892,7 +837,6 @@ CKFetchSubscriptionsCompleteHandler Completed { CKFetchSubscriptionsPerSubscriptionCompletionHandler PerSubscriptionCompletionHandler { get; set; } } - [iOS (8, 0), Watch (3, 0), TV (10, 0), Mac (10, 10)] [MacCatalyst (13, 1)] #if NET || WATCH // does not work on watchOS, existiong init* does not allow null to be used to fake it [DisableDefaultCtor] @@ -907,12 +851,9 @@ interface CKLocationSortDescriptor : NSSecureCoding { CLLocation RelativeLocation { get; } } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] delegate void CKMarkNotificationsReadHandler (CKNotificationID [] notificationIDsMarkedRead, NSError operationError); - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [BaseType (typeof (CKOperation))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: You must call -[CKMarkNotificationsReadOperation initWithNotificationIDsToMarkRead:] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'CKDatabaseSubscription', 'CKFetchDatabaseChangesOperation' and 'CKFetchRecordZoneChangesOperation' instead.")] @@ -939,7 +880,6 @@ CKMarkNotificationsReadHandler Completed { } } - [iOS (8, 0), Watch (3, 0), TV (10, 0), Mac (10, 10)] #if WATCH [DisableDefaultCtor] // does not work on watchOS, working stub provided to ease source compatibility #else @@ -968,7 +908,6 @@ Action Completed { } } - [iOS (8, 0), Mac (10, 10), Watch (3, 0)] [MacCatalyst (13, 1)] delegate void CKModifyRecordsOperationHandler (CKRecord [] savedRecords, CKRecordID [] deletedRecordIds, NSError operationError); @@ -978,7 +917,6 @@ Action Completed { [Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] delegate void CKModifyRecordsOperationPerRecordDeleteHandler (CKRecordID recordId, NSError error); - [iOS (8, 0), Watch (3, 0), TV (10, 0), Mac (10, 10)] [MacCatalyst (13, 1)] #if WATCH [DisableDefaultCtor] // does not work on watchOS, working stub provided to ease source compatibility @@ -1047,7 +985,6 @@ CKModifyRecordsOperationHandler Completed { } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] delegate void CKModifyRecordZonesHandler (CKRecordZone [] savedRecordZones, CKRecordZoneID [] deletedRecordZoneIds, NSError operationError); @@ -1057,7 +994,6 @@ CKModifyRecordsOperationHandler Completed { [Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] delegate void CKModifyRecordZonesPerRecordZoneDeleteHandler (CKRecordZoneID zoneId, NSError error); - [iOS (8, 0), Watch (3, 0), TV (10, 0), Mac (10, 10)] [MacCatalyst (13, 1)] #if WATCH [DisableDefaultCtor] // does not work on watchOS, working stub provided to ease source compatibility @@ -1096,7 +1032,6 @@ CKModifyRecordZonesHandler Completed { CKModifyRecordZonesPerRecordZoneDeleteHandler PerRecordZoneDeleteHandler { get; set; } } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] delegate void CKModifySubscriptionsHandler (CKSubscription [] savedSubscriptions, string [] deletedSubscriptionIds, NSError operationError); @@ -1106,7 +1041,6 @@ CKModifyRecordZonesHandler Completed { [Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] delegate void CKModifySubscriptionsPerSubscriptionDeleteHandler (NSString subscriptionId, NSError error); - [iOS (8, 0), Mac (10, 10)] [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CKDatabaseOperation))] @@ -1146,7 +1080,6 @@ CKModifySubscriptionsHandler Completed { CKModifySubscriptionsPerSubscriptionDeleteHandler PerSubscriptionDeleteHandler { get; set; } } - [iOS (8, 0), Watch (3, 0), TV (10, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // doc: You do not create notification IDs directly. [BaseType (typeof (NSObject))] @@ -1154,8 +1087,6 @@ interface CKNotificationID : NSCopying, NSSecureCoding, NSCoding { } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // NSInvalidArgumentException Reason: CKNotification is not meant for direct instantiation [BaseType (typeof (NSObject))] @@ -1202,7 +1133,6 @@ interface CKNotification : NSSecureCoding { [NullAllowed, Export ("alertLaunchImage")] string AlertLaunchImage { get; } - [TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("badge", ArgumentSemantic.Copy)] NSNumber Badge { get; } @@ -1217,45 +1147,41 @@ interface CKNotification : NSSecureCoding { [return: NullAllowed] CKNotification FromRemoteNotificationDictionary (NSDictionary notificationDictionary); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("subscriptionID")] string SubscriptionID { get; } [NoTV] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("category")] string Category { get; } - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("title")] string Title { get; } - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("titleLocalizationKey")] string TitleLocalizationKey { get; } - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("titleLocalizationArgs", ArgumentSemantic.Copy)] string [] TitleLocalizationArgs { get; } - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("subtitle")] string Subtitle { get; } - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("subtitleLocalizationKey")] string SubtitleLocalizationKey { get; } - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("subtitleLocalizationArgs", ArgumentSemantic.Copy)] string [] SubtitleLocalizationArgs { get; } @@ -1266,8 +1192,6 @@ interface CKNotification : NSSecureCoding { CKRecordID SubscriptionOwnerUserRecordId { get; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // NSInvalidArgumentException Reason: CKQueryNotification is not meant for direct instantiation [BaseType (typeof (CKNotification))] @@ -1286,14 +1210,11 @@ interface CKQueryNotification : NSCoding, NSSecureCoding { [NullAllowed, Export ("recordID", ArgumentSemantic.Copy)] CKRecordID RecordId { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("databaseScope", ArgumentSemantic.Assign)] CKDatabaseScope DatabaseScope { get; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // objc_exception_throw on CKNotification init [BaseType (typeof (CKNotification))] @@ -1303,13 +1224,11 @@ interface CKRecordZoneNotification : NSCoding, NSSecureCoding { [Export ("recordZoneID", ArgumentSemantic.Copy)] CKRecordZoneID RecordZoneId { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("databaseScope", ArgumentSemantic.Assign)] CKDatabaseScope DatabaseScope { get; } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // objc_exception_throw on CKNotification init [BaseType (typeof (CKNotification))] @@ -1318,7 +1237,6 @@ interface CKDatabaseNotification { CKDatabaseScope DatabaseScope { get; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CKOperationConfiguration : NSSecureCoding, NSCopying { @@ -1341,8 +1259,6 @@ interface CKOperationConfiguration : NSSecureCoding, NSCopying { double TimeoutIntervalForResource { get; set; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSOperation))] [DisableDefaultCtor] @@ -1357,7 +1273,7 @@ interface CKOperation { NativeHandle Constructor (); // Apple removed, without deprecation, this property in iOS 9.3 SDK - // [Mac (10,11), iOS (9,0)] + // // [Export ("activityStart")] // ulong ActivityStart (); @@ -1377,16 +1293,10 @@ interface CKOperation { [Export ("allowsCellularAccess", ArgumentSemantic.UnsafeUnretained)] bool AllowsCellularAccess { get; set; } - [iOS (9, 3)] - [Mac (10, 11, 4)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Export ("operationID")] string OperationID { get; } - [iOS (9, 3)] - [Mac (10, 11, 4)] - [TV (9, 2)] [Export ("longLived")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'CKOperationConfiguration' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'CKOperationConfiguration' instead.")] @@ -1396,7 +1306,6 @@ interface CKOperation { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'CKOperationConfiguration' instead.")] bool LongLived { [Bind ("isLongLived")] get; set; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [Export ("timeoutIntervalForRequest")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'CKOperationConfiguration' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'CKOperationConfiguration' instead.")] @@ -1406,7 +1315,6 @@ interface CKOperation { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'CKOperationConfiguration' instead.")] double TimeoutIntervalForRequest { get; set; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [Export ("timeoutIntervalForResource")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'CKOperationConfiguration' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'CKOperationConfiguration' instead.")] @@ -1416,27 +1324,21 @@ interface CKOperation { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'CKOperationConfiguration' instead.")] double TimeoutIntervalForResource { get; set; } - [iOS (9, 3)] - [Mac (10, 11, 4)] - [TV (9, 2)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("longLivedOperationWasPersistedBlock", ArgumentSemantic.Strong)] Action LongLivedOperationWasPersistedCallback { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("configuration", ArgumentSemantic.Copy)] CKOperationConfiguration Configuration { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("group", ArgumentSemantic.Strong)] CKOperationGroup Group { get; set; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] @@ -1462,8 +1364,6 @@ interface CKOperationGroup : NSSecureCoding { CKOperationGroupTransferSize ExpectedReceiveSize { get; set; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // NSInvalidArgumentException Reason: You must call -[CKQuery initWithRecordType:predicate:sortDescriptors:] [BaseType (typeof (NSObject))] @@ -1486,7 +1386,6 @@ interface CKQuery : NSSecureCoding, NSCopying { [Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] delegate void CKQueryOperationRecordMatchedHandler (CKRecordID recordId, CKRecord record, NSError error); - [iOS (8, 0), Watch (3, 0), TV (10, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CKDatabaseOperation))] #if WATCH @@ -1550,8 +1449,6 @@ Action Completed { CKQueryOperationRecordMatchedHandler RecordMatchedHandler { get; set; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -1562,8 +1459,6 @@ interface CKRecordValue { interface ICKRecordValue { } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // Crashes [CKRecord init] objc_exception_throw [BaseType (typeof (NSObject))] @@ -1572,17 +1467,14 @@ interface CKRecord : NSSecureCoding, NSCopying { [Field ("CKRecordTypeUserRecord")] NSString TypeUserRecord { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("CKRecordParentKey")] NSString ParentKey { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("CKRecordShareKey")] NSString ShareKey { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("CKRecordTypeShare")] NSString TypeShare { get; } @@ -1649,29 +1541,23 @@ interface CKRecord : NSSecureCoding, NSCopying { [Export ("encodeSystemFieldsWithCoder:")] void EncodeSystemFields (NSCoder coder); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("share", ArgumentSemantic.Copy)] CKReference Share { get; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("parent", ArgumentSemantic.Copy)] CKReference Parent { get; set; } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("setParentReferenceFromRecord:")] void SetParent ([NullAllowed] CKRecord parentRecord); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("setParentReferenceFromRecordID:")] void SetParent ([NullAllowed] CKRecordID parentRecordID); } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException You must call -[CKRecordID initWithRecordName:] or -[CKRecordID initWithRecordName:zoneID:] @@ -1691,8 +1577,6 @@ interface CKRecordID : NSSecureCoding, NSCopying { CKRecordZoneID ZoneId { get; } } - [iOS (8, 0), Mac (10, 10)] - [Watch (3, 0)] [MacCatalyst (13, 1)] #if NET || WATCH // does not work on watchOS, existiong init* does not allow null to be used to fake it [DisableDefaultCtor] @@ -1724,8 +1608,6 @@ interface CKRecordZone : NSSecureCoding, NSCopying { CKReference Share { get; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException You must call -[CKRecordZoneID initWithZoneName:ownerName:] @@ -1742,8 +1624,6 @@ interface CKRecordZoneID : NSSecureCoding, NSCopying { string OwnerName { get; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // NSInvalidArgumentException Reason: You must call -[CKReference initWithRecordID:] or -[CKReference initWithRecord:] or -[CKReference initWithAsset:] [BaseType (typeof (NSObject))] @@ -1764,8 +1644,6 @@ interface CKReference : NSSecureCoding, NSCopying, CKRecordValue { } [Watch (6, 0)] - [iOS (10, 0)] - [TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (CKSubscription))] @@ -1791,8 +1669,6 @@ interface CKQuerySubscription : NSSecureCoding, NSCopying { } [Watch (6, 0)] - [iOS (10, 0)] - [TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (CKSubscription))] @@ -1813,8 +1689,6 @@ interface CKRecordZoneSubscription : NSSecureCoding, NSCopying { } [Watch (6, 0)] - [iOS (10, 0)] - [TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CKSubscription))] interface CKDatabaseSubscription : NSSecureCoding, NSCopying { @@ -1827,7 +1701,6 @@ interface CKDatabaseSubscription : NSSecureCoding, NSCopying { } [Watch (6, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // objc_exception_throw on [CKSubscription init] [BaseType (typeof (NSObject))] @@ -1875,7 +1748,6 @@ interface CKSubscription : NSSecureCoding, NSCopying { [Export ("predicate", ArgumentSemantic.Copy)] NSPredicate Predicate { get; } - [TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("notificationInfo", ArgumentSemantic.Copy)] @@ -1893,8 +1765,6 @@ interface CKSubscription : NSSecureCoding, NSCopying { } [Watch (6, 0)] - [iOS (8, 0)] - [TV (10, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CKNotificationInfo : NSSecureCoding, NSCopying, NSCoding { @@ -1946,57 +1816,49 @@ interface CKNotificationInfo : NSSecureCoding, NSCopying, NSCoding { bool ShouldSendContentAvailable { get; set; } [NoTV] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("category")] string Category { get; set; } - [NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("title")] string Title { get; set; } - [NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("titleLocalizationKey")] string TitleLocalizationKey { get; set; } - [NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("titleLocalizationArgs", ArgumentSemantic.Copy)] string [] TitleLocalizationArgs { get; set; } - [NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("subtitle")] string Subtitle { get; set; } - [NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("subtitleLocalizationKey")] string SubtitleLocalizationKey { get; set; } - [NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("subtitleLocalizationArgs", ArgumentSemantic.Copy)] string [] SubtitleLocalizationArgs { get; set; } - [Mac (10, 13), iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Export ("shouldSendMutableContent")] bool ShouldSendMutableContent { get; set; } - [Mac (10, 13), iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("collapseIDKey")] string CollapseIdKey { get; set; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // Name: CKException Reason: You can't call init on CKQueryCursor [BaseType (typeof (NSObject))] @@ -2006,9 +1868,6 @@ interface CKQueryCursor : NSCopying, NSSecureCoding { delegate void CKFetchWebAuthTokenOperationHandler (string webAuthToken, NSError operationError); - [iOS (9, 2), Mac (10, 11, 2)] - [TV (9, 1)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CKDatabaseOperation))] [DisableDefaultCtor] // designated @@ -2030,7 +1889,6 @@ interface CKFetchWebAuthTokenOperation { CKFetchWebAuthTokenOperationHandler Completed { get; set; } } - [iOS (10, 0), TV (10, 0), Watch (3, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CKOperation))] [DisableDefaultCtor] // designated @@ -2052,7 +1910,7 @@ interface CKDiscoverUserIdentitiesOperation { Action Completed { get; set; } } - [NoTV, iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] + [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (CKOperation))] [DisableDefaultCtor] // designated @@ -2071,7 +1929,6 @@ interface CKDiscoverAllUserIdentitiesOperation { [iOS (15, 0), Watch (8, 0), TV (15, 0), Mac (12, 0), MacCatalyst (15, 0)] delegate void CKFetchShareParticipantsOperationPerShareParticipantCompletionHandler (CKUserIdentityLookupInfo identityLookupInfo, CKShareParticipant participant, NSError error); - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CKOperation))] [DisableDefaultCtor] // designated @@ -2104,11 +1961,9 @@ interface CKFetchShareParticipantsOperation { CKFetchShareParticipantsOperationPerShareParticipantCompletionHandler PerShareParticipantCompletionBlock { get; set; } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] delegate void CKAcceptPerShareCompletionHandler (CKShareMetadata shareMetadata, CKShare acceptedShare, NSError error); - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CKOperation))] [DisableDefaultCtor] // designated @@ -2131,11 +1986,9 @@ interface CKAcceptSharesOperation { Action AcceptSharesCompleted { get; set; } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] delegate void CKFetchPerShareMetadataHandler (NSUrl shareURL, CKShareMetadata shareMetadata, NSError error); - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CKOperation))] [DisableDefaultCtor] // designated @@ -2164,11 +2017,9 @@ interface CKFetchShareMetadataOperation { Action FetchShareMetadataCompleted { get; set; } } - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] delegate void CKFetchDatabaseChangesCompletionHandler (CKServerChangeToken serverChangeToken, bool moreComing, NSError operationError); - [iOS (10, 0), Watch (3, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CKDatabaseOperation))] [DisableDefaultCtor] // designated @@ -2199,7 +2050,6 @@ interface CKFetchDatabaseChangesOperation { [NullAllowed, Export ("changeTokenUpdatedBlock", ArgumentSemantic.Copy)] Action ChangeTokenUpdated { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("recordZoneWithIDWasPurgedBlock", ArgumentSemantic.Copy)] Action WasPurged { get; set; } diff --git a/src/contacts.cs b/src/contacts.cs index 038d35e02ed7..c2435e592e82 100644 --- a/src/contacts.cs +++ b/src/contacts.cs @@ -20,14 +20,12 @@ namespace Contacts { interface ICNKeyDescriptor { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // Headers say "This protocol is reserved for Contacts framework usage.", so don't create a model interface CNKeyDescriptor : NSObjectProtocol, NSSecureCoding, NSCopying { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNContact : NSCopying, NSMutableCopying, NSSecureCoding, NSItemProviderReading, NSItemProviderWriting { @@ -68,9 +66,6 @@ interface CNContact : NSCopying, NSMutableCopying, NSSecureCoding, NSItemProvide [Export ("phoneticFamilyName")] string PhoneticFamilyName { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Export ("phoneticOrganizationName")] string PhoneticOrganizationName { get; } @@ -95,7 +90,6 @@ interface CNContact : NSCopying, NSMutableCopying, NSSecureCoding, NSItemProvide [Export ("thumbnailImageData", ArgumentSemantic.Copy)] NSData ThumbnailImageData { get; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("imageDataAvailable")] bool ImageDataAvailable { get; } @@ -173,13 +167,11 @@ interface CNContact : NSCopying, NSMutableCopying, NSSecureCoding, NSItemProvide [Export ("predicateForContactsMatchingName:")] NSPredicate GetPredicateForContacts (string matchingName); - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("predicateForContactsMatchingEmailAddress:")] NSPredicate GetPredicateForContactsMatchingEmailAddress (string emailAddress); - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("predicateForContactsMatchingPhoneNumber:")] @@ -198,7 +190,6 @@ interface CNContact : NSCopying, NSMutableCopying, NSSecureCoding, NSItemProvide NSPredicate GetPredicateForContactsInContainer (string containerIdentifier); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -237,9 +228,6 @@ interface CNContactKey { [Field ("CNContactPhoneticFamilyNameKey")] NSString PhoneticFamilyName { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("CNContactPhoneticOrganizationNameKey")] NSString PhoneticOrganizationName { get; } @@ -265,7 +253,6 @@ interface CNContactKey { [Field ("CNContactImageDataKey")] NSString ImageData { get; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("CNContactImageDataAvailableKey")] NSString ImageDataAvailable { get; } @@ -301,7 +288,6 @@ interface CNContactKey { NSString InstantMessageAddresses { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CNFetchRequest))] [DisableDefaultCtor] // using init raises an exception according to docs @@ -321,8 +307,6 @@ interface CNContactFetchRequest : NSSecureCoding { // cannot be exposed as NSString since they could be internalized types, like CNAggregateKeyDescriptor NSArray KeysToFetch { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] // API existed previously ? maybe it was not working before now ? [MacCatalyst (13, 1)] [Export ("mutableObjects")] bool MutableObjects { get; set; } @@ -334,7 +318,6 @@ interface CNContactFetchRequest : NSSecureCoding { CNContactSortOrder SortOrder { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface CNContactFormatter : NSSecureCoding { @@ -388,7 +371,6 @@ interface CNContactFormatter : NSSecureCoding { ICNKeyDescriptor RequiredKeysForNameOrder { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNContactProperty : NSCopying, NSSecureCoding { @@ -412,7 +394,6 @@ interface CNContactProperty : NSCopying, NSSecureCoding { string Label { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNContactRelation : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding { @@ -428,7 +409,6 @@ interface CNContactRelation : NSCopying, NSSecureCoding, INSCopying, INSSecureCo string Name { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -467,1019 +447,1015 @@ interface CNLabelContactRelationKey { [Field ("CNLabelContactRelationManager")] NSString Manager { get; } - [iOS (11, 0), Mac (10, 13)] [Field ("CNLabelContactRelationSon")] - [Watch (4, 0)] [MacCatalyst (13, 1)] NSString Son { get; } - [iOS (11, 0), Mac (10, 13)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationDaughter")] NSString Daughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationColleague")] NSString Colleague { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationTeacher")] NSString Teacher { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSibling")] NSString Sibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerSibling")] NSString YoungerSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderSibling")] NSString ElderSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerSister")] NSString YoungerSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungestSister")] NSString YoungestSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderSister")] NSString ElderSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationEldestSister")] NSString EldestSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerBrother")] NSString YoungerBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungestBrother")] NSString YoungestBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderBrother")] NSString ElderBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationEldestBrother")] NSString EldestBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationMaleFriend")] NSString MaleFriend { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationFemaleFriend")] NSString FemaleFriend { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationWife")] NSString Wife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationHusband")] NSString Husband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationMalePartner")] NSString MalePartner { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationFemalePartner")] NSString FemalePartner { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGirlfriendOrBoyfriend")] NSString GirlfriendOrBoyfriend { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGirlfriend")] NSString Girlfriend { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBoyfriend")] NSString Boyfriend { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandparent")] NSString Grandparent { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandmother")] NSString Grandmother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandmotherMothersMother")] NSString GrandmotherMothersMother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandmotherFathersMother")] NSString GrandmotherFathersMother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandfather")] NSString Grandfather { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandfatherMothersFather")] NSString GrandfatherMothersFather { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandfatherFathersFather")] NSString GrandfatherFathersFather { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGreatGrandparent")] NSString GreatGrandparent { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGreatGrandmother")] NSString GreatGrandmother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGreatGrandfather")] NSString GreatGrandfather { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandchild")] NSString Grandchild { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGranddaughter")] NSString Granddaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGranddaughterDaughtersDaughter")] NSString GranddaughterDaughtersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGranddaughterSonsDaughter")] NSString GranddaughterSonsDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandson")] NSString Grandson { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandsonDaughtersSon")] NSString GrandsonDaughtersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandsonSonsSon")] NSString GrandsonSonsSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGreatGrandchild")] NSString GreatGrandchild { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGreatGranddaughter")] NSString GreatGranddaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGreatGrandson")] NSString GreatGrandson { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentInLaw")] NSString ParentInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationMotherInLaw")] NSString MotherInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationMotherInLawWifesMother")] NSString MotherInLawWifesMother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationMotherInLawHusbandsMother")] NSString MotherInLawHusbandsMother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationFatherInLaw")] NSString FatherInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationFatherInLawWifesFather")] NSString FatherInLawWifesFather { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationFatherInLawHusbandsFather")] NSString FatherInLawHusbandsFather { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCoParentInLaw")] NSString CoParentInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCoMotherInLaw")] NSString CoMotherInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCoFatherInLaw")] NSString CoFatherInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSiblingInLaw")] NSString SiblingInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerSiblingInLaw")] NSString YoungerSiblingInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderSiblingInLaw")] NSString ElderSiblingInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSisterInLaw")] NSString SisterInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerSisterInLaw")] NSString YoungerSisterInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderSisterInLaw")] NSString ElderSisterInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSisterInLawSpousesSister")] NSString SisterInLawSpousesSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSisterInLawWifesSister")] NSString SisterInLawWifesSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSisterInLawHusbandsSister")] NSString SisterInLawHusbandsSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSisterInLawBrothersWife")] NSString SisterInLawBrothersWife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSisterInLawYoungerBrothersWife")] NSString SisterInLawYoungerBrothersWife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSisterInLawElderBrothersWife")] NSString SisterInLawElderBrothersWife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBrotherInLaw")] NSString BrotherInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerBrotherInLaw")] NSString YoungerBrotherInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderBrotherInLaw")] NSString ElderBrotherInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBrotherInLawSpousesBrother")] NSString BrotherInLawSpousesBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBrotherInLawHusbandsBrother")] NSString BrotherInLawHusbandsBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBrotherInLawWifesBrother")] NSString BrotherInLawWifesBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBrotherInLawSistersHusband")] NSString BrotherInLawSistersHusband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBrotherInLawYoungerSistersHusband")] NSString BrotherInLawYoungerSistersHusband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBrotherInLawElderSistersHusband")] NSString BrotherInLawElderSistersHusband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSisterInLawWifesBrothersWife")] NSString SisterInLawWifesBrothersWife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSisterInLawHusbandsBrothersWife")] NSString SisterInLawHusbandsBrothersWife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBrotherInLawWifesSistersHusband")] NSString BrotherInLawWifesSistersHusband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationBrotherInLawHusbandsSistersHusband")] NSString BrotherInLawHusbandsSistersHusband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCoSiblingInLaw")] NSString CoSiblingInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCoSisterInLaw")] NSString CoSisterInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCoBrotherInLaw")] NSString CoBrotherInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationChildInLaw")] NSString ChildInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationDaughterInLaw")] NSString DaughterInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSonInLaw")] NSString SonInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousin")] NSString Cousin { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousin")] NSString YoungerCousin { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousin")] NSString ElderCousin { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationMaleCousin")] NSString MaleCousin { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationFemaleCousin")] NSString FemaleCousin { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinParentsSiblingsChild")] NSString CousinParentsSiblingsChild { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinParentsSiblingsSon")] NSString CousinParentsSiblingsSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinParentsSiblingsSon")] NSString YoungerCousinParentsSiblingsSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinParentsSiblingsSon")] NSString ElderCousinParentsSiblingsSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinParentsSiblingsDaughter")] NSString CousinParentsSiblingsDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinParentsSiblingsDaughter")] NSString YoungerCousinParentsSiblingsDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinParentsSiblingsDaughter")] NSString ElderCousinParentsSiblingsDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinMothersSistersDaughter")] NSString CousinMothersSistersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinMothersSistersDaughter")] NSString YoungerCousinMothersSistersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinMothersSistersDaughter")] NSString ElderCousinMothersSistersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinMothersSistersSon")] NSString CousinMothersSistersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinMothersSistersSon")] NSString YoungerCousinMothersSistersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinMothersSistersSon")] NSString ElderCousinMothersSistersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinMothersBrothersDaughter")] NSString CousinMothersBrothersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinMothersBrothersDaughter")] NSString YoungerCousinMothersBrothersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinMothersBrothersDaughter")] NSString ElderCousinMothersBrothersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinMothersBrothersSon")] NSString CousinMothersBrothersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinMothersBrothersSon")] NSString YoungerCousinMothersBrothersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinMothersBrothersSon")] NSString ElderCousinMothersBrothersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinFathersSistersDaughter")] NSString CousinFathersSistersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinFathersSistersDaughter")] NSString YoungerCousinFathersSistersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinFathersSistersDaughter")] NSString ElderCousinFathersSistersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinFathersSistersSon")] NSString CousinFathersSistersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinFathersSistersSon")] NSString YoungerCousinFathersSistersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinFathersSistersSon")] NSString ElderCousinFathersSistersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinFathersBrothersDaughter")] NSString CousinFathersBrothersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinFathersBrothersDaughter")] NSString YoungerCousinFathersBrothersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinFathersBrothersDaughter")] NSString ElderCousinFathersBrothersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinFathersBrothersSon")] NSString CousinFathersBrothersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinFathersBrothersSon")] NSString YoungerCousinFathersBrothersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinFathersBrothersSon")] NSString ElderCousinFathersBrothersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinGrandparentsSiblingsChild")] NSString CousinGrandparentsSiblingsChild { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinGrandparentsSiblingsDaughter")] NSString CousinGrandparentsSiblingsDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinGrandparentsSiblingsSon")] NSString CousinGrandparentsSiblingsSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinMothersSiblingsSonOrFathersSistersSon")] NSString YoungerCousinMothersSiblingsSonOrFathersSistersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinMothersSiblingsSonOrFathersSistersSon")] NSString ElderCousinMothersSiblingsSonOrFathersSistersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter")] NSString YoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationElderCousinMothersSiblingsDaughterOrFathersSistersDaughter")] NSString ElderCousinMothersSiblingsDaughterOrFathersSistersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentsSibling")] NSString ParentsSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentsYoungerSibling")] NSString ParentsYoungerSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentsElderSibling")] NSString ParentsElderSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentsSiblingMothersSibling")] NSString ParentsSiblingMothersSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentsSiblingMothersYoungerSibling")] NSString ParentsSiblingMothersYoungerSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentsSiblingMothersElderSibling")] NSString ParentsSiblingMothersElderSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentsSiblingFathersSibling")] NSString ParentsSiblingFathersSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentsSiblingFathersYoungerSibling")] NSString ParentsSiblingFathersYoungerSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationParentsSiblingFathersElderSibling")] NSString ParentsSiblingFathersElderSibling { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAunt")] NSString Aunt { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntParentsSister")] NSString AuntParentsSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntParentsYoungerSister")] NSString AuntParentsYoungerSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntParentsElderSister")] NSString AuntParentsElderSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntFathersSister")] NSString AuntFathersSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntFathersYoungerSister")] NSString AuntFathersYoungerSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntFathersElderSister")] NSString AuntFathersElderSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntFathersBrothersWife")] NSString AuntFathersBrothersWife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntFathersYoungerBrothersWife")] NSString AuntFathersYoungerBrothersWife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntFathersElderBrothersWife")] NSString AuntFathersElderBrothersWife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntMothersSister")] NSString AuntMothersSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntMothersYoungerSister")] NSString AuntMothersYoungerSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntMothersElderSister")] NSString AuntMothersElderSister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationAuntMothersBrothersWife")] NSString AuntMothersBrothersWife { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandaunt")] NSString Grandaunt { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncle")] NSString Uncle { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleParentsBrother")] NSString UncleParentsBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleParentsYoungerBrother")] NSString UncleParentsYoungerBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleParentsElderBrother")] NSString UncleParentsElderBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleMothersBrother")] NSString UncleMothersBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleMothersYoungerBrother")] NSString UncleMothersYoungerBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleMothersElderBrother")] NSString UncleMothersElderBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleMothersSistersHusband")] NSString UncleMothersSistersHusband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleFathersBrother")] NSString UncleFathersBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleFathersYoungerBrother")] NSString UncleFathersYoungerBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleFathersElderBrother")] NSString UncleFathersElderBrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleFathersSistersHusband")] NSString UncleFathersSistersHusband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleFathersYoungerSistersHusband")] NSString UncleFathersYoungerSistersHusband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationUncleFathersElderSistersHusband")] NSString UncleFathersElderSistersHusband { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGranduncle")] NSString Granduncle { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSiblingsChild")] NSString SiblingsChild { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNiece")] NSString Niece { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNieceSistersDaughter")] NSString NieceSistersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNieceBrothersDaughter")] NSString NieceBrothersDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNieceSistersDaughterOrWifesSiblingsDaughter")] NSString NieceSistersDaughterOrWifesSiblingsDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNieceBrothersDaughterOrHusbandsSiblingsDaughter")] NSString NieceBrothersDaughterOrHusbandsSiblingsDaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNephew")] NSString Nephew { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNephewSistersSon")] NSString NephewSistersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNephewBrothersSon")] NSString NephewBrothersSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNephewBrothersSonOrHusbandsSiblingsSon")] NSString NephewBrothersSonOrHusbandsSiblingsSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNephewSistersSonOrWifesSiblingsSon")] NSString NephewSistersSonOrWifesSiblingsSon { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandniece")] NSString Grandniece { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandnieceSistersGranddaughter")] NSString GrandnieceSistersGranddaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandnieceBrothersGranddaughter")] NSString GrandnieceBrothersGranddaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandnephew")] NSString Grandnephew { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandnephewSistersGrandson")] NSString GrandnephewSistersGrandson { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandnephewBrothersGrandson")] NSString GrandnephewBrothersGrandson { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationStepparent")] NSString Stepparent { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationStepfather")] NSString Stepfather { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationStepmother")] NSString Stepmother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationStepchild")] NSString Stepchild { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationStepson")] NSString Stepson { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationStepdaughter")] NSString Stepdaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationStepbrother")] NSString Stepbrother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationStepsister")] NSString Stepsister { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationMotherInLawOrStepmother")] NSString MotherInLawOrStepmother { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationFatherInLawOrStepfather")] NSString FatherInLawOrStepfather { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationDaughterInLawOrStepdaughter")] NSString DaughterInLawOrStepdaughter { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSonInLawOrStepson")] NSString SonInLawOrStepson { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationCousinOrSiblingsChild")] NSString CousinOrSiblingsChild { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNieceOrCousin")] NSString NieceOrCousin { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationNephewOrCousin")] NSString NephewOrCousin { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGrandchildOrSiblingsChild")] NSString GrandchildOrSiblingsChild { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationGreatGrandchildOrSiblingsGrandchild")] NSString GreatGrandchildOrSiblingsGrandchild { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationDaughterInLawOrSisterInLaw")] NSString DaughterInLawOrSisterInLaw { get; } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelContactRelationSonInLawOrBrotherInLaw")] NSString SonInLawOrBrotherInLaw { get; } @@ -1504,7 +1480,7 @@ interface CNLabelContactRelationKey { interface ICNChangeHistoryEventVisitor { } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface CNChangeHistoryEventVisitor { @@ -1546,7 +1522,7 @@ interface CNChangeHistoryEventVisitor { void RemoveSubgroupFromGroup (CNChangeHistoryRemoveSubgroupFromGroupEvent @event); } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1555,12 +1531,12 @@ interface CNChangeHistoryEvent : NSCopying, NSSecureCoding { void AcceptEventVisitor (ICNChangeHistoryEventVisitor visitor); } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] interface CNChangeHistoryDropEverythingEvent { } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1572,7 +1548,7 @@ interface CNChangeHistoryAddContactEvent { string ContainerIdentifier { get; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1581,7 +1557,7 @@ interface CNChangeHistoryUpdateContactEvent { CNContact Contact { get; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1590,7 +1566,7 @@ interface CNChangeHistoryDeleteContactEvent { string ContactIdentifier { get; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1602,7 +1578,7 @@ interface CNChangeHistoryAddGroupEvent { string ContainerIdentifier { get; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1611,7 +1587,7 @@ interface CNChangeHistoryUpdateGroupEvent { CNGroup Group { get; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1620,7 +1596,7 @@ interface CNChangeHistoryDeleteGroupEvent { string GroupIdentifier { get; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1632,7 +1608,7 @@ interface CNChangeHistoryAddMemberToGroupEvent { CNGroup Group { get; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1644,7 +1620,7 @@ interface CNChangeHistoryRemoveMemberFromGroupEvent { CNGroup Group { get; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1656,7 +1632,7 @@ interface CNChangeHistoryAddSubgroupToGroupEvent { CNGroup Group { get; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNChangeHistoryEvent))] [DisableDefaultCtor] @@ -1670,13 +1646,13 @@ interface CNChangeHistoryRemoveSubgroupFromGroupEvent { // this type is new in Xcode11 but is decorated with earlier versions since it's used as a // base type for older types (and that confuse the generator for 32bits availability) - [iOS (9, 0), Mac (10, 15), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface CNFetchRequest { } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CNFetchRequest))] interface CNChangeHistoryFetchRequest : NSSecureCoding { @@ -1700,7 +1676,7 @@ interface CNChangeHistoryFetchRequest : NSSecureCoding { string [] ExcludedTransactionAuthors { get; set; } } - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1712,7 +1688,6 @@ interface CNFetchResult { NSData CurrentHistoryToken { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNContactStore { @@ -1742,13 +1717,13 @@ interface CNContactStore { [return: NullAllowed] NSObject GetUnifiedMeContact (NSArray keys, [NullAllowed] out NSError error); - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("enumeratorForContactFetchRequest:error:")] [return: NullAllowed] CNFetchResult> GetEnumeratorForContact (CNContactFetchRequest request, [NullAllowed] out NSError error); - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("enumeratorForChangeHistoryFetchRequest:error:")] [return: NullAllowed] @@ -1778,7 +1753,7 @@ interface CNContactStore { [return: NullAllowed] bool ExecuteSaveRequest (CNSaveRequest saveRequest, [NullAllowed] out NSError error); #endif - [Watch (6, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("currentHistoryToken", ArgumentSemantic.Copy)] @@ -1793,7 +1768,6 @@ interface CNContactStore { NSString NotificationDidChange { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [ThreadSafe (false)] @@ -1810,7 +1784,6 @@ interface CNContactsUserDefaults { string CountryCode { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNContactVCardSerialization { @@ -1831,7 +1804,6 @@ interface CNContactVCardSerialization { } #if !NET - [iOS (9, 0), Mac (10, 11)] #pragma warning disable 0618 // warning CS0618: 'CategoryAttribute.CategoryAttribute(bool)' is obsolete: 'Inline the static members in this category in the category's class (and remove this obsolete once fixed)' [Category (allowStaticMembers: true)] #pragma warning disable @@ -1855,7 +1827,6 @@ interface CNContainer_PredicatesExtension { } #endif - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNContainer : NSCopying, NSSecureCoding { @@ -1896,7 +1867,6 @@ interface CNContainer : NSCopying, NSSecureCoding { #endregion } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -1912,7 +1882,6 @@ interface CNContainerKey { // Can be used in KVO NSString Type { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -1932,7 +1901,6 @@ interface CNErrorUserInfoKey { } #if !NET - [iOS (9, 0), Mac (10, 11)] #pragma warning disable 0618 // warning CS0618: 'CategoryAttribute.CategoryAttribute(bool)' is obsolete: 'Inline the static members in this category in the category's class (and remove this obsolete once fixed)' [Category (allowStaticMembers: true)] #pragma warning disable @@ -1958,7 +1926,6 @@ interface CNGroup_PredicatesExtension { } #endif - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNGroup : NSCopying, NSMutableCopying, NSSecureCoding { @@ -1999,7 +1966,6 @@ interface CNGroup : NSCopying, NSMutableCopying, NSSecureCoding { #endregion } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -2012,7 +1978,6 @@ interface CNGroupKey { // Can be used in KVO NSString Name { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNInstantMessageAddress : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding { @@ -2035,7 +2000,6 @@ interface CNInstantMessageAddress : NSCopying, NSSecureCoding, INSCopying, INSSe string LocalizeService (NSString service); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -2048,7 +2012,6 @@ interface CNInstantMessageAddressKey { // Can be used in KVO NSString Service { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -2085,7 +2048,6 @@ interface CNInstantMessageServiceKey { NSString Yahoo { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNLabeledValue : NSCopying, NSSecureCoding @@ -2123,7 +2085,6 @@ interface CNLabeledValue : NSCopying, NSSecureCoding string LocalizeLabel (NSString labelKey); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -2135,7 +2096,7 @@ interface CNLabelKey { [Field ("CNLabelWork")] NSString Work { get; } - [iOS (13, 0), Mac (10, 15), Watch (6, 0)] + [iOS (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Field ("CNLabelSchool")] NSString School { get; } @@ -2153,7 +2114,6 @@ interface CNLabelKey { NSString DateAnniversary { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CNContact))] interface CNMutableContact { @@ -2202,9 +2162,6 @@ interface CNMutableContact { [Export ("phoneticFamilyName")] string PhoneticFamilyName { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [New] [Export ("phoneticOrganizationName")] @@ -2274,7 +2231,6 @@ interface CNMutableContact { CNLabeledValue [] Dates { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CNGroup))] interface CNMutableGroup { @@ -2284,7 +2240,6 @@ interface CNMutableGroup { string Name { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CNPostalAddress))] interface CNMutablePostalAddress { @@ -2293,8 +2248,6 @@ interface CNMutablePostalAddress { [Export ("street")] string Street { get; set; } - [iOS (10, 3), Mac (10, 12, 4)] - [Watch (3, 3)] [MacCatalyst (13, 1)] [New] [Export ("subLocality")] @@ -2304,8 +2257,6 @@ interface CNMutablePostalAddress { [Export ("city")] string City { get; set; } - [iOS (10, 3), Mac (10, 12, 4)] - [Watch (3, 3)] [MacCatalyst (13, 1)] [New] [Export ("subAdministrativeArea")] @@ -2328,7 +2279,6 @@ interface CNMutablePostalAddress { string IsoCountryCode { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // Apple doc: no handle (nil) if no string (or nil string) is given @@ -2345,7 +2295,6 @@ interface CNPhoneNumber : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding string StringValue { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -2378,8 +2327,6 @@ interface CNLabelPhoneNumberKey { NSString Pager { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNPostalAddress : NSCopying, NSMutableCopying, NSSecureCoding, INSCopying, INSSecureCoding { @@ -2387,9 +2334,6 @@ interface CNPostalAddress : NSCopying, NSMutableCopying, NSSecureCoding, INSCopy [Export ("street")] string Street { get; } - [iOS (10, 3)] - [Mac (10, 12, 4)] - [Watch (3, 3)] [MacCatalyst (13, 1)] [Export ("subLocality")] string SubLocality { get; } @@ -2397,9 +2341,6 @@ interface CNPostalAddress : NSCopying, NSMutableCopying, NSSecureCoding, INSCopy [Export ("city")] string City { get; } - [iOS (10, 3)] - [Mac (10, 12, 4)] - [Watch (3, 3)] [MacCatalyst (13, 1)] [Export ("subAdministrativeArea")] string SubAdministrativeArea { get; } @@ -2426,7 +2367,6 @@ interface CNPostalAddress : NSCopying, NSMutableCopying, NSSecureCoding, INSCopy } #if !NET - [iOS (9, 0), Mac (10, 11)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] interface CNPostalAddressKey { // Can be used in KVO @@ -2434,18 +2374,12 @@ interface CNPostalAddressKey { // Can be used in KVO [Field ("CNPostalAddressStreetKey")] NSString Street { get; } - [iOS (10, 3)] - [Mac (10, 12, 4)] [Field ("CNPostalAddressSubLocalityKey")] - [Watch (3, 3)] NSString SubLocality { get; } [Field ("CNPostalAddressCityKey")] NSString City { get; } - [iOS (10, 3)] - [Mac (10, 12, 4)] - [Watch (3, 3)] [Field ("CNPostalAddressSubAdministrativeAreaKey")] NSString SubAdministrativeArea { get; } @@ -2463,7 +2397,6 @@ interface CNPostalAddressKey { // Can be used in KVO } #endif - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] public enum CNPostalAddressKeyOption { [Field ("CNPostalAddressStreetKey")] @@ -2479,22 +2412,15 @@ public enum CNPostalAddressKeyOption { [Field ("CNPostalAddressISOCountryCodeKey")] IsoCountryCode, - [iOS (10, 3)] - [Mac (10, 12, 4)] - [Watch (3, 3)] [MacCatalyst (13, 1)] [Field ("CNPostalAddressSubLocalityKey")] SubLocality, - [iOS (10, 3)] - [Mac (10, 12, 4)] - [Watch (3, 3)] [MacCatalyst (13, 1)] [Field ("CNPostalAddressSubAdministrativeAreaKey")] SubAdministrativeArea, } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface CNPostalAddressFormatter { @@ -2524,7 +2450,6 @@ interface CNPostalAddressFormatter { } #if !WATCH - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNSaveRequest { @@ -2573,7 +2498,6 @@ interface CNSaveRequest { } #endif // !WATCH - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CNSocialProfile : NSCopying, NSSecureCoding, INSCopying, INSSecureCoding { @@ -2607,7 +2531,6 @@ interface CNSocialProfile : NSCopying, NSSecureCoding, INSCopying, INSSecureCodi string LocalizeService (NSString service); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -2626,7 +2549,6 @@ interface CNSocialProfileKey { // Can be used in KVO NSString Service { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] diff --git a/src/contactsui.cs b/src/contactsui.cs index 151273617d59..8f8494d58d7e 100644 --- a/src/contactsui.cs +++ b/src/contactsui.cs @@ -27,7 +27,6 @@ namespace ContactsUI { #if !MONOMAC - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] @@ -62,7 +61,6 @@ interface ICNContactPickerDelegate { } #if MONOMAC [NoiOS][NoMacCatalyst][NoTV] - [Mac (10,11)] [Protocol, Model] [BaseType (typeof(NSObject))] interface CNContactPickerDelegate @@ -81,7 +79,6 @@ interface CNContactPickerDelegate } #else [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -104,8 +101,6 @@ interface CNContactPickerDelegate { } #endif // MONOMAC - [Mac (10, 11)] - [iOS (9, 0)] [MacCatalyst (13, 1)] #if MONOMAC [BaseType (typeof (NSViewController))] @@ -221,7 +216,6 @@ CNContact Contact { interface ICNContactViewControllerDelegate { } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [Protocol, Model] @@ -235,7 +229,6 @@ interface CNContactViewControllerDelegate { void DidComplete (CNContactViewController viewController, [NullAllowed] CNContact contact); } - [Mac (10, 11)] [NoiOS] [NoTV] [NoMacCatalyst] diff --git a/src/coreanimation.cs b/src/coreanimation.cs index 5d3c8a02119c..8f06a835d6aa 100644 --- a/src/coreanimation.cs +++ b/src/coreanimation.cs @@ -188,9 +188,6 @@ interface CADisplayLink { [Export ("duration")] double Duration { get; } - [Watch (3, 0)] - [TV (10, 0)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("targetTimestamp")] double TargetTimestamp { get; } @@ -198,9 +195,6 @@ interface CADisplayLink { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'PreferredFrameRateRange' property.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'PreferredFrameRateRange' property.")] [Deprecated (PlatformName.WatchOS, 8, 0, message: "Use 'PreferredFrameRateRange' property.")] - [Watch (3, 0)] - [TV (10, 0)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'PreferredFrameRateRange' property.")] [Export ("preferredFramesPerSecond")] @@ -211,10 +205,6 @@ interface CADisplayLink { CAFrameRateRange PreferredFrameRateRange { get; set; } } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] enum CAContentsFormat { [Field ("kCAContentsFormatGray8Uint")] @@ -558,10 +548,6 @@ interface CALayer : CAMediaTiming, NSSecureCoding { [Field ("kCAOnOrderOut")] NSString OnOrderOut { get; } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Internal] [Export ("contentsFormat")] @@ -639,12 +625,10 @@ interface CALayer : CAMediaTiming, NSSecureCoding { [Export ("drawsAsynchronously")] bool DrawsAsynchronously { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("allowsEdgeAntialiasing")] bool AllowsEdgeAntialiasing { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("allowsGroupOpacity")] bool AllowsGroupOpacity { get; set; } @@ -654,9 +638,6 @@ interface CALayer : CAMediaTiming, NSSecureCoding { NSObject CompositingFilter { get; set; } [NoWatch] // headers not updated - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("maskedCorners", ArgumentSemantic.Assign)] CACornerMask MaskedCorners { get; set; } @@ -664,7 +645,6 @@ interface CALayer : CAMediaTiming, NSSecureCoding { [BindAs (typeof (CACornerCurve))] [NoWatch] // headers not updated [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("cornerCurve")] @@ -672,7 +652,6 @@ interface CALayer : CAMediaTiming, NSSecureCoding { [NoWatch] // headers not updated [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] @@ -682,7 +661,6 @@ interface CALayer : CAMediaTiming, NSSecureCoding { [NoWatch] // headers not updated [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] enum CACornerCurve { @@ -696,8 +674,6 @@ enum CACornerCurve { interface ICAMetalDrawable { } [Protocol] - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] interface CAMetalDrawable : MTLDrawable { [Abstract] @@ -709,9 +685,7 @@ interface CAMetalDrawable : MTLDrawable { CAMetalLayer Layer { get; } } - [iOS (8, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (CALayer))] interface CAMetalLayer { [NullAllowed] // by default this property is null @@ -737,30 +711,24 @@ interface CAMetalLayer { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 13)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("displaySyncEnabled")] bool DisplaySyncEnabled { get; set; } [NoWatch] // headers not updated - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("allowsNextDrawableTimeout")] bool AllowsNextDrawableTimeout { get; set; } [NoWatch] // headers not updated [TV (11, 2)] - [Mac (10, 13, 2)] [iOS (11, 2)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("maximumDrawableCount")] nuint MaximumDrawableCount { get; set; } [NoWatch] // headers not updated [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("colorspace", ArgumentSemantic.Assign)] @@ -768,7 +736,6 @@ interface CAMetalLayer { [NoWatch] // headers not updated [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("preferredDevice")] @@ -777,7 +744,6 @@ interface CAMetalLayer { [NoWatch] [iOS (16, 0)] [NoTV] - [Mac (10, 15)] [MacCatalyst (16, 0)] [NullAllowed, Export ("EDRMetadata", ArgumentSemantic.Strong)] CAEdrMetadata EdrMetadata { get; set; } @@ -1091,7 +1057,6 @@ interface CATextLayer { NSString AlignmentJustified { get; } #endif // !NET - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("allowsFontSubpixelQuantization")] bool AllowsFontSubpixelQuantization { get; set; } @@ -1115,10 +1080,6 @@ interface CALayerDelegate { [Export ("drawLayer:inContext:"), EventArgs ("CALayerDrawEventArgs")] void DrawLayer (CALayer layer, CGContext context); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("layerWillDraw:")] void WillDrawLayer (CALayer layer); @@ -1141,7 +1102,6 @@ interface CAEAGLLayer : EAGLDrawable { [Export ("layer"), New, Static] CALayer Create (); - [iOS (9,0)] [Export ("presentsWithTransaction")] bool PresentsWithTransaction { get; set; } } @@ -1251,31 +1211,24 @@ interface CAAnimation : CAAction, CAMediaTiming, NSSecureCoding, NSMutableCopyin #region SceneKitAdditions - [TV (11, 0), Mac (10, 13), iOS (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("animationWithSCNAnimation:")] CAAnimation FromSCNAnimation (SCNAnimation animation); - [iOS (8, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("usesSceneTimeBase")] bool UsesSceneTimeBase { get; set; } - [iOS (8, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("fadeInDuration")] nfloat FadeInDuration { get; set; } - [iOS (8, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("fadeOutDuration")] nfloat FadeOutDuration { get; set; } - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("animationEvents", ArgumentSemantic.Retain)] @@ -1364,7 +1317,6 @@ interface CABasicAnimation { NSObject By { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CABasicAnimation))] interface CASpringAnimation { @@ -1595,7 +1547,6 @@ enum CAGradientLayerType { [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [NoWatch] [MacCatalyst (13, 1)] [Field ("kCAGradientLayerRadial")] @@ -1603,7 +1554,6 @@ enum CAGradientLayerType { [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [NoWatch] [MacCatalyst (13, 1)] [Field ("kCAGradientLayerConic")] @@ -1845,8 +1795,6 @@ interface CAEmitterCell : CAMediaTiming, NSSecureCoding { [Export ("alphaRange")] float AlphaRange { get; set; } /* float, not CGFloat */ - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("contentsScale")] nfloat ContentsScale { get; set; } @@ -1957,7 +1905,6 @@ interface CAEmitterLayer { // 'initWithType:', 'behaviorWithType:' and 'behaviorTypes' API now cause rejection // https://trello.com/c/J8BDDUV9/86-33590997-coreanimation-quartzcore-api-removals #if !NET - [Mac (10, 9)] [BaseType (typeof (NSObject))] interface CAEmitterBehavior : NSSecureCoding { @@ -1983,10 +1930,6 @@ interface CAEmitterBehavior : NSSecureCoding { [Field ("kCAEmitterBehaviorAttractor")] NSString Attractor { get; } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [Field ("kCAEmitterBehaviorSimpleAttractor")] NSString SimpleAttractor { get; } @@ -2017,7 +1960,6 @@ partial interface CARendererOptionKeys { [Field ("kCARendererColorSpace")] NSString ColorSpace { get; } - [Mac (10, 14)] [NoMacCatalyst] [Field ("kCARendererMetalCommandQueue")] NSString MetalCommandQueue { get; } @@ -2033,7 +1975,6 @@ interface CARendererOptions { [Export ("ColorSpace")] CGColorSpace ColorSpace { get; set; } - [Mac (10, 14)] [NoMacCatalyst] [Export ("MetalCommandQueue")] IMTLCommandQueue MetalCommandQueue { get; set; } @@ -2046,13 +1987,11 @@ interface CARendererOptions { [NoMacCatalyst] [BaseType (typeof (NSObject))] interface CARenderer { - [Mac (10, 13)] [NoMacCatalyst] [Static] [Export ("rendererWithMTLTexture:options:")] CARenderer Create (IMTLTexture tex, [NullAllowed] NSDictionary dict); - [Mac (10, 13)] [NoMacCatalyst] [Static] [Wrap ("Create (tex, options.GetDictionary ())")] @@ -2090,7 +2029,6 @@ interface CARenderer { [Export ("endFrame")] void EndFrame (); - [Mac (10, 14)] [NoMacCatalyst] [Export ("setDestination:")] void SetDestination (IMTLTexture tex); @@ -2100,7 +2038,6 @@ interface CARenderer { [iOS (16, 0)] [NoTV] [MacCatalyst (16, 0)] - [Mac (10, 15)] [BaseType (typeof (NSObject), Name = "CAEDRMetadata")] [DisableDefaultCtor] interface CAEdrMetadata { diff --git a/src/coreaudiokit.cs b/src/coreaudiokit.cs index 3ae070f5a8ce..fed6fb995554 100644 --- a/src/coreaudiokit.cs +++ b/src/coreaudiokit.cs @@ -35,7 +35,6 @@ namespace CoreAudioKit { [NoiOS] - [Mac (10, 11)] [NoMacCatalyst] [Flags] public enum AUGenericViewDisplayFlags : uint { @@ -44,8 +43,6 @@ public enum AUGenericViewDisplayFlags : uint { ParametersDisplay = 1u << 2, } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (AUViewControllerBase))] interface AUViewController { @@ -54,8 +51,6 @@ interface AUViewController { NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle); } - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface AUAudioUnitViewConfiguration : NSSecureCoding { @@ -73,8 +68,6 @@ interface AUAudioUnitViewConfiguration : NSSecureCoding { } [Category] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (AUAudioUnit))] interface AUAudioUnitViewControllerExtensions { @@ -86,7 +79,6 @@ interface AUAudioUnitViewControllerExtensions { } [NoiOS] - [Mac (10, 13)] [NoMacCatalyst] [Protocol] interface AUCustomViewPersistentData { @@ -97,7 +89,6 @@ interface AUCustomViewPersistentData { } [NoiOS] - [Mac (10, 13)] [NoMacCatalyst] [DisableDefaultCtor] // Crashes [BaseType (typeof (NSView))] @@ -117,7 +108,6 @@ interface AUGenericView : AUCustomViewPersistentData { } [NoiOS] - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSView))] [DisableDefaultCtor] @@ -132,7 +122,6 @@ interface AUPannerView { } [NoiOS] - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSWindowController), Name = "CABTLEMIDIWindowController")] interface CABtleMidiWindowController { @@ -142,7 +131,6 @@ interface CABtleMidiWindowController { } [NoiOS] - [Mac (10, 13)] [NoMacCatalyst] [BaseType (typeof (NSViewController))] interface CAInterDeviceAudioViewController { @@ -152,7 +140,6 @@ interface CAInterDeviceAudioViewController { } [NoiOS] - [Mac (10, 13)] [NoMacCatalyst] [DesignatedDefaultCtor] [BaseType (typeof (NSWindowController))] @@ -167,7 +154,6 @@ interface CANetworkBrowserWindowController { } #if !MONOMAC - [iOS (8, 0)] [NoMac] [MacCatalyst (13, 1)] // in iOS 8.3 (Xcode 6.3 SDK) the base type was changed from UIViewController to UITableViewController @@ -177,13 +163,11 @@ interface CABTMidiCentralViewController { [PostGet ("NibBundle")] NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Export ("initWithStyle:")] NativeHandle Constructor (UITableViewStyle withStyle); } - [iOS (8, 0)] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController), Name = "CABTMIDILocalPeripheralViewController")] @@ -193,7 +177,6 @@ interface CABTMidiLocalPeripheralViewController { NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle); } - [iOS (8, 0)] [NoMac] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'AudioUnit' instead.")] [NoMacCatalyst] @@ -213,7 +196,6 @@ interface CAInterAppAudioSwitcherView { nfloat ContentWidth (); } - [iOS (8, 0)] [NoMac] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'AudioUnit' instead.")] [NoMacCatalyst] diff --git a/src/corebluetooth.cs b/src/corebluetooth.cs index 2794a0de89d2..8ad969cf7d7e 100644 --- a/src/corebluetooth.cs +++ b/src/corebluetooth.cs @@ -20,9 +20,6 @@ namespace CoreBluetooth { - [Watch (4, 0)] - [iOS (8, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CBAttribute { @@ -30,7 +27,6 @@ interface CBAttribute { CBUUID UUID { get; [NotImplemented] set; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("CBCentralManager")] interface CBCentralInitOptions { @@ -43,9 +39,6 @@ interface CBCentralInitOptions { string RestoreIdentifier { get; set; } } - [Watch (4, 0)] - [iOS (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -70,7 +63,7 @@ interface CBManager { [Export ("authorization", ArgumentSemantic.Assign)] CBManagerAuthorization _SAuthorization { get; } - [TV (13, 0), Mac (10, 15)] + [TV (13, 0)] [NoiOS] [NoWatch] [NoMacCatalyst] @@ -100,11 +93,9 @@ interface CBConnectionEventMatchingOptionsKeys { [StrongDictionary ("CBConnectPeripheralOptionsKeys")] interface CBConnectPeripheralOptions { - [Mac (10, 13)] [MacCatalyst (13, 1)] bool NotifyOnConnection { get; set; } bool NotifyOnDisconnection { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] bool NotifyOnNotification { get; set; } [iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac] @@ -118,13 +109,11 @@ interface CBConnectPeripheralOptions { [Static] [Internal] interface CBConnectPeripheralOptionsKeys { - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("CBConnectPeripheralOptionNotifyOnConnectionKey")] NSString NotifyOnConnectionKey { get; } [Field ("CBConnectPeripheralOptionNotifyOnDisconnectionKey")] NSString NotifyOnDisconnectionKey { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("CBConnectPeripheralOptionNotifyOnNotificationKey")] NSString NotifyOnNotificationKey { get; } @@ -138,7 +127,6 @@ interface CBConnectPeripheralOptionsKeys { NSString RequiresAncsKey { get; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CBManager), Delegates = new [] { "WeakDelegate" }, Events = new [] { typeof (CBCentralManagerDelegate) })] [DisableDefaultCtor] // crash (at dispose time) on OSX @@ -156,13 +144,11 @@ interface CBCentralManager { NativeHandle Constructor ([NullAllowed, Protocolize] CBCentralManagerDelegate centralDelegate, [NullAllowed] DispatchQueue queue); [DesignatedInitializer] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("initWithDelegate:queue:options:")] [PostGet ("WeakDelegate")] NativeHandle Constructor ([NullAllowed, Protocolize] CBCentralManagerDelegate centralDelegate, [NullAllowed] DispatchQueue queue, [NullAllowed] NSDictionary options); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Wrap ("this (centralDelegate, queue, options.GetDictionary ())")] NativeHandle Constructor ([NullAllowed, Protocolize] CBCentralManagerDelegate centralDelegate, [NullAllowed] DispatchQueue queue, CBCentralInitOptions options); @@ -192,17 +178,14 @@ interface CBCentralManager { NSString OptionNotifyOnDisconnectionKey { get; } [Obsolete ("Use 'CBConnectPeripheralOptions' instead.")] - [Mac (10, 13)] [Field ("CBConnectPeripheralOptionNotifyOnConnectionKey")] NSString OptionNotifyOnConnectionKey { get; } [Obsolete ("Use 'CBConnectPeripheralOptions' instead.")] - [Mac (10, 13)] [Field ("CBConnectPeripheralOptionNotifyOnNotificationKey")] NSString OptionNotifyOnNotificationKey { get; } #endif - [Mac (10, 14)] [iOS (11, 2)] [TV (11, 2)] [Watch (4, 2)] @@ -211,37 +194,30 @@ interface CBCentralManager { NSString OptionStartDelayKey { get; } [Field ("CBCentralManagerOptionRestoreIdentifierKey")] - [Mac (10, 13)] [MacCatalyst (13, 1)] NSString OptionRestoreIdentifierKey { get; } [Field ("CBCentralManagerRestoredStatePeripheralsKey")] - [Mac (10, 13)] [MacCatalyst (13, 1)] NSString RestoredStatePeripheralsKey { get; } [Field ("CBCentralManagerRestoredStateScanServicesKey")] - [Mac (10, 13)] [MacCatalyst (13, 1)] NSString RestoredStateScanServicesKey { get; } [Field ("CBCentralManagerRestoredStateScanOptionsKey")] - [Mac (10, 13)] [MacCatalyst (13, 1)] NSString RestoredStateScanOptionsKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("retrievePeripheralsWithIdentifiers:")] CBPeripheral [] RetrievePeripheralsWithIdentifiers ([Params] NSUuid [] identifiers); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("retrieveConnectedPeripheralsWithServices:")] CBPeripheral [] RetrieveConnectedPeripherals ([Params] CBUUID [] serviceUUIDs); [Field ("CBCentralManagerOptionShowPowerAlertKey")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString OptionShowPowerAlertKey { get; } @@ -250,12 +226,9 @@ interface CBCentralManager { NSString OptionDeviceAccessForMedia { get; } [Field ("CBCentralManagerScanOptionSolicitedServiceUUIDsKey")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString ScanOptionSolicitedServiceUUIDsKey { get; } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("isScanning")] bool IsScanning { get; } @@ -278,7 +251,6 @@ interface CBCentralManager { void RegisterForConnectionEvents ([NullAllowed] CBConnectionEventMatchingOptions options); } - [Watch (4, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("AdvertisementDataKeys")] interface AdvertisementData { @@ -292,7 +264,6 @@ interface AdvertisementData { CBUUID [] SolicitedServiceUuids { get; set; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] [Static, Internal] interface AdvertisementDataKeys { @@ -308,7 +279,6 @@ interface AdvertisementDataKeys { [Field ("CBAdvertisementDataServiceUUIDsKey")] NSString ServiceUuidsKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("CBAdvertisementDataOverflowServiceUUIDsKey")] NSString OverflowServiceUuidsKey { get; } @@ -316,23 +286,19 @@ interface AdvertisementDataKeys { [Field ("CBAdvertisementDataTxPowerLevelKey")] NSString TxPowerLevelKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("CBAdvertisementDataIsConnectable")] NSString IsConnectableKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("CBAdvertisementDataSolicitedServiceUUIDsKey")] NSString SolicitedServiceUuidsKey { get; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("PeripheralScanningOptionsKeys")] interface PeripheralScanningOptions { } - [Watch (4, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("RestoredStateKeys")] interface RestoredState { @@ -341,27 +307,22 @@ interface RestoredState { PeripheralScanningOptions ScanOptions { get; set; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] [Static, Internal] interface RestoredStateKeys { - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("CBCentralManagerRestoredStatePeripheralsKey")] NSString PeripheralsKey { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("CBCentralManagerRestoredStateScanServicesKey")] NSString ScanServicesKey { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("CBCentralManagerRestoredStateScanOptionsKey")] NSString ScanOptionsKey { get; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -419,7 +380,6 @@ interface CBCentralManagerDelegate { void DidUpdateAncsAuthorization (CBCentralManager central, CBPeripheral peripheral); } - [Watch (4, 0)] [MacCatalyst (13, 1)] [Static] interface CBAdvertisement { @@ -438,24 +398,20 @@ interface CBAdvertisement { [Field ("CBAdvertisementDataServiceDataKey")] NSString DataServiceDataKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("CBAdvertisementDataOverflowServiceUUIDsKey")] NSString DataOverflowServiceUUIDsKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("CBAdvertisementDataIsConnectable")] NSString IsConnectable { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("CBAdvertisementDataSolicitedServiceUUIDsKey")] NSString DataSolicitedServiceUUIDsKey { get; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CBAttribute))] [DisableDefaultCtor] // crash (at dispose time) on OSX @@ -487,8 +443,6 @@ interface CBCharacteristic { CBService Service { get; } } - [Watch (4, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CBCharacteristic))] [DisableDefaultCtor] @@ -525,7 +479,6 @@ interface CBMutableCharacteristic { CBCentral [] SubscribedCentrals { get; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CBAttribute))] [DisableDefaultCtor] // crash (at dispose time) on OSX @@ -540,8 +493,6 @@ interface CBDescriptor { CBCharacteristic Characteristic { get; } } - [Watch (4, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CBDescriptor))] [DisableDefaultCtor] @@ -556,7 +507,6 @@ interface CBMutableDescriptor { NativeHandle Constructor (CBUUID uuid, [NullAllowed] NSObject descriptorValue); } - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CBPeer), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (CBPeripheralDelegate) })] [DisableDefaultCtor] // crash (at dispose time) on OSX @@ -626,27 +576,18 @@ interface CBPeripheral : NSCopying { [Export ("writeValue:forDescriptor:")] void WriteValue (NSData data, CBDescriptor descriptor); - [iOS (9, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("maximumWriteValueLengthForType:")] nuint GetMaximumWriteValueLength (CBCharacteristicWriteType type); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("state")] CBPeripheralState State { get; } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("canSendWriteWithoutResponse")] bool CanSendWriteWithoutResponse { get; } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("openL2CAPChannel:")] void OpenL2CapChannel (ushort psm); @@ -657,7 +598,6 @@ interface CBPeripheral : NSCopying { bool AncsAuthorized { get; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -670,8 +610,6 @@ interface CBPeripheralDelegate { [Export ("peripheralDidUpdateRSSI:error:"), EventArgs ("NSError", true)] void RssiUpdated (CBPeripheral peripheral, [NullAllowed] NSError error); - [iOS (8, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("peripheral:didReadRSSI:error:"), EventArgs ("CBRssi")] void RssiRead (CBPeripheral peripheral, NSNumber rssi, [NullAllowed] NSError error); @@ -724,28 +662,20 @@ interface CBPeripheralDelegate { [Export ("peripheral:didModifyServices:"), EventArgs ("CBPeripheralServices")] void ModifiedServices (CBPeripheral peripheral, CBService [] services); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [EventArgs ("CBPeripheralOpenL2CapChannel")] [Export ("peripheral:didOpenL2CAPChannel:error:")] void DidOpenL2CapChannel (CBPeripheral peripheral, [NullAllowed] CBL2CapChannel channel, [NullAllowed] NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("peripheralIsReadyToSendWriteWithoutResponse:")] void IsReadyToSendWriteWithoutResponse (CBPeripheral peripheral); } - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CBAttribute))] [DisableDefaultCtor] // crash (at dispose time) on OSX interface CBService { - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("isPrimary")] #if NET @@ -768,8 +698,6 @@ interface CBService { } - [Watch (4, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CBService))] [DisableDefaultCtor] @@ -793,7 +721,6 @@ interface CBMutableService { CBCharacteristic [] Characteristics { get; set; } // TODO: check array type } - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // crash (at dispose time) on OSX @@ -821,7 +748,6 @@ interface CBUUID : NSCopying { CBUUID FromCFUUID (IntPtr theUUID); [Static] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("UUIDWithNSUUID:")] CBUUID FromNSUuid (NSUuid theUUID); @@ -858,7 +784,6 @@ interface CBUUID : NSCopying { [Internal] [Field ("CBUUIDValidRangeString")] - [Introduced (PlatformName.MacOSX, 10, 12)] [Deprecated (PlatformName.MacOSX, 10, 13)] [Obsoleted (PlatformName.MacOSX, 10, 13)] [NoiOS] @@ -869,22 +794,14 @@ interface CBUUID : NSCopying { #if MONOMAC && !NET [Internal] - [Mac (10,13)] [Field ("CBUUIDCharacteristicValidRangeString")] NSString CBUUIDCharacteristicValidRangeString { get; } #else - [iOS (10, 0)] - [TV (10, 0)] - [Watch (4, 0)] - [Mac (10, 13)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Field ("CBUUIDCharacteristicValidRangeString")] NSString CharacteristicValidRangeString { get; } #endif - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("CBUUIDL2CAPPSMCharacteristicString")] NSString L2CapPsmCharacteristicString { get; } @@ -921,15 +838,11 @@ interface CBUUID : NSCopying { NSString ServiceChangedString { get; } #endif // !XAMCORE_3_0 && !NET - [iOS (7, 1)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("UUIDString")] string Uuid { get; } } - [Watch (4, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -948,8 +861,6 @@ interface CBATTRequest { NSData Value { get; set; } } - [Mac (10, 9)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CBPeer))] // `delloc` a default instance crash applications and a default instance, without the ability to change the UUID, does not make sense @@ -967,8 +878,6 @@ interface CBCentral : NSCopying { nuint MaximumUpdateValueLength { get; } } - [Watch (4, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (CBManager), Delegates = new [] { "WeakDelegate" }, Events = new [] { typeof (CBPeripheralManagerDelegate) })] @@ -1031,16 +940,10 @@ interface CBPeripheralManager { [Export ("updateValue:forCharacteristic:onSubscribedCentrals:")] bool UpdateValue (NSData value, CBMutableCharacteristic characteristic, [NullAllowed] CBCentral [] subscribedCentrals); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("publishL2CAPChannelWithEncryption:")] void PublishL2CapChannel (bool encryptionRequired); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("unpublishL2CAPChannel:")] void UnpublishL2CapChannel (ushort psm); @@ -1067,8 +970,6 @@ interface CBPeripheralManager { #endif // !NET } - [Watch (4, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -1102,34 +1003,22 @@ interface CBPeripheralManagerDelegate { [Export ("peripheralManagerIsReadyToUpdateSubscribers:")] void ReadyToUpdateSubscribers (CBPeripheralManager peripheral); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [EventArgs ("CBPeripheralManagerOpenL2CapChannel")] [Export ("peripheralManager:didOpenL2CAPChannel:error:")] void DidOpenL2CapChannel (CBPeripheralManager peripheral, [NullAllowed] CBL2CapChannel channel, [NullAllowed] NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [EventArgs ("CBPeripheralManagerL2CapChannelOperation")] [Export ("peripheralManager:didUnpublishL2CAPChannel:error:")] void DidUnpublishL2CapChannel (CBPeripheralManager peripheral, ushort psm, [NullAllowed] NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [EventArgs ("CBPeripheralManagerL2CapChannelOperation")] [Export ("peripheralManager:didPublishL2CAPChannel:error:")] void DidPublishL2CapChannel (CBPeripheralManager peripheral, ushort psm, [NullAllowed] NSError error); } - [iOS (8, 0)] - [Mac (10, 13)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // CBPeer.h: - (instancetype)init NS_UNAVAILABLE; @@ -1150,10 +1039,6 @@ interface CBPeer : NSCopying { } // The type is available in 32bits macOS 10.13 even if most properties are 64 bits only - [Watch (4, 0)] - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "CBL2CAPChannel")] interface CBL2CapChannel { diff --git a/src/coredata.cs b/src/coredata.cs index 74b07c2867e3..cef3ce115f2b 100644 --- a/src/coredata.cs +++ b/src/coredata.cs @@ -62,7 +62,6 @@ interface UserInfoKeys { [NoTV] [Native] // NUInteger -> NSPersistentStoreCoordinator.h [Deprecated (PlatformName.iOS, 10, 0, message: "Please see the release notes and Core Data documentation.")] - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Please see the release notes and Core Data documentation.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Please see the release notes and Core Data documentation.")] @@ -139,7 +138,6 @@ interface NSAtomicStore { NSAtomicStore ReferenceObjectForObjectID (NSManagedObjectID objectID); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSFetchIndexElementDescription : NSCoding, NSCopying { @@ -162,7 +160,6 @@ interface NSFetchIndexElementDescription : NSCoding, NSCopying { NSFetchIndexDescription IndexDescription { get; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSFetchIndexDescription : NSCoding, NSCopying { @@ -234,7 +231,7 @@ interface NSAttributeDescription { [Export ("allowsExternalBinaryDataStorage")] bool AllowsExternalBinaryDataStorage { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("preservesValueInHistoryOnDeletion")] bool PreservesValueInHistoryOnDeletion { get; set; } @@ -336,18 +333,15 @@ interface NSEntityDescription : NSCoding, NSCopying { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'NSEntityDescription.Indexes' instead.")] NSPropertyDescription [] CompoundIndexes { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("indexes", ArgumentSemantic.Copy)] NSFetchIndexDescription [] Indexes { get; set; } // @property (strong) NSArray * __nonnull> * __nonnull uniquenessConstraints __attribute__((availability(ios, introduced=9.0))); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Internal, Export ("uniquenessConstraints", ArgumentSemantic.Strong)] NSArray _UniquenessConstraints { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("coreSpotlightDisplayNameExpression", ArgumentSemantic.Retain)] NSExpression CoreSpotlightDisplayNameExpression { get; set; } @@ -467,7 +461,6 @@ interface NSFetchRequestExpression { interface INSFetchRequestResult { } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Protocol] interface NSFetchRequestResult { } @@ -553,7 +546,6 @@ interface NSFetchRequest : NSCoding { [NullAllowed] NSPropertyDescription [] PropertiesToGroupBy { get; set; } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("execute:")] [return: NullAllowed] @@ -771,18 +763,15 @@ interface NSManagedObject : NSFetchRequestResult { [Export ("initWithEntity:insertIntoManagedObjectContext:")] NativeHandle Constructor (NSEntityDescription entity, [NullAllowed] NSManagedObjectContext context); - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("initWithContext:")] NativeHandle Constructor (NSManagedObjectContext moc); - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static] [Export ("entity")] NSEntityDescription GetEntityDescription (); - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static] [Export ("fetchRequest")] @@ -932,18 +921,15 @@ interface NSManagedObject : NSFetchRequestResult { // headers say this is introduced in 7.0,10.9 but Xcode 7 API diff // indicates it's new in 9.0,10.11... going by the header value... - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("hasPersistentChangedValues")] bool HasPersistentChangedValues { get; } - [iOS (8, 3), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("objectIDsForRelationshipNamed:")] NSManagedObjectID [] GetObjectIDs (string relationshipName); } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSQueryGenerationToken : NSSecureCoding, NSCopying { @@ -1149,13 +1135,11 @@ interface NSManagedObjectContext : NSCoding [Notification ()] NSString WillSaveNotification { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("name")] string Name { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("executeRequest:error:")] [return: NullAllowed] @@ -1165,43 +1149,35 @@ interface NSManagedObjectContext : NSCoding [return: NullAllowed] NSManagedObject GetExistingObject (NSManagedObjectID objectID, out NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("shouldDeleteInaccessibleFaults")] bool ShouldDeleteInaccessibleFaults { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("shouldHandleInaccessibleFault:forObjectID:triggeredByProperty:")] bool ShouldHandleInaccessibleFault (NSManagedObject fault, NSManagedObjectID oid, [NullAllowed] NSPropertyDescription property); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("mergeChangesFromRemoteContextSave:intoContexts:")] void MergeChangesFromRemoteContextSave (NSDictionary changeNotificationData, NSManagedObjectContext [] contexts); - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("queryGenerationToken", ArgumentSemantic.Strong)] NSQueryGenerationToken QueryGenerationToken { get; } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("setQueryGenerationFromToken:error:")] bool SetQueryGenerationFromToken ([NullAllowed] NSQueryGenerationToken generation, out NSError error); - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("automaticallyMergesChangesFromParent")] bool AutomaticallyMergesChangesFromParent { get; set; } - [iOS (8, 3), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("refreshAllObjects")] void RefreshAllObjects (); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("transactionAuthor")] string TransactionAuthor { get; set; } @@ -1492,37 +1468,30 @@ interface NSMergePolicy { bool ResolveConflictserror (NSMergeConflict [] list, out NSError error); #endif - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("resolveOptimisticLockingVersionConflicts:error:")] bool ResolveOptimisticLockingVersionConflicts (NSMergeConflict [] list, out NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("resolveConstraintConflicts:error:")] bool ResolveConstraintConflicts (NSConstraintConflict [] list, out NSError error); - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static, Export ("errorMergePolicy", ArgumentSemantic.Strong)] NSMergePolicy ErrorPolicy { get; } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static, Export ("rollbackMergePolicy", ArgumentSemantic.Strong)] NSMergePolicy RollbackPolicy { get; } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static, Export ("overwriteMergePolicy", ArgumentSemantic.Strong)] NSMergePolicy OverwritePolicy { get; } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static, Export ("mergeByPropertyObjectTrumpMergePolicy", ArgumentSemantic.Strong)] NSMergePolicy MergeByPropertyObjectTrumpPolicy { get; } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static, Export ("mergeByPropertyStoreTrumpMergePolicy", ArgumentSemantic.Strong)] NSMergePolicy MergeByPropertyStoreTrumpPolicy { get; } @@ -1591,7 +1560,6 @@ interface NSMigrationManager { } [Abstract] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSPersistentHistoryChange : NSCopying { @@ -1613,19 +1581,19 @@ interface NSPersistentHistoryChange : NSCopying { [NullAllowed, Export ("updatedProperties", ArgumentSemantic.Copy)] NSSet UpdatedProperties { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [NullAllowed, Export ("entityDescription")] NSEntityDescription EntityDescription { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [NullAllowed, Export ("fetchRequest")] NSFetchRequest FetchRequest { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("entityDescriptionWithContext:")] @@ -1633,14 +1601,12 @@ interface NSPersistentHistoryChange : NSCopying { NSEntityDescription GetEntityDescription (NSManagedObjectContext context); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSPersistentHistoryToken : NSCopying //, NSSecureCoding TODO: The class does state that it supports the NSSecureCoding YET SupportsSecureCoding returns false, radar 32761925 { } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreRequest))] [DisableDefaultCtor] @@ -1675,19 +1641,18 @@ interface NSPersistentHistoryChangeRequest { [NullAllowed, Export ("token", ArgumentSemantic.Strong)] NSPersistentHistoryToken Token { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("fetchHistoryWithFetchRequest:")] NSPersistentHistoryChangeRequest FetchHistory (NSFetchRequest fetchRequest); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fetchRequest", ArgumentSemantic.Strong)] NSFetchRequest FetchRequest { get; set; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreResult))] interface NSPersistentHistoryResult { @@ -1700,7 +1665,6 @@ interface NSPersistentHistoryResult { } [Abstract] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSPersistentHistoryTransaction : NSCopying { @@ -1734,20 +1698,20 @@ interface NSPersistentHistoryTransaction : NSCopying { [Export ("objectIDNotification")] NSNotification ObjectIdNotification { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("entityDescriptionWithContext:")] [return: NullAllowed] NSEntityDescription GetEntityDescription (NSManagedObjectContext context); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [NullAllowed, Export ("entityDescription")] NSEntityDescription EntityDescription { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [NullAllowed, Export ("fetchRequest")] @@ -1755,7 +1719,7 @@ interface NSPersistentHistoryTransaction : NSCopying { } #if !WATCH - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInternalInconsistencyException Reason: NSCoreDataCoreSpotlightDelegate requires the use of the initializer initForStoreWithDescription:model: @@ -1891,19 +1855,19 @@ interface NSPersistentStore { NSString SaveConflictsErrorKey { get; } #if !WATCH - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("coreSpotlightExporter")] NSCoreDataCoreSpotlightDelegate CoreSpotlightExporter { get; } #endif - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("NSPersistentStoreRemoteChangeNotificationPostOptionKey")] NSString RemoteChangeNotificationPostOptionKey { get; } [Notification (typeof (NSPersistentStoreRemoteChangeEventArgs))] - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("NSPersistentStoreRemoteChangeNotification")] NSString StoreRemoteChangeNotification { get; } @@ -1921,7 +1885,6 @@ interface NSPersistentStoreRemoteChangeEventArgs { NSPersistentHistoryToken PersistentHistoryTracking { get; } } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1971,13 +1934,12 @@ interface NSPersistentStoreDescription : NSCopying { NativeHandle Constructor (NSUrl url); // NSPersistentStoreDescription_NSPersistentCloudKitContainerAdditions category - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("cloudKitContainerOptions", ArgumentSemantic.Strong)] NSPersistentCloudKitContainerOptions CloudKitContainerOptions { get; set; } } - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2053,7 +2015,6 @@ partial interface NSPersistentStoreCoordinator [return: NullAllowed] NSDictionary MetadataForPersistentStoreOfType ([NullAllowed] NSString storeType, NSUrl url, out NSError error); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("metadataForPersistentStoreOfType:URL:options:error:")] [return: NullAllowed] @@ -2066,7 +2027,6 @@ partial interface NSPersistentStoreCoordinator [Static, Export ("setMetadata:forPersistentStoreOfType:URL:error:")] bool SetMetadata ([NullAllowed] NSDictionary metadata, [NullAllowed] NSString storeType, NSUrl url, out NSError error); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("setMetadata:forPersistentStoreOfType:URL:options:error:")] bool SetMetadata ([NullAllowed] NSDictionary metadata, string storeType, NSUrl url, [NullAllowed] NSDictionary options, out NSError error); @@ -2115,7 +2075,6 @@ partial interface NSPersistentStoreCoordinator NSPersistentStore AddPersistentStoreWithType (NSString storeType, [NullAllowed] string configuration, [NullAllowed] NSUrl storeUrl, [NullAllowed] NSDictionary options, out NSError error); #endif - [Watch (3, 0), TV (10, 0), iOS (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("addPersistentStoreWithDescription:completionHandler:")] [Async] @@ -2185,18 +2144,10 @@ partial interface NSPersistentStoreCoordinator [Field ("NSBinaryStoreType")] NSString BinaryStoreType { get; } - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("NSBinaryStoreSecureDecodingClasses")] NSString BinaryStoreSecureDecodingClasses { get; } - [Watch (4, 0)] - [TV (11, 0)] - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("NSBinaryStoreInsecureDecodingCompatibilityOption")] NSString BinaryStoreInsecureDecodingCompatibilityOption { get; } @@ -2314,14 +2265,12 @@ partial interface NSPersistentStoreCoordinator [NoWatch] [NoTV] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSPersistentStoreUbiquitousPeerTokenOption")] NSString PersistentStoreUbiquitousPeerTokenOption { get; } [NoWatch] [NoTV] - [Mac (10, 9)] [Static] [Deprecated (PlatformName.iOS, 10, 0, message: "Please see the release notes and Core Data documentation.")] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Please see the release notes and Core Data documentation.")] @@ -2330,7 +2279,6 @@ partial interface NSPersistentStoreCoordinator [Export ("removeUbiquitousContentAndPersistentStoreAtURL:options:error:")] bool RemoveUbiquitousContentAndPersistentStore (NSUrl storeUrl, [NullAllowed] NSDictionary options, out NSError error); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Notification (typeof (NSPersistentStoreCoordinatorStoreChangeEventArgs))] [Field ("NSPersistentStoreCoordinatorStoresWillChangeNotification")] @@ -2338,21 +2286,18 @@ partial interface NSPersistentStoreCoordinator [NoWatch] [NoTV] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSPersistentStoreRebuildFromUbiquitousContentOption")] NSString RebuildFromUbiquitousContentOption { get; } [NoWatch] [NoTV] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSPersistentStoreRemoveUbiquitousMetadataOption")] NSString RemoveUbiquitousMetadataOption { get; } [NoWatch] [NoTV] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSPersistentStoreUbiquitousContainerIdentifierKey")] [Obsolete ("Use 'UbiquitousContainerIdentifierKey' instead.")] @@ -2360,50 +2305,43 @@ partial interface NSPersistentStoreCoordinator [NoWatch] [NoTV] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSPersistentStoreUbiquitousContainerIdentifierKey")] NSString UbiquitousContainerIdentifierKey { get; } // 11.0 - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSCoreDataCoreSpotlightExporter")] NSString CoreSpotlightExporter { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("NSPersistentHistoryTrackingKey")] NSString HistoryTrackingKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed, Export ("name")] string Name { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("performBlock:")] void Perform (Action code); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("performBlockAndWait:")] void PerformAndWait (Action code); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("destroyPersistentStoreAtURL:withType:options:error:")] bool DestroyPersistentStore (NSUrl url, string storeType, [NullAllowed] NSDictionary options, out NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("replacePersistentStoreAtURL:destinationOptions:withPersistentStoreFromURL:sourceOptions:storeType:error:")] bool ReplacePersistentStore (NSUrl destinationUrl, [NullAllowed] NSDictionary destinationOptions, NSUrl sourceUrl, [NullAllowed] NSDictionary sourceOptions, string storeType, out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("currentPersistentHistoryTokenFromStores:")] [return: NullAllowed] @@ -2431,7 +2369,6 @@ interface NSPersistentStoreRequest : NSCopying { NSPersistentStore [] AffectedStores { get; set; } } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreAsynchronousResult))] interface NSAsynchronousFetchResult { @@ -2447,14 +2384,12 @@ interface NSAsynchronousFetchResult { #endif } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSPersistentStoreResult { } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreResult))] interface NSBatchUpdateResult { @@ -2466,7 +2401,6 @@ interface NSBatchUpdateResult { NSBatchUpdateRequestResultType ResultType { get; } } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreResult))] interface NSPersistentStoreAsynchronousResult { @@ -2485,7 +2419,6 @@ interface NSPersistentStoreAsynchronousResult { void Cancel (); } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreRequest))] interface NSAsynchronousFetchRequest { @@ -2644,7 +2577,6 @@ interface NSSaveChangesRequest { #endif } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreRequest))] interface NSBatchUpdateRequest { @@ -2680,7 +2612,6 @@ interface NSBatchUpdateRequest { NSBatchUpdateRequest BatchUpdateRequestWithEntityName (string entityName); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreRequest))] [DisableDefaultCtor] @@ -2699,7 +2630,6 @@ interface NSBatchDeleteRequest { NSFetchRequest FetchRequest { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreResult))] interface NSBatchDeleteResult { @@ -2710,7 +2640,6 @@ interface NSBatchDeleteResult { NSBatchDeleteRequestResultType ResultType { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSConstraintConflict { @@ -2760,7 +2689,7 @@ interface NSConstraintConflict { #endif delegate bool NSBatchInsertRequestManagedObjectHandler (NSManagedObject managedObject); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreRequest))] [DisableDefaultCtor] // NSInternalInconsistencyException Reason: -init results in undefined behavior for NSBatchInsertRequest @@ -2842,7 +2771,7 @@ interface NSBatchInsertRequest { NSBatchInsertRequest CreateBatchInsertRequest (string entityName, NSBatchInsertRequestManagedObjectHandler handler); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentStoreResult))] interface NSBatchInsertResult { @@ -2853,7 +2782,7 @@ interface NSBatchInsertResult { NSBatchInsertRequestResultType ResultType { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSAttributeDescription))] interface NSDerivedAttributeDescription : NSSecureCoding { @@ -2876,7 +2805,7 @@ interface NSDerivedAttributeDescription : NSSecureCoding { [Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] delegate void NSPersistentCloudKitContainerAcceptShareInvitationsHandler (NSArray acceptedShareMetadatas, NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSPersistentContainer))] [DisableDefaultCtor] @@ -2956,7 +2885,7 @@ interface NSPersistentCloudKitContainer { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] diff --git a/src/corefoundation.cs b/src/corefoundation.cs index 2fcaef272711..a1a09210546a 100644 --- a/src/corefoundation.cs +++ b/src/corefoundation.cs @@ -130,7 +130,6 @@ enum CFStringTransform { StripDiacritics, } - [Mac (10, 12), iOS (10, 0), Watch (3, 0), TV (10, 0)] [Introduced (PlatformName.MacCatalyst, 13, 0)] public enum OSLogLevel : byte { // These values must match the os_log_type_t enum in . diff --git a/src/coregraphics.cs b/src/coregraphics.cs index 647d9e9645eb..95216bc20901 100644 --- a/src/coregraphics.cs +++ b/src/coregraphics.cs @@ -88,10 +88,6 @@ interface CGPDFInfo { kCGPDFContextOutputIntents; #endif - [Mac (10, 13)] - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [Internal] [Field ("kCGPDFContextAccessPermissions")] @@ -117,7 +113,6 @@ interface CGPDFInfo { } [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] interface CGColorSpaceNames { [Field ("kCGColorSpaceGenericGray")] @@ -129,9 +124,6 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceGenericCMYK")] NSString GenericCmyk { get; } - [iOS (9, 3)] - [Mac (10, 11, 2)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceDisplayP3")] NSString DisplayP3 { get; } @@ -148,17 +140,14 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceGenericGrayGamma2_2")] NSString GenericGrayGamma2_2 { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceGenericXYZ")] NSString GenericXyz { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceACESCGLinear")] NSString AcesCGLinear { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceITUR_709")] NSString ItuR_709 { get; } @@ -172,7 +161,6 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceITUR_709_HLG")] NSString ItuR_709_Hlg { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceITUR_2020")] NSString ItuR_2020 { get; } @@ -182,64 +170,34 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceITUR_2020_sRGBGamma")] NSString ItuR_2020_sRgbGamma { get; } - [iOS (9, 3)] - [Mac (10, 11)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceROMMRGB")] NSString RommRgb { get; } - [iOS (9, 3)] - [Mac (10, 11)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceDCIP3")] NSString Dcip3 { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceExtendedSRGB")] NSString ExtendedSrgb { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceLinearSRGB")] NSString LinearSrgb { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceExtendedLinearSRGB")] NSString ExtendedLinearSrgb { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceExtendedGray")] NSString ExtendedGray { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceLinearGray")] NSString LinearGray { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceExtendedLinearGray")] NSString ExtendedLinearGray { get; } @@ -284,15 +242,10 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceGenericRGBLinear")] NSString GenericRGBLinear { get; } - [iOS (11, 0)] - [Mac (10, 13)] - [Watch (4, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceGenericLab")] NSString GenericLab { get; } - [Mac (10, 14, 3)] [iOS (12, 3)] [TV (12, 3)] [Watch (5, 3)] @@ -305,7 +258,6 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceExtendedITUR_2020")] NSString ExtendedItur_2020 { get; } - [Mac (10, 14, 3)] [iOS (12, 3)] [TV (12, 3)] [Watch (5, 3)] @@ -318,7 +270,6 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceExtendedDisplayP3")] NSString ExtendedDisplayP3 { get; } - [Mac (10, 14)] [iOS (12, 0)] [TV (12, 0)] [Watch (5, 0)] @@ -331,7 +282,7 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceITUR_2020_PQ_EOTF")] NSString Itur_2020_PQ_Eotf { get; } - [Mac (10, 15, 4), iOS (13, 4), TV (13, 4), Watch (6, 2)] + [iOS (13, 4), TV (13, 4), Watch (6, 2)] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'Itur_2100_PQ' instead.")] [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'Itur_2100_PQ' instead.")] [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'Itur_2100_PQ' instead.")] @@ -341,7 +292,6 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceITUR_2020_PQ")] NSString Itur_2020_PQ { get; } - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -354,12 +304,11 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceDisplayP3_PQ_EOTF")] NSString DisplayP3_PQ_Eotf { get; } - [Mac (10, 15, 4), iOS (13, 4), TV (13, 4), Watch (6, 2)] + [iOS (13, 4), TV (13, 4), Watch (6, 2)] [MacCatalyst (13, 1)] [Field ("kCGColorSpaceDisplayP3_PQ")] NSString DisplayP3_PQ { get; } - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -367,7 +316,6 @@ interface CGColorSpaceNames { [Field ("kCGColorSpaceDisplayP3_HLG")] NSString DisplayP3_Hlg { get; } - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -418,15 +366,10 @@ partial interface CGColorConversionInfo { [Internal] [Field ("kCGColorConversionTRCSize")] - [iOS (11, 0), Mac (10, 13), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] NSString TrcSizeKey { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [StrongDictionary ("CGColorConversionInfo")] interface CGColorConversionOptions { @@ -434,9 +377,6 @@ interface CGColorConversionOptions { CGSize TrcSize { get; set; } } - [iOS (11, 0), Mac (10, 13)] - [TV (11, 0)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [Static] [Internal] @@ -462,7 +402,6 @@ public interface CGPDFOutlineKeys { NSString AccessPermissionsKey { get; } } - [iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [StrongDictionary ("CGPDFOutlineKeys")] interface CGPDFOutlineOptions { @@ -472,7 +411,6 @@ interface CGPDFOutlineOptions { CGRect DestinationRect { get; set; } } - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -493,7 +431,6 @@ interface CGPdfTagPropertyKeys { NSString LanguageTextKey { get; } } - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] @@ -522,7 +459,7 @@ enum CGConstantColor { } // Adding suffix *Keys to avoid possible name clash - [NoiOS, NoTV, NoWatch, Mac (10, 9), MacCatalyst (13, 1)] + [NoiOS, NoTV, NoWatch, MacCatalyst (13, 1)] [Static] interface CGDisplayStreamKeys { @@ -551,7 +488,7 @@ interface CGDisplayStreamKeys { NSString YCbCrMatrix { get; } } - [NoiOS, NoTV, NoWatch, Mac (10, 9), MacCatalyst (13, 1)] + [NoiOS, NoTV, NoWatch, MacCatalyst (13, 1)] [Static] interface CGDisplayStreamYCbCrMatrixOptionKeys { diff --git a/src/corehaptics.cs b/src/corehaptics.cs index 2ca94fc9c138..09100d1d4041 100644 --- a/src/corehaptics.cs +++ b/src/corehaptics.cs @@ -25,7 +25,7 @@ namespace CoreHaptics { interface AVAudioSession {} #endif - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -42,7 +42,7 @@ interface CHHapticEventParameter { NativeHandle Constructor ([BindAs (typeof (CHHapticEventParameterId))] NSString parameterId, float value); } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -62,7 +62,7 @@ interface CHHapticDynamicParameter { NativeHandle Constructor ([BindAs (typeof (CHHapticDynamicParameterId))] NSString parameterId, float value, double time); } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -78,7 +78,7 @@ interface CHHapticParameterCurveControlPoint { NativeHandle Constructor (double time, float value); } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -98,7 +98,7 @@ interface CHHapticParameterCurve { NativeHandle Constructor ([BindAs (typeof (CHHapticDynamicParameterId))] NSString parameterId, CHHapticParameterCurveControlPoint [] controlPoints, double relativeTime); } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -131,7 +131,7 @@ interface CHHapticEvent { interface ICHHapticParameterAttributes { } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [Protocol] interface CHHapticParameterAttributes { @@ -178,7 +178,7 @@ interface CHHapticDeviceCapability { interface ICHHapticPatternPlayer { } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [Protocol] interface CHHapticPatternPlayer { @@ -209,7 +209,7 @@ interface CHHapticPatternPlayer { interface ICHHapticAdvancedPatternPlayer { } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [Protocol] interface CHHapticAdvancedPatternPlayer : CHHapticPatternPlayer { @@ -246,7 +246,7 @@ interface CHHapticAdvancedPatternPlayer : CHHapticPatternPlayer { new bool IsMuted { get; set; } } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -329,7 +329,7 @@ interface CHHapticEngine { [Static] [Internal] - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] partial interface CHHapticPatternDefinitionKeys { [Field ("CHHapticPatternKeyVersion")] @@ -380,7 +380,7 @@ partial interface CHHapticPatternDefinitionKeys { NSString EventWaveformLoopEnabledKey { get; } } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("CHHapticPatternDefinitionKeys")] partial interface CHHapticPatternDefinition { @@ -408,7 +408,7 @@ partial interface CHHapticPatternDefinition { bool EventWaveformUseVolumeEnvelope { get; set; } } - [Mac (10, 15), iOS (13, 0), TV (14, 0)] + [iOS (13, 0), TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] diff --git a/src/coreimage.cs b/src/coreimage.cs index ba960ca305ec..d05da035bed3 100644 --- a/src/coreimage.cs +++ b/src/coreimage.cs @@ -75,9 +75,6 @@ interface CIColor : NSSecureCoding, NSCopying { [Export ("colorWithRed:green:blue:alpha:")] CIColor FromRgba (nfloat red, nfloat green, nfloat blue, nfloat alpha); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("colorWithRed:green:blue:alpha:colorSpace:")] @@ -88,9 +85,6 @@ interface CIColor : NSSecureCoding, NSCopying { [Export ("colorWithRed:green:blue:")] CIColor FromRgb (nfloat red, nfloat green, nfloat blue); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("colorWithRed:green:blue:colorSpace:")] @@ -105,28 +99,18 @@ interface CIColor : NSSecureCoding, NSCopying { [Export ("initWithCGColor:")] NativeHandle Constructor (CGColor c); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("initWithRed:green:blue:")] NativeHandle Constructor (nfloat red, nfloat green, nfloat blue); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithRed:green:blue:colorSpace:")] NativeHandle Constructor (nfloat red, nfloat green, nfloat blue, CGColorSpace colorSpace); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("initWithRed:green:blue:alpha:")] NativeHandle Constructor (nfloat red, nfloat green, nfloat blue, nfloat alpha); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithRed:green:blue:alpha:colorSpace:")] NativeHandle Constructor (nfloat red, nfloat green, nfloat blue, nfloat alpha, CGColorSpace colorSpace); @@ -156,81 +140,51 @@ interface CIColor : NSSecureCoding, NSCopying { // while the one below are CIColor convenience helpers // conflicting names means we have to keep the *Color suffix on them - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("blackColor", ArgumentSemantic.Strong)] CIColor BlackColor { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("whiteColor", ArgumentSemantic.Strong)] CIColor WhiteColor { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("grayColor", ArgumentSemantic.Strong)] CIColor GrayColor { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("redColor", ArgumentSemantic.Strong)] CIColor RedColor { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("greenColor", ArgumentSemantic.Strong)] CIColor GreenColor { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("blueColor", ArgumentSemantic.Strong)] CIColor BlueColor { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("cyanColor", ArgumentSemantic.Strong)] CIColor CyanColor { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("magentaColor", ArgumentSemantic.Strong)] CIColor MagentaColor { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("yellowColor", ArgumentSemantic.Strong)] CIColor YellowColor { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("clearColor", ArgumentSemantic.Strong)] @@ -247,34 +201,26 @@ interface CIColor : NSSecureCoding, NSCopying { [DisableDefaultCtor] interface CIContext { // marked iOS5 but it's not working in iOS8.0 - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("init")] NativeHandle Constructor (); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("contextWithMTLDevice:")] CIContext FromMetalDevice (IMTLDevice device); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Internal] // This overload is needed for our strong dictionary support (but only for Unified, since for Classic the generic version is transformed to this signature) [Static] [Export ("contextWithMTLDevice:options:")] CIContext FromMetalDevice (IMTLDevice device, [NullAllowed] NSDictionary options); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("contextWithMTLDevice:options:")] CIContext FromMetalDevice (IMTLDevice device, [NullAllowed] NSDictionary options); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Internal, Static] [Export ("contextWithCGContext:options:")] @@ -284,7 +230,6 @@ interface CIContext { [Export ("contextWithOptions:")] CIContext FromOptions ([NullAllowed] NSDictionary dictionary); - [iOS (9, 0)] // documented as earlier but missing [MacCatalyst (13, 1)] [Internal] [Export ("initWithOptions:")] @@ -310,20 +255,15 @@ interface CIContext { CIContext FromContext (EAGLContext eaglContext, [NullAllowed] NSDictionary dictionary); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("render:toCVPixelBuffer:")] void Render (CIImage image, CVPixelBuffer buffer); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("render:toCVPixelBuffer:bounds:colorSpace:")] // null is not documented for CGColorSpace but it makes sense with the other overload not having this parameter (unit tested) void Render (CIImage image, CVPixelBuffer buffer, CGRect rectangle, [NullAllowed] CGColorSpace cs); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("render:toIOSurface:bounds:colorSpace:")] void Render (CIImage image, IOSurface.IOSurface surface, CGRect bounds, [NullAllowed] CGColorSpace colorSpace); @@ -338,8 +278,6 @@ interface CIContext { [Export ("outputImageMaximumSize")] CGSize OutputImageMaximumSize { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("render:toMTLTexture:commandBuffer:bounds:colorSpace:")] void Render (CIImage image, IMTLTexture texture, [NullAllowed] IMTLCommandBuffer commandBuffer, CGRect bounds, CGColorSpace colorSpace); @@ -364,9 +302,6 @@ interface CIContext { [return: NullAllowed] CGImage CreateCGImage (CIImage image, CGRect fromRect, int /* CIFormat = int */ ciImageFormat, [NullAllowed] CGColorSpace colorSpace); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("createCGImage:fromRect:format:colorSpace:deferred:")] [return: Release] @@ -394,8 +329,6 @@ interface CIContext { [Export ("reclaimResources")] void ReclaimResources (); - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("clearCaches")] void ClearCaches (); @@ -409,19 +342,14 @@ interface CIContext { [Internal, Field ("kCIContextUseSoftwareRenderer", "+CoreImage")] NSString UseSoftwareRenderer { get; } - [iOS (8, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Internal, Field ("kCIContextPriorityRequestLow", "+CoreImage")] NSString PriorityRequestLow { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Internal, Field ("kCIContextWorkingFormat", "+CoreImage")] NSString WorkingFormatField { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Internal] [Field ("kCIContextHighQualityDownsample", "+CoreImage")] @@ -429,7 +357,6 @@ interface CIContext { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Internal] [Field ("kCIContextAllowLowPower")] @@ -443,7 +370,6 @@ interface CIContext { [Field ("kCIContextName")] NSString Name { get; } - [Mac (10, 11)] [NoiOS] [NoMacCatalyst] [NoWatch] @@ -452,7 +378,6 @@ interface CIContext { [Static] int OfflineGPUCount { get; } - [Mac (10, 11)] [NoiOS] [NoMacCatalyst] [NoWatch] @@ -463,16 +388,11 @@ interface CIContext { [return: NullAllowed] CIContext FromOfflineGpu (int gpuIndex); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("workingColorSpace")] [NullAllowed] CGColorSpace WorkingColorSpace { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("workingFormat")] CIFormat WorkingFormat { get; } @@ -481,9 +401,6 @@ interface CIContext { [Field ("kCIContextOutputPremultiplied", "+CoreImage")] NSString OutputPremultiplied { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Internal] [Field ("kCIContextCacheIntermediates", "+CoreImage")] @@ -491,7 +408,6 @@ interface CIContext { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("contextWithMTLCommandQueue:")] @@ -499,7 +415,6 @@ interface CIContext { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("contextWithMTLCommandQueue:options:")] @@ -510,45 +425,31 @@ interface CIContext { [BaseType (typeof (CIContext))] interface CIContext_ImageRepresentation { - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("TIFFRepresentationOfImage:format:colorSpace:options:")] [return: NullAllowed] NSData GetTiffRepresentation (CIImage image, CIFormat format, CGColorSpace colorSpace, NSDictionary options); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("GetTiffRepresentation (This, image, format, colorSpace, options.GetDictionary ()!)")] [return: NullAllowed] NSData GetTiffRepresentation (CIImage image, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("JPEGRepresentationOfImage:colorSpace:options:")] [return: NullAllowed] NSData GetJpegRepresentation (CIImage image, CGColorSpace colorSpace, NSDictionary options); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("GetJpegRepresentation (This, image, colorSpace, options.GetDictionary ()!)")] [return: NullAllowed] NSData GetJpegRepresentation (CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13, 4)] [MacCatalyst (13, 1)] [Export ("HEIFRepresentationOfImage:format:colorSpace:options:")] [return: NullAllowed] NSData GetHeifRepresentation (CIImage image, CIFormat format, CGColorSpace colorSpace, NSDictionary options); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Wrap ("GetHeifRepresentation (This, image, format, colorSpace, options.GetDictionary ()!)")] [return: NullAllowed] @@ -564,56 +465,36 @@ interface CIContext_ImageRepresentation { [return: NullAllowed] NSData GetHeif10Representation (CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options, [NullAllowed] out NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("PNGRepresentationOfImage:format:colorSpace:options:")] [return: NullAllowed] NSData GetPngRepresentation (CIImage image, CIFormat format, CGColorSpace colorSpace, NSDictionary options); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Wrap ("GetPngRepresentation (This, image, format, colorSpace, options.GetDictionary ()!)")] [return: NullAllowed] NSData GetPngRepresentation (CIImage image, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("writeTIFFRepresentationOfImage:toURL:format:colorSpace:options:error:")] bool WriteTiffRepresentation (CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("WriteTiffRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error)")] bool WriteTiffRepresentation (CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("writeJPEGRepresentationOfImage:toURL:colorSpace:options:error:")] bool WriteJpegRepresentation (CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, [NullAllowed] out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("WriteJpegRepresentation (This, image, url, colorSpace, options.GetDictionary ()!, out error)")] bool WriteJpegRepresentation (CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, [NullAllowed] out NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13, 4)] [MacCatalyst (13, 1)] [Export ("writeHEIFRepresentationOfImage:toURL:format:colorSpace:options:error:")] bool WriteHeifRepresentation (CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, [NullAllowed] out NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Wrap ("WriteHeifRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error)")] bool WriteHeifRepresentation (CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, [NullAllowed] out NSError error); @@ -626,16 +507,10 @@ interface CIContext_ImageRepresentation { [Wrap ("WriteHeif10Representation (This, image, url, colorSpace, options.GetDictionary ()!, out error)")] bool WriteHeif10Representation (CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, [NullAllowed] out NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("writePNGRepresentationOfImage:toURL:format:colorSpace:options:error:")] bool WritePngRepresentation (CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, [NullAllowed] out NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Wrap ("WritePngRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error)")] bool WritePngRepresentation (CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, [NullAllowed] out NSError error); @@ -646,21 +521,21 @@ interface CIContext_ImageRepresentation { [BaseType (typeof (CIContext))] interface CIContext_CIDepthBlurEffect { // as per the docs: The 'options' parameter is a key value/pair reserved for future use. - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("depthBlurEffectFilterForImageURL:options:")] [return: NullAllowed] CIFilter GetDepthBlurEffectFilter (NSUrl url, [NullAllowed] NSDictionary options); // as per the docs: The 'options' parameter is a key value/pair reserved for future use. - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("depthBlurEffectFilterForImageData:options:")] [return: NullAllowed] CIFilter GetDepthBlurEffectFilter (NSData data, [NullAllowed] NSDictionary options); // as per the docs: The 'options' parameter is a key value/pair reserved for future use. - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("depthBlurEffectFilterForImage:disparityImage:portraitEffectsMatte:orientation:options:")] [return: NullAllowed] @@ -668,7 +543,6 @@ interface CIContext_CIDepthBlurEffect { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("depthBlurEffectFilterForImage:disparityImage:portraitEffectsMatte:hairSemanticSegmentation:orientation:options:")] [return: NullAllowed] @@ -701,8 +575,6 @@ interface CIFilter : NSSecureCoding, NSCopying { [Export ("name")] string Name { get; - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] set; } @@ -712,7 +584,6 @@ string Name { [return: NullAllowed] CIFilter FromName (string name); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static] [Export ("filterWithName:withInputParameters:")] @@ -727,27 +598,23 @@ string Name { [Export ("filterNamesInCategories:"), Internal] string [] _FilterNamesInCategories ([NullAllowed] string [] categories); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("localizedNameForFilterName:")] [return: NullAllowed] string FilterLocalizedName (string filterName); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("localizedNameForCategory:")] string CategoryLocalizedName (string category); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("localizedDescriptionForFilterName:")] [return: NullAllowed] string FilterLocalizedDescription (string filterName); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("localizedReferenceDocumentationForFilterName:")] @@ -759,7 +626,6 @@ string Name { [Export ("registerFilterName:constructor:classAttributes:")] void RegisterFilterName (string name, NSObject constructorObject, NSDictionary classAttributes); #else - [iOS (9, 0)] [MacCatalyst (13, 1)] [NoWatch] [Static] @@ -817,8 +683,6 @@ string Name { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'CIRawFilter' instead.")] - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'CIRawFilter' instead.")] [Static] @@ -828,8 +692,6 @@ string Name { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'CIRawFilter' instead.")] - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'CIRawFilter' instead.")] [Static] @@ -839,8 +701,6 @@ string Name { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'CIRawFilter' instead.")] - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'CIRawFilter' instead.")] [Static] @@ -850,8 +710,6 @@ string Name { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'CIRawFilter' instead.")] - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'CIRawFilter' instead.")] [Static] @@ -861,9 +719,6 @@ string Name { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'CIRawFilter' instead.")] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'CIRawFilter' instead.")] [Static] @@ -873,9 +728,6 @@ string Name { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'CIRawFilter' instead.")] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'CIRawFilter' instead.")] [Static] @@ -1061,155 +913,117 @@ interface CIRawFilter : CIFilterProtocol { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'CIRawFilter' instead.")] - [TV (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'CIRawFilter' instead.")] [Static] [Internal] interface CIRawFilterKeys { - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputAllowDraftModeKey")] NSString AllowDraftModeKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputDecoderVersionKey")] NSString VersionKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCISupportedDecoderVersionsKey")] NSString SupportedDecoderVersionsKey { get; } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIInputBaselineExposureKey")] NSString BaselineExposureKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputBoostKey")] NSString BoostKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputBoostShadowAmountKey")] NSString BoostShadowAmountKey { get; } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIInputDisableGamutMapKey")] NSString DisableGamutMapKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputNeutralChromaticityXKey")] NSString NeutralChromaticityXKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputNeutralChromaticityYKey")] NSString NeutralChromaticityYKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputNeutralTemperatureKey")] NSString NeutralTemperatureKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputNeutralTintKey")] NSString NeutralTintKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputNeutralLocationKey")] NSString NeutralLocationKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputScaleFactorKey")] NSString ScaleFactorKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputIgnoreImageOrientationKey")] NSString IgnoreImageOrientationKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputImageOrientationKey")] NSString ImageOrientationKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputEnableSharpeningKey")] NSString EnableSharpeningKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputEnableChromaticNoiseTrackingKey")] NSString EnableChromaticNoiseTrackingKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputNoiseReductionAmountKey")] NSString NoiseReductionAmountKey { get; } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kCIInputMoireAmountKey")] NSString MoireAmountKey { get; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCIInputEnableVendorLensCorrectionKey")] NSString EnableVendorLensCorrectionKey { get; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCIInputLuminanceNoiseReductionAmountKey")] NSString LuminanceNoiseReductionAmountKey { get; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCIInputColorNoiseReductionAmountKey")] NSString ColorNoiseReductionAmountKey { get; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCIInputNoiseReductionSharpnessAmountKey")] NSString NoiseReductionSharpnessAmountKey { get; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCIInputNoiseReductionContrastAmountKey")] NSString NoiseReductionContrastAmountKey { get; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCIInputNoiseReductionDetailAmountKey")] NSString NoiseReductionDetailAmountKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputLinearSpaceFilter")] NSString LinearSpaceFilterKey { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCIInputEnableEDRModeKey")] NSString EnableEdrModeKey { get; } @@ -1219,12 +1033,10 @@ interface CIRawFilterKeys { [Field ("kCIInputLocalToneMapAmountKey")] NSString InputLocalToneMapAmountKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIOutputNativeSizeKey")] NSString OutputNativeSizeKey { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIActiveKeys")] NSString ActiveKeysKey { get; } @@ -1233,126 +1045,90 @@ interface CIRawFilterKeys { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'CIRawFilter' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'CIRawFilter' instead.")] - [TV (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'CIRawFilter' instead.")] [StrongDictionary ("CIRawFilterKeys")] interface CIRawFilterOptions { - [iOS (10, 0)] [MacCatalyst (13, 1)] bool AllowDraftMode { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] string Version { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] NSDictionary [] SupportedDecoderVersions { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] float BaselineExposure { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] float Boost { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] float BoostShadowAmount { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] bool DisableGamutMap { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] float NeutralChromaticityX { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] float NeutralChromaticityY { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] float NeutralTemperature { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] float NeutralTint { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] CIVector NeutralLocation { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] float ScaleFactor { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] bool IgnoreImageOrientation { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] int ImageOrientation { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] bool EnableSharpening { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] bool EnableChromaticNoiseTracking { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] double NoiseReductionAmount { get; set; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] bool EnableVendorLensCorrection { get; set; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] double LuminanceNoiseReductionAmount { get; set; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] double ColorNoiseReductionAmount { get; set; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] double NoiseReductionSharpnessAmount { get; set; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] double NoiseReductionContrastAmount { get; set; } - [iOS (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCIInputNoiseReductionDetailAmountKey")] double NoiseReductionDetailAmount { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] CIFilter LinearSpaceFilter { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] CIVector OutputNativeSize { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] NSSet ActiveKeys { get; } } @@ -1371,22 +1147,18 @@ interface CIFilterInputKey { [Field ("kCIInputImageKey", "+CoreImage")] NSString Image { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCIInputVersionKey", "+CoreImage")] NSString Version { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputRefractionKey", "+CoreImage")] NSString Refraction { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputGradientImageKey", "+CoreImage")] NSString GradientImage { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputShadingImageKey", "+CoreImage")] NSString ShadingImage { get; } @@ -1436,13 +1208,10 @@ interface CIFilterInputKey { [Field ("kCIInputContrastKey", "+CoreImage")] NSString Contrast { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputBiasKey", "+CoreImage")] NSString BiasKey { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCIInputWeightsKey", "+CoreImage")] NSString WeightsKey { get; } @@ -1456,22 +1225,20 @@ interface CIFilterInputKey { [Field ("kCIInputExtentKey", "+CoreImage")] NSString Extent { get; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kCIInputDepthImageKey", "+CoreImage")] NSString DepthImage { get; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kCIInputDisparityImageKey", "+CoreImage")] NSString DisparityImage { get; } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputMatteImageKey", "+CoreImage")] NSString MatteImage { get; } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCIInputAmountKey", "+CoreImage")] NSString Amount { get; } @@ -1485,12 +1252,10 @@ interface CIFilterAttributes { [Field ("kCIAttributeFilterDisplayName", "+CoreImage")] NSString FilterDisplayName { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCIAttributeDescription", "+CoreImage")] NSString Description { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCIAttributeReferenceDocumentation", "+CoreImage")] NSString ReferenceDocumentation { get; } @@ -1528,7 +1293,6 @@ interface CIFilterAttributes { [Field ("kCIAttributeDisplayName", "+CoreImage")] NSString DisplayName { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCIUIParameterSet", "+CoreImage")] NSString UIParameterSet { get; } @@ -1566,37 +1330,30 @@ interface CIFilterAttributes { [Field ("kCIAttributeTypeRectangle", "+CoreImage")] NSString TypeRectangle { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCIAttributeTypeOpaqueColor", "+CoreImage")] NSString TypeOpaqueColor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCIAttributeTypeGradient", "+CoreImage")] NSString TypeGradient { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCIAttributeTypeImage", "+CoreImage")] NSString TypeImage { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCIAttributeTypeTransform", "+CoreImage")] NSString TypeTransform { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCIAttributeTypeColor", "+CoreImage")] NSString TypeColor { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCIAttributeFilterAvailable_Mac", "+CoreImage")] NSString Available_Mac { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCIAttributeFilterAvailable_iOS", "+CoreImage")] NSString Available_iOS { get; } @@ -1664,13 +1421,11 @@ interface CIFilterCategory { [Field ("kCICategoryBuiltIn", "+CoreImage")] NSString BuiltIn { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCICategoryFilterGenerator", "+CoreImage")] NSString FilterGenerator { get; } } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Protocol] interface CIFilterConstructor { @@ -1683,7 +1438,6 @@ interface CIFilterConstructor { interface ICIFilterConstructor { } [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] interface CIUIParameterSet { [Field ("kCIUISetBasic", "+CoreImage")] @@ -1779,7 +1533,6 @@ interface CIFilterGenerator : CIFilterConstructor, NSSecureCoding, NSCopying { [BaseType (typeof (NSObject))] [DisableDefaultCtor] - [iOS (9, 0)] [MacCatalyst (13, 1)] interface CIFilterShape : NSCopying { [Static] @@ -1819,41 +1572,34 @@ interface CIImageInitializationOptions { CoreGraphics.CGImageProperties Properties { get; set; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] bool ApplyOrientationProperty { get; set; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] bool NearestSampling { get; set; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] bool AuxiliaryDepth { get; set; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] bool AuxiliaryDisparity { get; set; } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] bool AuxiliaryPortraitEffectsMatte { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] bool AuxiliarySemanticSegmentationSkinMatte { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] bool AuxiliarySemanticSegmentationHairMatte { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] bool AuxiliarySemanticSegmentationTeethMatte { get; set; } @@ -1879,48 +1625,41 @@ interface CIImageInitializationOptionsKeys { [Field ("kCIImageProperties")] NSString PropertiesKey { get; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kCIImageNearestSampling")] NSString NearestSamplingKey { get; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kCIImageApplyOrientationProperty")] NSString ApplyOrientationPropertyKey { get; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kCIImageAuxiliaryDepth")] NSString AuxiliaryDepthKey { get; } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kCIImageAuxiliaryDisparity")] NSString AuxiliaryDisparityKey { get; } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCIImageAuxiliaryPortraitEffectsMatte")] NSString AuxiliaryPortraitEffectsMatteKey { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCIImageAuxiliarySemanticSegmentationSkinMatte")] NSString AuxiliarySemanticSegmentationSkinMatteKey { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCIImageAuxiliarySemanticSegmentationHairMatte")] NSString AuxiliarySemanticSegmentationHairMatteKey { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCIImageAuxiliarySemanticSegmentationTeethMatte")] NSString AuxiliarySemanticSegmentationTeethMatteKey { get; } @@ -1964,7 +1703,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Static] @@ -1973,7 +1711,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Wrap ("FromCGImageSource (source, index, options.GetDictionary ())")] @@ -2043,7 +1780,6 @@ interface CIImage : NSSecureCoding, NSCopying { CIImage FromData (NSData data, [NullAllowed] CIImageInitializationOptionsWithMetadata options); [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("imageWithCVImageBuffer:")] CIImage FromImageBuffer (CVImageBuffer imageBuffer); @@ -2056,7 +1792,6 @@ interface CIImage : NSSecureCoding, NSCopying { #else [EditorBrowsable (EditorBrowsableState.Advanced)] [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Internal] // This overload is needed for our strong dictionary support (but only for Unified, since for Classic the generic version is transformed to this signature) [Export ("imageWithCVImageBuffer:options:")] @@ -2064,14 +1799,12 @@ interface CIImage : NSSecureCoding, NSCopying { [EditorBrowsable (EditorBrowsableState.Advanced)] [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("imageWithCVImageBuffer:options:")] CIImage FromImageBuffer (CVImageBuffer imageBuffer, [NullAllowed] NSDictionary dict); #endif [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Wrap ("FromImageBuffer (imageBuffer, options.GetDictionary ())")] CIImage FromImageBuffer (CVImageBuffer imageBuffer, CIImageInitializationOptions options); @@ -2095,26 +1828,17 @@ interface CIImage : NSSecureCoding, NSCopying { [Wrap ("FromImageBuffer (buffer, options.GetDictionary ())")] CIImage FromImageBuffer (CVPixelBuffer buffer, [NullAllowed] CIImageInitializationOptions options); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("imageWithIOSurface:")] CIImage FromSurface (IOSurface.IOSurface surface); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Static] [Export ("imageWithIOSurface:options:")] CIImage FromSurface (IOSurface.IOSurface surface, [NullAllowed] NSDictionary options); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Wrap ("FromSurface (surface, options.GetDictionary ())")] @@ -2140,7 +1864,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Export ("initWithCGImageSource:index:options:")] @@ -2148,7 +1871,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Wrap ("this (source, index, options.GetDictionary ())")] NativeHandle Constructor (CGImageSource source, nuint index, CIImageInitializationOptionsWithMetadata options); @@ -2205,28 +1927,18 @@ interface CIImage : NSSecureCoding, NSCopying { [Wrap ("this (url, options.GetDictionary ())")] NativeHandle Constructor (NSUrl url, [NullAllowed] CIImageInitializationOptions options); - [iOS (11, 0)] // IOSurface was not exposed before Xcode 9 - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("initWithIOSurface:")] NativeHandle Constructor (IOSurface.IOSurface surface); - [iOS (11, 0)] // IOSurface was not exposed before Xcode 9 - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("initWithIOSurface:options:")] NativeHandle Constructor (IOSurface.IOSurface surface, [NullAllowed] NSDictionary options); - [iOS (11, 0)] // IOSurface was not exposed before Xcode 9 - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Wrap ("this (surface, options.GetDictionary ())")] NativeHandle Constructor (IOSurface.IOSurface surface, [NullAllowed] CIImageInitializationOptions options); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("initWithCVImageBuffer:")] NativeHandle Constructor (CVImageBuffer imageBuffer); @@ -2235,12 +1947,10 @@ interface CIImage : NSSecureCoding, NSCopying { [Export ("initWithCVImageBuffer:options:")] NativeHandle Constructor (CVImageBuffer imageBuffer, [NullAllowed] NSDictionary dict); #else - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("initWithCVImageBuffer:options:")] NativeHandle Constructor (CVImageBuffer imageBuffer, [NullAllowed] NSDictionary dict); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Internal] // This overload is needed for our strong dictionary support (but only for Unified, since for Classic the generic version is transformed to this signature) [Sealed] @@ -2248,22 +1958,18 @@ interface CIImage : NSSecureCoding, NSCopying { NativeHandle Constructor (CVImageBuffer imageBuffer, [NullAllowed] NSDictionary dict); #endif - [iOS (9, 0)] [MacCatalyst (13, 1)] [Wrap ("this (imageBuffer, options.GetDictionary ())")] NativeHandle Constructor (CVImageBuffer imageBuffer, [NullAllowed] CIImageInitializationOptions options); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("initWithCVPixelBuffer:")] NativeHandle Constructor (CVPixelBuffer buffer); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("initWithCVPixelBuffer:options:")] NativeHandle Constructor (CVPixelBuffer buffer, [NullAllowed] NSDictionary dict); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Wrap ("this (buffer, options.GetDictionary ())")] NativeHandle Constructor (CVPixelBuffer buffer, [NullAllowed] CIImageInitializationOptions options); @@ -2271,8 +1977,6 @@ interface CIImage : NSSecureCoding, NSCopying { [Export ("initWithColor:")] NativeHandle Constructor (CIColor color); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("initWithMTLTexture:options:")] NativeHandle Constructor (IMTLTexture texture, [NullAllowed] NSDictionary options); @@ -2303,7 +2007,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("imageByApplyingTransform:highQualityDownsample:")] CIImage ImageByApplyingTransform (CGAffineTransform matrix, bool highQualityDownsample); @@ -2327,7 +2030,6 @@ interface CIImage : NSSecureCoding, NSCopying { [Export ("definition")] CIFilterShape Definition { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kCIFormatRGBA16")] int FormatRGBA16 { get; } /* CIFormat = int */ @@ -2338,7 +2040,6 @@ interface CIImage : NSSecureCoding, NSCopying { [Field ("kCIFormatRGBAh")] int FormatRGBAh { get; } /* CIFormat = int */ - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("kCIFormatRGBAf")] int FormatRGBAf { get; } /* CIFormat = int */ @@ -2350,135 +2051,85 @@ interface CIImage : NSSecureCoding, NSCopying { int FormatRGBA8 { get; } /* CIFormat = int */ [Field ("kCIFormatABGR8")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatABGR8 { get; } [Field ("kCIFormatA8")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatA8 { get; } [Field ("kCIFormatA16")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatA16 { get; } [Field ("kCIFormatAh")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatAh { get; } [Field ("kCIFormatAf")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatAf { get; } [Field ("kCIFormatR8")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatR8 { get; } [Field ("kCIFormatR16")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatR16 { get; } [Field ("kCIFormatRh")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatRh { get; } [Field ("kCIFormatRf")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatRf { get; } [Field ("kCIFormatRG8")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatRG8 { get; } [Field ("kCIFormatRG16")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatRG16 { get; } [Field ("kCIFormatRGh")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatRGh { get; } [Field ("kCIFormatRGf")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] int FormatRGf { get; } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIFormatL8")] int FormatL8 { get; } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIFormatL16")] int FormatL16 { get; } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIFormatLh")] int FormatLh { get; } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIFormatLf")] int FormatLf { get; } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIFormatLA8")] int FormatLA8 { get; } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIFormatLA16")] int FormatLA16 { get; } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIFormatLAh")] int FormatLAh { get; } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kCIFormatLAf")] int FormatLAf { get; } @@ -2511,7 +2162,6 @@ interface CIImage : NSSecureCoding, NSCopying { [Export ("autoAdjustmentFiltersWithOptions:"), Internal] NSArray _GetAutoAdjustmentFilters ([NullAllowed] NSDictionary opts); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("regionOfInterestForImage:inRect:")] CGRect GetRegionOfInterest (CIImage im, CGRect r); @@ -2519,220 +2169,159 @@ interface CIImage : NSSecureCoding, NSCopying { // // iOS 8.0 // - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("imageByApplyingOrientation:")] CIImage CreateWithOrientation (CIImageOrientation orientation); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("imageTransformForOrientation:")] CGAffineTransform GetImageTransform (CIImageOrientation orientation); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("imageByClampingToExtent")] CIImage CreateByClampingToExtent (); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("imageByCompositingOverImage:")] CIImage CreateByCompositingOverImage (CIImage dest); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("imageByApplyingFilter:withInputParameters:")] CIImage CreateByFiltering (string filterName, [NullAllowed] NSDictionary inputParameters); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("imageByApplyingFilter:")] CIImage CreateByFiltering (string filterName); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("imageBySamplingLinear")] CIImage CreateBySamplingLinear (); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("imageBySamplingNearest")] CIImage CreateBySamplingNearest (); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCIImageAutoAdjustCrop"), Internal] NSString AutoAdjustCrop { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCIImageAutoAdjustLevel"), Internal] NSString AutoAdjustLevel { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("url")] NSUrl Url { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("colorSpace")] CGColorSpace ColorSpace { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static, Internal] [Export ("imageWithImageProvider:size::format:colorSpace:options:")] CIImage FromProvider (ICIImageProvider provider, nuint width, nuint height, int format, [NullAllowed] CGColorSpace colorSpace, [NullAllowed] NSDictionary options); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Internal] [Export ("initWithImageProvider:size::format:colorSpace:options:")] NativeHandle Constructor (ICIImageProvider provider, nuint width, nuint height, int f, [NullAllowed] CGColorSpace colorSpace, [NullAllowed] NSDictionary options); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("imageWithMTLTexture:options:")] [return: NullAllowed] CIImage FromMetalTexture (IMTLTexture texture, [NullAllowed] NSDictionary options); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("imageByClampingToRect:")] CIImage CreateByClamping (CGRect rect); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("imageByColorMatchingColorSpaceToWorkingSpace:")] [return: NullAllowed] CIImage CreateByColorMatchingColorSpaceToWorkingSpace (CGColorSpace colorSpace); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("imageByColorMatchingWorkingSpaceToColorSpace:")] [return: NullAllowed] CIImage CreateByColorMatchingWorkingSpaceToColorSpace (CGColorSpace colorSpace); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("imageByPremultiplyingAlpha")] CIImage CreateByPremultiplyingAlpha (); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("imageByUnpremultiplyingAlpha")] CIImage CreateByUnpremultiplyingAlpha (); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("imageBySettingAlphaOneInExtent:")] CIImage CreateBySettingAlphaOne (CGRect extent); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("imageByApplyingGaussianBlurWithSigma:")] CIImage CreateByApplyingGaussianBlur (double sigma); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("imageBySettingProperties:")] CIImage CreateBySettingProperties (NSDictionary properties); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("pixelBuffer")] CVPixelBuffer PixelBuffer { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("CGImage")] CGImage CGImage { get; } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("depthData")] AVDepthData DepthData { get; } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("imageByApplyingCGOrientation:")] CIImage CreateByApplyingOrientation (CGImagePropertyOrientation orientation); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("imageTransformForCGOrientation:")] CGAffineTransform GetImageTransform (CGImagePropertyOrientation orientation); - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("imageByInsertingIntermediate")] CIImage CreateByInsertingIntermediate (); - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("imageByInsertingIntermediate:")] CIImage CreateByInsertingIntermediate (bool cache); // CIImage_AVPortraitEffectsMatte category - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("portraitEffectsMatte")] AVPortraitEffectsMatte PortraitEffectsMatte { get; } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithPortaitEffectsMatte:options:")] // selector typo, rdar filled 42894821 NativeHandle Constructor (AVPortraitEffectsMatte matte, [NullAllowed] NSDictionary options); - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithPortaitEffectsMatte:")] // selector typo, rdar filled 42894821 NativeHandle Constructor (AVPortraitEffectsMatte matte); - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("imageWithPortaitEffectsMatte:options:")] // selector typo, rdar filled 42894821 [return: NullAllowed] CIImage FromPortraitEffectsMatte (AVPortraitEffectsMatte matte, [NullAllowed] NSDictionary options); - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("imageWithPortaitEffectsMatte:")] // selector typo, rdar filled 42894821 @@ -2741,29 +2330,29 @@ interface CIImage : NSSecureCoding, NSCopying { // CIImage_AVSemanticSegmentationMatte - [TV (13, 0), iOS (13, 0), Mac (10, 15)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("semanticSegmentationMatte")] AVSemanticSegmentationMatte SemanticSegmentationMatte { get; } - [TV (13, 0), iOS (13, 0), Mac (10, 15)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithSemanticSegmentationMatte:options:")] NativeHandle Constructor (AVSemanticSegmentationMatte matte, [NullAllowed] NSDictionary options); - [TV (13, 0), iOS (13, 0), Mac (10, 15)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithSemanticSegmentationMatte:")] NativeHandle Constructor (AVSemanticSegmentationMatte matte); - [TV (13, 0), iOS (13, 0), Mac (10, 15)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("imageWithSemanticSegmentationMatte:options:")] [return: NullAllowed] CIImage FromSemanticSegmentationMatte (AVSemanticSegmentationMatte matte, [NullAllowed] NSDictionary options); - [TV (13, 0), iOS (13, 0), Mac (10, 15)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("imageWithSemanticSegmentationMatte:")] @@ -2772,24 +2361,20 @@ interface CIImage : NSSecureCoding, NSCopying { // CIImage_AVDepthData category - [TV (11, 0), iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("initWithDepthData:options:")] NativeHandle Constructor (AVDepthData data, [NullAllowed] NSDictionary options); - [TV (11, 0), iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("initWithDepthData:")] NativeHandle Constructor (AVDepthData data); - [TV (11, 0), iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("imageWithDepthData:options:")] [return: NullAllowed] CIImage FromDepthData (AVDepthData data, [NullAllowed] NSDictionary options); - [TV (11, 0), iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("imageWithDepthData:")] @@ -2800,7 +2385,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("blackImage", ArgumentSemantic.Strong)] @@ -2808,7 +2392,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("whiteImage", ArgumentSemantic.Strong)] @@ -2816,7 +2399,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("grayImage", ArgumentSemantic.Strong)] @@ -2824,7 +2406,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("redImage", ArgumentSemantic.Strong)] @@ -2832,7 +2413,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("greenImage", ArgumentSemantic.Strong)] @@ -2840,7 +2420,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("blueImage", ArgumentSemantic.Strong)] @@ -2848,7 +2427,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("cyanImage", ArgumentSemantic.Strong)] @@ -2856,7 +2434,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("magentaImage", ArgumentSemantic.Strong)] @@ -2864,7 +2441,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("yellowImage", ArgumentSemantic.Strong)] @@ -2872,7 +2448,6 @@ interface CIImage : NSSecureCoding, NSCopying { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("clearImage", ArgumentSemantic.Strong)] @@ -2889,8 +2464,6 @@ interface CIImage : NSSecureCoding, NSCopying { interface ICIImageProcessorInput { } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Protocol] interface CIImageProcessorInput { @@ -2921,9 +2494,6 @@ interface CIImageProcessorInput { #if NET [Abstract] // @required but it was added in Xcode9 #endif - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("surface")] IOSurface.IOSurface Surface { get; } @@ -2938,8 +2508,6 @@ interface CIImageProcessorInput { interface ICIImageProcessorOutput { } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Protocol] interface CIImageProcessorOutput { @@ -2974,9 +2542,6 @@ interface CIImageProcessorOutput { #if NET [Abstract] // @required but it was added in Xcode9 #endif - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("surface")] IOSurface.IOSurface Surface { get; } @@ -2989,7 +2554,6 @@ interface CIImageProcessorOutput { ulong Digest { get; } } - [iOS (9, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("CIImageProviderKeys")] interface CIImageProviderOptions { @@ -2999,7 +2563,6 @@ interface CIImageProviderOptions { [Internal] [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] interface CIImageProviderKeys { [Field ("kCIImageProviderTileSize")] @@ -3021,7 +2584,6 @@ interface CIImageProvider { delegate CGRect CIKernelRoiCallback (int /* int, not NSInteger */ index, CGRect rect); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // avoid crashes @@ -3049,18 +2611,12 @@ interface CIKernel { [return: NullAllowed] CIKernel FromProgramSingle (string coreImageShaderProgram); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("kernelWithFunctionName:fromMetalLibraryData:error:")] [return: NullAllowed] CIKernel FromFunction (string name, NSData data, [NullAllowed] out NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("kernelWithFunctionName:fromMetalLibraryData:outputPixelFormat:error:")] @@ -3085,14 +2641,12 @@ interface CIKernel { [Export ("setROISelector:")] void SetRegionOfInterestSelector (Selector aMethod); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("applyWithExtent:roiCallback:arguments:")] [return: NullAllowed] CIImage ApplyWithExtent (CGRect extent, CIKernelRoiCallback callback, [NullAllowed] NSObject [] args); } - [iOS (8, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CIKernel))] [DisableDefaultCtor] // returns a nil handle -> instances of this type are returned from `kernel[s]WithString:` @@ -3112,8 +2666,6 @@ interface CIColorKernel { CIColorKernel FromProgramSingle (string coreImageShaderProgram); } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CIKernel))] [DisableDefaultCtor] // returns a nil handle -> instances of this type are returned from `kernel[s]WithString:` @@ -3133,7 +2685,6 @@ interface CIWarpKernel { CIWarpKernel FromProgramSingle (string coreImageShaderProgram); } - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // does not work in iOS 11 beta 4 @@ -3206,7 +2757,6 @@ interface CIPlugIn { [Export ("loadNonExecutablePlugIns")] void LoadNonExecutablePlugIns (); - [Mac (10, 15)] [Static] [Export ("loadNonExecutablePlugIn:")] void LoadNonExecutablePlugIn (NSUrl url); @@ -3217,7 +2767,6 @@ interface CIPlugIn { void LoadPlugIn (NSUrl pluginUrl, bool allowNonExecutable); } - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3263,7 +2812,6 @@ interface CISampler : NSCopying { [Field ("kCISamplerFilterLinear", "+CoreImage"), Internal] NSString FilterLinear { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kCISamplerColorSpace", "+CoreImage"), Internal] NSString ColorSpace { get; } @@ -3313,17 +2861,14 @@ interface CIVector : NSSecureCoding, NSCopying { [Export ("vectorWithString:")] CIVector FromString (string representation); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("initWithCGPoint:")] NativeHandle Constructor (CGPoint p); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("initWithCGRect:")] NativeHandle Constructor (CGRect r); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("initWithCGAffineTransform:")] NativeHandle Constructor (CGAffineTransform r); @@ -3362,17 +2907,14 @@ interface CIVector : NSSecureCoding, NSCopying { [Export ("W")] nfloat W { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("CGPointValue")] CGPoint Point { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("CGRectValue")] CGRect Rectangle { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("CGAffineTransformValue")] CGAffineTransform AffineTransform { get; } @@ -3416,54 +2958,42 @@ interface CIDetector { [Field ("CIDetectorMinFeatureSize"), Internal] NSString MinFeatureSize { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("CIDetectorMaxFeatureCount"), Internal] NSString MaxFeatureCount { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("CIDetectorEyeBlink"), Internal] NSString EyeBlink { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("CIDetectorSmile"), Internal] NSString Smile { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("CIDetectorAspectRatio")] NSString AspectRatio { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("CIDetectorFocalLength")] NSString FocalLength { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("CIDetectorTypeQRCode")] NSString TypeQRCode { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("CIDetectorTypeRectangle")] NSString TypeRectangle { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("CIDetectorNumberOfAngles")] NSString NumberOfAngles { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("CIDetectorReturnSubFeatures")] NSString ReturnSubFeatures { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("CIDetectorTypeText")] NSString TypeText { get; } @@ -3481,20 +3011,14 @@ interface CIFeature { [Field ("CIFeatureTypeFace")] NSString TypeFace { get; } - [iOS (9, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("CIFeatureTypeRectangle")] NSString TypeRectangle { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("CIFeatureTypeQRCode")] NSString TypeQRCode { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("CIFeatureTypeText")] NSString TypeText { get; } @@ -3533,38 +3057,31 @@ interface CIFaceFeature { [Export ("trackingFrameCount", ArgumentSemantic.Assign)] int TrackingFrameCount { get; } /* int, not NSInteger */ - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("bounds", ArgumentSemantic.Assign)] CGRect Bounds { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("faceAngle", ArgumentSemantic.Assign)] float FaceAngle { get; } /* float, not CGFloat */ - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("hasFaceAngle", ArgumentSemantic.Assign)] bool HasFaceAngle { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("hasSmile", ArgumentSemantic.Assign)] bool HasSmile { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("leftEyeClosed", ArgumentSemantic.Assign)] bool LeftEyeClosed { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("rightEyeClosed", ArgumentSemantic.Assign)] bool RightEyeClosed { get; } } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFeature))] interface CIRectangleFeature { @@ -3584,8 +3101,6 @@ interface CIRectangleFeature { CGPoint BottomRight { get; } } - [iOS (8, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFeature))] partial interface CIQRCodeFeature : NSSecureCoding, NSCopying { @@ -3609,16 +3124,11 @@ partial interface CIQRCodeFeature : NSSecureCoding, NSCopying { [NullAllowed] string MessageString { get; } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("symbolDescriptor")] CIQRCodeDescriptor SymbolDescriptor { get; } } - [iOS (9, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFeature))] interface CITextFeature { @@ -3642,9 +3152,6 @@ interface CITextFeature { CIFeature [] SubFeatures { get; } } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CIImageProcessorKernel { @@ -3673,9 +3180,6 @@ interface CIImageProcessorKernel { [return: NullAllowed] CIImage Apply (CGRect extent, [NullAllowed] CIImage [] inputs, [NullAllowed] NSDictionary args, out NSError error); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("outputIsOpaque")] @@ -3683,8 +3187,6 @@ interface CIImageProcessorKernel { } [CoreImageFilter] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIAccordionFoldTransition : CIAccordionFoldTransitionProtocol { @@ -3756,7 +3258,6 @@ interface CIAreaAverageProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIReductionFilter))] interface CIAreaAverage { @@ -3803,7 +3304,6 @@ interface CIAreaHistogramProtocol : CIAreaReductionFilterProtocol { } [CoreImageFilter] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIAreaHistogram : CIAreaHistogramProtocol { @@ -3833,7 +3333,6 @@ interface CIAreaHistogram : CIAreaHistogramProtocol { [CoreImageFilter] [Abstract] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIReductionFilter { @@ -3854,7 +3353,6 @@ interface CIAreaMaximumProtocol : CIAreaReductionFilterProtocol { } [CoreImageFilter (StringCtorVisibility = MethodAttributes.Public)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIReductionFilter))] interface CIAreaMaximum : CIAreaMaximumProtocol { @@ -3869,7 +3367,6 @@ interface CIAreaMaximumAlphaProtocol : CIAreaReductionFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIReductionFilter))] interface CIAreaMaximumAlpha : CIAreaMaximumAlphaProtocol { @@ -3884,7 +3381,6 @@ interface CIAreaMinimumProtocol : CIAreaReductionFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIReductionFilter))] interface CIAreaMinimum : CIAreaReductionFilterProtocol { @@ -3899,7 +3395,6 @@ interface CIAreaMinimumAlphaProtocol : CIAreaReductionFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIReductionFilter))] interface CIAreaMinimumAlpha : CIAreaReductionFilterProtocol { @@ -3914,8 +3409,6 @@ interface CICodeGenerator { } [CoreImageFilter] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CICodeGenerator))] interface CIAztecCodeGenerator : CIAztecCodeGeneratorProtocol { @@ -3955,7 +3448,6 @@ interface CIBarsSwipeTransition { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBlendWithMask))] interface CIBlendWithAlphaMask { @@ -3979,7 +3471,6 @@ interface CIBloom : CIBloomProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIBoxBlur : CIBoxBlurProtocol { @@ -4152,7 +3643,6 @@ interface CICircularWrapProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CICircularWrap : CICircularWrapProtocol { @@ -4165,7 +3655,6 @@ interface CICircularWrap : CICircularWrapProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter), Name = "CICMYKHalftone")] interface CICmykHalftone : CICmykHalftoneProtocol { @@ -4183,8 +3672,6 @@ interface CICmykHalftone : CICmykHalftoneProtocol { } [CoreImageFilter] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CICodeGenerator))] interface CICode128BarcodeGenerator : CICode128BarcodeGeneratorProtocol { @@ -4216,7 +3703,6 @@ interface CIColorBurnBlendMode { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIColorClamp : CIColorClampProtocol { @@ -4240,7 +3726,6 @@ interface CIColorControls : CIColorControlsProtocol { } [CoreImageFilter (DefaultCtorVisibility = MethodAttributes.Public, StringCtorVisibility = MethodAttributes.Public)] - [Mac (10, 9)] // not part of the attributes dictionary -> [NoMac] is generated [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIColorCrossPolynomial : CIColorCrossPolynomialProtocol { @@ -4252,7 +3737,6 @@ interface CIColorCube : CIColorCubeProtocol { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIColorCube))] interface CIColorCubeWithColorSpace : CIColorCubeWithColorSpaceProtocol { @@ -4284,7 +3768,6 @@ interface CIColorMonochrome : CIColorMonochromeProtocol { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIColorCrossPolynomial))] interface CIColorPolynomial : CIColorPolynomialProtocol { @@ -4304,15 +3787,12 @@ interface CIColumnAverageProtocol : CIAreaReductionFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIReductionFilter))] interface CIColumnAverage : CIColumnAverageProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIComicEffect : CIComicEffectProtocol { @@ -4342,36 +3822,30 @@ interface CIConvolutionCore { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIConvolutionCore))] interface CIConvolution3X3 { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIConvolutionCore))] interface CIConvolution5X5 { } [CoreImageFilter] - [iOS (9, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIConvolutionCore))] interface CIConvolution7X7 { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIConvolutionCore))] interface CIConvolution9Horizontal { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIConvolutionCore))] interface CIConvolution9Vertical { @@ -4409,7 +3883,6 @@ interface CICrop { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CICrystallize : CICrystallizeProtocol { @@ -4432,7 +3905,6 @@ interface CIDifferenceBlendMode { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIDiscBlur : CIDiscBlurProtocol { @@ -4474,7 +3946,6 @@ interface CIDisplacementDistortionProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIDisplacementDistortion : CIDisplacementDistortionProtocol { @@ -4486,8 +3957,6 @@ interface CIDissolveTransition { } [CoreImageFilter] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBlendFilter))] interface CIDivideBlendMode { @@ -4535,7 +4004,6 @@ interface CIDrosteProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIDroste : CIDrosteProtocol { @@ -4552,14 +4020,12 @@ interface CIDroste : CIDrosteProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIEdges : CIEdgesProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIEdgeWork : CIEdgeWorkProtocol { @@ -4692,7 +4158,6 @@ interface CIGlassDistortionProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIGlassDistortion : CIGlassDistortionProtocol { @@ -4733,7 +4198,6 @@ interface CIGlassLozengeProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIGlassLozenge : CIGlassLozengeProtocol { @@ -4770,14 +4234,12 @@ interface CIHatchedScreen : CIHatchedScreenProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIHeightFieldFromMask : CIHeightFieldFromMaskProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIHexagonalPixellate : CIHexagonalPixellateProtocol { @@ -4819,7 +4281,6 @@ interface CIHistogramDisplayProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (8, 0)] [MacCatalyst (13, 1)] // incorrect version string for OSX: '10.?' Double-check documentation [BaseType (typeof (CIFilter))] @@ -4874,7 +4335,6 @@ interface CIHueBlendMode { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIKaleidoscope : CIKaleidoscopeProtocol { @@ -4896,7 +4356,6 @@ interface CILanczosScaleTransform : CILanczosScaleTransformProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CILenticularHaloGenerator : CILenticularHaloGeneratorProtocol { @@ -4938,7 +4397,6 @@ interface CILightTunnelProtocol : CIFilterProtocol { } [CoreImageFilter] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CILightTunnel : CILightTunnelProtocol { @@ -4951,16 +4409,12 @@ interface CILightTunnel : CILightTunnelProtocol { } [CoreImageFilter] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBlendFilter))] interface CILinearBurnBlendMode { } [CoreImageFilter] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBlendFilter))] interface CILinearDodgeBlendMode { @@ -4982,14 +4436,12 @@ interface CILinearGradient : CILinearGradientProtocol { } [CoreImageFilter] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CILinearToSRGBToneCurve : CILinearToSrgbToneCurveProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CILineOverlay : CILineOverlayProtocol { @@ -5021,7 +4473,6 @@ interface CIMaximumCompositing { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIMedianFilter : CIMedianProtocol { @@ -5048,7 +4499,6 @@ interface CIModTransition : CIModTransitionProtocol { } [CoreImageFilter] - [iOS (8, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (CILinearBlur))] interface CIMotionBlur : CIMotionBlurProtocol { @@ -5065,14 +4515,12 @@ interface CIMultiplyCompositing { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CINoiseReduction : CINoiseReductionProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CITileFilter))] interface CIOpTile : CIOpTileProtocol { @@ -5084,7 +4532,6 @@ interface CIOverlayBlendMode { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CITransitionFilter))] interface CIPageCurlTransition : CIPageCurlTransitionProtocol { @@ -5096,7 +4543,6 @@ interface CIPageCurlTransition : CIPageCurlTransitionProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIPageCurlWithShadowTransition : CIPageCurlWithShadowTransitionProtocol { @@ -5118,15 +4564,12 @@ interface CIPageCurlWithShadowTransition : CIPageCurlWithShadowTransitionProtoco } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CITileFilter))] interface CIParallelogramTile : CIParallelogramTileProtocol { } [CoreImageFilter] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CICodeGenerator), Name = "CIPDF417BarcodeGenerator")] interface CIPdf417BarcodeGenerator : CIPdf417BarcodeGeneratorProtocol { @@ -5161,8 +4604,6 @@ interface CIPdf417BarcodeGenerator : CIPdf417BarcodeGeneratorProtocol { } [CoreImageFilter] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPerspectiveTransform))] interface CIPerspectiveCorrection : CIPerspectiveCorrectionProtocol { @@ -5216,7 +4657,6 @@ interface CIPerspectiveTransform : CIPerspectiveTransformProtocol { } [CoreImageFilter] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPerspectiveTransform))] interface CIPerspectiveTransformWithExtent : CIPerspectiveTransformWithExtentProtocol { @@ -5228,7 +4668,6 @@ interface CIPerspectiveTransformWithExtent : CIPerspectiveTransformWithExtentPro } [CoreImageFilter (StringCtorVisibility = MethodAttributes.Public)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Abstract] [BaseType (typeof (CIFilter))] @@ -5236,56 +4675,48 @@ interface CIPhotoEffect : CIPhotoEffectProtocol { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPhotoEffect))] interface CIPhotoEffectChrome { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPhotoEffect))] interface CIPhotoEffectFade { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPhotoEffect))] interface CIPhotoEffectInstant { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPhotoEffect))] interface CIPhotoEffectMono { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPhotoEffect))] interface CIPhotoEffectNoir { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPhotoEffect))] interface CIPhotoEffectProcess { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPhotoEffect))] interface CIPhotoEffectTonal { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIPhotoEffect))] interface CIPhotoEffectTransfer { @@ -5324,8 +4755,6 @@ interface CIPinchDistortion : CIPinchDistortionProtocol { } [CoreImageFilter] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBlendFilter))] interface CIPinLightBlendMode { @@ -5342,7 +4771,6 @@ interface CIPixellate : CIPixellateProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIPointillize : CIPointillizeProtocol { @@ -5354,7 +4782,6 @@ interface CIPointillize : CIPointillizeProtocol { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CICodeGenerator))] interface CIQRCodeGenerator : CIQRCodeGeneratorProtocol { @@ -5380,7 +4807,6 @@ interface CIRandomGenerator : CIRandomGeneratorProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CITransitionFilter))] interface CIRippleTransition : CIRippleTransitionProtocol { @@ -5404,7 +4830,6 @@ interface CIRowAverageProtocol : CIAreaReductionFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIRowAverage : CIRowAverageProtocol { @@ -5432,7 +4857,6 @@ interface CISepiaTone : CISepiaToneProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIShadedMaterial : CIShadedMaterialProtocol { @@ -5454,7 +4878,6 @@ interface CISixfoldRotatedTile : CISixfoldRotatedTileProtocol { } [CoreImageFilter] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CILinearGradient))] interface CISmoothLinearGradient : CISmoothLinearGradientProtocol { @@ -5495,21 +4918,18 @@ interface CISourceOverCompositing { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CISpotColor : CISpotColorProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CISpotLight : CISpotLightProtocol { } [CoreImageFilter] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CISRGBToneCurveToLinear : CISrgbToneCurveToLinearProtocol { @@ -5555,7 +4975,6 @@ interface CIStretchCropProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIStretchCrop : CIStretchCropProtocol { @@ -5578,8 +4997,6 @@ interface CIStripesGenerator : CIStripesGeneratorProtocol { } [CoreImageFilter] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBlendFilter))] interface CISubtractBlendMode { @@ -5665,7 +5082,6 @@ interface CITorusLensDistortionProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CITorusLensDistortion : CITorusLensDistortionProtocol { @@ -5678,7 +5094,6 @@ interface CITorusLensDistortion : CITorusLensDistortionProtocol { } [CoreImageFilter] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CITriangleKaleidoscope : CITriangleKaleidoscopeProtocol { @@ -5690,7 +5105,6 @@ interface CITriangleKaleidoscope : CITriangleKaleidoscopeProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CITileFilter))] interface CITriangleTile : CITriangleTileProtocol { @@ -5744,14 +5158,12 @@ interface CIVibrance : CIVibranceProtocol { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIVignette : CIVignetteProtocol { } [CoreImageFilter] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIVignetteEffect : CIVignetteEffectProtocol { @@ -5801,7 +5213,6 @@ interface CIWhitePointAdjust : CIWhitePointAdjustProtocol { } [CoreImageFilter] - [iOS (8, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIZoomBlur : CIZoomBlurProtocol { @@ -5813,7 +5224,6 @@ interface CIZoomBlur : CIZoomBlurProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIDepthOfField : CIDepthOfFieldProtocol { @@ -5832,7 +5242,6 @@ interface CIDepthOfField : CIDepthOfFieldProtocol { } [CoreImageFilter] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CISunbeamsGenerator : CISunbeamsGeneratorProtocol { @@ -5854,9 +5263,6 @@ interface CISunbeamsGenerator : CISunbeamsGeneratorProtocol { interface CIFaceBalance { } - [iOS (9, 3)] - [TV (9, 2)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [CoreImageFilter] [BaseType (typeof (CIFilter))] @@ -5864,9 +5270,6 @@ interface CIMaskedVariableBlur : CIMaskedVariableBlurProtocol { } [CoreImageFilter] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIClamp { @@ -5879,9 +5282,6 @@ interface CIClamp { } [CoreImageFilter] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIHueSaturationValueGradient : CIHueSaturationValueGradientProtocol { @@ -5912,9 +5312,6 @@ interface CINinePartStretchedProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CINinePartStretched : CINinePartStretchedProtocol { @@ -5966,9 +5363,6 @@ interface CINinePartTiledProtocol : CIFilterProtocol { } [CoreImageFilter] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CINinePartTiled : CINinePartTiledProtocol { @@ -5989,18 +5383,12 @@ interface CINinePartTiled : CINinePartTiledProtocol { } [CoreImageFilter] - [iOS (10, 0)] - [Mac (10, 12)] // filter says 10.11 but it fails when I run it on El Capitan - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIThermal : CIThermalProtocol { } [CoreImageFilter] - [iOS (10, 0)] - [Mac (10, 12)] // filter says 10.11 but it fails when I run it on El Capitan - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIXRay : CIXRayProtocol { @@ -6015,9 +5403,6 @@ interface CIAreaMinMaxRedProtocol : CIAreaReductionFilterProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIAreaMaximum))] interface CIAreaMinMaxRed : CIAreaMinMaxRedProtocol { @@ -6027,9 +5412,6 @@ interface CIAreaMinMaxRed : CIAreaMinMaxRedProtocol { [CoreImageFilter] [Abstract] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIImageGenerator { @@ -6038,18 +5420,12 @@ interface CIImageGenerator { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIImageGenerator))] interface CIAttributedTextImageGenerator : CIAttributedTextImageGeneratorProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIBarcodeGenerator : CIBarcodeGeneratorProtocol { @@ -6071,9 +5447,6 @@ interface CIBarcodeGenerator : CIBarcodeGeneratorProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] // Maybe 'typeof (CIScaleTransform)' (shared 'Scale' and 'AspectRatio' property). // It's possible to add ours but it can bite us back in the future if Apple introduce the same with different properties. @@ -6100,36 +5473,24 @@ interface CILinearBlur { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CILinearBlur))] interface CIBokehBlur : CIBokehBlurProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] // Could almost be typeof 'CIColorCube' but property is 'inputCube0Data' not 'inputCubeData' interface CIColorCubesMixedWithMask : CIColorCubesMixedWithMaskProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIColorCurves : CIColorCurvesProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIDepthBlurEffect { @@ -6201,53 +5562,35 @@ interface CIDepthBlurEffect { [CoreImageFilter] [Abstract] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIDepthDisparityConverter { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIDepthDisparityConverter))] interface CIDepthToDisparity : CIDepthToDisparityProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIDepthDisparityConverter))] interface CIDisparityToDepth : CIDisparityToDepthProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIEdgePreserveUpsampleFilter : CIEdgePreserveUpsampleProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CILabDeltaE : CILabDeltaEProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIImageGenerator))] interface CITextImageGenerator : CITextImageGeneratorProtocol { @@ -6255,9 +5598,6 @@ interface CITextImageGenerator : CITextImageGeneratorProtocol { [CoreImageFilter] [Abstract] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIMorphology { @@ -6266,51 +5606,33 @@ interface CIMorphology { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIMorphology))] interface CIMorphologyGradient : CIMorphologyGradientProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIMorphology))] interface CIMorphologyMaximum : CIMorphologyMaximumProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIMorphology))] interface CIMorphologyMinimum : CIMorphologyMinimumProtocol { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBlendWithMask))] interface CIBlendWithBlueMask { } [CoreImageFilter] - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBlendWithMask))] interface CIBlendWithRedMask { } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Abstract] [BaseType (typeof (NSObject))] @@ -6318,9 +5640,6 @@ interface CIBarcodeDescriptor : NSSecureCoding, NSCopying { // empty } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBarcodeDescriptor))] interface CIQRCodeDescriptor { @@ -6346,9 +5665,6 @@ interface CIQRCodeDescriptor { CIQRCodeDescriptor CreateDescriptor (NSData errorCorrectedPayload, nint symbolVersion, byte maskPattern, CIQRCodeErrorCorrectionLevel errorCorrectionLevel); } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBarcodeDescriptor))] interface CIAztecCodeDescriptor { @@ -6374,9 +5690,6 @@ interface CIAztecCodeDescriptor { CIAztecCodeDescriptor CreateDescriptor (NSData errorCorrectedPayload, bool isCompact, nint layerCount, nint dataCodewordCount); } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBarcodeDescriptor), Name = "CIPDF417CodeDescriptor")] interface CIPdf417CodeDescriptor { @@ -6402,9 +5715,6 @@ interface CIPdf417CodeDescriptor { CIPdf417CodeDescriptor CreateDescriptor (NSData errorCorrectedPayload, bool isCompact, nint rowCount, nint columnCount); } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIBarcodeDescriptor))] interface CIDataMatrixCodeDescriptor { @@ -6430,9 +5740,6 @@ interface CIDataMatrixCodeDescriptor { CIDataMatrixCodeDescriptor CreateDescriptor (NSData errorCorrectedPayload, nint rowCount, nint columnCount, CIDataMatrixCodeEccVersion eccVersion); } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CIColorKernel))] [DisableDefaultCtor] // Handle is nil for `init` @@ -6453,7 +5760,6 @@ interface CIBlendKernel { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("applyWithForeground:background:colorSpace:")] [return: NullAllowed] @@ -6626,9 +5932,6 @@ interface CIBlendKernel { CIBlendKernel LighterColor { get; } } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // Handle is null if created thru `init` @@ -6680,9 +5983,6 @@ interface CIRenderDestination { bool BlendsInDestinationColorSpace { get; set; } } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // no docs, but only returned from CIRenderTask.WaitUntilCompleted. Handle is null if created thru `init` @@ -6698,9 +5998,6 @@ interface CIRenderInfo { nint PixelsProcessed { get; } } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // no docs, but only returned from CIContext.StartTaskToRender. Handle is null if created thru `init` @@ -6710,9 +6007,6 @@ interface CIRenderTask { CIRenderInfo WaitUntilCompleted ([NullAllowed] out NSError error); } - [iOS (11, 0)] - [Mac (10, 13)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (CIContext))] @@ -6734,9 +6028,6 @@ interface CIContext_CIRenderDestination { CIRenderTask StartTaskToClear (CIRenderDestination destination, [NullAllowed] out NSError error); } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Internal] @@ -6754,40 +6045,36 @@ partial interface CIImageRepresentationKeys { [Field ("kCIImageRepresentationDisparityImage")] NSString DisparityImageKey { get; } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCIImageRepresentationAVPortraitEffectsMatte")] NSString AVPortraitEffectsMatteKey { get; } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCIImageRepresentationPortraitEffectsMatteImage")] NSString PortraitEffectsMatteImageKey { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCIImageRepresentationAVSemanticSegmentationMattes")] NSString SemanticSegmentationMattesKey { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCIImageRepresentationSemanticSegmentationSkinMatteImage")] NSString SemanticSegmentationSkinMatteImageKey { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCIImageRepresentationSemanticSegmentationHairMatteImage")] NSString SemanticSegmentationHairMatteImageKey { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCIImageRepresentationSemanticSegmentationTeethMatteImage")] NSString SemanticSegmentationTeethMatteImageKey { get; } @@ -6805,9 +6092,6 @@ partial interface CIImageRepresentationKeys { NSString SemanticSegmentationSkyMatteImage { get; } } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [StrongDictionary ("CIImageRepresentationKeys")] interface CIImageRepresentationOptions { @@ -6820,35 +6104,31 @@ interface CIImageRepresentationOptions { CIImage DisparityImage { get; set; } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] CIImage PortraitEffectsMatteImage { get; set; } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] AVPortraitEffectsMatte AVPortraitEffectsMatte { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] AVSemanticSegmentationMatte [] SemanticSegmentationMattes { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] CIImage SemanticSegmentationSkinMatteImage { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] CIImage SemanticSegmentationHairMatteImage { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] CIImage SemanticSegmentationTeethMatteImage { get; set; } } @@ -6864,7 +6144,6 @@ interface CIAreaMinMaxProtocol : CIAreaReductionFilterProtocol { [CoreImageFilter] [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (CIReductionFilter))] interface CIAreaMinMax : CIAreaReductionFilterProtocol { @@ -6881,7 +6160,6 @@ interface CIAreaMinMax : CIAreaReductionFilterProtocol { [CoreImageFilter] [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIDither : CIDitherProtocol { @@ -6890,7 +6168,6 @@ interface CIDither : CIDitherProtocol { [CoreImageFilter] [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIGuidedFilter { @@ -6911,7 +6188,6 @@ interface CIGuidedFilter { [CoreImageFilter] [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIMeshGenerator : CIMeshGeneratorProtocol { @@ -6920,7 +6196,6 @@ interface CIMeshGenerator : CIMeshGeneratorProtocol { [CoreImageFilter] [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIMix : CIMixProtocol { @@ -6929,7 +6204,6 @@ interface CIMix : CIMixProtocol { [CoreImageFilter] [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CISampleNearest { @@ -6941,7 +6215,6 @@ interface CISampleNearest { [CoreImageFilter] [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CICameraCalibrationLensCorrection { @@ -6959,7 +6232,6 @@ interface CICameraCalibrationLensCorrection { [CoreImageFilter] [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CICoreMLModelFilter { @@ -6980,7 +6252,6 @@ interface CICoreMLModelFilter { [CoreImageFilter] [iOS (12, 0)] [TV (12, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CISaliencyMapFilter : CISaliencyMapProtocol { @@ -6989,7 +6260,6 @@ interface CISaliencyMapFilter : CISaliencyMapProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIDocumentEnhancer : CIDocumentEnhancerProtocol { @@ -7022,7 +6292,6 @@ interface CIKMeansProtocol : CIAreaReductionFilterProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIReductionFilter))] interface CIKMeans : CIKMeansProtocol { @@ -7041,7 +6310,6 @@ interface CIKMeans : CIKMeansProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] [Abstract] @@ -7067,7 +6335,6 @@ interface CIMorphologyRectangle { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIMorphologyRectangle))] interface CIMorphologyRectangleMaximum : CIMorphologyRectangleMaximumProtocol { @@ -7076,7 +6343,6 @@ interface CIMorphologyRectangleMaximum : CIMorphologyRectangleMaximumProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIMorphologyRectangle))] interface CIMorphologyRectangleMinimum : CIMorphologyRectangleMinimumProtocol { @@ -7085,7 +6351,6 @@ interface CIMorphologyRectangleMinimum : CIMorphologyRectangleMinimumProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIPaletteCentroid : CIPaletteCentroidProtocol { @@ -7094,7 +6359,6 @@ interface CIPaletteCentroid : CIPaletteCentroidProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIPalettize : CIPalettizeProtocol { @@ -7103,7 +6367,6 @@ interface CIPalettize : CIPalettizeProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] [Abstract] @@ -7146,7 +6409,6 @@ interface CIKeystoneCorrection { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIKeystoneCorrection))] interface CIKeystoneCorrectionCombined : CIKeystoneCorrectionCombinedProtocol { @@ -7158,7 +6420,6 @@ interface CIKeystoneCorrectionCombined : CIKeystoneCorrectionCombinedProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIKeystoneCorrection))] interface CIKeystoneCorrectionHorizontal : CIKeystoneCorrectionHorizontalProtocol { @@ -7175,7 +6436,6 @@ interface CIKeystoneCorrectionHorizontal : CIKeystoneCorrectionHorizontalProtoco [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIKeystoneCorrection))] interface CIKeystoneCorrectionVertical : CIKeystoneCorrectionVerticalProtocol { @@ -7192,7 +6452,6 @@ interface CIKeystoneCorrectionVertical : CIKeystoneCorrectionVerticalProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIPerspectiveRotate : CIPerspectiveRotateProtocol { @@ -7204,7 +6463,6 @@ interface CIPerspectiveRotate : CIPerspectiveRotateProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIGaborGradients : CIGaborGradientsProtocol { @@ -7213,7 +6471,6 @@ interface CIGaborGradients : CIGaborGradientsProtocol { [CoreImageFilter] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CIFilter))] interface CIRoundedRectangleGenerator : CIRoundedRectangleGeneratorProtocol { @@ -7229,7 +6486,6 @@ interface CIRoundedRectangleGenerator : CIRoundedRectangleGeneratorProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIFilter")] // CIFilter already exists so we're using the Swift name @@ -7247,7 +6503,6 @@ interface CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CITransitionFilter")] interface CITransitionFilterProtocol : CIFilterProtocol { @@ -7267,7 +6522,6 @@ interface CITransitionFilterProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIAccordionFoldTransition")] interface CIAccordionFoldTransitionProtocol : CITransitionFilterProtocol { @@ -7288,7 +6542,6 @@ interface CIAccordionFoldTransitionProtocol : CITransitionFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIAffineClamp")] interface CIAffineClampProtocol : CIFilterProtocol { @@ -7304,7 +6557,6 @@ interface CIAffineClampProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIAffineTile")] interface CIAffineTileProtocol : CIFilterProtocol { @@ -7320,7 +6572,6 @@ interface CIAffineTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIAttributedTextImageGenerator")] interface CIAttributedTextImageGeneratorProtocol : CIFilterProtocol { @@ -7343,7 +6594,6 @@ interface CIAttributedTextImageGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIAztecCodeGenerator")] interface CIAztecCodeGeneratorProtocol : CIFilterProtocol { @@ -7367,7 +6617,6 @@ interface CIAztecCodeGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIBarcodeGenerator")] interface CIBarcodeGeneratorProtocol : CIFilterProtocol { @@ -7379,7 +6628,6 @@ interface CIBarcodeGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIBarsSwipeTransition")] interface CIBarsSwipeTransitionProtocol : CITransitionFilterProtocol { @@ -7399,7 +6647,6 @@ interface CIBarsSwipeTransitionProtocol : CITransitionFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIBicubicScaleTransform")] interface CIBicubicScaleTransformProtocol : CIFilterProtocol { @@ -7429,7 +6676,6 @@ interface CIBicubicScaleTransformProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIBlendWithMask")] interface CIBlendWithMaskProtocol : CIFilterProtocol { @@ -7449,7 +6695,6 @@ interface CIBlendWithMaskProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIBloom")] interface CIBloomProtocol : CIFilterProtocol { @@ -7469,7 +6714,6 @@ interface CIBloomProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIBokehBlur")] interface CIBokehBlurProtocol : CIFilterProtocol { @@ -7497,7 +6741,6 @@ interface CIBokehBlurProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIBoxBlur")] interface CIBoxBlurProtocol : CIFilterProtocol { @@ -7513,7 +6756,6 @@ interface CIBoxBlurProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CICheckerboardGenerator")] interface CICheckerboardGeneratorProtocol : CIFilterProtocol { @@ -7541,7 +6783,6 @@ interface CICheckerboardGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CICircularScreen")] interface CICircularScreenProtocol : CIFilterProtocol { @@ -7565,7 +6806,6 @@ interface CICircularScreenProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CICMYKHalftone")] interface CICmykHalftoneProtocol : CIFilterProtocol { @@ -7603,7 +6843,6 @@ interface CICmykHalftoneProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CICode128BarcodeGenerator")] interface CICode128BarcodeGeneratorProtocol : CIFilterProtocol { @@ -7621,7 +6860,6 @@ interface CICode128BarcodeGeneratorProtocol : CIFilterProtocol { // these attributes are copied as well (while the type's attributes aren't). [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Abstract] [Export ("barcodeHeight")] @@ -7630,7 +6868,6 @@ interface CICode128BarcodeGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorClamp")] interface CIColorClampProtocol : CIFilterProtocol { @@ -7650,7 +6887,6 @@ interface CIColorClampProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorControls")] interface CIColorControlsProtocol : CIFilterProtocol { @@ -7674,7 +6910,6 @@ interface CIColorControlsProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorCrossPolynomial")] interface CIColorCrossPolynomialProtocol : CIFilterProtocol { @@ -7698,7 +6933,6 @@ interface CIColorCrossPolynomialProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorCube")] interface CIColorCubeProtocol : CIFilterProtocol { @@ -7725,7 +6959,6 @@ interface CIColorCubeProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorCubesMixedWithMask")] interface CIColorCubesMixedWithMaskProtocol : CIFilterProtocol { @@ -7764,7 +6997,6 @@ interface CIColorCubesMixedWithMaskProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorCubeWithColorSpace")] interface CIColorCubeWithColorSpaceProtocol : CIFilterProtocol { @@ -7795,7 +7027,6 @@ interface CIColorCubeWithColorSpaceProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorCurves")] interface CIColorCurvesProtocol : CIFilterProtocol { @@ -7819,7 +7050,6 @@ interface CIColorCurvesProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorInvert")] interface CIColorInvertProtocol : CIFilterProtocol { @@ -7831,7 +7061,6 @@ interface CIColorInvertProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorMap")] interface CIColorMapProtocol : CIFilterProtocol { @@ -7847,7 +7076,6 @@ interface CIColorMapProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorMatrix")] interface CIColorMatrixProtocol : CIFilterProtocol { @@ -7879,7 +7107,6 @@ interface CIColorMatrixProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorMonochrome")] interface CIColorMonochromeProtocol : CIFilterProtocol { @@ -7899,7 +7126,6 @@ interface CIColorMonochromeProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorPolynomial")] interface CIColorPolynomialProtocol : CIFilterProtocol { @@ -7927,7 +7153,6 @@ interface CIColorPolynomialProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIColorPosterize")] interface CIColorPosterizeProtocol : CIFilterProtocol { @@ -7943,7 +7168,6 @@ interface CIColorPosterizeProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIComicEffect")] interface CIComicEffectProtocol : CIFilterProtocol { @@ -7955,7 +7179,6 @@ interface CIComicEffectProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CICompositeOperation")] interface CICompositeOperationProtocol : CIFilterProtocol { @@ -7971,7 +7194,6 @@ interface CICompositeOperationProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIConvolution")] interface CIConvolutionProtocol : CIFilterProtocol { @@ -7991,7 +7213,6 @@ interface CIConvolutionProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CICopyMachineTransition")] interface CICopyMachineTransitionProtocol : CIFilterProtocol { @@ -8019,7 +7240,6 @@ interface CICopyMachineTransitionProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CICoreMLModel")] interface CICoreMLModelProtocol : CIFilterProtocol { @@ -8043,7 +7263,6 @@ interface CICoreMLModelProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CICrystallize")] interface CICrystallizeProtocol : CIFilterProtocol { @@ -8063,7 +7282,6 @@ interface CICrystallizeProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIDepthOfField")] interface CIDepthOfFieldProtocol : CIFilterProtocol { @@ -8099,7 +7317,6 @@ interface CIDepthOfFieldProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIDepthToDisparity")] interface CIDepthToDisparityProtocol : CIFilterProtocol { @@ -8111,7 +7328,6 @@ interface CIDepthToDisparityProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIDiscBlur")] interface CIDiscBlurProtocol : CIFilterProtocol { @@ -8127,7 +7343,6 @@ interface CIDiscBlurProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIDisintegrateWithMaskTransition")] interface CIDisintegrateWithMaskTransitionProtocol : CIFilterProtocol { @@ -8151,7 +7366,6 @@ interface CIDisintegrateWithMaskTransitionProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIDisparityToDepth")] interface CIDisparityToDepthProtocol : CIFilterProtocol { @@ -8163,7 +7377,6 @@ interface CIDisparityToDepthProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIDissolveTransition")] interface CIDissolveTransitionProtocol : CIFilterProtocol { @@ -8171,7 +7384,6 @@ interface CIDissolveTransitionProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIDither")] interface CIDitherProtocol : CIFilterProtocol { @@ -8187,7 +7399,6 @@ interface CIDitherProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIDocumentEnhancer")] interface CIDocumentEnhancerProtocol : CIFilterProtocol { @@ -8203,7 +7414,6 @@ interface CIDocumentEnhancerProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIDotScreen")] interface CIDotScreenProtocol : CIFilterProtocol { @@ -8231,7 +7441,6 @@ interface CIDotScreenProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIEdgePreserveUpsample")] interface CIEdgePreserveUpsampleProtocol : CIFilterProtocol { @@ -8255,7 +7464,6 @@ interface CIEdgePreserveUpsampleProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIEdges")] interface CIEdgesProtocol : CIFilterProtocol { @@ -8271,7 +7479,6 @@ interface CIEdgesProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIEdgeWork")] interface CIEdgeWorkProtocol : CIFilterProtocol { @@ -8287,7 +7494,6 @@ interface CIEdgeWorkProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIEightfoldReflectedTile")] interface CIEightfoldReflectedTileProtocol : CIFilterProtocol { @@ -8311,7 +7517,6 @@ interface CIEightfoldReflectedTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIExposureAdjust")] interface CIExposureAdjustProtocol : CIFilterProtocol { @@ -8327,7 +7532,6 @@ interface CIExposureAdjustProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIFalseColor")] interface CIFalseColorProtocol : CIFilterProtocol { @@ -8347,7 +7551,6 @@ interface CIFalseColorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIFlashTransition")] interface CIFlashTransitionProtocol : CITransitionFilterProtocol { @@ -8383,7 +7586,6 @@ interface CIFlashTransitionProtocol : CITransitionFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIFourCoordinateGeometryFilter")] interface CIFourCoordinateGeometryFilterProtocol : CIFilterProtocol { @@ -8411,7 +7613,6 @@ interface CIFourCoordinateGeometryFilterProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIFourfoldReflectedTile")] interface CIFourfoldReflectedTileProtocol : CIFilterProtocol { @@ -8439,7 +7640,6 @@ interface CIFourfoldReflectedTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIFourfoldRotatedTile")] interface CIFourfoldRotatedTileProtocol : CIFilterProtocol { @@ -8463,7 +7663,6 @@ interface CIFourfoldRotatedTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIFourfoldTranslatedTile")] interface CIFourfoldTranslatedTileProtocol : CIFilterProtocol { @@ -8491,7 +7690,6 @@ interface CIFourfoldTranslatedTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIGaborGradients")] interface CIGaborGradientsProtocol : CIFilterProtocol { @@ -8503,7 +7701,6 @@ interface CIGaborGradientsProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIGammaAdjust")] interface CIGammaAdjustProtocol : CIFilterProtocol { @@ -8519,7 +7716,6 @@ interface CIGammaAdjustProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIGaussianBlur")] interface CIGaussianBlurProtocol : CIFilterProtocol { @@ -8535,7 +7731,6 @@ interface CIGaussianBlurProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIGaussianGradient")] interface CIGaussianGradientProtocol : CIFilterProtocol { @@ -8559,7 +7754,6 @@ interface CIGaussianGradientProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIGlideReflectedTile")] interface CIGlideReflectedTileProtocol : CIFilterProtocol { @@ -8583,7 +7777,6 @@ interface CIGlideReflectedTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIGloom")] interface CIGloomProtocol : CIFilterProtocol { @@ -8603,7 +7796,6 @@ interface CIGloomProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIHatchedScreen")] interface CIHatchedScreenProtocol : CIFilterProtocol { @@ -8631,7 +7823,6 @@ interface CIHatchedScreenProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIHeightFieldFromMask")] interface CIHeightFieldFromMaskProtocol : CIFilterProtocol { @@ -8647,7 +7838,6 @@ interface CIHeightFieldFromMaskProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIHexagonalPixellate")] interface CIHexagonalPixellateProtocol : CIFilterProtocol { @@ -8667,7 +7857,6 @@ interface CIHexagonalPixellateProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIHighlightShadowAdjust")] interface CIHighlightShadowAdjustProtocol : CIFilterProtocol { @@ -8691,7 +7880,6 @@ interface CIHighlightShadowAdjustProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIHueAdjust")] interface CIHueAdjustProtocol : CIFilterProtocol { @@ -8707,7 +7895,6 @@ interface CIHueAdjustProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIHueSaturationValueGradient")] interface CIHueSaturationValueGradientProtocol : CIFilterProtocol { @@ -8735,7 +7922,6 @@ interface CIHueSaturationValueGradientProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIKaleidoscope")] interface CIKaleidoscopeProtocol : CIFilterProtocol { @@ -8759,7 +7945,6 @@ interface CIKaleidoscopeProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIKeystoneCorrectionCombined")] interface CIKeystoneCorrectionCombinedProtocol : CIFourCoordinateGeometryFilterProtocol { @@ -8771,7 +7956,6 @@ interface CIKeystoneCorrectionCombinedProtocol : CIFourCoordinateGeometryFilterP [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIKeystoneCorrectionHorizontal")] interface CIKeystoneCorrectionHorizontalProtocol : CIFourCoordinateGeometryFilterProtocol { @@ -8783,7 +7967,6 @@ interface CIKeystoneCorrectionHorizontalProtocol : CIFourCoordinateGeometryFilte [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIKeystoneCorrectionVertical")] interface CIKeystoneCorrectionVerticalProtocol : CIFourCoordinateGeometryFilterProtocol { @@ -8795,7 +7978,6 @@ interface CIKeystoneCorrectionVerticalProtocol : CIFourCoordinateGeometryFilterP [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CILabDeltaE")] interface CILabDeltaEProtocol : CIFilterProtocol { @@ -8811,7 +7993,6 @@ interface CILabDeltaEProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CILanczosScaleTransform")] interface CILanczosScaleTransformProtocol : CIFilterProtocol { @@ -8831,7 +8012,6 @@ interface CILanczosScaleTransformProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CILenticularHaloGenerator")] interface CILenticularHaloGeneratorProtocol : CIFilterProtocol { @@ -8871,7 +8051,6 @@ interface CILenticularHaloGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CILinearGradient")] interface CILinearGradientProtocol : CIFilterProtocol { @@ -8895,7 +8074,6 @@ interface CILinearGradientProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CILinearToSRGBToneCurve")] interface CILinearToSrgbToneCurveProtocol : CIFilterProtocol { @@ -8907,7 +8085,6 @@ interface CILinearToSrgbToneCurveProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CILineOverlay")] interface CILineOverlayProtocol : CIFilterProtocol { @@ -8939,7 +8116,6 @@ interface CILineOverlayProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CILineScreen")] interface CILineScreenProtocol : CIFilterProtocol { @@ -8967,7 +8143,6 @@ interface CILineScreenProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMaskedVariableBlur")] interface CIMaskedVariableBlurProtocol : CIFilterProtocol { @@ -8987,7 +8162,6 @@ interface CIMaskedVariableBlurProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMaskToAlpha")] interface CIMaskToAlphaProtocol : CIFilterProtocol { @@ -8999,7 +8173,6 @@ interface CIMaskToAlphaProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMaximumComponent")] interface CIMaximumComponentProtocol : CIFilterProtocol { @@ -9011,7 +8184,6 @@ interface CIMaximumComponentProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMedian")] interface CIMedianProtocol : CIFilterProtocol { @@ -9023,7 +8195,6 @@ interface CIMedianProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMeshGenerator")] interface CIMeshGeneratorProtocol : CIFilterProtocol { @@ -9043,7 +8214,6 @@ interface CIMeshGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMinimumComponent")] interface CIMinimumComponentProtocol : CIFilterProtocol { @@ -9055,7 +8225,6 @@ interface CIMinimumComponentProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMix")] interface CIMixProtocol : CIFilterProtocol { @@ -9075,7 +8244,6 @@ interface CIMixProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIModTransition")] interface CIModTransitionProtocol : CITransitionFilterProtocol { @@ -9099,7 +8267,6 @@ interface CIModTransitionProtocol : CITransitionFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMorphologyGradient")] interface CIMorphologyGradientProtocol : CIFilterProtocol { @@ -9115,7 +8282,6 @@ interface CIMorphologyGradientProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMorphologyMaximum")] interface CIMorphologyMaximumProtocol : CIFilterProtocol { @@ -9131,7 +8297,6 @@ interface CIMorphologyMaximumProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMorphologyMinimum")] interface CIMorphologyMinimumProtocol : CIFilterProtocol { @@ -9147,7 +8312,6 @@ interface CIMorphologyMinimumProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMorphologyRectangleMaximum")] interface CIMorphologyRectangleMaximumProtocol : CIFilterProtocol { @@ -9167,7 +8331,6 @@ interface CIMorphologyRectangleMaximumProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMorphologyRectangleMinimum")] interface CIMorphologyRectangleMinimumProtocol : CIFilterProtocol { @@ -9187,7 +8350,6 @@ interface CIMorphologyRectangleMinimumProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIMotionBlur")] interface CIMotionBlurProtocol : CIFilterProtocol { @@ -9207,7 +8369,6 @@ interface CIMotionBlurProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CINoiseReduction")] interface CINoiseReductionProtocol : CIFilterProtocol { @@ -9227,7 +8388,6 @@ interface CINoiseReductionProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIOpTile")] interface CIOpTileProtocol : CIFilterProtocol { @@ -9255,7 +8415,6 @@ interface CIOpTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPageCurlTransition")] interface CIPageCurlTransitionProtocol : CITransitionFilterProtocol { @@ -9283,7 +8442,6 @@ interface CIPageCurlTransitionProtocol : CITransitionFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPageCurlWithShadowTransition")] interface CIPageCurlWithShadowTransitionProtocol : CITransitionFilterProtocol { @@ -9319,7 +8477,6 @@ interface CIPageCurlWithShadowTransitionProtocol : CITransitionFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPaletteCentroid")] interface CIPaletteCentroidProtocol : CIFilterProtocol { @@ -9339,7 +8496,6 @@ interface CIPaletteCentroidProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPalettize")] interface CIPalettizeProtocol : CIFilterProtocol { @@ -9359,7 +8515,6 @@ interface CIPalettizeProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIParallelogramTile")] interface CIParallelogramTileProtocol : CIFilterProtocol { @@ -9387,7 +8542,6 @@ interface CIParallelogramTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPDF417BarcodeGenerator")] interface CIPdf417BarcodeGeneratorProtocol : CIFilterProtocol { @@ -9443,7 +8597,6 @@ interface CIPdf417BarcodeGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPerspectiveCorrection")] interface CIPerspectiveCorrectionProtocol : CIFourCoordinateGeometryFilterProtocol { @@ -9452,14 +8605,12 @@ interface CIPerspectiveCorrectionProtocol : CIFourCoordinateGeometryFilterProtoc [Export ("crop")] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] // repeated so it's inlined (new property in existing filter) [MacCatalyst (13, 1)] bool Crop { get; set; } } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPerspectiveRotate")] interface CIPerspectiveRotateProtocol : CIFilterProtocol { @@ -9487,7 +8638,6 @@ interface CIPerspectiveRotateProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPerspectiveTile")] interface CIPerspectiveTileProtocol : CIFilterProtocol { @@ -9515,7 +8665,6 @@ interface CIPerspectiveTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPerspectiveTransform")] interface CIPerspectiveTransformProtocol : CIFourCoordinateGeometryFilterProtocol { @@ -9523,7 +8672,6 @@ interface CIPerspectiveTransformProtocol : CIFourCoordinateGeometryFilterProtoco [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPerspectiveTransformWithExtent")] interface CIPerspectiveTransformWithExtentProtocol : CIFourCoordinateGeometryFilterProtocol { @@ -9535,7 +8683,6 @@ interface CIPerspectiveTransformWithExtentProtocol : CIFourCoordinateGeometryFil [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPhotoEffect")] interface CIPhotoEffectProtocol : CIFilterProtocol { @@ -9547,7 +8694,6 @@ interface CIPhotoEffectProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPixellate")] interface CIPixellateProtocol : CIFilterProtocol { @@ -9567,7 +8713,6 @@ interface CIPixellateProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIPointillize")] interface CIPointillizeProtocol : CIFilterProtocol { @@ -9587,7 +8732,6 @@ interface CIPointillizeProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIQRCodeGenerator")] interface CIQRCodeGeneratorProtocol : CIFilterProtocol { @@ -9603,7 +8747,6 @@ interface CIQRCodeGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIRadialGradient")] interface CIRadialGradientProtocol : CIFilterProtocol { @@ -9631,7 +8774,6 @@ interface CIRadialGradientProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIRandomGenerator")] interface CIRandomGeneratorProtocol : CIFilterProtocol { @@ -9639,7 +8781,6 @@ interface CIRandomGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIRippleTransition")] interface CIRippleTransitionProtocol : CITransitionFilterProtocol { @@ -9667,7 +8808,6 @@ interface CIRippleTransitionProtocol : CITransitionFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIRoundedRectangleGenerator")] interface CIRoundedRectangleGeneratorProtocol : CIFilterProtocol { @@ -9687,7 +8827,6 @@ interface CIRoundedRectangleGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISaliencyMap")] interface CISaliencyMapProtocol : CIFilterProtocol { @@ -9700,7 +8839,6 @@ interface CISaliencyMapProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISepiaTone")] interface CISepiaToneProtocol : CIFilterProtocol { @@ -9716,7 +8854,6 @@ interface CISepiaToneProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIShadedMaterial")] interface CIShadedMaterialProtocol : CIFilterProtocol { @@ -9736,7 +8873,6 @@ interface CIShadedMaterialProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISharpenLuminance")] interface CISharpenLuminanceProtocol : CIFilterProtocol { @@ -9753,14 +8889,12 @@ interface CISharpenLuminanceProtocol : CIFilterProtocol { [Export ("radius")] [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] // repeated so it's inlined (new property in existing filter) [MacCatalyst (13, 1)] float Radius { get; set; } } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISixfoldReflectedTile")] interface CISixfoldReflectedTileProtocol : CIFilterProtocol { @@ -9784,7 +8918,6 @@ interface CISixfoldReflectedTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISixfoldRotatedTile")] interface CISixfoldRotatedTileProtocol : CIFilterProtocol { @@ -9808,7 +8941,6 @@ interface CISixfoldRotatedTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISmoothLinearGradient")] interface CISmoothLinearGradientProtocol : CIFilterProtocol { @@ -9831,7 +8963,6 @@ interface CISmoothLinearGradientProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISpotColor")] interface CISpotColorProtocol : CIFilterProtocol { @@ -9891,7 +9022,6 @@ interface CISpotColorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISpotLight")] interface CISpotLightProtocol : CIFilterProtocol { @@ -9923,7 +9053,6 @@ interface CISpotLightProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISRGBToneCurveToLinear")] interface CISrgbToneCurveToLinearProtocol : CIFilterProtocol { @@ -9935,7 +9064,6 @@ interface CISrgbToneCurveToLinearProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIStarShineGenerator")] interface CIStarShineGeneratorProtocol : CIFilterProtocol { @@ -9975,7 +9103,6 @@ interface CIStarShineGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIStraighten")] interface CIStraightenProtocol : CIFilterProtocol { @@ -9991,7 +9118,6 @@ interface CIStraightenProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIStripesGenerator")] interface CIStripesGeneratorProtocol : CIFilterProtocol { @@ -10019,7 +9145,6 @@ interface CIStripesGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISunbeamsGenerator")] interface CISunbeamsGeneratorProtocol : CIFilterProtocol { @@ -10055,7 +9180,6 @@ interface CISunbeamsGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CISwipeTransition")] interface CISwipeTransitionProtocol : CITransitionFilterProtocol { @@ -10083,7 +9207,6 @@ interface CISwipeTransitionProtocol : CITransitionFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CITemperatureAndTint")] interface CITemperatureAndTintProtocol : CIFilterProtocol { @@ -10103,7 +9226,6 @@ interface CITemperatureAndTintProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CITextImageGenerator")] interface CITextImageGeneratorProtocol : CIFilterProtocol { @@ -10134,7 +9256,6 @@ interface CITextImageGeneratorProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIThermal")] interface CIThermalProtocol : CIFilterProtocol { @@ -10146,7 +9267,6 @@ interface CIThermalProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIToneCurve")] interface CIToneCurveProtocol : CIFilterProtocol { @@ -10178,7 +9298,6 @@ interface CIToneCurveProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CITriangleKaleidoscope")] interface CITriangleKaleidoscopeProtocol : CIFilterProtocol { @@ -10206,7 +9325,6 @@ interface CITriangleKaleidoscopeProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CITriangleTile")] interface CITriangleTileProtocol : CIFilterProtocol { @@ -10230,7 +9348,6 @@ interface CITriangleTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CITwelvefoldReflectedTile")] interface CITwelvefoldReflectedTileProtocol : CIFilterProtocol { @@ -10254,7 +9371,6 @@ interface CITwelvefoldReflectedTileProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIUnsharpMask")] interface CIUnsharpMaskProtocol : CIFilterProtocol { @@ -10274,7 +9390,6 @@ interface CIUnsharpMaskProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIVibrance")] interface CIVibranceProtocol : CIFilterProtocol { @@ -10290,7 +9405,6 @@ interface CIVibranceProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIVignette")] interface CIVignetteProtocol : CIFilterProtocol { @@ -10310,7 +9424,6 @@ interface CIVignetteProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIVignetteEffect")] interface CIVignetteEffectProtocol : CIFilterProtocol { @@ -10338,7 +9451,6 @@ interface CIVignetteEffectProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIWhitePointAdjust")] interface CIWhitePointAdjustProtocol : CIFilterProtocol { @@ -10354,7 +9466,6 @@ interface CIWhitePointAdjustProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIXRay")] interface CIXRayProtocol : CIFilterProtocol { @@ -10366,7 +9477,6 @@ interface CIXRayProtocol : CIFilterProtocol { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol (Name = "CIZoomBlur")] interface CIZoomBlurProtocol : CIFilterProtocol { diff --git a/src/corelocation.cs b/src/corelocation.cs index a02082e6b14a..8fc91fdad597 100644 --- a/src/corelocation.cs +++ b/src/corelocation.cs @@ -42,7 +42,6 @@ public enum CLRegionState : long { Outside } - [Mac (10, 15)] [NoTV] [NoWatch] [MacCatalyst (13, 1)] @@ -111,23 +110,21 @@ partial interface CLLocation : NSSecureCoding, NSCopying, CKRecordValue { double VerticalAccuracy { get; } [TV (13, 0)] // API_UNAVAILABLE(tvos) removed in Xcode 11 beta 1 - [Watch (3, 0)] // __WATCHOS_PROHIBITED removed in Xcode 8 beta 3 [MacCatalyst (13, 1)] [Export ("course")] double Course { get; } - [Watch (6, 2), TV (13, 4), Mac (10, 15, 4), iOS (13, 4)] + [Watch (6, 2), TV (13, 4), iOS (13, 4)] [MacCatalyst (13, 1)] [Export ("courseAccuracy")] double CourseAccuracy { get; } [TV (13, 0)] // API_UNAVAILABLE(tvos) removed in Xcode 11 beta 1 - [Watch (3, 0)] // __WATCHOS_PROHIBITED removed in Xcode 8 beta 3 [MacCatalyst (13, 1)] [Export ("speed")] double Speed { get; } - [Watch (6, 2), TV (13, 4), Mac (10, 15, 4), iOS (13, 4)] + [Watch (6, 2), TV (13, 4), iOS (13, 4)] [MacCatalyst (13, 1)] [Export ("speedAccuracy")] double SpeedAccuracy { get; } @@ -147,7 +144,7 @@ partial interface CLLocation : NSSecureCoding, NSCopying, CKRecordValue { [Export ("initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:")] NativeHandle Constructor (CLLocationCoordinate2D coordinate, double altitude, double hAccuracy, double vAccuracy, double course, double speed, NSDate timestamp); - [Watch (6, 2), TV (13, 4), Mac (10, 15, 4), iOS (13, 4)] + [Watch (6, 2), TV (13, 4), iOS (13, 4)] [MacCatalyst (13, 1)] [Export ("initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:")] NativeHandle Constructor (CLLocationCoordinate2D coordinate, double altitude, double hAccuracy, double vAccuracy, double course, double courseAccuracy, double speed, double speedAccuracy, NSDate timestamp); @@ -160,7 +157,6 @@ partial interface CLLocation : NSSecureCoding, NSCopying, CKRecordValue { // nor in 7.0 - but it works on my iPad3 running iOS 7.1 [NoTV] [NoWatch] - [iOS (7, 1)] [MacCatalyst (13, 1)] [Field ("kCLErrorUserInfoAlternateRegionKey")] NSString ErrorUserInfoAlternateRegionKey { get; } @@ -188,8 +184,6 @@ partial interface CLLocation : NSSecureCoding, NSCopying, CKRecordValue { [Field ("kCLLocationAccuracyReduced")] double AccuracyReduced { get; } - [Mac (10, 15)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("floor", ArgumentSemantic.Copy)] CLFloor Floor { get; } @@ -203,8 +197,6 @@ partial interface CLLocation : NSSecureCoding, NSCopying, CKRecordValue { CLLocationSourceInformation SourceInformation { get; } } - [Mac (10, 15)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface CLFloor : NSSecureCoding, NSCopying { @@ -234,7 +226,6 @@ partial interface CLLocationManager { CLLocation Location { get; } // __WATCHOS_PROHIBITED removed in Xcode 8.0 beta 2, assuming it's valid for 3.0+ - [Watch (3, 0)] [NoTV] [MacCatalyst (13, 1)] [Export ("startUpdatingLocation")] @@ -384,7 +375,7 @@ partial interface CLLocationManager { void StartMonitoring (CLRegion region); [NoTV] - [Watch (4, 0), Mac (11, 0)] + [Mac (11, 0)] [MacCatalyst (13, 1)] [Export ("activityType", ArgumentSemantic.Assign)] CLActivityType ActivityType { get; set; } @@ -416,7 +407,6 @@ partial interface CLLocationManager { [NoWatch] [NoTV] - [Mac (10, 9)] [Deprecated (PlatformName.iOS, 13, 0, message: "Not used anymore. It will always return 'false'.")] [Deprecated (PlatformName.MacOSX, 10, 15, message: "Not used anymore. It will always return 'false'.")] [MacCatalyst (13, 1)] @@ -425,14 +415,12 @@ partial interface CLLocationManager { [Export ("deferredLocationUpdatesAvailable")] bool DeferredLocationUpdatesAvailable { get; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Field ("CLTimeIntervalMax")] double MaxTimeInterval { get; } [NoWatch] [NoTV] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("isMonitoringAvailableForClass:")] bool IsMonitoringAvailable (Class regionClass); @@ -451,7 +439,6 @@ partial interface CLLocationManager { [Export ("rangedBeaconConstraints", ArgumentSemantic.Copy)] NSSet RangedBeaconConstraints { get; } - [Mac (10, 10)] [NoWatch] [NoTV] [MacCatalyst (13, 1)] @@ -494,45 +481,41 @@ partial interface CLLocationManager { [Export ("isRangingAvailable")] bool IsRangingAvailable { get; } - [iOS (8, 0), Mac (11, 0)] + [Mac (11, 0)] [MacCatalyst (13, 1)] [Export ("requestWhenInUseAuthorization")] void RequestWhenInUseAuthorization (); [NoTV] - [iOS (8, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("requestAlwaysAuthorization")] void RequestAlwaysAuthorization (); [NoWatch] [NoTV] - [iOS (8, 0), Mac (11, 0)] + [Mac (11, 0)] [MacCatalyst (13, 1)] [Export ("startMonitoringVisits")] void StartMonitoringVisits (); [NoWatch] [NoTV] - [iOS (8, 0), Mac (11, 0)] + [Mac (11, 0)] [MacCatalyst (13, 1)] [Export ("stopMonitoringVisits")] void StopMonitoringVisits (); [NoTV] - [iOS (9, 0), Watch (4, 0), Mac (11, 0)] + [Mac (11, 0)] [MacCatalyst (13, 1)] [Export ("allowsBackgroundLocationUpdates")] bool AllowsBackgroundLocationUpdates { get; set; } - [NoWatch, NoTV, Mac (11, 0), iOS (11, 0)] + [NoWatch, NoTV, Mac (11, 0)] [MacCatalyst (13, 1)] [Export ("showsBackgroundLocationIndicator")] bool ShowsBackgroundLocationIndicator { get; set; } - [iOS (9, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("requestLocation")] void RequestLocation (); @@ -592,7 +575,6 @@ partial interface CLLocationManagerDelegate { [Export ("locationManager:didUpdateHeading:"), EventArgs ("CLHeadingUpdated")] void UpdatedHeading (CLLocationManager manager, CLHeading newHeading); - [Mac (10, 15)] [NoTV] [Watch (6, 0)] [MacCatalyst (13, 1)] @@ -628,7 +610,6 @@ partial interface CLLocationManagerDelegate { [NoWatch] [NoTV] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("locationManager:didDetermineState:forRegion:"), EventArgs ("CLRegionStateDetermined")] void DidDetermineState (CLLocationManager manager, CLRegionState state, CLRegion region); @@ -665,7 +646,7 @@ partial interface CLLocationManagerDelegate { [NoWatch] [NoTV] - [iOS (8, 0), Mac (11, 0)] + [Mac (11, 0)] [MacCatalyst (13, 1)] [Export ("locationManager:didVisit:"), EventArgs ("CLVisited")] void DidVisit (CLLocationManager manager, CLVisit visit); @@ -681,14 +662,12 @@ partial interface CLLocationManagerDelegate { [Export ("locationManager:didUpdateLocations:"), EventArgs ("CLLocationsUpdated")] void LocationsUpdated (CLLocationManager manager, CLLocation [] locations); - [Mac (10, 15)] [NoWatch] [NoTV] [MacCatalyst (13, 1)] [Export ("locationManagerDidPauseLocationUpdates:"), EventArgs ("")] void LocationUpdatesPaused (CLLocationManager manager); - [Mac (10, 15)] [NoWatch] [NoTV] [MacCatalyst (13, 1)] @@ -711,7 +690,6 @@ partial interface CLLocationManagerDelegate { [Static] partial interface CLLocationDistance { - [Mac (10, 14)] [MacCatalyst (13, 1)] [Field ("CLLocationDistanceMax")] double MaxDistance { get; } @@ -759,12 +737,10 @@ partial interface CLRegion : NSSecureCoding, NSCopying { bool Contains (CLLocationCoordinate2D coordinate); [Export ("notifyOnEntry", ArgumentSemantic.Assign)] - [Mac (10, 10)] [MacCatalyst (13, 1)] bool NotifyOnEntry { get; set; } [Export ("notifyOnExit", ArgumentSemantic.Assign)] - [Mac (10, 10)] [MacCatalyst (13, 1)] bool NotifyOnExit { get; set; } } @@ -829,18 +805,16 @@ interface CLPlacemark : NSSecureCoding, NSCopying { CLRegion Region { get; } [NullAllowed, Export ("timeZone")] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] NSTimeZone TimeZone { get; } // From CLPlacemark (ContactsAdditions) category. - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("postalAddress")] CNPostalAddress PostalAddress { get; } } - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (CLRegion))] #if MONOMAC @@ -995,7 +969,6 @@ interface CLGeocoder { [Async] void ReverseGeocodeLocation (CLLocation location, CLGeocodeCompletionHandler completionHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("reverseGeocodeLocation:preferredLocale:completionHandler:")] [Async] @@ -1018,7 +991,6 @@ interface CLGeocoder { [Async] void GeocodeAddress (string addressString, [NullAllowed] CLRegion region, CLGeocodeCompletionHandler completionHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Async] [Export ("geocodeAddressString:inRegion:preferredLocale:completionHandler:")] @@ -1027,13 +999,13 @@ interface CLGeocoder { [Export ("cancelGeocode")] void CancelGeocode (); - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Export ("geocodePostalAddress:completionHandler:")] [Async] void GeocodePostalAddress (CNPostalAddress postalAddress, CLGeocodeCompletionHandler completionHandler); - [Watch (4, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Export ("geocodePostalAddress:preferredLocale:completionHandler:")] [Async] @@ -1042,7 +1014,7 @@ interface CLGeocoder { [NoWatch] [NoTV] - [iOS (8, 0), Mac (11, 0)] + [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CLVisit : NSSecureCoding, NSCopying { diff --git a/src/coremedia.cs b/src/coremedia.cs index ec8b81113e04..da2836d08ebb 100644 --- a/src/coremedia.cs +++ b/src/coremedia.cs @@ -22,7 +22,7 @@ interface CMMemoryPool { [Static] [Internal] - [Mac (10, 9), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] interface CMTextMarkupAttributesKeys { [Internal] @@ -143,67 +143,56 @@ interface CMSampleAttachmentKey { [Field ("kCMSampleBufferAttachmentKey_DroppedFrameReason")] NSString DroppedFrameReason { get; } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferAttachmentKey_StillImageLensStabilizationInfo")] NSString StillImageLensStabilizationInfo { get; } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferLensStabilizationInfo_Active")] NSString BufferLensStabilizationInfo_Active { get; } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferLensStabilizationInfo_OutOfRange")] NSString BufferLensStabilizationInfo_OutOfRange { get; } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferLensStabilizationInfo_Unavailable")] NSString BufferLensStabilizationInfo_Unavailable { get; } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferLensStabilizationInfo_Off")] NSString BufferLensStabilizationInfo_Off { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleAttachmentKey_HEVCTemporalLevelInfo")] NSString HevcTemporalLevelInfoKey { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleAttachmentKey_HEVCTemporalSubLayerAccess")] NSString HevcTemporalSubLayerAccessKey { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleAttachmentKey_HEVCStepwiseTemporalSubLayerAccess")] NSString HevcStepwiseTemporalSubLayerAccessKey { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleAttachmentKey_HEVCSyncSampleNALUnitType")] NSString HevcSyncSampleNalUnitTypeKey { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferAttachmentKey_CameraIntrinsicMatrix")] NSString CameraIntrinsicMatrixKey { get; } - [iOS (13, 0), Mac (10, 15), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kCMSampleAttachmentKey_AudioIndependentSampleDecoderRefreshCount")] NSString AudioIndependentSampleDecoderRefreshCountKey { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCMSampleBufferAttachmentKey_ForceKeyFrame")] NSString ForceKeyFrameKey { get; } @@ -229,32 +218,26 @@ interface CMSampleBufferAttachmentSettings { int SampleReferenceByteOffset { get; set; } NSNumber GradualDecoderRefresh { get; set; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [StrongDictionary] CMHevcTemporalLevelInfoSettings HevcTemporalLevelInfo { get; set; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] bool HevcTemporalSubLayerAccess { get; set; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] bool HevcStepwiseTemporalSubLayerAccess { get; set; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] int HevcSyncSampleNalUnitType { get; set; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] NSData CameraIntrinsicMatrix { get; set; } - [iOS (13, 0), Mac (10, 15), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] nint AudioIndependentSampleDecoderRefreshCount { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] bool ForceKeyFrame { get; set; } @@ -265,7 +248,7 @@ interface CMSampleBufferAttachmentSettings { } [Internal] - [iOS (11, 0), Mac (10, 13), TV (11, 0), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] interface CMHevcTemporalLevelInfoKeys { @@ -292,7 +275,7 @@ interface CMHevcTemporalLevelInfoKeys { NSString LevelIndexKey { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0), Watch (6, 0)] + [Watch (6, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("CMHevcTemporalLevelInfoKeys")] interface CMHevcTemporalLevelInfoSettings { diff --git a/src/coremidi.cs b/src/coremidi.cs index 0a170dbd03c9..e48661027b8e 100644 --- a/src/coremidi.cs +++ b/src/coremidi.cs @@ -40,7 +40,6 @@ namespace CoreMidi { - [Mac (10, 14)] [Watch (8, 0)] [TV (15, 0)] [MacCatalyst (13, 1)] @@ -159,7 +158,6 @@ public enum MidiUtilityStatus : uint { [NoTV] [NoWatch] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MIDINetworkHost")] [DisableDefaultCtor] @@ -199,7 +197,6 @@ interface MidiNetworkHost { [NoTV] [NoWatch] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] interface Midi { @@ -217,7 +214,6 @@ interface Midi { [NoTV] [NoWatch] - [Mac (10, 15)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject), Name = "MIDINetworkConnection")] @@ -231,7 +227,6 @@ interface MidiNetworkConnection { [NoTV] [NoWatch] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MIDINetworkSession")] // default 'init' crash the application @@ -300,7 +295,7 @@ interface MidiNetworkSession { } - [NoWatch, NoTV, Mac (10, 14), iOS (12, 0)] + [NoWatch, NoTV, iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MIDICIProfile")] [DisableDefaultCtor] @@ -320,7 +315,7 @@ interface MidiCIProfile : NSSecureCoding { NativeHandle Constructor (NSData data); } - [NoWatch, NoTV, Mac (10, 14), iOS (12, 0)] + [NoWatch, NoTV, iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MIDICIProfileState")] [DisableDefaultCtor] @@ -354,7 +349,7 @@ interface MidiCIProfileState : NSSecureCoding { delegate void MidiCIProfileSpecificDataHandler (MidiCISession session, byte channel, MidiCIProfile profile, NSData data); delegate void MidiCISessionDisconnectHandler (MidiCISession session, NSError error); - [NoWatch, NoTV, Mac (10, 14), iOS (12, 0)] + [NoWatch, NoTV, iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MIDICISession")] [DisableDefaultCtor] diff --git a/src/coreml.cs b/src/coreml.cs index e9f14b3114ea..944094e6e184 100644 --- a/src/coreml.cs +++ b/src/coreml.cs @@ -32,7 +32,6 @@ namespace CoreML { - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum MLFeatureType : long { @@ -43,12 +42,11 @@ public enum MLFeatureType : long { Image = 4, MultiArray = 5, Dictionary = 6, - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] Sequence = 7, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("MLModelErrorDomain")] [Native] @@ -65,7 +63,6 @@ public enum MLModelError : long { ModelCollection = 10, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum MLMultiArrayDataType : long { @@ -82,7 +79,7 @@ public enum MLMultiArrayDataType : long { Int32 = 0x20000 | 32, } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MLImageSizeConstraintType : long { @@ -91,7 +88,7 @@ public enum MLImageSizeConstraintType : long { Range = 3, } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MLMultiArrayShapeConstraintType : long { @@ -100,7 +97,7 @@ public enum MLMultiArrayShapeConstraintType : long { Range = 3, } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] public enum MLComputeUnits : long { @@ -110,7 +107,7 @@ public enum MLComputeUnits : long { CPUAndNeuralEngine = 3, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum MLTaskState : long { @@ -121,7 +118,7 @@ public enum MLTaskState : long { Failed = 5, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -131,7 +128,6 @@ public enum MLUpdateProgressEvent : ulong { MiniBatchEnd = 1L << 2, } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MLDictionaryFeatureProvider : MLFeatureProvider, NSSecureCoding { @@ -143,7 +139,6 @@ interface MLDictionaryFeatureProvider : MLFeatureProvider, NSSecureCoding { NativeHandle Constructor (NSDictionary dictionary, out NSError error); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MLFeatureDescription : NSCopying, NSSecureCoding { @@ -171,7 +166,7 @@ interface MLFeatureDescription : NSCopying, NSSecureCoding { [NullAllowed, Export ("dictionaryConstraint", ArgumentSemantic.Assign)] MLDictionaryConstraint DictionaryConstraint { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("sequenceConstraint")] MLSequenceConstraint SequenceConstraint { get; } @@ -179,7 +174,6 @@ interface MLFeatureDescription : NSCopying, NSSecureCoding { interface IMLFeatureProvider { } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MLFeatureProvider { @@ -194,7 +188,6 @@ interface MLFeatureProvider { MLFeatureValue GetFeatureValue (string featureName); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MLFeatureValue : NSCopying, NSSecureCoding { @@ -223,7 +216,7 @@ interface MLFeatureValue : NSCopying, NSSecureCoding { [NullAllowed, Export ("imageBufferValue")] CVPixelBuffer ImageBufferValue { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("sequenceValue")] MLSequence SequenceValue { get; } @@ -232,7 +225,7 @@ interface MLFeatureValue : NSCopying, NSSecureCoding { [Export ("featureValueWithPixelBuffer:")] MLFeatureValue Create (CVPixelBuffer value); - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("featureValueWithSequence:")] @@ -268,112 +261,112 @@ interface MLFeatureValue : NSCopying, NSSecureCoding { // From MLFeatureValue (MLImageConversion) - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("featureValueWithImageAtURL:pixelsWide:pixelsHigh:pixelFormatType:options:error:")] [return: NullAllowed] MLFeatureValue Create (NSUrl url, nint pixelsWide, nint pixelsHigh, CVPixelFormatType pixelFormatType, [NullAllowed] NSDictionary options, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (url, pixelsWide, pixelsHigh, pixelFormatType, imageOptions.GetDictionary (), out error)")] [return: NullAllowed] MLFeatureValue Create (NSUrl url, nint pixelsWide, nint pixelsHigh, CVPixelFormatType pixelFormatType, [NullAllowed] MLFeatureValueImageOption imageOptions, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("featureValueWithImageAtURL:constraint:options:error:")] [return: NullAllowed] MLFeatureValue Create (NSUrl url, MLImageConstraint constraint, [NullAllowed] NSDictionary options, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (url, constraint, imageOptions.GetDictionary (), out error)")] [return: NullAllowed] MLFeatureValue Create (NSUrl url, MLImageConstraint constraint, [NullAllowed] MLFeatureValueImageOption imageOptions, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error:")] [return: NullAllowed] MLFeatureValue Create (CGImage image, nint pixelsWide, nint pixelsHigh, CVPixelFormatType pixelFormatType, [NullAllowed] NSDictionary options, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (image, pixelsWide, pixelsHigh, pixelFormatType, imageOptions.GetDictionary (), out error)")] [return: NullAllowed] MLFeatureValue Create (CGImage image, nint pixelsWide, nint pixelsHigh, CVPixelFormatType pixelFormatType, [NullAllowed] MLFeatureValueImageOption imageOptions, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("featureValueWithCGImage:constraint:options:error:")] [return: NullAllowed] MLFeatureValue Create (CGImage image, MLImageConstraint constraint, [NullAllowed] NSDictionary options, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (image, constraint, imageOptions.GetDictionary (), out error)")] [return: NullAllowed] MLFeatureValue Create (CGImage image, MLImageConstraint constraint, [NullAllowed] MLFeatureValueImageOption imageOptions, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("featureValueWithImageAtURL:orientation:pixelsWide:pixelsHigh:pixelFormatType:options:error:")] [return: NullAllowed] MLFeatureValue Create (NSUrl url, CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, CVPixelFormatType pixelFormatType, [NullAllowed] NSDictionary options, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (url, orientation, pixelsWide, pixelsHigh, pixelFormatType, imageOptions.GetDictionary (), out error)")] [return: NullAllowed] MLFeatureValue Create (NSUrl url, CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, CVPixelFormatType pixelFormatType, [NullAllowed] MLFeatureValueImageOption imageOptions, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("featureValueWithImageAtURL:orientation:constraint:options:error:")] [return: NullAllowed] MLFeatureValue Create (NSUrl url, CGImagePropertyOrientation orientation, MLImageConstraint constraint, [NullAllowed] NSDictionary options, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (url, orientation, constraint, imageOptions.GetDictionary (), out error)")] [return: NullAllowed] MLFeatureValue Create (NSUrl url, CGImagePropertyOrientation orientation, MLImageConstraint constraint, [NullAllowed] MLFeatureValueImageOption imageOptions, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("featureValueWithCGImage:orientation:pixelsWide:pixelsHigh:pixelFormatType:options:error:")] [return: NullAllowed] MLFeatureValue Create (CGImage image, CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, CVPixelFormatType pixelFormatType, [NullAllowed] NSDictionary options, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (image, orientation, pixelsWide, pixelsHigh, pixelFormatType, imageOptions.GetDictionary (), out error)")] [return: NullAllowed] MLFeatureValue Create (CGImage image, CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, CVPixelFormatType pixelFormatType, [NullAllowed] MLFeatureValueImageOption imageOptions, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("featureValueWithCGImage:orientation:constraint:options:error:")] [return: NullAllowed] MLFeatureValue Create (CGImage image, CGImagePropertyOrientation orientation, MLImageConstraint constraint, [NullAllowed] NSDictionary options, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (image, orientation, constraint, imageOptions.GetDictionary (), out error)")] @@ -381,7 +374,7 @@ interface MLFeatureValue : NSCopying, NSSecureCoding { MLFeatureValue Create (CGImage image, CGImagePropertyOrientation orientation, MLImageConstraint constraint, [NullAllowed] MLFeatureValueImageOption imageOptions, [NullAllowed] out NSError error); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -394,7 +387,7 @@ interface MLFeatureValueImageOptionKeys { NSString CropAndScaleKey { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("MLFeatureValueImageOptionKeys")] interface MLFeatureValueImageOption { @@ -402,7 +395,6 @@ interface MLFeatureValueImageOption { VNImageCropAndScaleOption CropAndScale { get; set; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MLModel { @@ -410,7 +402,7 @@ interface MLModel { [Export ("modelDescription")] MLModelDescription ModelDescription { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("configuration")] MLModelConfiguration Configuration { get; } @@ -420,7 +412,7 @@ interface MLModel { [return: NullAllowed] MLModel Create (NSUrl url, out NSError error); - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("modelWithContentsOfURL:configuration:error:")] @@ -435,19 +427,19 @@ interface MLModel { [return: NullAllowed] IMLFeatureProvider GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("predictionsFromBatch:error:")] [return: NullAllowed] IMLBatchProvider GetPredictions (IMLBatchProvider inputBatch, [NullAllowed] out NSError error); - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("predictionsFromBatch:options:error:")] [return: NullAllowed] IMLBatchProvider GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("parameterValueForKey:error:")] [return: NullAllowed] @@ -484,7 +476,6 @@ interface MLModel { void CompileModel (NSUrl modelUrl, Action handler); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MLModelDescription : NSSecureCoding { @@ -515,25 +506,24 @@ interface MLModelDescription : NSSecureCoding { // From MLModelDescription (MLUpdateAdditions) - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("isUpdatable")] bool IsUpdatable { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("trainingInputDescriptionsByName")] NSDictionary TrainingInputDescriptionsByName { get; } // From MLModelDescription (MLParameters) - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("parameterDescriptionsByKey")] NSDictionary ParameterDescriptionsByKey { get; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -555,7 +545,6 @@ interface MLModelMetadataKeys { NSString CreatorDefinedKey { get; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("MLModelMetadataKeys")] interface MLModelMetadata { @@ -566,7 +555,6 @@ interface MLModelMetadata { string CreatorDefined { get; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -656,7 +644,6 @@ interface MLMultiArray : NSSecureCoding { void GetMutableBytes (Action> handler); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -666,7 +653,6 @@ interface MLDictionaryConstraint : NSSecureCoding { MLFeatureType KeyType { get; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -681,13 +667,12 @@ interface MLImageConstraint : NSSecureCoding { [Export ("pixelFormatType")] uint PixelFormatType { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("sizeConstraint")] MLImageSizeConstraint SizeConstraint { get; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -700,13 +685,12 @@ interface MLMultiArrayConstraint : NSSecureCoding { [Export ("dataType")] MLMultiArrayDataType DataType { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("shapeConstraint")] MLMultiArrayShapeConstraint ShapeConstraint { get; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MLPredictionOptions { @@ -725,7 +709,7 @@ interface MLPredictionOptions { NSDictionary OutputBackings { get; set; } } - [NoWatch, TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [NoWatch, TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [Protocol] interface MLCustomLayer { @@ -752,7 +736,7 @@ interface MLCustomLayer { bool Encode (IMTLCommandBuffer commandBuffer, IMTLTexture [] inputs, IMTLTexture [] outputs, [NullAllowed] out NSError error); } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -770,7 +754,7 @@ interface MLArrayBatchProvider : MLBatchProvider { interface IMLBatchProvider { } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Protocol] interface MLBatchProvider { @@ -784,7 +768,7 @@ interface MLBatchProvider { IMLFeatureProvider GetFeatures (nint index); } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] #if NET @@ -808,7 +792,7 @@ interface MLCustomModel { IMLBatchProvider GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error); } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -821,7 +805,7 @@ interface MLImageSize : NSSecureCoding { nint PixelsHigh { get; } } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -840,7 +824,7 @@ interface MLImageSizeConstraint : NSSecureCoding { MLImageSize [] EnumeratedImageSizes { get; } } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -856,7 +840,7 @@ interface MLMultiArrayShapeConstraint : NSSecureCoding { NSArray [] EnumeratedShapes { get; } } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -884,7 +868,7 @@ interface MLSequence : NSSecureCoding { NSNumber [] Int64Values { get; } } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -897,7 +881,7 @@ interface MLSequenceConstraint : NSCopying, NSSecureCoding { NSRange CountRange { get; } } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MLModelConfiguration : NSCopying, NSSecureCoding { @@ -911,25 +895,25 @@ interface MLModelConfiguration : NSCopying, NSSecureCoding { // From MLModelConfiguration (MLGPUConfigurationOptions) - [NoWatch, TV (13, 0), Mac (10, 15), iOS (13, 0)] + [NoWatch, TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("allowLowPrecisionAccumulationOnGPU")] bool AllowLowPrecisionAccumulationOnGpu { get; set; } - [NoWatch, TV (13, 0), Mac (10, 15), iOS (13, 0)] + [NoWatch, TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("preferredMetalDevice", ArgumentSemantic.Assign)] IMTLDevice PreferredMetalDevice { get; set; } // From MLModelConfiguration (MLModelParameterAdditions) - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("parameters", ArgumentSemantic.Assign)] NSDictionary Parameters { get; set; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -942,7 +926,7 @@ interface MLKey : NSCopying, NSSecureCoding { string Scope { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MLKey))] [DisableDefaultCtor] @@ -961,7 +945,7 @@ interface MLMetricKey { MLMetricKey MiniBatchIndex { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -977,7 +961,7 @@ interface MLNumericConstraint : NSSecureCoding { NSSet EnumeratedNumbers { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -993,7 +977,7 @@ interface MLParameterDescription : NSSecureCoding { MLNumericConstraint NumericConstraint { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MLKey))] [DisableDefaultCtor] @@ -1066,7 +1050,7 @@ interface MLParameterKey { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1088,7 +1072,7 @@ interface MLTask { void Cancel (); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1110,7 +1094,7 @@ interface MLUpdateContext { NSDictionary Parameters { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1120,7 +1104,7 @@ interface MLUpdateProgressHandlers { NativeHandle Constructor (MLUpdateProgressEvent interestedEvents, [NullAllowed] Action progressHandler, Action completionHandler); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MLTask))] [DisableDefaultCtor] @@ -1156,7 +1140,7 @@ interface MLUpdateTask { interface IMLWritable { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface MLWritable { diff --git a/src/coremotion.cs b/src/coremotion.cs index e6a1d9cb63c5..9cb21f13ba11 100644 --- a/src/coremotion.cs +++ b/src/coremotion.cs @@ -17,7 +17,6 @@ namespace CoreMotion { [BaseType (typeof (CMLogItem))] [DisableDefaultCtor] // will crash, see Extra.cs for compatibility stubs - [Mac (10, 15)] [MacCatalyst (13, 1)] interface CMAccelerometerData : NSSecureCoding { [Export ("acceleration")] @@ -25,7 +24,6 @@ interface CMAccelerometerData : NSSecureCoding { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CMAccelerometerData))] [DisableDefaultCtor] @@ -37,7 +35,6 @@ interface CMRecordedAccelerometerData { NSDate StartDate { get; } } - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // will crash, see Extra.cs for compatibility stubs @@ -164,7 +161,6 @@ interface CMMotionManager { bool ShowsDeviceMovementDisplay { get; set; } } - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] //You access CMAttitude objects through the attitude property of each CMDeviceMotion objects passed to an application. @@ -189,7 +185,6 @@ interface CMAttitude : NSSecureCoding, NSCopying { void MultiplyByInverseOfAttitude (CMAttitude attitude); } - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CMLogItem))] [DisableDefaultCtor] // will crash, see Extra.cs for compatibility stubs @@ -209,7 +204,6 @@ interface CMDeviceMotion : NSSecureCoding { [Export ("magneticField")] CMCalibratedMagneticField MagneticField { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("heading")] double Heading { get; } @@ -222,7 +216,6 @@ interface CMDeviceMotion : NSSecureCoding { CMDeviceMotionSensorLocation SensorLocation { get; } } - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CMLogItem))] [DisableDefaultCtor] // will crash, see Extra.cs for compatibility stubs @@ -231,7 +224,6 @@ interface CMGyroData : NSSecureCoding { CMRotationRate RotationRate { get; } } - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (CMLogItem))] [DisableDefaultCtor] // will crash, see Extra.cs for compatibility stubs @@ -273,8 +265,6 @@ interface CMStepCounter { void StopStepCountingUpdates (); } - [Mac (10, 15)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CMPedometerData : NSSecureCoding, NSCopying { @@ -300,25 +290,20 @@ interface CMPedometerData : NSSecureCoding, NSCopying { [Export ("floorsDescended")] NSNumber FloorsDescended { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("currentPace")] NSNumber CurrentPace { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("currentCadence")] NSNumber CurrentCadence { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("averageActivePace")] NSNumber AverageActivePace { get; } } - [Mac (10, 15)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CMPedometer { @@ -346,39 +331,30 @@ interface CMPedometer { [Export ("stopPedometerUpdates")] void StopPedometerUpdates (); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("isPaceAvailable")] bool IsPaceAvailable { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("isCadenceAvailable")] bool IsCadenceAvailable { get; } - [Watch (3, 0)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("isPedometerEventTrackingAvailable")] bool IsPedometerEventTrackingAvailable { get; } - [Watch (3, 0)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Async] [Export ("startPedometerEventUpdatesWithHandler:")] void StartPedometerEventUpdates (Action handler); - [Watch (3, 0)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("stopPedometerEventUpdates")] void StopPedometerEventUpdates (); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("authorizationStatus")] @@ -412,7 +388,6 @@ interface CMMotionActivityManager { [Export ("stopActivityUpdates")] void StopActivityUpdates (); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("authorizationStatus")] @@ -445,14 +420,12 @@ interface CMMotionActivity : NSCopying, NSSecureCoding { [Export ("automotive")] bool Automotive { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("cycling")] bool Cycling { get; } } [NoMac] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (CMLogItem))] [DisableDefaultCtor] // this does not look to be meant to be user created (and crash when description is called) @@ -465,7 +438,6 @@ interface CMAltitudeData { } [NoMac] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CMAltimeter { @@ -480,7 +452,6 @@ interface CMAltimeter { [Export ("stopRelativeAltitudeUpdates")] void StopRelativeAltitudeUpdates (); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("authorizationStatus")] @@ -503,8 +474,6 @@ interface CMAltimeter { void StopAbsoluteAltitudeUpdates (); } - [Mac (10, 15)] - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] public enum CMAuthorizationStatus : long { @@ -515,7 +484,6 @@ public enum CMAuthorizationStatus : long { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CMSensorDataList /* NSFastEnumeration */ @@ -523,12 +491,10 @@ interface CMSensorDataList /* NSFastEnumeration */ } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CMSensorRecorder { [Static] - [iOS (9, 3)] // Apple changed the selector in 9.3 and removed the old one [MacCatalyst (13, 1)] [Export ("isAccelerometerRecordingAvailable")] bool IsAccelerometerRecordingAvailable { get; } @@ -540,28 +506,22 @@ interface CMSensorRecorder { [Export ("isAuthorizedForRecording")] bool IsAuthorizedForRecording { get; } - [iOS (9, 3)] // Apple changed the selector in 9.3 and removed the old one [MacCatalyst (13, 1)] [Export ("accelerometerDataFromDate:toDate:")] [return: NullAllowed] CMSensorDataList GetAccelerometerData (NSDate fromDate, NSDate toDate); - [iOS (9, 3)] // Apple changed the selector in 9.3 and removed the old one [MacCatalyst (13, 1)] [Export ("recordAccelerometerForDuration:")] void RecordAccelerometer (double duration); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("authorizationStatus")] CMAuthorizationStatus AuthorizationStatus { get; } } - [Mac (10, 15)] - [Watch (3, 0)] [NoTV] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Native] public enum CMPedometerEventType : long { @@ -569,10 +529,7 @@ public enum CMPedometerEventType : long { Resume } - [Mac (10, 15)] - [Watch (3, 0)] [NoTV] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // instances exposed from delegate @@ -676,7 +633,6 @@ interface CMMovementDisorderManager { NSDate MonitorKinesiasExpirationDate { get; } } - [Mac (10, 15)] [MacCatalyst (13, 1)] [ErrorDomain ("CMErrorDomain")] // untyped enum -> CMError.h diff --git a/src/corenfc.cs b/src/corenfc.cs index dcf5417cbc33..f6a85b64046a 100644 --- a/src/corenfc.cs +++ b/src/corenfc.cs @@ -25,7 +25,6 @@ namespace CoreNFC { - [iOS (11, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("NFCErrorDomain")] [Native] @@ -58,8 +57,7 @@ public enum NFCReaderError : long { NdefReaderSessionErrorZeroLengthMessage = 403, } - //[iOS (11,0), NoTV, NoWatch, NoMac] - [iOS (11, 0)] + //[NoTV, NoWatch, NoMac] [MacCatalyst (13, 1)] [Native] public enum NFCTagType : ulong { @@ -75,8 +73,7 @@ public enum NFCTagType : ulong { MiFare = 4, } - //[iOS (11,0), NoTV, NoWatch, NoMac] - [iOS (11, 0)] + //[NoTV, NoWatch, NoMac] [MacCatalyst (13, 1)] public enum NFCTypeNameFormat : byte { // uint8_t Empty = 0x00, @@ -88,8 +85,7 @@ public enum NFCTypeNameFormat : byte { // uint8_t Unchanged = 0x06, } - //[iOS (11,0), NoTV, NoWatch, NoMac] - [iOS (11, 0)] + //[NoTV, NoWatch, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NFCReaderSession), Name = "NFCISO15693ReaderSession")] [DisableDefaultCtor] @@ -110,8 +106,7 @@ interface NFCIso15693ReaderSession { void RestartPolling (); } - //[iOS (11,0), NoTV, NoWatch, NoMac] - [iOS (11, 0)] + //[NoTV, NoWatch, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NFCTagCommandConfiguration), Name = "NFCISO15693CustomCommandConfiguration")] interface NFCIso15693CustomCommandConfiguration { @@ -132,8 +127,7 @@ interface NFCIso15693CustomCommandConfiguration { NativeHandle Constructor (nuint manufacturerCode, nuint customCommandCode, [NullAllowed] NSData requestParameters, nuint maximumRetries, double retryInterval); } - //[iOS (11,0), NoTV, NoWatch, NoMac] - [iOS (11, 0)] + //[NoTV, NoWatch, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NFCTagCommandConfiguration), Name = "NFCISO15693ReadMultipleBlocksConfiguration")] interface NFCIso15693ReadMultipleBlocksConfiguration { @@ -160,8 +154,7 @@ interface INFCIso15693Tag { } delegate void NFCIso15693TagGetMultipleBlockSecurityStatusCallback (NSNumber [] securityStatus, NSError error); delegate void NFCIso15693TagGetSystemInfoAndUidCallback (NSData uid, nint dsfid, nint afi, nint blockSize, nint blockCount, nint icReference, NSError error); - //[iOS (11,0), NoTV, NoWatch, NoMac] - [iOS (11, 0)] + //[NoTV, NoWatch, NoMac] [MacCatalyst (13, 1)] [Protocol (Name = "NFCISO15693Tag")] interface NFCIso15693Tag : NFCTag, NFCNdefTag { @@ -428,7 +421,6 @@ interface NFCIso15693Tag : NFCTag, NFCNdefTag { } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NFCNDEFPayload")] [DisableDefaultCtor] @@ -489,7 +481,6 @@ interface NFCNdefPayload : NSSecureCoding { NativeHandle Constructor (NFCTypeNameFormat format, NSData type, NSData identifier, NSData payload, nuint chunkSize); } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NFCNDEFMessage")] [DisableDefaultCtor] @@ -518,7 +509,6 @@ interface NFCNdefMessage : NSSecureCoding { interface INFCNdefReaderSessionDelegate { } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject), Name = "NFCNDEFReaderSessionDelegate")] @@ -543,7 +533,6 @@ interface NFCNdefReaderSessionDelegate { void DidBecomeActive (NFCNdefReaderSession session); } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NFCReaderSession), Name = "NFCNDEFReaderSession")] [DisableDefaultCtor] @@ -569,7 +558,6 @@ interface NFCNdefReaderSession { void ConnectToTag (INFCNdefTag tag, Action completionHandler); } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -590,7 +578,6 @@ interface NFCReaderSession : NFCReaderSessionContract { interface INFCReaderSessionContract { } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol (Name = "NFCReaderSession")] interface NFCReaderSessionContract { @@ -622,8 +609,7 @@ interface NFCReaderSessionContract { interface INFCReaderSessionDelegate { } - //[iOS (11,0), NoTV, NoWatch, NoMac] - [iOS (11, 0)] + //[NoTV, NoWatch, NoMac] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -646,7 +632,6 @@ interface NFCReaderSessionDelegate { interface INFCTag { } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface NFCTag : NSSecureCoding, NSCopying { @@ -712,8 +697,7 @@ interface NFCTag : NSSecureCoding, NSCopying { #endif } - //[iOS (11,0), NoTV, NoWatch, NoMac] - [iOS (11, 0)] + //[NoTV, NoWatch, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NFCTagCommandConfiguration : NSCopying { diff --git a/src/corespotlight.cs b/src/corespotlight.cs index ee2769b62c8c..c5299b0c89c3 100644 --- a/src/corespotlight.cs +++ b/src/corespotlight.cs @@ -20,8 +20,6 @@ namespace CoreSpotlight { [NoTV] // CS_TVOS_UNAVAILABLE - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CSIndexExtensionRequestHandler : NSExtensionRequestHandling, CSSearchableIndexDelegate { @@ -29,8 +27,6 @@ interface CSIndexExtensionRequestHandler : NSExtensionRequestHandling, CSSearcha } [NoTV] // CS_TVOS_UNAVAILABLE - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CSPerson : NSSecureCoding, NSCopying { @@ -54,8 +50,6 @@ interface CSPerson : NSSecureCoding, NSCopying { } [NoTV] // CS_TVOS_UNAVAILABLE - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CSSearchableIndex { @@ -112,8 +106,6 @@ interface CSSearchableIndex { delegate void CSSearchableIndexFetchHandler (NSData clientState, NSError error); [NoTV] // CS_TVOS_UNAVAILABLE - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (CSSearchableIndex))] @@ -132,8 +124,6 @@ interface CSSearchableIndex_CSOptionalBatchingExtension { interface ICSSearchableIndexDelegate { } [NoTV] // CS_TVOS_UNAVAILABLE - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -153,13 +143,13 @@ interface CSSearchableIndexDelegate { [Export ("searchableIndexDidFinishThrottle:")] void DidFinishThrottle (CSSearchableIndex searchableIndex); - [iOS (11, 0), NoTV, Mac (10, 13)] + [NoTV] [MacCatalyst (13, 1)] [Export ("dataForSearchableIndex:itemIdentifier:typeIdentifier:error:")] [return: NullAllowed] NSData GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError); - [iOS (11, 0), NoTV, Mac (10, 13)] + [NoTV] [MacCatalyst (13, 1)] [Export ("fileURLForSearchableIndex:itemIdentifier:typeIdentifier:inPlace:error:")] [return: NullAllowed] @@ -167,8 +157,6 @@ interface CSSearchableIndexDelegate { } [NoTV] // CS_TVOS_UNAVAILABLE - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CSSearchableItem : NSSecureCoding, NSCopying { @@ -179,12 +167,10 @@ interface CSSearchableItem : NSSecureCoding, NSCopying { [Field ("CSSearchableItemActivityIdentifier")] NSString ActivityIdentifier { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("CSQueryContinuationActionType")] NSString ContinuationActionType { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("CSSearchQueryString")] NSString QueryString { get; } @@ -212,8 +198,6 @@ interface CSSearchableItem : NSSecureCoding, NSCopying { } [NoTV] // CS_TVOS_UNAVAILABLE - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSString))] // hack: it seems that generator.cs can't track NSCoding correctly ? maybe because the type is named NSString2 at that time @@ -227,8 +211,6 @@ interface CSLocalizedString : NSCoding { } [NoTV] // CS_TVOS_UNAVAILABLE - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: You must call -[CSCustomAttributeKey initWithKeyName...] @@ -257,8 +239,6 @@ interface CSCustomAttributeKey : NSCopying, NSSecureCoding { bool MultiValued { [Bind ("isMultiValued")] get; } } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Static] @@ -284,8 +264,6 @@ interface CSMailboxKey { } [NoTV] - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface CSSearchableItemAttributeSet : NSCopying, NSSecureCoding { @@ -445,12 +423,10 @@ interface CSSearchableItemAttributeSet : NSCopying, NSSecureCoding { [Export ("version")] string Version { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("weakRelatedUniqueIdentifier", ArgumentSemantic.Copy)] string WeakRelatedUniqueIdentifier { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("domainIdentifier")] string DomainIdentifier { get; set; } @@ -997,22 +973,18 @@ interface CSSearchableItemAttributeSet : NSCopying, NSSecureCoding { [Export ("GPSDifferental", ArgumentSemantic.Strong)] NSNumber GpsDifferental { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fullyFormattedAddress")] string FullyFormattedAddress { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("postalCode")] string PostalCode { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("subThoroughfare")] string SubThoroughfare { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("thoroughfare")] string Thoroughfare { get; set; } @@ -1067,25 +1039,25 @@ interface CSSearchableItemAttributeSet : NSCopying, NSSecureCoding { // CSSearchableItemAttributeSet_CSGeneral - [iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("userCreated", ArgumentSemantic.Strong)] [Internal] // We would like to use [BindAs (typeof (bool?))] NSNumber _IsUserCreated { [Bind ("isUserCreated")] get; set; } - [iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("userOwned", ArgumentSemantic.Strong)] [Internal] // We would like to use[BindAs (typeof (bool?))] NSNumber _IsUserOwned { [Bind ("isUserOwned")] get; set; } - [iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("userCurated", ArgumentSemantic.Strong)] [Internal] // We would like to use [BindAs (typeof (bool?))] NSNumber _IsUserCurated { [Bind ("isUserCurated")] get; set; } - [iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("rankingHint", ArgumentSemantic.Strong)] NSNumber RankingHint { get; set; } @@ -1096,25 +1068,23 @@ interface CSSearchableItemAttributeSet : NSCopying, NSSecureCoding { // CSSearchableItemAttributeSet_CSItemProvider - [iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("providerDataTypeIdentifiers", ArgumentSemantic.Copy)] string [] ProviderDataTypeIdentifiers { get; set; } - [iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("providerFileTypeIdentifiers", ArgumentSemantic.Copy)] string [] ProviderFileTypeIdentifiers { get; set; } - [iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("providerInPlaceFileTypeIdentifiers", ArgumentSemantic.Copy)] string [] ProviderInPlaceFileTypeIdentifiers { get; set; } } [NoTV] - [iOS (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1245,7 +1215,7 @@ public enum CSSearchQuerySourceOptions : long { AllowMail = 1L << 0, } - [NoTV, Mac (10, 13), iOS (16, 0), MacCatalyst (16, 0)] + [NoTV, iOS (16, 0), MacCatalyst (16, 0)] [Native] public enum CSSuggestionKind : long { None, diff --git a/src/coretelephony.cs b/src/coretelephony.cs index 5660028a4b25..4df134853e6b 100644 --- a/src/coretelephony.cs +++ b/src/coretelephony.cs @@ -17,7 +17,6 @@ interface CTCall { } [NoMacCatalyst] - [iOS (9, 0)] [BaseType (typeof (NSObject))] interface CTCellularData { [NullAllowed, Export ("cellularDataRestrictionDidUpdateNotifier", ArgumentSemantic.Copy)] diff --git a/src/coretext.cs b/src/coretext.cs index 6121aaf6cc8b..1e72615dfaf8 100644 --- a/src/coretext.cs +++ b/src/coretext.cs @@ -42,12 +42,12 @@ interface CTFontFeatureSelectorKey { [Field ("kCTFontFeatureSelectorSettingKey")] NSString Setting { get; } - [iOS (13, 0), Mac (10, 15), TV (13, 0), Watch (6, 0)] + [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Field ("kCTFontFeatureSampleTextKey")] NSString SampleText { get; } - [iOS (13, 0), Mac (10, 15), TV (13, 0), Watch (6, 0)] + [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Field ("kCTFontFeatureTooltipTextKey")] NSString TooltipText { get; } @@ -71,7 +71,6 @@ interface CTFontVariationAxisKey { [Field ("kCTFontVariationAxisNameKey")] NSString Name { get; } - [iOS (11, 0), Mac (10, 13), Watch (4, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCTFontVariationAxisHiddenKey")] NSString Hidden { get; } @@ -98,7 +97,7 @@ interface CTTypesetterOptionKey { NSString ForceEmbeddingLevel { get; } #endif - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCTTypesetterOptionAllowUnboundedLayout")] NSString AllowUnboundedLayout { get; } @@ -397,7 +396,7 @@ interface CTStringAttributeKey { NSString WritingDirection { get; } #endif - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("kCTTrackingAttributeName")] NSString TrackingAttributeName { get; } diff --git a/src/corevideo.cs b/src/corevideo.cs index b4ec526535ec..7ff1437f2fda 100644 --- a/src/corevideo.cs +++ b/src/corevideo.cs @@ -121,40 +121,31 @@ interface CVImageBuffer : CVBuffer { [Static] [Wrap ("CVImageBufferYCbCrMatrix.DciP3.GetConstant ()")] - [iOS (9, 0), Mac (10, 12)] [MacCatalyst (13, 1)] NSString YCbCrMatrix_DCI_P3 { get; } [Static] [Wrap ("CVImageBufferYCbCrMatrix.P3D65.GetConstant ()")] - [iOS (9, 0), Mac (10, 12)] [MacCatalyst (13, 1)] NSString YCbCrMatrix_P3_D65 { get; } [Static] [Wrap ("CVImageBufferYCbCrMatrix.ItuR2020.GetConstant ()")] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] NSString YCbCrMatrix_ITU_R_2020 { get; } [Static] [Wrap ("CVImageBufferColorPrimaries.DciP3.GetConstant ()")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] NSString ColorPrimaries_DCI_P3 { get; } [Static] [Wrap ("CVImageBufferColorPrimaries.ItuR2020.GetConstant ()")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] NSString ColorPrimaries_ITU_R_2020 { get; } [Static] [Wrap ("CVImageBufferColorPrimaries.P3D65.GetConstant ()")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] NSString ColorPrimaries_P3_D65 { get; } @@ -185,31 +176,26 @@ interface CVImageBuffer : CVBuffer { [Wrap ("CVImageBufferTransferFunction.UseGamma.GetConstant ()")] NSString TransferFunction_UseGamma { get; } - [iOS (9, 0), Mac (10, 11), TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("CVImageBufferTransferFunction.ItuR2020.GetConstant ()")] NSString TransferFunction_ITU_R_2020 { get; } - [iOS (10, 0), Mac (10, 12), TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("CVImageBufferTransferFunction.SmpteST428_1.GetConstant ()")] NSString TransferFunction_SMPTE_ST_428_1 { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("CVImageBufferTransferFunction.SRgb.GetConstant ()")] NSString TransferFunction_sRGB { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("CVImageBufferTransferFunction.SmpteST2084PQ.GetConstant ()")] NSString TransferFunction_SMPTE_ST_2084_PQ { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("CVImageBufferTransferFunction.ItuR2100Hlg.GetConstant ()")] @@ -261,22 +247,19 @@ interface CVImageBuffer : CVBuffer { [Wrap ("CVImageBufferColorPrimaries.P22.GetConstant ()")] NSString ColorPrimaries_P22 { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCVImageBufferAlphaChannelIsOpaque")] NSString AlphaChannelIsOpaque { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCVImageBufferMasteringDisplayColorVolumeKey")] NSString MasteringDisplayColorVolumeKey { get; } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCVImageBufferContentLightLevelInfoKey")] NSString ContentLightLevelInfoKey { get; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("kCVImageBufferAlphaChannelModeKey")] NSString AlphaChannelModeKey { get; } @@ -290,7 +273,6 @@ interface CVImageBuffer : CVBuffer { NSString AmbientViewingEnvironmentKey { get; } } - [Watch (4, 0)] [MacCatalyst (13, 1)] enum CVImageBufferTransferFunction { @@ -306,33 +288,27 @@ enum CVImageBufferTransferFunction { [Field ("kCVImageBufferTransferFunction_UseGamma")] UseGamma, - [iOS (9, 0), Mac (10, 11), TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCVImageBufferTransferFunction_ITU_R_2020")] ItuR2020, - [iOS (10, 0), Mac (10, 12), TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCVImageBufferTransferFunction_SMPTE_ST_428_1")] SmpteST428_1, - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCVImageBufferTransferFunction_sRGB")] SRgb, - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ")] SmpteST2084PQ, - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCVImageBufferTransferFunction_ITU_R_2100_HLG")] ItuR2100Hlg, [iOS (12, 0)] - [Mac (10, 14)] [TV (12, 0)] [Watch (5, 0)] [MacCatalyst (13, 1)] @@ -340,7 +316,6 @@ enum CVImageBufferTransferFunction { Linear, } - [Watch (4, 0)] [MacCatalyst (13, 1)] enum CVImageBufferColorPrimaries { @@ -348,20 +323,14 @@ enum CVImageBufferColorPrimaries { Unknown = 2, // 2 (the code point for "unknown") [Field ("kCVImageBufferColorPrimaries_DCI_P3")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] DciP3, [Field ("kCVImageBufferColorPrimaries_ITU_R_2020")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] ItuR2020, [Field ("kCVImageBufferColorPrimaries_P3_D65")] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] P3D65, @@ -378,7 +347,6 @@ enum CVImageBufferColorPrimaries { P22, } - [Watch (4, 0)] [MacCatalyst (13, 1)] enum CVImageBufferYCbCrMatrix { @@ -398,7 +366,6 @@ enum CVImageBufferYCbCrMatrix { [Deprecated (PlatformName.TvOS, 14, 0, message: "This API is no longer supported.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "This API is no longer supported.")] [Field ("kCVImageBufferYCbCrMatrix_DCI_P3")] - [iOS (9, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "This API is no longer supported.")] DciP3, @@ -407,13 +374,11 @@ enum CVImageBufferYCbCrMatrix { [Deprecated (PlatformName.TvOS, 14, 0, message: "This API is no longer supported.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "This API is no longer supported.")] [Field ("kCVImageBufferYCbCrMatrix_P3_D65")] - [iOS (9, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "This API is no longer supported.")] P3D65, [Field ("kCVImageBufferYCbCrMatrix_ITU_R_2020")] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] ItuR2020, } @@ -472,17 +437,14 @@ interface CVPixelBuffer { [NoMac] [NoWatch] [NoMacCatalyst] - [iOS (9, 0)] [Field ("kCVPixelBufferOpenGLESTextureCacheCompatibilityKey")] NSString OpenGLESTextureCacheCompatibilityKey { get; } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCVPixelBufferMetalCompatibilityKey")] NSString MetalCompatibilityKey { get; } - [NoiOS, NoTV, NoWatch, Mac (10, 11), NoMacCatalyst] + [NoiOS, NoTV, NoWatch, NoMacCatalyst] [Field ("kCVPixelBufferOpenGLTextureCacheCompatibilityKey")] NSString OpenGLTextureCacheCompatibilityKey { get; } @@ -568,7 +530,7 @@ interface CVMetalTextureCache { // IntPtr MaxTextureAge { get; } // } - [iOS (11, 0), Mac (10, 13), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Static, Internal] interface CVMetalTextureAttributesKeys { @@ -577,7 +539,7 @@ interface CVMetalTextureAttributesKeys { NSString UsageKey { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [StrongDictionary ("CVMetalTextureAttributesKeys")] interface CVMetalTextureAttributes { diff --git a/src/corewlan.cs b/src/corewlan.cs index 87a4f9caaf49..ac223cda98d0 100644 --- a/src/corewlan.cs +++ b/src/corewlan.cs @@ -456,13 +456,11 @@ interface CWInterface { [Export ("commitConfiguration:authorization:error:")] bool CommitConfiguration (CWConfiguration configuration, [NullAllowed] NSObject authorization, out NSError error); - [Mac (10, 13)] [Export ("scanForNetworksWithSSID:includeHidden:error:")] [return: NullAllowed] [Internal] NSSet _ScanForNetworksWithSsid ([NullAllowed] NSData ssid, bool includeHidden, [NullAllowed] out NSError error); - [Mac (10, 13)] [Export ("scanForNetworksWithName:includeHidden:error:")] [return: NullAllowed] [Internal] @@ -624,7 +622,7 @@ interface CWMutableNetworkProfile : NSCoding, NSSecureCoding, NSCopying, NSMutab CWSecurity Security { get; set; } } - [Mac (10, 10), NoMacCatalyst] + [NoMacCatalyst] [BaseType (typeof (NSObject))] interface CWWiFiClient { [Export ("delegate", ArgumentSemantic.Weak)] diff --git a/src/devicecheck.cs b/src/devicecheck.cs index bdb291ef250e..aea9228e2077 100644 --- a/src/devicecheck.cs +++ b/src/devicecheck.cs @@ -14,8 +14,7 @@ namespace DeviceCheck { - [TV (11, 0), Watch (9, 0), iOS (11, 0)] - [Mac (10, 15)] + [Watch (9, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("DCErrorDomain")] [Native] @@ -27,13 +26,11 @@ public enum DCError : long { ServerUnavailable, } - [TV (11, 0), Watch (9, 0), iOS (11, 0)] - [Mac (10, 15)] + [Watch (9, 0)] [MacCatalyst (13, 1)] delegate void DCDeviceGenerateTokenCompletionHandler ([NullAllowed] NSData token, [NullAllowed] NSError error); - [TV (11, 0), Watch (9, 0), iOS (11, 0)] - [Mac (10, 15)] + [Watch (9, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // From the documentation it seems the only way to create a usable instance is to use the static CurrentDevice property. [BaseType (typeof (NSObject))] diff --git a/src/eventkit.cs b/src/eventkit.cs index b6be5769589e..3618b2721b53 100644 --- a/src/eventkit.cs +++ b/src/eventkit.cs @@ -40,7 +40,7 @@ namespace EventKit { - [Mac (10, 8), iOS (13, 0), MacCatalyst (13, 1), Watch (6, 0), NoTV] + [iOS (13, 0), MacCatalyst (13, 1), Watch (6, 0), NoTV] [BaseType (typeof (NSObject))] [Abstract] interface EKObject { @@ -189,7 +189,6 @@ interface EKStructuredLocation : NSCopying { [Export ("locationWithTitle:"), Static] EKStructuredLocation FromTitle (string title); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("locationWithMapItem:")] @@ -273,7 +272,6 @@ interface EKCalendar { [Export ("color", ArgumentSemantic.Copy)] NSColor Color { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("CGColor")] CGColor CGColor { get; set; } @@ -346,12 +344,10 @@ interface EKEvent { [Export ("status")] EKEventStatus Status { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("structuredLocation", ArgumentSemantic.Copy)] EKStructuredLocation StructuredLocation { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("occurrenceDate")] NSDate OccurrenceDate { get; } @@ -372,8 +368,6 @@ interface EKEvent { [Export ("birthdayPersonID")] nint BirthdayPersonID { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("birthdayContactIdentifier")] string BirthdayContactIdentifier { get; } @@ -409,13 +403,10 @@ interface EKParticipant : NSCopying { [Export ("ABRecordWithAddressBook:")] ABRecord GetRecord (ABAddressBook addressBook); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("isCurrentUser")] bool IsCurrentUser { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("contactPredicate")] NSPredicate ContactPredicate { get; } @@ -539,7 +530,7 @@ NativeHandle Constructor (EKRecurrenceFrequency type, nint interval, [NullAllowe [BaseType (typeof (NSObject))] interface EKEventStore { - [Mac (10, 11), iOS (16, 0), MacCatalyst (16, 0), Watch (9, 0), NoTV] + [iOS (16, 0), MacCatalyst (16, 0), Watch (9, 0), NoTV] [Export ("initWithSources:")] NativeHandle Constructor (EKSource [] sources); @@ -556,12 +547,12 @@ interface EKEventStore { [Export ("defaultCalendarForNewEvents"), NullAllowed] EKCalendar DefaultCalendarForNewEvents { get; } - [NoWatch, Mac (10, 15)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("saveEvent:span:error:")] bool SaveEvent (EKEvent theEvent, EKSpan span, out NSError error); - [NoWatch, Mac (10, 15)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("removeEvent:span:error:")] bool RemoveEvents (EKEvent theEvent, EKSpan span, out NSError error); @@ -675,18 +666,16 @@ interface EKEventStore { [Export ("initWithAccessToEntityTypes:")] NativeHandle Constructor (EKEntityMask accessToEntityTypes); - [Mac (10, 11), Watch (5, 0), iOS (12, 0)] + [Watch (5, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("delegateSources")] EKSource [] DelegateSources { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("requestAccessToEntityType:completion:")] [Async] void RequestAccess (EKEntityType entityType, Action completionHandler); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static] [Export ("authorizationStatusForEntityType:")] @@ -714,7 +703,6 @@ interface EKReminder { NSDate CompletionDate { get; set; } [Export ("priority")] - [Mac (10, 9)] [MacCatalyst (13, 1)] nint Priority { get; set; } // note: changed to NUInteger in Xcode 7 SDK diff --git a/src/executionpolicy.cs b/src/executionpolicy.cs index 7fbd44b914a1..1b66747726cd 100644 --- a/src/executionpolicy.cs +++ b/src/executionpolicy.cs @@ -8,7 +8,7 @@ namespace ExecutionPolicy { - [Mac (10, 15), MacCatalyst (16, 0)] + [MacCatalyst (16, 0)] [Native] public enum EPDeveloperToolStatus : long { NotDetermined = 0, @@ -17,7 +17,7 @@ public enum EPDeveloperToolStatus : long { Authorized, } - [Mac (10, 15), MacCatalyst (16, 0)] + [MacCatalyst (16, 0)] [Native] [ErrorDomain ("EPErrorDomain")] public enum EPError : long { @@ -25,7 +25,7 @@ public enum EPError : long { NotADeveloperTool, } - [Mac (10, 15), MacCatalyst (16, 0)] + [MacCatalyst (16, 0)] [BaseType (typeof (NSObject))] interface EPDeveloperTool { @@ -36,7 +36,7 @@ interface EPDeveloperTool { void RequestDeveloperToolAccess (Action handler); } - [Mac (10, 15), MacCatalyst (16, 0)] + [MacCatalyst (16, 0)] [BaseType (typeof (NSObject))] interface EPExecutionPolicy { diff --git a/src/externalaccessory.cs b/src/externalaccessory.cs index 3326b3bbf5fd..35f973f783a2 100644 --- a/src/externalaccessory.cs +++ b/src/externalaccessory.cs @@ -18,8 +18,6 @@ namespace ExternalAccessory { - [Mac (10, 13)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (EAAccessoryDelegate) })] // Objective-C exception thrown. Name: EAAccessoryInitException Reason: -init not supported. EAAccessoryManager is responsible for creating all objects. @@ -61,7 +59,6 @@ interface EAAccessory { [Protocolize] EAAccessoryDelegate Delegate { get; set; } - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 13, 0)] [Deprecated (PlatformName.TvOS, 13, 0)] [Deprecated (PlatformName.MacOSX, 10, 14)] @@ -71,8 +68,6 @@ interface EAAccessory { string DockType { get; } } - [Mac (10, 13)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -82,8 +77,6 @@ interface EAAccessoryDelegate { void Disconnected (EAAccessory accessory); } - [Mac (10, 13)] - [TV (10, 0)] [MacCatalyst (13, 1)] interface EAAccessoryEventArgs { [Export ("EAAccessoryKey")] @@ -93,8 +86,6 @@ interface EAAccessoryEventArgs { EAAccessory Selected { get; } } - [Mac (10, 13)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] // Objective-C exception thrown. Name: EAAccessoryManagerInitException Reason: -init is not supported. Use +sharedAccessoryManager. @@ -135,8 +126,6 @@ interface EAAccessoryManager { void ShowBluetoothAccessoryPicker ([NullAllowed] NSPredicate predicate, [NullAllowed] Action completion); } - [Mac (10, 13)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] // Objective-C exception thrown. Name: EASessionInitException Reason: -init not supported. use -initWithAccessory:forProtocol. @@ -163,8 +152,6 @@ interface EASession { } [NoMac] - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface EAWiFiUnconfiguredAccessory { @@ -192,9 +179,8 @@ interface IEAWiFiUnconfiguredAccessoryBrowserDelegate { } // This class is exposed for tvOS in the headers, but there's no available initializer (so it can't be constructed) // The API is also clearly unusable (you can list the unconfigured accessories, but you can't search for them first...) - [NoTV] // [TV (10,0)] + [NoTV] // [NoMac] - [iOS (8, 0)] [MacCatalyst (13, 1)] #if TVOS [BaseType (typeof (NSObject))] @@ -250,7 +236,6 @@ interface EAWiFiUnconfiguredAccessoryBrowser { [NoMac] [NoTV] // no member is available - [iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] diff --git a/src/fileprovider.cs b/src/fileprovider.cs index 3bc04055b779..1e92f5abd664 100644 --- a/src/fileprovider.cs +++ b/src/fileprovider.cs @@ -33,7 +33,6 @@ namespace FileProvider { [NoWatch] [NoTV] - [iOS (8, 0)] [NoMac] [Unavailable (PlatformName.MacCatalyst)] [Advice ("This API is not available when using Catalyst on macOS.")] @@ -83,65 +82,53 @@ partial interface NSFileProviderExtension { [Export ("stopProvidingItemAtURL:")] void StopProvidingItemAtUrl (NSUrl url); - [iOS (11, 0)] [Export ("itemForIdentifier:error:")] [return: NullAllowed] INSFileProviderItem GetItem (NSString identifier, out NSError error); // Inlining NSFileProviderExtension (NSFileProviderActions) so we get asyncs - [iOS (11, 0)] [Async] [Export ("importDocumentAtURL:toParentItemIdentifier:completionHandler:")] void ImportDocument (NSUrl fileUrl, string parentItemIdentifier, Action completionHandler); - [iOS (11, 0)] [Async] [Export ("createDirectoryWithName:inParentItemIdentifier:completionHandler:")] void CreateDirectory (string directoryName, string parentItemIdentifier, Action completionHandler); - [iOS (11, 0)] [Async] [Export ("renameItemWithIdentifier:toName:completionHandler:")] void RenameItem (string itemIdentifier, string itemName, Action completionHandler); - [iOS (11, 0)] [Async] [Export ("reparentItemWithIdentifier:toParentItemWithIdentifier:newName:completionHandler:")] void ReparentItem (string itemIdentifier, string parentItemIdentifier, [NullAllowed] string newName, Action completionHandler); - [iOS (11, 0)] [Async] [Export ("trashItemWithIdentifier:completionHandler:")] void TrashItem (string itemIdentifier, Action completionHandler); - [iOS (11, 0)] [Async] [Export ("untrashItemWithIdentifier:toParentItemIdentifier:completionHandler:")] void UntrashItem (string itemIdentifier, [NullAllowed] string parentItemIdentifier, Action completionHandler); - [iOS (11, 0)] [Async] [Export ("deleteItemWithIdentifier:completionHandler:")] void DeleteItem (string itemIdentifier, Action completionHandler); - [iOS (11, 0)] [Async] [Export ("setLastUsedDate:forItemIdentifier:completionHandler:")] void SetLastUsedDate ([NullAllowed] NSDate lastUsedDate, string itemIdentifier, Action completionHandler); - [iOS (11, 0)] [Async] [Export ("setTagData:forItemIdentifier:completionHandler:")] void SetTagData ([NullAllowed] NSData tagData, string itemIdentifier, Action completionHandler); - [iOS (11, 0)] [Async] [Export ("setFavoriteRank:forItemIdentifier:completionHandler:")] void SetFavoriteRank ([NullAllowed] NSNumber favoriteRank, string itemIdentifier, Action completionHandler); #region NSFileProviderEnumeration (NSFileProviderExtension) - [iOS (11, 0)] [Export ("enumeratorForContainerItemIdentifier:error:")] [return: NullAllowed] INSFileProviderEnumerator GetEnumerator (string containerItemIdentifier, out NSError error); @@ -149,21 +136,18 @@ partial interface NSFileProviderExtension { // From NSFileProviderExtension (NSFileProviderThumbnailing) - [iOS (11, 0)] [Export ("fetchThumbnailsForItemIdentifiers:requestedSize:perThumbnailCompletionHandler:completionHandler:")] [Async] NSProgress FetchThumbnails (NSString [] itemIdentifiers, CGSize size, NSFileProviderExtensionFetchThumbnailsHandler perThumbnailCompletionHandler, Action completionHandler); // From NSFileProviderExtension (NSFileProviderService) - [iOS (11, 0)] [Export ("supportedServiceSourcesForItemIdentifier:error:")] [return: NullAllowed] INSFileProviderServiceSource [] GetSupportedServiceSources (string itemIdentifier, out NSError error); // From NSFileProviderExtension (NSFileProviderDomain) - [iOS (11, 0)] [NullAllowed, Export ("domain")] NSFileProviderDomain Domain { get; } } @@ -171,7 +155,6 @@ partial interface NSFileProviderExtension { namespace FileProvider { - [iOS (11, 0)] [Mac (11, 0)] [Unavailable (PlatformName.MacCatalyst)] [Advice ("This API is not available when using Catalyst on macOS.")] @@ -210,7 +193,6 @@ public enum NSFileProviderDomainRemovalMode : long { PreserveDownloadedUserData = 2, } - [iOS (11, 0)] [Mac (11, 0)] [Unavailable (PlatformName.MacCatalyst)] [Advice ("This API is not available when using Catalyst on macOS.")] @@ -231,7 +213,6 @@ interface NSFileProviderErrorKeys { NSString ItemKey { get; } } - [iOS (11, 0)] [Mac (11, 0)] [Unavailable (PlatformName.MacCatalyst)] [Advice ("This API is not available when using Catalyst on macOS.")] @@ -242,7 +223,6 @@ interface NSFileProviderFavoriteRank { ulong Unranked { get; } } - [iOS (11, 0)] [Mac (11, 0)] [NoMacCatalyst] [Static] @@ -259,8 +239,6 @@ interface NSFileProviderItemIdentifier { NSString TrashContainer { get; } } - [iOS (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -317,7 +295,6 @@ public enum NSFileProviderContentPolicy : long { DownloadEagerlyAndKeepDownloaded, } - [iOS (11, 0)] [Mac (11, 0)] [NoMacCatalyst] [Static] @@ -340,7 +317,6 @@ interface NSFileProviderPage { NSData InitialPageSortedByDate { get; } } - [iOS (11, 0)] [Mac (11, 0)] [Unavailable (PlatformName.MacCatalyst)] [Advice ("This API is not available when using Catalyst on macOS.")] @@ -403,8 +379,6 @@ interface NSFileProviderDomain { interface INSFileProviderEnumerationObserver { } - [iOS (11, 0)] - [Mac (10, 15)] [NoMacCatalyst] [Protocol] interface NSFileProviderEnumerationObserver { @@ -429,8 +403,6 @@ interface NSFileProviderEnumerationObserver { interface INSFileProviderChangeObserver { } - [iOS (11, 0)] - [Mac (10, 15)] [NoMacCatalyst] [Protocol] interface NSFileProviderChangeObserver { @@ -459,8 +431,6 @@ interface NSFileProviderChangeObserver { interface INSFileProviderEnumerator { } - [iOS (11, 0)] - [Mac (10, 15)] [NoMacCatalyst] [Protocol] interface NSFileProviderEnumerator { @@ -482,8 +452,6 @@ interface NSFileProviderEnumerator { interface INSFileProviderItem { } - [iOS (11, 0)] - [Mac (10, 15)] [NoMacCatalyst] [Protocol] interface NSFileProviderItem { @@ -626,7 +594,6 @@ interface NSFileProviderItem { NSFileProviderContentPolicy ContentPolicy { get; } } - [iOS (11, 0)] [Mac (11, 0)] [Unavailable (PlatformName.MacCatalyst)] [Advice ("This API is not available when using Catalyst on macOS.")] @@ -849,7 +816,6 @@ interface NSFileProviderPendingSetEnumerator : NSFileProviderEnumerator { interface INSFileProviderServiceSource { } - [iOS (11, 0)] [Mac (11, 0)] [Unavailable (PlatformName.MacCatalyst)] [Advice ("This API is not available when using Catalyst on macOS.")] diff --git a/src/fileproviderui.cs b/src/fileproviderui.cs index e92d8be71d67..619ac50f29aa 100644 --- a/src/fileproviderui.cs +++ b/src/fileproviderui.cs @@ -23,8 +23,6 @@ namespace FileProviderUI { - [iOS (11, 0)] - [Mac (10, 15)] [ErrorDomain ("FPUIErrorDomain")] [Native] enum FPUIExtensionErrorCode : ulong { @@ -32,8 +30,6 @@ enum FPUIExtensionErrorCode : ulong { Failed } - [iOS (11, 0)] - [Mac (10, 15)] [DisableDefaultCtor] [BaseType (typeof (NSExtensionContext))] interface FPUIActionExtensionContext { @@ -48,8 +44,6 @@ interface FPUIActionExtensionContext { void CancelRequest (NSError error); } - [iOS (11, 0)] - [Mac (10, 15)] #if IOS [BaseType (typeof (UIViewController))] #else diff --git a/src/findersync.cs b/src/findersync.cs index 6a69162b49ef..b4bb64851281 100644 --- a/src/findersync.cs +++ b/src/findersync.cs @@ -6,7 +6,6 @@ namespace FinderSync { delegate void GetValuesCompletionHandler (NSDictionary values, NSError error); - [Mac (10, 10)] [BaseType (typeof (NSExtensionContext))] interface FIFinderSyncController : NSSecureCoding, NSCopying { [Static] @@ -29,36 +28,30 @@ interface FIFinderSyncController : NSSecureCoding, NSCopying { [NullAllowed, Export ("selectedItemURLs")] NSUrl [] SelectedItemURLs { get; } - [Mac (10, 13)] [Export ("lastUsedDateForItemWithURL:")] [return: NullAllowed] NSDate GetLastUsedDate (NSUrl itemUrl); - [Mac (10, 13)] [Async, Export ("setLastUsedDate:forItemWithURL:completion:")] void SetLastUsedDate (NSDate lastUsedDate, NSUrl itemUrl, Action completion); - [Mac (10, 13)] [Export ("tagDataForItemWithURL:")] [return: NullAllowed] NSData GetTagData (NSUrl itemUrl); - [Async, Mac (10, 13)] + [Async] [Export ("setTagData:forItemWithURL:completion:")] void SetTagData ([NullAllowed] NSData tagData, NSUrl itemUrl, Action completion); - [Mac (10, 14)] [Static] [Export ("extensionEnabled")] bool ExtensionEnabled { [Bind ("isExtensionEnabled")] get; } - [Mac (10, 14)] [Static] [Export ("showExtensionManagementInterface")] void ShowExtensionManagementInterface (); } - [Mac (10, 10)] [Protocol (Name = "FIFinderSync")] interface FIFinderSyncProtocol { [Export ("menuForMenuKind:")] @@ -83,22 +76,18 @@ interface FIFinderSyncProtocol { [Export ("toolbarItemToolTip")] string ToolbarItemToolTip { get; } - [Mac (10, 13)] [Export ("supportedServiceNamesForItemWithURL:")] string [] SupportedServiceNames (NSUrl itemUrl); #if FALSE // TODO: Activate after 10.13 foundation APIs have been merged. Bug 57800 - [Mac (10,13)] [Export ("makeListenerEndpointForServiceName:andReturnError:")] [return: NullAllowed] NSXpcListenerEndpoint MakeListenerEndpoint (string serviceName, [NullAllowed] out NSError error); #endif - [Mac (10, 13)] [Async, Export ("valuesForAttributes:forItemWithURL:completion:")] void GetValues (string [] attributes, NSUrl itemUrl, GetValuesCompletionHandler completion); } - [Mac (10, 10)] [BaseType (typeof (NSObject))] interface FIFinderSync : NSExtensionRequestHandling, FIFinderSyncProtocol { } diff --git a/src/foundation.cs b/src/foundation.cs index b82def2b6872..04b701bf3a3c 100644 --- a/src/foundation.cs +++ b/src/foundation.cs @@ -238,12 +238,10 @@ interface NSArray : NSSecureCoding, NSMutableCopying, INSFastEnumeration, CKReco [Export ("removeObserver:fromObjectsAtIndexes:forKeyPath:")] void RemoveObserver (NSObject observer, NSIndexSet indexes, string keyPath); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("writeToURL:error:")] bool Write (NSUrl url, out NSError error); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("arrayWithContentsOfURL:error:")] @@ -251,38 +249,38 @@ interface NSArray : NSSecureCoding, NSMutableCopying, INSFastEnumeration, CKReco NSArray FromUrl (NSUrl url, out NSError error); #if false // https://github.com/xamarin/xamarin-macios/issues/15577 - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Internal] [Export ("differenceFromArray:withOptions:")] NativeHandle _GetDifference (NSArray other, NSOrderedCollectionDifferenceCalculationOptions options); - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Wrap ("Runtime.GetNSObject (_GetDifference (NSArray.FromNSObjects (other), options))")] [return: NullAllowed] NSOrderedCollectionDifference GetDifference (NSObject[] other, NSOrderedCollectionDifferenceCalculationOptions options); [Internal] - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("differenceFromArray:")] NativeHandle _GetDifference (NSArray other); - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Wrap ("Runtime.GetNSObject (_GetDifference(NSArray.FromNSObjects (other)))")] [return: NullAllowed] NSOrderedCollectionDifference GetDifference (NSObject[] other); - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("arrayByApplyingDifference:")] [return: NullAllowed] NativeHandle _GetArrayByApplyingDifference (NSOrderedCollectionDifference difference); - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Wrap ("NSArray.ArrayFromHandle (_GetArrayByApplyingDifference (difference))")] [return: NullAllowed] NSObject[] GetArrayByApplyingDifference (NSOrderedCollectionDifference difference); [Internal] - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("differenceFromArray:withOptions:usingEquivalenceTest:")] NativeHandle _GetDifferenceFromArray (NSArray other, NSOrderedCollectionDifferenceCalculationOptions options, /* Func block */ ref BlockLiteral block); #endif @@ -670,8 +668,6 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin void DrawString (CGRect rect); // -(BOOL)containsAttachmentsInRange:(NSRange)range __attribute__((availability(macosx, introduced=10.11))); - [Mac (10, 11)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("containsAttachmentsInRange:")] bool ContainsAttachmentsInRange (NSRange range); @@ -680,7 +676,7 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin [NoWatch] [NoTV] // really inside WebKit - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("loadFromHTMLWithRequest:options:completionHandler:")] @@ -691,7 +687,7 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin [NoWatch] [NoTV] // really inside WebKit - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Async (ResultTypeName = "NSLoadFromHtmlResult")] @@ -700,7 +696,7 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin [NoWatch] [NoTV] // really inside WebKit - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("loadFromHTMLWithFileURL:options:completionHandler:")] @@ -711,7 +707,7 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin [NoWatch] [NoTV] // really inside WebKit - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Async (ResultTypeName = "NSLoadFromHtmlResult")] @@ -720,7 +716,7 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin [NoWatch] [NoTV] // really inside WebKit - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("loadFromHTMLWithString:options:completionHandler:")] @@ -731,7 +727,7 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin [NoWatch] [NoTV] // really inside WebKit - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Async (ResultTypeName = "NSLoadFromHtmlResult")] @@ -740,7 +736,7 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin [NoWatch] [NoTV] // really inside WebKit - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("loadFromHTMLWithData:options:completionHandler:")] @@ -751,7 +747,7 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin [NoWatch] [NoTV] // really inside WebKit - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Async (ResultTypeName = "NSLoadFromHtmlResult")] @@ -816,7 +812,6 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin #else [Field ("NSTextScalingDocumentAttribute", "UIKit")] #endif - [Mac (10, 15)] [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] NSString TextScalingDocumentAttribute { get; } @@ -828,7 +823,6 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin #else [Field ("NSSourceTextScalingDocumentAttribute", "UIKit")] #endif - [Mac (10, 15)] [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] NSString SourceTextScalingDocumentAttribute { get; } @@ -840,7 +834,6 @@ partial interface NSAttributedString : NSCoding, NSMutableCopying, NSSecureCodin #else [Field ("NSCocoaVersionDocumentAttribute", "UIKit")] #endif - [Mac (10, 15)] [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] NSString CocoaVersionDocumentAttribute { get; } @@ -886,7 +879,7 @@ public enum NSAttributedStringNameKey { [NoWatch] [NoTV] // really inside WebKit - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] delegate void NSAttributedStringCompletionHandler ([NullAllowed] NSAttributedString attributedString, [NullAllowed] NSDictionary attributes, [NullAllowed] NSError error); @@ -1055,14 +1048,10 @@ interface NSCalendar : NSSecureCoding, NSCopying { [Field ("NSCalendarIdentifierEthiopicAmeteMihret"), Internal] NSString EthiopicAmeteMihretCalendar { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSCalendarIdentifierIslamicTabular"), Internal] NSString IslamicTabularCalendar { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSCalendarIdentifierIslamicUmmAlQura"), Internal] NSString IslamicUmmAlQuraCalendar { get; } @@ -1128,155 +1117,105 @@ interface NSCalendar : NSSecureCoding, NSCopying { string PMSymbol { get; } [Export ("compareDate:toDate:toUnitGranularity:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSComparisonResult CompareDate (NSDate date1, NSDate date2, NSCalendarUnit granularity); [Export ("component:fromDate:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] nint GetComponentFromDate (NSCalendarUnit unit, NSDate date); [Export ("components:fromDateComponents:toDateComponents:options:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSDateComponents ComponentsFromDateToDate (NSCalendarUnit unitFlags, NSDateComponents startingDate, NSDateComponents resultDate, NSCalendarOptions options); [Export ("componentsInTimeZone:fromDate:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSDateComponents ComponentsInTimeZone (NSTimeZone timezone, NSDate date); [Export ("date:matchesComponents:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool Matches (NSDate date, NSDateComponents components); [Export ("dateByAddingUnit:value:toDate:options:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSDate DateByAddingUnit (NSCalendarUnit unit, nint value, NSDate date, NSCalendarOptions options); [Export ("dateBySettingHour:minute:second:ofDate:options:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSDate DateBySettingsHour (nint hour, nint minute, nint second, NSDate date, NSCalendarOptions options); [Export ("dateBySettingUnit:value:ofDate:options:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSDate DateBySettingUnit (NSCalendarUnit unit, nint value, NSDate date, NSCalendarOptions options); [Export ("dateWithEra:year:month:day:hour:minute:second:nanosecond:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSDate Date (nint era, nint year, nint month, nint date, nint hour, nint minute, nint second, nint nanosecond); [Export ("dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSDate DateForWeekOfYear (nint era, nint year, nint week, nint weekday, nint hour, nint minute, nint second, nint nanosecond); [Export ("enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] void EnumerateDatesStartingAfterDate (NSDate start, NSDateComponents matchingComponents, NSCalendarOptions options, [BlockCallback] EnumerateDatesCallback callback); [Export ("getEra:year:month:day:fromDate:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] void GetComponentsFromDate (out nint era, out nint year, out nint month, out nint day, NSDate date); [Export ("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] void GetComponentsFromDateForWeekOfYear (out nint era, out nint year, out nint weekOfYear, out nint weekday, NSDate date); [Export ("getHour:minute:second:nanosecond:fromDate:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] void GetHourComponentsFromDate (out nint hour, out nint minute, out nint second, out nint nanosecond, NSDate date); [Export ("isDate:equalToDate:toUnitGranularity:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool IsEqualToUnitGranularity (NSDate date1, NSDate date2, NSCalendarUnit unit); [Export ("isDate:inSameDayAsDate:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool IsInSameDay (NSDate date1, NSDate date2); [Export ("isDateInToday:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool IsDateInToday (NSDate date); [Export ("isDateInTomorrow:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool IsDateInTomorrow (NSDate date); [Export ("isDateInWeekend:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool IsDateInWeekend (NSDate date); [Export ("isDateInYesterday:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool IsDateInYesterday (NSDate date); [Export ("nextDateAfterDate:matchingComponents:options:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [MarshalNativeExceptions] NSDate FindNextDateAfterDateMatching (NSDate date, NSDateComponents components, NSCalendarOptions options); [Export ("nextDateAfterDate:matchingHour:minute:second:options:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [MarshalNativeExceptions] NSDate FindNextDateAfterDateMatching (NSDate date, nint hour, nint minute, nint second, NSCalendarOptions options); [Export ("nextDateAfterDate:matchingUnit:value:options:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [MarshalNativeExceptions] NSDate FindNextDateAfterDateMatching (NSDate date, NSCalendarUnit unit, nint value, NSCalendarOptions options); [Export ("nextWeekendStartDate:interval:options:afterDate:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool FindNextWeekend (out NSDate date, out double /* NSTimeInterval */ interval, NSCalendarOptions options, NSDate afterDate); [Export ("rangeOfWeekendStartDate:interval:containingDate:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool RangeOfWeekendContainingDate (out NSDate weekendStartDate, out double /* NSTimeInterval */ interval, NSDate date); @@ -1299,13 +1238,9 @@ interface NSCalendar : NSSecureCoding, NSCopying { bool Range (NSCalendarUnit unit, [NullAllowed] out NSDate datep, out double /* NSTimeInterval */ interval, NSDate date); [Export ("startOfDayForDate:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSDate StartOfDayForDate (NSDate date); - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("NSCalendarDayChangedNotification")] @@ -1479,7 +1414,6 @@ interface NSCharacterSet : NSSecureCoding, NSMutableCopying { bool Contains (uint /* UTF32Char = UInt32 */ theLongChar); } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface NSMassFormatter { @@ -1539,117 +1473,79 @@ interface NSMutableCharacterSet { [Export ("invert")] void Invert (); - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("alphanumericCharacterSet")] NSCharacterSet Alphanumerics { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("capitalizedLetterCharacterSet")] NSCharacterSet Capitalized { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("characterSetWithBitmapRepresentation:")] NSCharacterSet FromBitmapRepresentation (NSData data); - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("characterSetWithCharactersInString:")] NSCharacterSet FromString (string aString); [return: NullAllowed] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("characterSetWithContentsOfFile:")] NSCharacterSet FromFile (string path); - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("characterSetWithRange:")] NSCharacterSet FromRange (NSRange aRange); - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("controlCharacterSet")] NSCharacterSet Controls { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("decimalDigitCharacterSet")] NSCharacterSet DecimalDigits { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("decomposableCharacterSet")] NSCharacterSet Decomposables { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("illegalCharacterSet")] NSCharacterSet Illegals { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("letterCharacterSet")] NSCharacterSet Letters { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("lowercaseLetterCharacterSet")] NSCharacterSet LowercaseLetters { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("newlineCharacterSet")] NSCharacterSet Newlines { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("nonBaseCharacterSet")] NSCharacterSet Marks { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("punctuationCharacterSet")] NSCharacterSet Punctuation { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("symbolCharacterSet")] NSCharacterSet Symbols { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("uppercaseLetterCharacterSet")] NSCharacterSet UppercaseLetters { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("whitespaceAndNewlineCharacterSet")] NSCharacterSet WhitespaceAndNewlines { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("whitespaceCharacterSet")] NSCharacterSet Whitespaces { get; } @@ -1736,27 +1632,22 @@ interface NSCoder { [Export ("requiresSecureCoding")] bool RequiresSecureCoding (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("decodeTopLevelObjectAndReturnError:")] NSObject DecodeTopLevelObject (out NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("decodeTopLevelObjectForKey:error:")] NSObject DecodeTopLevelObject (string key, out NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("decodeTopLevelObjectOfClass:forKey:error:")] NSObject DecodeTopLevelObject (Class klass, string key, out NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("decodeTopLevelObjectOfClasses:forKey:error:")] NSObject DecodeTopLevelObject ([NullAllowed] NSSet setOfClasses, string key, out NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("failWithError:")] void Fail (NSError error); @@ -1764,14 +1655,10 @@ interface NSCoder { [Export ("systemVersion")] uint SystemVersion { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("decodingFailurePolicy")] NSDecodingFailurePolicy DecodingFailurePolicy { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("error", ArgumentSemantic.Copy)] NSError Error { get; } @@ -1934,45 +1821,39 @@ interface NSData : NSSecureCoding, NSMutableCopying, CKRecordValue { [Export ("rangeOfData:options:range:")] NSRange Find (NSData dataToFind, NSDataSearchOptions searchOptions, NSRange searchRange); - [Mac (10, 9)] // 10.9 [MacCatalyst (13, 1)] [Export ("initWithBase64EncodedString:options:")] NativeHandle Constructor (string base64String, NSDataBase64DecodingOptions options); - [Mac (10, 9)] // 10.9 [MacCatalyst (13, 1)] [Export ("initWithBase64EncodedData:options:")] NativeHandle Constructor (NSData base64Data, NSDataBase64DecodingOptions options); - [Mac (10, 9)] // 10.9 [MacCatalyst (13, 1)] [Export ("base64EncodedDataWithOptions:")] NSData GetBase64EncodedData (NSDataBase64EncodingOptions options); - [Mac (10, 9)] // 10.9 [MacCatalyst (13, 1)] [Export ("base64EncodedStringWithOptions:")] string GetBase64EncodedString (NSDataBase64EncodingOptions options); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("enumerateByteRangesUsingBlock:")] void EnumerateByteRange (NSDataByteRangeEnumerator enumerator); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("initWithBytesNoCopy:length:deallocator:")] NativeHandle Constructor (IntPtr bytes, nuint length, [NullAllowed] Action deallocator); // NSDataCompression (NSData) - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("decompressedDataUsingAlgorithm:error:")] [return: NullAllowed] NSData Decompress (NSDataCompressionAlgorithm algorithm, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("compressedDataUsingAlgorithm:error:")] [return: NullAllowed] @@ -2066,26 +1947,18 @@ interface NSDateComponents : NSSecureCoding, NSCopying, INSCopying, INSSecureCod bool IsLeapMonth { [Bind ("isLeapMonth")] get; set; } [Export ("isValidDate")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool IsValidDate { get; } [Export ("isValidDateInCalendar:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] bool IsValidDateInCalendar (NSCalendar calendar); [Export ("setValue:forComponent:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] void SetValueForComponent (nint value, NSCalendarUnit unit); [Export ("valueForComponent:")] - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] nint GetValueForComponent (NSCalendarUnit unit); } @@ -2123,24 +1996,23 @@ interface NSByteCountFormatter { [Export ("countStyle")] NSByteCountFormatterCountStyle CountStyle { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("formattingContext")] NSFormattingContext FormattingContext { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("stringForObjectValue:")] [return: NullAllowed] string GetString ([NullAllowed] NSObject obj); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("stringFromMeasurement:countStyle:")] string Create (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("stringFromMeasurement:")] string Create (NSUnitInformationStorage measurement); @@ -2266,19 +2138,15 @@ interface NSDateFormatter { [Export ("doesRelativeDateFormatting")] bool DoesRelativeDateFormatting { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("setLocalizedDateFormatFromTemplate:")] void SetLocalizedDateFormatFromTemplate (string dateFormatTemplate); - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("formattingContext", ArgumentSemantic.Assign)] NSFormattingContext FormattingContext { get; set; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface NSDateComponentsFormatter { @@ -2330,14 +2198,11 @@ interface NSDateComponentsFormatter { [Export ("getObjectValue:forString:errorDescription:")] bool GetObjectValue (out NSObject obj, string str, out string error); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("referenceDate", ArgumentSemantic.Copy)] NSDate ReferenceDate { get; set; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface NSDateIntervalFormatter { @@ -2363,18 +2228,12 @@ interface NSDateIntervalFormatter { [Export ("stringFromDate:toDate:")] string StringFromDate (NSDate fromDate, NSDate toDate); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("stringFromDateInterval:")] [return: NullAllowed] string ToString (NSDateInterval dateInterval); } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface NSEnergyFormatter { @@ -2433,7 +2292,7 @@ interface NSFileHandle : NSSecureCoding { [Export ("readDataToEndOfFile")] NSData ReadDataToEndOfFile (); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("readDataToEndOfFileAndReturnError:")] [return: NullAllowed] @@ -2447,7 +2306,7 @@ interface NSFileHandle : NSSecureCoding { [Export ("readDataOfLength:")] NSData ReadDataOfLength (nuint length); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("readDataUpToLength:error:")] [return: NullAllowed] @@ -2461,7 +2320,7 @@ interface NSFileHandle : NSSecureCoding { [Export ("writeData:")] void WriteData (NSData data); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("writeData:error:")] bool Write (NSData data, [NullAllowed] out NSError error); @@ -2474,7 +2333,7 @@ interface NSFileHandle : NSSecureCoding { [Export ("offsetInFile")] ulong OffsetInFile (); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("getOffset:error:")] bool GetOffset (out ulong offsetInFile, [NullAllowed] out NSError error); @@ -2487,7 +2346,7 @@ interface NSFileHandle : NSSecureCoding { [Export ("seekToEndOfFile")] ulong SeekToEndOfFile (); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("seekToEndReturningOffset:error:")] bool SeekToEnd ([NullAllowed] out ulong offsetInFile, [NullAllowed] out NSError error); @@ -2500,7 +2359,7 @@ interface NSFileHandle : NSSecureCoding { [Export ("seekToFileOffset:")] void SeekToFileOffset (ulong offset); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("seekToOffset:error:")] bool Seek (ulong offset, [NullAllowed] out NSError error); @@ -2513,7 +2372,7 @@ interface NSFileHandle : NSSecureCoding { [Export ("truncateFileAtOffset:")] void TruncateFileAtOffset (ulong offset); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("truncateAtOffset:error:")] bool Truncate (ulong offset, [NullAllowed] out NSError error); @@ -2526,7 +2385,7 @@ interface NSFileHandle : NSSecureCoding { [Export ("synchronizeFile")] void SynchronizeFile (); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("synchronizeAndReturnError:")] bool Synchronize ([NullAllowed] out NSError error); @@ -2539,7 +2398,7 @@ interface NSFileHandle : NSSecureCoding { [Export ("closeFile")] void CloseFile (); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("closeAndReturnError:")] bool Close ([NullAllowed] out NSError error); @@ -2656,7 +2515,6 @@ interface NSFileHandle : NSSecureCoding { NSString DataAvailableNotification { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] interface NSPersonNameComponent { @@ -2686,7 +2544,6 @@ interface NSPersonNameComponent { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSPersonNameComponents : NSCopying, NSSecureCoding { @@ -2713,7 +2570,6 @@ interface NSPersonNameComponents : NSCopying, NSSecureCoding { NSPersonNameComponents PhoneticRepresentation { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface NSPersonNameComponentsFormatter { @@ -2736,10 +2592,6 @@ interface NSPersonNameComponentsFormatter { [Export ("getObjectValue:forString:errorDescription:")] bool GetObjectValue (out NSObject result, string str, out string errorDescription); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("personNameComponentsFromString:")] [return: NullAllowed] @@ -2888,7 +2740,6 @@ interface NSKeyedUnarchiverDelegate { [DisableDefaultCtor] interface NSKeyedArchiver { - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initRequiringSecureCoding:")] NativeHandle Constructor (bool requiresSecureCoding); @@ -2898,10 +2749,6 @@ interface NSKeyedArchiver { [Deprecated (PlatformName.WatchOS, 5, 0, message: "Use 'NSKeyedArchiver (bool)' instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'NSKeyedArchiver (bool)' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'NSKeyedArchiver (bool)' instead.")] - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'NSKeyedArchiver (bool)' instead.")] [Export ("init")] @@ -2915,7 +2762,6 @@ interface NSKeyedArchiver { [Export ("initForWritingWithMutableData:")] NativeHandle Constructor (NSMutableData data); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("archivedDataWithRootObject:requiringSecureCoding:error:")] @@ -2968,7 +2814,6 @@ interface NSKeyedArchiver { [Export ("classNameForClass:")] string GetClassName (Class kls); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSKeyedArchiveRootObjectKey")] NSString RootObjectKey { get; } @@ -2984,10 +2829,6 @@ interface NSKeyedArchiver { bool GetRequiresSecureCoding (); #endif - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("encodedData", ArgumentSemantic.Strong)] NSData EncodedData { get; } @@ -2999,33 +2840,28 @@ interface NSKeyedArchiver { // Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -[NSKeyedUnarchiver init]: cannot use -init for initialization [DisableDefaultCtor] interface NSKeyedUnarchiver { - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initForReadingFromData:error:")] NativeHandle Constructor (NSData data, [NullAllowed] out NSError error); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("unarchivedObjectOfClass:fromData:error:")] [return: NullAllowed] NSObject GetUnarchivedObject (Class cls, NSData data, [NullAllowed] out NSError error); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetUnarchivedObject (new Class (type), data, out error)")] [return: NullAllowed] NSObject GetUnarchivedObject (Type type, NSData data, [NullAllowed] out NSError error); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("unarchivedObjectOfClasses:fromData:error:")] [return: NullAllowed] NSObject GetUnarchivedObject (NSSet classes, NSData data, [NullAllowed] out NSError error); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetUnarchivedObject (new NSSet (Array.ConvertAll (types, t => new Class (t))), data, out error)")] @@ -3055,7 +2891,6 @@ interface NSKeyedUnarchiver { [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'GetUnarchivedObject ()' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'GetUnarchivedObject ()' instead.")] [Static, Export ("unarchiveTopLevelObjectWithData:error:")] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GetUnarchivedObject ()' instead.")] // FIXME: [MarshalNativeExceptions] @@ -3254,7 +3089,6 @@ interface NSMetadataQuery { NSString UbiquitousDataScope { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope")] NSString AccessibleUbiquitousExternalDocumentsScope { get; } @@ -3280,12 +3114,10 @@ interface NSMetadataQuery { [Field ("NSMetadataItemFSContentChangeDateKey")] NSString ItemFSContentChangeDateKey { get; } - [iOS (8, 0), Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSMetadataItemContentTypeKey")] NSString ContentTypeKey { get; } - [iOS (8, 0), Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSMetadataItemContentTypeTreeKey")] NSString ContentTypeTreeKey { get; } @@ -3313,17 +3145,14 @@ interface NSMetadataQuery { [Field ("NSMetadataUbiquitousItemIsUploadingKey")] NSString UbiquitousItemIsUploadingKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousItemDownloadingStatusKey")] NSString UbiquitousItemDownloadingStatusKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousItemDownloadingErrorKey")] NSString UbiquitousItemDownloadingErrorKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousItemUploadingErrorKey")] NSString UbiquitousItemUploadingErrorKey { get; } @@ -3334,686 +3163,673 @@ interface NSMetadataQuery { [Field ("NSMetadataUbiquitousItemPercentUploadedKey")] NSString UbiquitousItemPercentUploadedKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousItemDownloadRequestedKey")] NSString UbiquitousItemDownloadRequestedKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousItemIsExternalDocumentKey")] NSString UbiquitousItemIsExternalDocumentKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousItemContainerDisplayNameKey")] NSString UbiquitousItemContainerDisplayNameKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousItemURLInLocalContainerKey")] NSString UbiquitousItemURLInLocalContainerKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemKeywordsKey")] NSString KeywordsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemTitleKey")] NSString TitleKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAuthorsKey")] NSString AuthorsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemEditorsKey")] NSString EditorsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemParticipantsKey")] NSString ParticipantsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemProjectsKey")] NSString ProjectsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemDownloadedDateKey")] NSString DownloadedDateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemWhereFromsKey")] NSString WhereFromsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemCommentKey")] NSString CommentKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemCopyrightKey")] NSString CopyrightKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemLastUsedDateKey")] NSString LastUsedDateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemContentCreationDateKey")] NSString ContentCreationDateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemContentModificationDateKey")] NSString ContentModificationDateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemDateAddedKey")] NSString DateAddedKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemDurationSecondsKey")] NSString DurationSecondsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemContactKeywordsKey")] NSString ContactKeywordsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemVersionKey")] NSString VersionKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemPixelHeightKey")] NSString PixelHeightKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemPixelWidthKey")] NSString PixelWidthKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemPixelCountKey")] NSString PixelCountKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemColorSpaceKey")] NSString ColorSpaceKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemBitsPerSampleKey")] NSString BitsPerSampleKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemFlashOnOffKey")] NSString FlashOnOffKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemFocalLengthKey")] NSString FocalLengthKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAcquisitionMakeKey")] NSString AcquisitionMakeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAcquisitionModelKey")] NSString AcquisitionModelKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemISOSpeedKey")] NSString IsoSpeedKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemOrientationKey")] NSString OrientationKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemLayerNamesKey")] NSString LayerNamesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemWhiteBalanceKey")] NSString WhiteBalanceKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemApertureKey")] NSString ApertureKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemProfileNameKey")] NSString ProfileNameKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemResolutionWidthDPIKey")] NSString ResolutionWidthDpiKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemResolutionHeightDPIKey")] NSString ResolutionHeightDpiKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemExposureModeKey")] NSString ExposureModeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemExposureTimeSecondsKey")] NSString ExposureTimeSecondsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemEXIFVersionKey")] NSString ExifVersionKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemCameraOwnerKey")] NSString CameraOwnerKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemFocalLength35mmKey")] NSString FocalLength35mmKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemLensModelKey")] NSString LensModelKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemEXIFGPSVersionKey")] NSString ExifGpsVersionKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAltitudeKey")] NSString AltitudeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemLatitudeKey")] NSString LatitudeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemLongitudeKey")] NSString LongitudeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemSpeedKey")] NSString SpeedKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemTimestampKey")] NSString TimestampKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSTrackKey")] NSString GpsTrackKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemImageDirectionKey")] NSString ImageDirectionKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemNamedLocationKey")] NSString NamedLocationKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSStatusKey")] NSString GpsStatusKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSMeasureModeKey")] NSString GpsMeasureModeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSDOPKey")] NSString GpsDopKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSMapDatumKey")] NSString GpsMapDatumKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSDestLatitudeKey")] NSString GpsDestLatitudeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSDestLongitudeKey")] NSString GpsDestLongitudeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSDestBearingKey")] NSString GpsDestBearingKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSDestDistanceKey")] NSString GpsDestDistanceKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSProcessingMethodKey")] NSString GpsProcessingMethodKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSAreaInformationKey")] NSString GpsAreaInformationKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSDateStampKey")] NSString GpsDateStampKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGPSDifferentalKey")] NSString GpsDifferentalKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemCodecsKey")] NSString CodecsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemMediaTypesKey")] NSString MediaTypesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemStreamableKey")] NSString StreamableKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemTotalBitRateKey")] NSString TotalBitRateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemVideoBitRateKey")] NSString VideoBitRateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAudioBitRateKey")] NSString AudioBitRateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemDeliveryTypeKey")] NSString DeliveryTypeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAlbumKey")] NSString AlbumKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemHasAlphaChannelKey")] NSString HasAlphaChannelKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemRedEyeOnOffKey")] NSString RedEyeOnOffKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemMeteringModeKey")] NSString MeteringModeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemMaxApertureKey")] NSString MaxApertureKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemFNumberKey")] NSString FNumberKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemExposureProgramKey")] NSString ExposureProgramKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemExposureTimeStringKey")] NSString ExposureTimeStringKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemHeadlineKey")] NSString HeadlineKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemInstructionsKey")] NSString InstructionsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemCityKey")] NSString CityKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemStateOrProvinceKey")] NSString StateOrProvinceKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemCountryKey")] NSString CountryKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemTextContentKey")] NSString TextContentKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAudioSampleRateKey")] NSString AudioSampleRateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAudioChannelCountKey")] NSString AudioChannelCountKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemTempoKey")] NSString TempoKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemKeySignatureKey")] NSString KeySignatureKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemTimeSignatureKey")] NSString TimeSignatureKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAudioEncodingApplicationKey")] NSString AudioEncodingApplicationKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemComposerKey")] NSString ComposerKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemLyricistKey")] NSString LyricistKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAudioTrackNumberKey")] NSString AudioTrackNumberKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemRecordingDateKey")] NSString RecordingDateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemMusicalGenreKey")] NSString MusicalGenreKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemIsGeneralMIDISequenceKey")] NSString IsGeneralMidiSequenceKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemRecordingYearKey")] NSString RecordingYearKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemOrganizationsKey")] NSString OrganizationsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemLanguagesKey")] NSString LanguagesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemRightsKey")] NSString RightsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemPublishersKey")] NSString PublishersKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemContributorsKey")] NSString ContributorsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemCoverageKey")] NSString CoverageKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemSubjectKey")] NSString SubjectKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemThemeKey")] NSString ThemeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemDescriptionKey")] NSString DescriptionKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemIdentifierKey")] NSString IdentifierKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAudiencesKey")] NSString AudiencesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemNumberOfPagesKey")] NSString NumberOfPagesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemPageWidthKey")] NSString PageWidthKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemPageHeightKey")] NSString PageHeightKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemSecurityMethodKey")] NSString SecurityMethodKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemCreatorKey")] NSString CreatorKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemEncodingApplicationsKey")] NSString EncodingApplicationsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemDueDateKey")] NSString DueDateKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemStarRatingKey")] NSString StarRatingKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemPhoneNumbersKey")] NSString PhoneNumbersKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemEmailAddressesKey")] NSString EmailAddressesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemInstantMessageAddressesKey")] NSString InstantMessageAddressesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemKindKey")] NSString KindKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemRecipientsKey")] NSString RecipientsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemFinderCommentKey")] NSString FinderCommentKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemFontsKey")] NSString FontsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAppleLoopsRootKeyKey")] NSString AppleLoopsRootKeyKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAppleLoopsKeyFilterTypeKey")] NSString AppleLoopsKeyFilterTypeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAppleLoopsLoopModeKey")] NSString AppleLoopsLoopModeKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAppleLoopDescriptorsKey")] NSString AppleLoopDescriptorsKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemMusicalInstrumentCategoryKey")] NSString MusicalInstrumentCategoryKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemMusicalInstrumentNameKey")] NSString MusicalInstrumentNameKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemCFBundleIdentifierKey")] NSString CFBundleIdentifierKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemInformationKey")] NSString InformationKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemDirectorKey")] NSString DirectorKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemProducerKey")] NSString ProducerKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemGenreKey")] NSString GenreKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemPerformersKey")] NSString PerformersKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemOriginalFormatKey")] NSString OriginalFormatKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemOriginalSourceKey")] NSString OriginalSourceKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAuthorEmailAddressesKey")] NSString AuthorEmailAddressesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemRecipientEmailAddressesKey")] NSString RecipientEmailAddressesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemAuthorAddressesKey")] NSString AuthorAddressesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemRecipientAddressesKey")] NSString RecipientAddressesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemIsLikelyJunkKey")] NSString IsLikelyJunkKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemExecutableArchitecturesKey")] NSString ExecutableArchitecturesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemExecutablePlatformKey")] NSString ExecutablePlatformKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemApplicationCategoriesKey")] NSString ApplicationCategoriesKey { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 9), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Field ("NSMetadataItemIsApplicationManagedKey")] NSString IsApplicationManagedKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousItemIsSharedKey")] NSString UbiquitousItemIsSharedKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousSharedItemCurrentUserRoleKey")] NSString UbiquitousSharedItemCurrentUserRoleKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey")] NSString UbiquitousSharedItemCurrentUserPermissionsKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousSharedItemOwnerNameComponentsKey")] NSString UbiquitousSharedItemOwnerNameComponentsKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey")] NSString UbiquitousSharedItemMostRecentEditorNameComponentsKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousSharedItemRoleOwner")] NSString UbiquitousSharedItemRoleOwner { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousSharedItemRoleParticipant")] NSString UbiquitousSharedItemRoleParticipant { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousSharedItemPermissionsReadOnly")] NSString UbiquitousSharedItemPermissionsReadOnly { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSMetadataUbiquitousSharedItemPermissionsReadWrite")] NSString UbiquitousSharedItemPermissionsReadWrite { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("searchItems", ArgumentSemantic.Copy)] // DOC: object is a mixture of NSString, NSMetadataItem, NSUrl NSObject [] SearchItems { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("operationQueue", ArgumentSemantic.Retain)] NSOperationQueue OperationQueue { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("enumerateResultsUsingBlock:")] void EnumerateResultsUsingBlock (NSMetadataQueryEnumerationCallback callback); - [Mac (10, 9), Export ("enumerateResultsWithOptions:usingBlock:")] + [Export ("enumerateResultsWithOptions:usingBlock:")] [MacCatalyst (13, 1)] void EnumerateResultsWithOptions (NSEnumerationOptions opts, NSMetadataQueryEnumerationCallback block); // // These are for NSMetadataQueryDidUpdateNotification // - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSMetadataQueryUpdateAddedItemsKey")] NSString QueryUpdateAddedItemsKey { get; } - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSMetadataQueryUpdateChangedItemsKey")] NSString QueryUpdateChangedItemsKey { get; } - [Mac (10, 9)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSMetadataQueryUpdateRemovedItemsKey")] NSString QueryUpdateRemovedItemsKey { get; } @@ -4039,7 +3855,6 @@ interface NSMetadataItem { [NoiOS] [NoTV] [NoWatch] - [Mac (10, 9)] [NoMacCatalyst] [DesignatedInitializer] [Export ("initWithURL:")] @@ -4150,18 +3965,16 @@ interface NSMutableArray { [Export ("removeObjectsAtIndexes:")] void RemoveObjectsAtIndexes (NSIndexSet indexSet); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("arrayWithContentsOfFile:")] NSMutableArray FromFile (string path); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("arrayWithContentsOfURL:")] NSMutableArray FromUrl (NSUrl url); #if false // https://github.com/xamarin/xamarin-macios/issues/15577 - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("applyDifference:")] void ApplyDifference (NSOrderedCollectionDifference difference); #endif @@ -4254,17 +4067,14 @@ interface NSMutableAttributedString { [Internal] [Sealed] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("readFromURL:options:documentAttributes:error:")] bool ReadFromUrl (NSUrl url, NSDictionary options, ref NSDictionary returnOptions, ref NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("readFromURL:options:documentAttributes:error:")] bool ReadFromUrl (NSUrl url, NSDictionary options, ref NSDictionary returnOptions, ref NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Wrap ("ReadFromUrl (url, options.GetDictionary ()!, ref returnOptions, ref error)")] bool ReadFromUrl (NSUrl url, NSAttributedStringDocumentAttributes options, ref NSDictionary returnOptions, ref NSError error); @@ -4317,18 +4127,18 @@ interface NSMutableData { // NSMutableDataCompression (NSMutableData) - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("decompressUsingAlgorithm:error:")] bool Decompress (NSDataCompressionAlgorithm algorithm, [NullAllowed] out NSError error); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("compressUsingAlgorithm:error:")] bool Compress (NSDataCompressionAlgorithm algorithm, [NullAllowed] out NSError error); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NSDataCompressionAlgorithm : long { @@ -4486,12 +4296,10 @@ interface NSDictionary : NSSecureCoding, NSMutableCopying, NSFetchRequestResult, [Export ("initWithContentsOfURL:")] NativeHandle Constructor (NSUrl url); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithContentsOfURL:error:")] NativeHandle Constructor (NSUrl url, out NSError error); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("dictionaryWithContentsOfURL:error:")] @@ -4676,7 +4484,6 @@ interface NSError : NSSecureCoding, NSCopying { NSString EABluetoothAccessoryPickerErrorDomain { get; } // now exposed with the corresponding MKErrorCode enum - [TV (9, 2)] [NoMac] [NoWatch] [MacCatalyst (13, 1)] @@ -4685,7 +4492,6 @@ interface NSError : NSSecureCoding, NSCopying { // now exposed with the corresponding WKErrorCode enum [NoMac, NoTV] - [iOS (8, 2)] [Unavailable (PlatformName.iOS)] [MacCatalyst (13, 1)] [Field ("WatchKitErrorDomain", "WatchKit")] @@ -4727,26 +4533,19 @@ interface NSError : NSSecureCoding, NSCopying { [Field ("NSFilePathErrorKey")] NSString FilePathErrorKey { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("NSDebugDescriptionErrorKey")] NSString DebugDescriptionErrorKey { get; } - [iOS (11, 0), Mac (10, 13), Watch (4, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("NSLocalizedFailureErrorKey")] NSString LocalizedFailureErrorKey { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("setUserInfoValueProviderForDomain:provider:")] void SetUserInfoValueProvider (string errorDomain, [NullAllowed] NSErrorUserInfoValueProvider provider); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("userInfoValueProviderForDomain:")] @@ -4755,8 +4554,6 @@ interface NSError : NSSecureCoding, NSCopying { // From NSError (NSFileProviderError) Category to avoid static category uglyness - [iOS (11, 0)] - [Mac (10, 15)] [NoMacCatalyst] [NoTV] [NoWatch] @@ -4764,8 +4561,6 @@ interface NSError : NSSecureCoding, NSCopying { [Export ("fileProviderErrorForCollisionWithItem:")] NSError GetFileProviderError (INSFileProviderItem existingItem); - [iOS (11, 0)] - [Mac (10, 15)] [NoMacCatalyst] [NoTV] [NoWatch] @@ -4881,19 +4676,16 @@ interface NSExpression : NSSecureCoding, NSCopying { [Static, Export ("expressionForBlock:arguments:")] NSExpression FromFunction (NSExpressionCallbackHandler target, NSExpression [] parameters); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static] [Export ("expressionForAnyKey")] NSExpression FromAnyKey (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("expressionForConditional:trueExpression:falseExpression:")] NSExpression FromConditional (NSPredicate predicate, NSExpression trueExpression, NSExpression falseExpression); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("allowEvaluation")] void AllowEvaluation (); @@ -4938,12 +4730,10 @@ interface NSExpression : NSSecureCoding, NSCopying { [Sealed, Internal, Export ("rightExpression")] NSExpression _RightExpression { get; } - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] [Sealed, Internal, Export ("trueExpression")] NSExpression _TrueExpression { get; } - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] [Sealed, Internal, Export ("falseExpression")] NSExpression _FalseExpression { get; } @@ -4953,8 +4743,6 @@ interface NSExpression : NSSecureCoding, NSCopying { NSObject EvaluateWith ([NullAllowed] NSObject obj, [NullAllowed] NSMutableDictionary context); } - [iOS (8, 0)] - [Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface NSExtensionContext { @@ -4977,36 +4765,30 @@ partial interface NSExtensionContext { NSString ItemsAndErrorsKey { get; } [NoMac] - [iOS (8, 2)] [MacCatalyst (13, 1)] [Notification] [Field ("NSExtensionHostWillEnterForegroundNotification")] NSString HostWillEnterForegroundNotification { get; } [NoMac] - [iOS (8, 2)] [MacCatalyst (13, 1)] [Notification] [Field ("NSExtensionHostDidEnterBackgroundNotification")] NSString HostDidEnterBackgroundNotification { get; } [NoMac] - [iOS (8, 2)] [MacCatalyst (13, 1)] [Notification] [Field ("NSExtensionHostWillResignActiveNotification")] NSString HostWillResignActiveNotification { get; } [NoMac] - [iOS (8, 2)] [MacCatalyst (13, 1)] [Notification] [Field ("NSExtensionHostDidBecomeActiveNotification")] NSString HostDidBecomeActiveNotification { get; } } - [iOS (8, 0)] - [Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface NSExtensionItem : NSCopying, NSSecureCoding { @@ -5047,8 +4829,6 @@ interface NSNull : NSSecureCoding, NSCopying NSNull _Null { get; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface NSLengthFormatter { @@ -5126,59 +4906,49 @@ interface NSLinguisticTagger { [Export ("string", ArgumentSemantic.Retain)] string AnalysisString { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("tagsInRange:unit:scheme:options:tokenRanges:")] string [] GetTags (NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, [NullAllowed] out NSValue [] tokenRanges); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("enumerateTagsInRange:unit:scheme:options:usingBlock:")] void EnumerateTags (NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, LinguisticTagEnumerator enumerator); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("tagAtIndex:unit:scheme:tokenRange:")] [return: NullAllowed] string GetTag (nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, [NullAllowed] ref NSRange tokenRange); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("tokenRangeAtIndex:unit:")] NSRange GetTokenRange (nuint charIndex, NSLinguisticTaggerUnit unit); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("availableTagSchemesForUnit:language:")] string [] GetAvailableTagSchemes (NSLinguisticTaggerUnit unit, string language); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("dominantLanguage")] string DominantLanguage { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("dominantLanguageForString:")] [return: NullAllowed] string GetDominantLanguage (string str); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("tagForString:atIndex:unit:scheme:orthography:tokenRange:")] [return: NullAllowed] string GetTag (string str, nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, [NullAllowed] NSOrthography orthography, [NullAllowed] ref NSRange tokenRange); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("tagsForString:range:unit:scheme:options:orthography:tokenRanges:")] string [] GetTags (string str, NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, [NullAllowed] NSOrthography orthography, [NullAllowed] out NSValue [] tokenRanges); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("enumerateTagsForString:range:unit:scheme:options:orthography:usingBlock:")] @@ -5452,12 +5222,10 @@ interface NSLocale : NSSecureCoding, NSCopying { // follow the pattern of NSLocale.cs which included managed helpers that did the same - [Watch (3, 0), TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("calendarIdentifier")] string CalendarIdentifier { get; } - [Watch (3, 0), TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("localizedStringForCalendarIdentifier:")] [return: NullAllowed] @@ -5589,26 +5357,14 @@ interface NSRunLoop { [Wrap ("RunUntil (runLoopMode.GetConstant ()!, limitDate)")] bool RunUntil (NSRunLoopMode runLoopMode, NSDate limitDate); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("performBlock:")] void Perform (Action block); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("performInModes:block:")] void Perform (NSString [] modes, Action block); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Wrap ("Perform (modes.GetConstants ()!, block)")] void Perform (NSRunLoopMode [] modes, Action block); @@ -5748,7 +5504,6 @@ interface NSSortDescriptor : NSSecureCoding, NSCopying { [Export ("reversedSortDescriptor")] NSObject ReversedSortDescriptor { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("allowEvaluation")] void AllowEvaluation (); @@ -5783,10 +5538,6 @@ interface NSTimer { [Static, Export ("scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:")] NSTimer CreateScheduledTimer (double seconds, NSObject target, Selector selector, [NullAllowed] NSObject userInfo, bool repeats); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("scheduledTimerWithTimeInterval:repeats:block:")] @@ -5795,10 +5546,6 @@ interface NSTimer { [Static, Export ("timerWithTimeInterval:target:selector:userInfo:repeats:")] NSTimer CreateTimer (double seconds, NSObject target, Selector selector, [NullAllowed] NSObject userInfo, bool repeats); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("timerWithTimeInterval:repeats:block:")] @@ -5808,10 +5555,6 @@ interface NSTimer { [Export ("initWithFireDate:interval:target:selector:userInfo:repeats:")] NativeHandle Constructor (NSDate date, double seconds, NSObject target, Selector selector, [NullAllowed] NSObject userInfo, bool repeats); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithFireDate:interval:repeats:block:")] NativeHandle Constructor (NSDate date, double seconds, bool repeats, Action block); @@ -5837,7 +5580,6 @@ interface NSTimer { [Export ("userInfo")] NSObject UserInfo { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("tolerance")] double Tolerance { get; set; } @@ -6032,8 +5774,6 @@ interface NSUuid : NSSecureCoding, NSCopying { NSComparisonResult Compare (NSUuid otherUuid); } - [iOS (8, 0)] - [Mac (10, 10)] // .objc_class_name_NSUserActivity", referenced from '' not found [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // xcode 8 beta 4 marks it as API_DEPRECATED @@ -6086,43 +5826,34 @@ partial interface NSUserActivity [Async (ResultTypeName = "NSUserActivityContinuation")] void GetContinuationStreams (Action completionHandler); - [Mac (10, 11), iOS (9, 0), Watch (3, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("requiredUserInfoKeys", ArgumentSemantic.Copy)] NSSet RequiredUserInfoKeys { get; set; } - [Mac (10, 11), iOS (9, 0), Watch (3, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("expirationDate", ArgumentSemantic.Copy)] NSDate ExpirationDate { get; set; } - [Mac (10, 11), iOS (9, 0), Watch (3, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("keywords", ArgumentSemantic.Copy)] NSSet Keywords { get; set; } - [Mac (10, 11), iOS (9, 0), Watch (3, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("resignCurrent")] void ResignCurrent (); - [Mac (10, 11), iOS (9, 0), Watch (3, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("eligibleForHandoff")] bool EligibleForHandoff { [Bind ("isEligibleForHandoff")] get; set; } - [Mac (10, 11), iOS (9, 0), Watch (3, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("eligibleForSearch")] bool EligibleForSearch { [Bind ("isEligibleForSearch")] get; set; } - [Mac (10, 11), iOS (9, 0), Watch (3, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("eligibleForPublicIndexing")] bool EligibleForPublicIndexing { [Bind ("isEligibleForPublicIndexing")] get; set; } - [iOS (9, 0)] - [Mac (10, 13)] [NoWatch] [NoTV] [MacCatalyst (13, 1)] @@ -6130,14 +5861,13 @@ partial interface NSUserActivity [Export ("contentAttributeSet", ArgumentSemantic.Copy)] // From CSSearchableItemAttributeSet.h CSSearchableItemAttributeSet ContentAttributeSet { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("referrerURL", ArgumentSemantic.Copy)] NSUrl ReferrerUrl { get; set; } // From NSUserActivity (CIBarcodeDescriptor) - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3), NoWatch] + [TV (11, 3), iOS (11, 3), NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("detectedBarcodeDescriptor", ArgumentSemantic.Copy)] CIBarcodeDescriptor DetectedBarcodeDescriptor { get; } @@ -6176,13 +5906,11 @@ string SuggestedInvocationPhrase { bool EligibleForPrediction { [Bind ("isEligibleForPrediction")] get; set; } [Watch (5, 0), NoTV, iOS (12, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [NullAllowed, Export ("persistentIdentifier")] string PersistentIdentifier { get; set; } [Watch (5, 0), NoTV, iOS (12, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Async] @@ -6190,7 +5918,6 @@ string SuggestedInvocationPhrase { void DeleteSavedUserActivities (string [] persistentIdentifiers, Action handler); [Watch (5, 0), NoTV, iOS (12, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Async] @@ -6199,7 +5926,7 @@ string SuggestedInvocationPhrase { // Inlined from NSUserActivity (UISceneActivationConditions) - [iOS (13, 0), TV (13, 0), Mac (10, 15), Watch (6, 0)] + [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("targetContentIdentifier")] string TargetContentIdentifier { get; set; } @@ -6214,8 +5941,6 @@ string SuggestedInvocationPhrase { #endif } - [iOS (8, 0)] - [Mac (10, 10)] // same as NSUserActivity [MacCatalyst (13, 1)] [Static] partial interface NSUserActivityType { @@ -6223,8 +5948,6 @@ partial interface NSUserActivityType { NSString BrowsingWeb { get; } } - [iOS (8, 0)] - [Mac (10, 10), Watch (3, 0)] // same as NSUserActivity [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -6261,7 +5984,6 @@ interface NSUserDefaults { IntPtr InitWithUserName (string username); [Internal] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("initWithSuiteName:")] IntPtr InitWithSuiteName (string suiteName); @@ -6378,8 +6100,6 @@ interface NSUserDefaults { [Field ("NSRegistrationDomain")] NSString RegistrationDomain { get; } - [iOS (9, 3)] - [Watch (2, 2)] // Headers say watchOS 2.0, but they're lying. [NoMac] [NoTV] [MacCatalyst (13, 1)] @@ -6387,17 +6107,12 @@ interface NSUserDefaults { [Field ("NSUserDefaultsSizeLimitExceededNotification")] NSString SizeLimitExceededNotification { get; } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] [NoMac] [MacCatalyst (13, 1)] [Notification] [Field ("NSUbiquitousUserDefaultsNoCloudAccountNotification")] NSString NoCloudAccountNotification { get; } - [iOS (9, 3)] - [Watch (2, 2)] // Headers say watchOS 2.0, but they're lying. [NoMac] [NoTV] [MacCatalyst (13, 1)] @@ -6405,8 +6120,6 @@ interface NSUserDefaults { [Field ("NSUbiquitousUserDefaultsDidChangeAccountsNotification")] NSString DidChangeAccountsNotification { get; } - [iOS (9, 3)] - [Watch (2, 2)] // Headers say watchOS 2.0, but they're lying. [NoMac] [NoTV] [MacCatalyst (13, 1)] @@ -6558,38 +6271,32 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Export ("URLByDeletingPathExtension")] NSUrl RemovePathExtension (); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("getFileSystemRepresentation:maxLength:")] bool GetFileSystemRepresentation (IntPtr buffer, nint maxBufferLength); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("fileSystemRepresentation")] IntPtr GetFileSystemRepresentationAsUtf8Ptr { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("removeCachedResourceValueForKey:")] void RemoveCachedResourceValueForKey (NSString key); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("removeAllCachedResourceValues")] void RemoveAllCachedResourceValues (); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("setTemporaryResourceValue:forKey:")] void SetTemporaryResourceValue (NSObject value, NSString key); [DesignatedInitializer] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:")] NativeHandle Constructor (IntPtr ptrUtf8path, bool isDir, [NullAllowed] NSUrl baseURL); - [Mac (10, 9), Static, Export ("fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:")] + [Static, Export ("fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:")] [MacCatalyst (13, 1)] NSUrl FromUTF8Pointer (IntPtr ptrUtf8path, bool isDir, [NullAllowed] NSUrl baseURL); @@ -6886,42 +6593,34 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Field ("NSURLVolumeLocalizedNameKey")] NSString VolumeLocalizedNameKey { get; } - [Watch (3, 0), TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("NSURLVolumeIsEncryptedKey")] NSString VolumeIsEncryptedKey { get; } - [Watch (3, 0), TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("NSURLVolumeIsRootFileSystemKey")] NSString VolumeIsRootFileSystemKey { get; } - [Watch (3, 0), TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("NSURLVolumeSupportsCompressionKey")] NSString VolumeSupportsCompressionKey { get; } - [Watch (3, 0), TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("NSURLVolumeSupportsFileCloningKey")] NSString VolumeSupportsFileCloningKey { get; } - [Watch (3, 0), TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("NSURLVolumeSupportsSwapRenamingKey")] NSString VolumeSupportsSwapRenamingKey { get; } - [Watch (3, 0), TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("NSURLVolumeSupportsExclusiveRenamingKey")] NSString VolumeSupportsExclusiveRenamingKey { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("NSURLVolumeSupportsImmutableFilesKey")] NSString VolumeSupportsImmutableFilesKey { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("NSURLVolumeSupportsAccessPermissionsKey")] NSString VolumeSupportsAccessPermissionsKey { get; } @@ -6931,12 +6630,12 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Field ("NSURLVolumeSupportsFileProtectionKey")] NSString VolumeSupportsFileProtectionKey { get; } - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLVolumeAvailableCapacityForImportantUsageKey")] NSString VolumeAvailableCapacityForImportantUsageKey { get; } - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLVolumeAvailableCapacityForOpportunisticUsageKey")] NSString VolumeAvailableCapacityForOpportunisticUsageKey { get; } @@ -6975,47 +6674,47 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Field ("NSURLUbiquitousItemPercentUploadedKey")] NSString UbiquitousItemPercentUploadedKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousItemIsSharedKey")] NSString UbiquitousItemIsSharedKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousSharedItemCurrentUserRoleKey")] NSString UbiquitousSharedItemCurrentUserRoleKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousSharedItemCurrentUserPermissionsKey")] NSString UbiquitousSharedItemCurrentUserPermissionsKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousSharedItemOwnerNameComponentsKey")] NSString UbiquitousSharedItemOwnerNameComponentsKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousSharedItemMostRecentEditorNameComponentsKey")] NSString UbiquitousSharedItemMostRecentEditorNameComponentsKey { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousSharedItemRoleOwner")] NSString UbiquitousSharedItemRoleOwner { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousSharedItemRoleParticipant")] NSString UbiquitousSharedItemRoleParticipant { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousSharedItemPermissionsReadOnly")] NSString UbiquitousSharedItemPermissionsReadOnly { get; } - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousSharedItemPermissionsReadWrite")] NSString UbiquitousSharedItemPermissionsReadWrite { get; } @@ -7032,47 +6731,38 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Field ("NSURLPathKey")] NSString PathKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousItemDownloadingStatusKey")] NSString UbiquitousItemDownloadingStatusKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousItemDownloadingErrorKey")] NSString UbiquitousItemDownloadingErrorKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousItemUploadingErrorKey")] NSString UbiquitousItemUploadingErrorKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousItemDownloadingStatusNotDownloaded")] NSString UbiquitousItemDownloadingStatusNotDownloaded { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousItemDownloadingStatusDownloaded")] NSString UbiquitousItemDownloadingStatusDownloaded { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousItemDownloadingStatusCurrent")] NSString UbiquitousItemDownloadingStatusCurrent { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("startAccessingSecurityScopedResource")] bool StartAccessingSecurityScopedResource (); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("stopAccessingSecurityScopedResource")] void StopAccessingSecurityScopedResource (); - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("URLByResolvingAliasFileAtURL:options:error:")] NSUrl ResolveAlias (NSUrl aliasFileUrl, NSUrlBookmarkResolutionOptions options, out NSError error); @@ -7080,27 +6770,22 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Static, Export ("fileURLWithPathComponents:")] NSUrl CreateFileUrl (string [] pathComponents); - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSURLAddedToDirectoryDateKey")] NSString AddedToDirectoryDateKey { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSURLDocumentIdentifierKey")] NSString DocumentIdentifierKey { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSURLGenerationIdentifierKey")] NSString GenerationIdentifierKey { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSURLThumbnailDictionaryKey")] NSString ThumbnailDictionaryKey { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousItemContainerDisplayNameKey")] NSString UbiquitousItemContainerDisplayNameKey { get; } @@ -7110,7 +6795,6 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Field ("NSURLUbiquitousItemIsExcludedFromSyncKey")] NSString UbiquitousItemIsExcludedFromSyncKey { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSURLUbiquitousItemDownloadRequestedKey")] NSString UbiquitousItemDownloadRequestedKey { get; } @@ -7119,71 +6803,59 @@ partial interface NSUrl : NSSecureCoding, NSCopying // iOS 9.0/osx 10.11 additions // [DesignatedInitializer] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("initFileURLWithPath:isDirectory:relativeToURL:")] NativeHandle Constructor (string path, bool isDir, [NullAllowed] NSUrl relativeToUrl); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("fileURLWithPath:isDirectory:relativeToURL:")] NSUrl CreateFileUrl (string path, bool isDir, [NullAllowed] NSUrl relativeToUrl); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("fileURLWithPath:relativeToURL:")] NSUrl CreateFileUrl (string path, [NullAllowed] NSUrl relativeToUrl); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("URLWithDataRepresentation:relativeToURL:")] NSUrl CreateWithDataRepresentation (NSData data, [NullAllowed] NSUrl relativeToUrl); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("absoluteURLWithDataRepresentation:relativeToURL:")] NSUrl CreateAbsoluteUrlWithDataRepresentation (NSData data, [NullAllowed] NSUrl relativeToUrl); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("dataRepresentation", ArgumentSemantic.Copy)] NSData DataRepresentation { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("hasDirectoryPath")] bool HasDirectoryPath { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("NSURLIsApplicationKey")] NSString IsApplicationKey { get; } - [iOS (9, 0), Mac (11, 0)] + [Mac (11, 0)] [MacCatalyst (13, 1)] [Field ("NSURLFileProtectionKey")] NSString FileProtectionKey { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("NSURLFileProtectionNone")] NSString FileProtectionNone { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("NSURLFileProtectionComplete")] NSString FileProtectionComplete { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("NSURLFileProtectionCompleteUnlessOpen")] NSString FileProtectionCompleteUnlessOpen { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("NSURLFileProtectionCompleteUntilFirstUserAuthentication")] NSString FileProtectionCompleteUntilFirstUserAuthentication { get; } @@ -7237,14 +6909,12 @@ partial interface NSUrl : NSSecureCoding, NSCopying NSString MayShareFileContentKey { get; } // From the NSItemProviderReading protocol - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("readableTypeIdentifiersForItemProvider", ArgumentSemantic.Copy)] new string [] ReadableTypeIdentifiers { get; } // From the NSItemProviderReading protocol - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("objectWithItemProviderData:typeIdentifier:error:")] @@ -7252,7 +6922,6 @@ partial interface NSUrl : NSSecureCoding, NSCopying new NSUrl GetObject (NSData data, string typeIdentifier, [NullAllowed] out NSError outError); // From the NSItemProviderWriting protocol - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("writableTypeIdentifiersForItemProvider", ArgumentSemantic.Copy)] @@ -7265,17 +6934,14 @@ partial interface NSUrl : NSSecureCoding, NSCopying // [Category, BaseType (typeof (NSUrl))] partial interface NSUrl_PromisedItems { - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("checkPromisedItemIsReachableAndReturnError:")] bool CheckPromisedItemIsReachable (out NSError error); - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("getPromisedItemResourceValue:forKey:error:")] bool GetPromisedItemResourceValue (out NSObject value, NSString key, out NSError error); - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("promisedItemResourceValuesForKeys:error:")] [return: NullAllowed] @@ -7283,7 +6949,6 @@ partial interface NSUrl_PromisedItems { } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NSURLQueryItem")] interface NSUrlQueryItem : NSSecureCoding, NSCopying { @@ -7332,7 +6997,7 @@ interface NSUrlCache { [Export ("initWithMemoryCapacity:diskCapacity:diskPath:")] NativeHandle Constructor (nuint memoryCapacity, nuint diskCapacity, [NullAllowed] string diskPath); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithMemoryCapacity:diskCapacity:directoryURL:")] NativeHandle Constructor (nuint memoryCapacity, nuint diskCapacity, [NullAllowed] NSUrl directoryUrl); @@ -7361,30 +7026,24 @@ interface NSUrlCache { [Export ("currentDiskUsage")] nuint CurrentDiskUsage { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("removeCachedResponsesSinceDate:")] void RemoveCachedResponsesSinceDate (NSDate date); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("storeCachedResponse:forDataTask:")] void StoreCachedResponse (NSCachedUrlResponse cachedResponse, NSUrlSessionDataTask dataTask); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("getCachedResponseForDataTask:completionHandler:")] [Async] void GetCachedResponse (NSUrlSessionDataTask dataTask, Action completionHandler); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("removeCachedResponseForDataTask:")] void RemoveCachedResponse (NSUrlSessionDataTask dataTask); } - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NSURLComponents")] partial interface NSUrlComponents : NSCopying { @@ -7468,58 +7127,47 @@ partial interface NSUrlComponents : NSCopying { [Export ("percentEncodedFragment", ArgumentSemantic.Copy)] string PercentEncodedFragment { get; set; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("queryItems")] NSUrlQueryItem [] QueryItems { get; set; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("string")] string AsString (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("rangeOfScheme")] NSRange RangeOfScheme { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("rangeOfUser")] NSRange RangeOfUser { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("rangeOfPassword")] NSRange RangeOfPassword { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("rangeOfHost")] NSRange RangeOfHost { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("rangeOfPort")] NSRange RangeOfPort { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("rangeOfPath")] NSRange RangeOfPath { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("rangeOfQuery")] NSRange RangeOfQuery { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("rangeOfFragment")] NSRange RangeOfFragment { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("percentEncodedQueryItems", ArgumentSemantic.Copy)] NSUrlQueryItem [] PercentEncodedQueryItems { get; set; } @@ -7828,12 +7476,10 @@ interface NSUrlCredentialStorage { [Export ("setDefaultCredential:forProtectionSpace:")] void SetDefaultCredential (NSUrlCredential credential, NSUrlProtectionSpace forProtectionSpace); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("removeCredential:forProtectionSpace:options:")] void RemoveCredential (NSUrlCredential credential, NSUrlProtectionSpace forProtectionSpace, NSDictionary options); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("NSURLCredentialStorageRemoveSynchronizableCredentials")] NSString RemoveSynchronizableCredentials { get; } @@ -7842,29 +7488,24 @@ interface NSUrlCredentialStorage { [Notification] NSString ChangedNotification { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Async] [Export ("getCredentialsForProtectionSpace:task:completionHandler:")] void GetCredentials (NSUrlProtectionSpace protectionSpace, NSUrlSessionTask task, [NullAllowed] Action completionHandler); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("setCredential:forProtectionSpace:task:")] void SetCredential (NSUrlCredential credential, NSUrlProtectionSpace protectionSpace, NSUrlSessionTask task); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("removeCredential:forProtectionSpace:options:task:")] void RemoveCredential (NSUrlCredential credential, NSUrlProtectionSpace protectionSpace, NSDictionary options, NSUrlSessionTask task); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Async] [Export ("getDefaultCredentialForProtectionSpace:task:completionHandler:")] void GetDefaultCredential (NSUrlProtectionSpace space, NSUrlSessionTask task, [NullAllowed] Action completionHandler); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("setDefaultCredential:forProtectionSpace:task:")] void SetDefaultCredential (NSUrlCredential credential, NSUrlProtectionSpace protectionSpace, NSUrlSessionTask task); @@ -7899,7 +7540,6 @@ interface INSUrlSessionDelegate { } // but Apple has flagged these as not allowing null. // // Leaving the null allowed for now. - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NSURLSession")] [DisableDefaultCtorAttribute] @@ -8043,13 +7683,11 @@ partial interface NSUrlSession { NSUrlSessionDownloadTask CreateDownloadTaskFromResumeData (NSData resumeData, [NullAllowed] NSUrlDownloadSessionResponse completionHandler); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("getAllTasksWithCompletionHandler:")] [Async (ResultTypeName = "NSUrlSessionCombinedTasks")] void GetAllTasks (NSUrlSessionAllPendingTasks completionHandler); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("streamTaskWithHostName:port:")] NSUrlSessionStreamTask CreateBidirectionalStream (string hostname, nint port); @@ -8058,29 +7696,27 @@ partial interface NSUrlSession { [Deprecated (PlatformName.iOS, 15, 0, message: "Use the Network.framework instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use the Network.framework instead.")] [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use the Network.framework instead.")] [Export ("streamTaskWithNetService:")] NSUrlSessionStreamTask CreateBidirectionalStream (NSNetService service); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("webSocketTaskWithURL:")] NSUrlSessionWebSocketTask CreateWebSocketTask (NSUrl url); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("webSocketTaskWithURL:protocols:")] NSUrlSessionWebSocketTask CreateWebSocketTask (NSUrl url, string [] protocols); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("webSocketTaskWithRequest:")] NSUrlSessionWebSocketTask CreateWebSocketTask (NSUrlRequest request); } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSUrlSessionTaskDelegate), Name = "NSURLSessionStreamDelegate")] @@ -8104,7 +7740,6 @@ interface NSUrlSessionStreamDelegate { } delegate void NSUrlSessionDataRead (NSData data, bool atEof, NSError error); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSUrlSessionTask), Name = "NSURLSessionStreamTask")] [DisableDefaultCtor] // now (xcode11) marked as deprecated @@ -8138,7 +7773,6 @@ interface NSUrlSessionStreamTask { void StopSecureConnection (); } - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NSURLSessionTask")] [DisableDefaultCtor] @@ -8197,7 +7831,6 @@ partial interface NSUrlSessionTask : NSCopying, NSProgressReporting { [Field ("NSURLSessionTransferSizeUnknown")] long TransferSizeUnknown { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("priority")] float Priority { get; set; } /* float, not CGFloat */ @@ -8207,17 +7840,14 @@ partial interface NSUrlSessionTask : NSCopying, NSProgressReporting { [Export ("prefersIncrementalDelivery")] bool PrefersIncrementalDelivery { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("earliestBeginDate", ArgumentSemantic.Copy)] NSDate EarliestBeginDate { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("countOfBytesClientExpectsToSend")] long CountOfBytesClientExpectsToSend { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("countOfBytesClientExpectsToReceive")] long CountOfBytesClientExpectsToReceive { get; set; } @@ -8233,8 +7863,6 @@ partial interface NSUrlSessionTask : NSCopying, NSProgressReporting { } [Static] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] interface NSUrlSessionTaskPriority { [Field ("NSURLSessionTaskPriorityDefault")] @@ -8250,7 +7878,6 @@ interface NSUrlSessionTaskPriority { // All of the NSUrlSession APIs are either 10.10, or 10.9 and 64-bit only // "NSURLSession is not available for i386 targets before Mac OS X 10.10." - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSUrlSessionTask), Name = "NSURLSessionDataTask")] [DisableDefaultCtor] @@ -8264,7 +7891,6 @@ partial interface NSUrlSessionDataTask { NativeHandle Constructor (); } - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSUrlSessionDataTask), Name = "NSURLSessionUploadTask")] [DisableDefaultCtor] @@ -8278,7 +7904,6 @@ partial interface NSUrlSessionUploadTask { NativeHandle Constructor (); } - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSUrlSessionTask), Name = "NSURLSessionDownloadTask")] [DisableDefaultCtor] @@ -8335,7 +7960,6 @@ interface ProxyConfigurationDictionary { int HttpsProxyPort { get; set; } } - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NSURLSessionConfiguration")] [DisableDefaultCtorAttribute] @@ -8400,7 +8024,7 @@ ProxyConfigurationDictionary StrongConnectionProxyDictionary { [Export ("TLSMinimumSupportedProtocol")] SslProtocol TLSMinimumSupportedProtocol { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("TLSMinimumSupportedProtocolVersion", ArgumentSemantic.Assign)] TlsProtocolVersion TlsMinimumSupportedProtocolVersion { get; set; } @@ -8413,7 +8037,7 @@ ProxyConfigurationDictionary StrongConnectionProxyDictionary { [Export ("TLSMaximumSupportedProtocol")] SslProtocol TLSMaximumSupportedProtocol { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("TLSMaximumSupportedProtocolVersion", ArgumentSemantic.Assign)] TlsProtocolVersion TlsMaximumSupportedProtocolVersion { get; set; } @@ -8451,38 +8075,34 @@ ProxyConfigurationDictionary StrongConnectionProxyDictionary { NSArray WeakProtocolClasses { get; set; } [NullAllowed] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("sharedContainerIdentifier")] string SharedContainerIdentifier { get; set; } [Internal] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("backgroundSessionConfigurationWithIdentifier:")] NSUrlSessionConfiguration _CreateBackgroundSessionConfiguration (string identifier); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("shouldUseExtendedBackgroundIdleMode")] bool ShouldUseExtendedBackgroundIdleMode { get; set; } - [NoWatch, NoTV, NoMac, iOS (11, 0)] + [NoWatch, NoTV, NoMac] [MacCatalyst (13, 1)] [Export ("multipathServiceType", ArgumentSemantic.Assign)] NSUrlSessionMultipathServiceType MultipathServiceType { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("waitsForConnectivity")] bool WaitsForConnectivity { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("allowsExpensiveNetworkAccess")] bool AllowsExpensiveNetworkAccess { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("allowsConstrainedNetworkAccess")] bool AllowsConstrainedNetworkAccess { get; set; } @@ -8493,7 +8113,6 @@ ProxyConfigurationDictionary StrongConnectionProxyDictionary { bool RequiresDnsSecValidation { get; set; } } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Model, BaseType (typeof (NSObject), Name = "NSURLSessionDelegate")] [Protocol] @@ -8512,7 +8131,6 @@ partial interface NSUrlSessionDelegate { public interface INSUrlSessionTaskDelegate { } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Model] [BaseType (typeof (NSUrlSessionDelegate), Name = "NSURLSessionTaskDelegate")] @@ -8534,20 +8152,14 @@ partial interface NSUrlSessionTaskDelegate { [Export ("URLSession:task:didCompleteWithError:")] void DidCompleteWithError (NSUrlSession session, NSUrlSessionTask task, [NullAllowed] NSError error); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("URLSession:task:didFinishCollectingMetrics:")] void DidFinishCollectingMetrics (NSUrlSession session, NSUrlSessionTask task, NSUrlSessionTaskMetrics metrics); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("URLSession:task:willBeginDelayedRequest:completionHandler:")] void WillBeginDelayedRequest (NSUrlSession session, NSUrlSessionTask task, NSUrlRequest request, Action completionHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("URLSession:taskIsWaitingForConnectivity:")] void TaskIsWaitingForConnectivity (NSUrlSession session, NSUrlSessionTask task); @@ -8558,7 +8170,6 @@ partial interface NSUrlSessionTaskDelegate { void DidCreateTask (NSUrlSession session, NSUrlSessionTask task); } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Model] [BaseType (typeof (NSUrlSessionTaskDelegate), Name = "NSURLSessionDataDelegate")] @@ -8576,13 +8187,11 @@ partial interface NSUrlSessionDataDelegate { [Export ("URLSession:dataTask:willCacheResponse:completionHandler:")] void WillCacheResponse (NSUrlSession session, NSUrlSessionDataTask dataTask, NSCachedUrlResponse proposedResponse, Action completionHandler); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("URLSession:dataTask:didBecomeStreamTask:")] void DidBecomeStreamTask (NSUrlSession session, NSUrlSessionDataTask dataTask, NSUrlSessionStreamTask streamTask); } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Model] [BaseType (typeof (NSUrlSessionTaskDelegate), Name = "NSURLSessionDownloadDelegate")] @@ -8748,7 +8357,6 @@ interface NSUndoManager { [Notification (typeof (NSUndoManagerCloseUndoGroupEventArgs))] NSString DidCloseUndoGroupNotification { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("registerUndoWithTarget:handler:")] void RegisterUndo (NSObject target, Action undoHandler); @@ -8879,12 +8487,12 @@ interface NSUrlRequest : NSSecureCoding, NSMutableCopying { [Export ("allowsCellularAccess")] bool AllowsCellularAccess { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("allowsExpensiveNetworkAccess")] bool AllowsExpensiveNetworkAccess { get; [NotImplemented] set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("allowsConstrainedNetworkAccess")] bool AllowsConstrainedNetworkAccess { get; [NotImplemented] set; } @@ -9103,12 +8711,12 @@ interface NSMutableUrlRequest { [Export ("allowsCellularAccess")] bool AllowsCellularAccess { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("allowsExpensiveNetworkAccess")] bool AllowsExpensiveNetworkAccess { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("allowsConstrainedNetworkAccess")] bool AllowsConstrainedNetworkAccess { get; set; } @@ -9276,21 +8884,15 @@ interface NSStream { NSString NetworkServiceTypeVoice { get; } [Advanced] - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("NSStreamNetworkServiceTypeCallSignaling")] NSString NetworkServiceTypeCallSignaling { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("getBoundStreamsWithBufferSize:inputStream:outputStream:")] void GetBoundStreams (nuint bufferSize, out NSInputStream inputStream, out NSOutputStream outputStream); [NoWatch] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("getStreamsToHostWithName:port:inputStream:outputStream:")] void GetStreamsToHost (string hostname, nint port, out NSInputStream inputStream, out NSOutputStream outputStream); @@ -9434,58 +9036,47 @@ interface NSString2 : NSSecureCoding, NSMutableCopying, CKRecordValue [Export ("uppercaseStringWithLocale:")] string ToUpper (NSLocale locale); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("containsString:")] bool Contains (NSString str); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("localizedCaseInsensitiveContainsString:")] bool LocalizedCaseInsensitiveContains (NSString str); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Static, Export ("stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:")] nuint DetectStringEncoding (NSData rawData, NSDictionary options, out string convertedString, out bool usedLossyConversion); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Wrap ("DetectStringEncoding(rawData,options.GetDictionary ()!, out convertedString, out usedLossyConversion)")] nuint DetectStringEncoding (NSData rawData, EncodingDetectionOptions options, out string convertedString, out bool usedLossyConversion); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Internal, Field ("NSStringEncodingDetectionSuggestedEncodingsKey")] NSString EncodingDetectionSuggestedEncodingsKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Internal, Field ("NSStringEncodingDetectionDisallowedEncodingsKey")] NSString EncodingDetectionDisallowedEncodingsKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Internal, Field ("NSStringEncodingDetectionUseOnlySuggestedEncodingsKey")] NSString EncodingDetectionUseOnlySuggestedEncodingsKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Internal, Field ("NSStringEncodingDetectionAllowLossyKey")] NSString EncodingDetectionAllowLossyKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Internal, Field ("NSStringEncodingDetectionFromWindowsKey")] NSString EncodingDetectionFromWindowsKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Internal, Field ("NSStringEncodingDetectionLossySubstitutionKey")] NSString EncodingDetectionLossySubstitutionKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Internal, Field ("NSStringEncodingDetectionLikelyLanguageKey")] NSString EncodingDetectionLikelyLanguageKey { get; } @@ -9496,37 +9087,30 @@ interface NSString2 : NSSecureCoding, NSMutableCopying, CKRecordValue [Export ("getLineStart:end:contentsEnd:forRange:")] void GetLineStart (out nuint startPtr, out nuint lineEndPtr, out nuint contentsEndPtr, NSRange range); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("variantFittingPresentationWidth:")] NSString GetVariantFittingPresentationWidth (nint width); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("localizedStandardContainsString:")] bool LocalizedStandardContainsString (NSString str); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("localizedStandardRangeOfString:")] NSRange LocalizedStandardRangeOfString (NSString str); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("localizedUppercaseString")] NSString LocalizedUppercaseString { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("localizedLowercaseString")] NSString LocalizedLowercaseString { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("localizedCapitalizedString")] NSString LocalizedCapitalizedString { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("stringByApplyingTransform:reverse:")] [return: NullAllowed] @@ -9539,7 +9123,7 @@ interface NSString2 : NSSecureCoding, NSMutableCopying, CKRecordValue bool HasSuffix (NSString suffix); // UNUserNotificationCenterSupport category - [iOS (10, 0), Watch (3, 0), NoTV, Mac (10, 14)] + [NoTV] [MacCatalyst (13, 1)] [Static] [Export ("localizedUserNotificationStringForKey:arguments:")] @@ -9559,13 +9143,11 @@ interface NSString2 : NSSecureCoding, NSMutableCopying, CKRecordValue // From the NSItemProviderReading protocol - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("readableTypeIdentifiersForItemProvider", ArgumentSemantic.Copy)] new string [] ReadableTypeIdentifiers { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("objectWithItemProviderData:typeIdentifier:error:")] @@ -9573,7 +9155,6 @@ interface NSString2 : NSSecureCoding, NSMutableCopying, CKRecordValue new NSString GetObject (NSData data, string typeIdentifier, [NullAllowed] out NSError outError); // From the NSItemProviderWriting protocol - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("writableTypeIdentifiersForItemProvider", ArgumentSemantic.Copy)] @@ -9615,14 +9196,11 @@ interface NSMutableString : NSCoding { [Export ("replaceOccurrencesOfString:withString:options:range:")] nuint ReplaceOcurrences (NSString target, NSString replacement, NSStringCompareOptions options, NSRange range); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Export ("applyTransform:reverse:range:updatedRange:")] bool ApplyTransform (NSString transform, bool reverse, NSRange range, out NSRange resultingRange); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Wrap ("ApplyTransform (transform.GetConstant ()!, reverse, range, out resultingRange)")] bool ApplyTransform (NSStringTransform transform, bool reverse, NSRange range, out NSRange resultingRange); @@ -10065,7 +9643,6 @@ interface NSObject2 : NSObjectProtocol { [Static, Export ("cancelPreviousPerformRequestsWithTarget:selector:object:")] void CancelPreviousPerformRequest (NSObject aTarget, Selector selector, [NullAllowed] NSObject argument); - [iOS (8, 0), Mac (10, 10)] [NoWatch] [MacCatalyst (13, 1)] [Export ("prepareForInterfaceBuilder")] @@ -10104,7 +9681,6 @@ interface NSObject2 : NSObjectProtocol { [BaseType (typeof (NSObject))] [DisableDefaultCtor] - [Mac (10, 14)] [NoWatch] [NoTV] [NoiOS] @@ -10122,13 +9698,11 @@ interface NSBindingSelectionMarker : NSCopying { [Export ("notApplicableSelectionMarker", ArgumentSemantic.Strong)] NSBindingSelectionMarker NotApplicableSelectionMarker { get; } - [Mac (10, 15)] [NoMacCatalyst] [Static] [Export ("setDefaultPlaceholder:forMarker:onClass:withBinding:")] void SetDefaultPlaceholder ([NullAllowed] NSObject placeholder, [NullAllowed] NSBindingSelectionMarker marker, Class objectClass, string binding); - [Mac (10, 15)] [NoMacCatalyst] [Static] [Export ("defaultPlaceholderForMarker:onClass:withBinding:")] @@ -10295,14 +9869,10 @@ interface NSOperation { [Export ("asynchronous")] bool Asynchronous { [Bind ("isAsynchronous")] get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("qualityOfService")] NSQualityOfService QualityOfService { get; set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("name")] @@ -10352,7 +9922,7 @@ interface NSOperationQueue : NSProgressReporting { [Export ("operationCount")] nint OperationCount { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("addBarrierBlock:")] void AddBarrier (Action barrier); @@ -10382,15 +9952,11 @@ interface NSOperationQueue : NSProgressReporting { [Export ("suspended")] bool Suspended { [Bind ("isSuspended")] get; set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("qualityOfService")] NSQualityOfService QualityOfService { get; set; } [NullAllowed] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("underlyingQueue", ArgumentSemantic.UnsafeUnretained)] DispatchQueue UnderlyingQueue { get; set; } @@ -10492,39 +10058,39 @@ interface NSOrderedSet : NSSecureCoding, NSMutableCopying { NSOrderedSet GetReverseOrderedSet (); #if false // https://github.com/xamarin/xamarin-macios/issues/15577 - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Wrap ("Runtime.GetNSObject (_GetDifference (other, options))")] [return: NullAllowed] NSOrderedCollectionDifference GetDifference (NSOrderedSet other, NSOrderedCollectionDifferenceCalculationOptions options); [Internal] - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("differenceFromOrderedSet:withOptions:")] IntPtr _GetDifference (NSOrderedSet other, NSOrderedCollectionDifferenceCalculationOptions options); - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Wrap ("Runtime.GetNSObject (_GetDifference (other))")] [return: NullAllowed] NSOrderedCollectionDifference GetDifference (NSOrderedSet other); [Internal] - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("differenceFromOrderedSet:")] IntPtr _GetDifference (NSOrderedSet other); - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Wrap ("Runtime.GetNSObject (_GetOrderedSet (difference))")] [return: NullAllowed] NSOrderedSet GetOrderedSet (NSOrderedCollectionDifference difference); [Internal] - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("orderedSetByApplyingDifference:")] [return: NullAllowed] IntPtr _GetOrderedSet (NSOrderedCollectionDifference difference); [Internal] - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("differenceFromOrderedSet:withOptions:usingEquivalenceTest:")] /* NSOrderedCollectionDifference*/ IntPtr _GetDifference (NSOrderedSet other, NSOrderedCollectionDifferenceCalculationOptions options, /* Func */ ref BlockLiteral block); #endif @@ -10670,12 +10236,12 @@ interface NSMutableOrderedSet { #if false // https://github.com/xamarin/xamarin-macios/issues/15577 [Internal] - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("applyDifference:")] void _ApplyDifference (IntPtr difference); [Sealed] - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("applyDifference:")] void ApplyDifference (NSOrderedCollectionDifference difference); #endif @@ -10846,22 +10412,22 @@ interface NSHttpCookie { [Field ("NSHTTPCookiePort")] NSString KeyPort { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("NSHTTPCookieSameSitePolicy")] NSString KeySameSitePolicy { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("NSHTTPCookieSameSiteLax")] NSString KeySameSiteLax { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("NSHTTPCookieSameSiteStrict")] NSString KeySameSiteStrict { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("sameSitePolicy")] NSString SameSitePolicy { get; } @@ -10896,27 +10462,20 @@ interface NSHttpCookieStorage { NSHttpCookie [] GetSortedCookies (NSSortDescriptor [] sortDescriptors); // @required - (void)removeCookiesSinceDate:(NSDate *)date; - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("removeCookiesSinceDate:")] void RemoveCookiesSinceDate (NSDate date); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("sharedCookieStorageForGroupContainerIdentifier:")] NSHttpCookieStorage GetSharedCookieStorage (string groupContainerIdentifier); - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Async] [Export ("getCookiesForTask:completionHandler:")] void GetCookiesForTask (NSUrlSessionTask task, Action completionHandler); - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("storeCookies:forTask:")] void StoreCookies (NSHttpCookie [] cookies, NSUrlSessionTask task); @@ -10948,7 +10507,7 @@ interface NSHttpUrlResponse { [Static] string LocalizedStringForStatusCode (nint statusCode); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("valueForHTTPHeaderField:")] [return: NullAllowed] @@ -11194,13 +10753,11 @@ partial interface NSBundle { NSUrl [] GetUrlsForResourcesWithExtension (string fileExtension, [NullAllowed] string subdirectory, [NullAllowed] string localizationName); [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("preservationPriorityForTag:")] double GetPreservationPriority (NSString tag); [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("setPreservationPriority:forTags:")] void SetPreservationPriority (double priority, NSSet tags); @@ -11211,7 +10768,6 @@ partial interface NSBundle { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -11278,7 +10834,6 @@ interface NSIndexPath : NSCoding, NSSecureCoding, NSCopying { [Internal] void _GetIndexes (IntPtr target); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("getIndexes:range:")] [Internal] @@ -11314,20 +10869,17 @@ interface NSIndexPath : NSCoding, NSSecureCoding, NSCopying { [NoMacCatalyst] [NoWatch] [NoTV] - [Mac (10, 11)] [Export ("section")] nint Section { get; } [NoWatch] [Static] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("indexPathForItem:inSection:")] NSIndexPath FromItemSection (nint item, nint section); [NoWatch] [Export ("item")] - [Mac (10, 11)] [MacCatalyst (13, 1)] nint Item { get; } } @@ -11432,8 +10984,6 @@ interface NSInvocation { } - [iOS (8, 0)] - [Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] @@ -11480,8 +11030,7 @@ partial interface NSItemProvider : NSCopying { CGRect ContainerFrame { get; } [NoWatch, NoTV] - [iOS (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("preferredPresentationSize")] CGSize PreferredPresentationSize { get; @@ -11491,87 +11040,70 @@ CGSize PreferredPresentationSize { } [NoiOS, NoTV, NoWatch, NoMacCatalyst] - [Mac (10, 12)] // [Async] handled by NSItemProvider.cs for backwards compat reasons [Export ("registerCloudKitShareWithPreparationHandler:")] void RegisterCloudKitShare (CloudKitRegistrationPreparationAction preparationHandler); [NoiOS, NoTV, NoWatch, NoMacCatalyst] - [Mac (10, 12)] [Export ("registerCloudKitShare:container:")] void RegisterCloudKitShare (CKShare share, CKContainer container); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("registerDataRepresentationForTypeIdentifier:visibility:loadHandler:")] void RegisterDataRepresentation (string typeIdentifier, NSItemProviderRepresentationVisibility visibility, RegisterDataRepresentationLoadHandler loadHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:")] void RegisterFileRepresentation (string typeIdentifier, NSItemProviderFileOptions fileOptions, NSItemProviderRepresentationVisibility visibility, RegisterFileRepresentationLoadHandler loadHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("registeredTypeIdentifiersWithFileOptions:")] string [] GetRegisteredTypeIdentifiers (NSItemProviderFileOptions fileOptions); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("hasRepresentationConformingToTypeIdentifier:fileOptions:")] bool HasConformingRepresentation (string typeIdentifier, NSItemProviderFileOptions fileOptions); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Async, Export ("loadDataRepresentationForTypeIdentifier:completionHandler:")] NSProgress LoadDataRepresentation (string typeIdentifier, Action completionHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Async, Export ("loadFileRepresentationForTypeIdentifier:completionHandler:")] NSProgress LoadFileRepresentation (string typeIdentifier, Action completionHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Async (ResultTypeName = "LoadInPlaceResult"), Export ("loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:")] NSProgress LoadInPlaceFileRepresentation (string typeIdentifier, LoadInPlaceFileRepresentationHandler completionHandler); - [NoWatch, NoTV, iOS (11, 0)] - [Mac (10, 14)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("suggestedName")] string SuggestedName { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithObject:")] NativeHandle Constructor (INSItemProviderWriting @object); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("registerObject:visibility:")] void RegisterObject (INSItemProviderWriting @object, NSItemProviderRepresentationVisibility visibility); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("registerObjectOfClass:visibility:loadHandler:")] void RegisterObject (Class aClass, NSItemProviderRepresentationVisibility visibility, RegisterObjectRepresentationLoadHandler loadHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Wrap ("RegisterObject (new Class (type), visibility, loadHandler)")] void RegisterObject (Type type, NSItemProviderRepresentationVisibility visibility, RegisterObjectRepresentationLoadHandler loadHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("canLoadObjectOfClass:")] bool CanLoadObject (Class aClass); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Wrap ("CanLoadObject (new Class (type))")] bool CanLoadObject (Type type); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Async, Export ("loadObjectOfClass:completionHandler:")] NSProgress LoadObject (Class aClass, Action completionHandler); @@ -11580,15 +11112,13 @@ CGSize PreferredPresentationSize { [NoWatch, NoTV] [NoMac] - [iOS (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NullAllowed, Export ("teamData", ArgumentSemantic.Copy)] NSData TeamData { get; set; } [NoWatch, NoTV] [NoMac] - [iOS (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("preferredPresentationStyle", ArgumentSemantic.Assign)] UIPreferredPresentationStyle PreferredPresentationStyle { get; set; } @@ -11651,7 +11181,6 @@ CGSize PreferredPresentationSize { interface INSItemProviderReading { } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface NSItemProviderReading { @@ -11674,7 +11203,6 @@ interface NSItemProviderReading { interface INSItemProviderWriting { } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface NSItemProviderWriting { @@ -11715,7 +11243,6 @@ interface NSItemProviderWriting { } [Static] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] partial interface NSJavaScriptExtension { [Field ("NSExtensionJavaScriptPreprocessingResultsKey")] @@ -11725,7 +11252,6 @@ partial interface NSJavaScriptExtension { NSString FinalizeArgumentKey { get; } } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] interface NSTypeIdentifier { [Field ("NSTypeIdentifierDateText")] @@ -11934,7 +11460,6 @@ interface NSNetService { [Export ("stopMonitoring")] void StopMonitoring (); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("includesPeerToPeer")] bool IncludesPeerToPeer { get; set; } @@ -12024,7 +11549,6 @@ interface NSNetServiceBrowser { [Export ("stop")] void Stop (); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("includesPeerToPeer")] bool IncludesPeerToPeer { get; set; } @@ -12117,7 +11641,6 @@ interface NSNotificationCenter { [NoiOS] [NoTV] [NoWatch] - [Mac (10, 10)] [MacCatalyst (15, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -12232,7 +11755,6 @@ partial interface NSValue : NSSecureCoding, NSCopying { [Export ("getValue:")] void StoreValueAtAddress (IntPtr value); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("getValue:size:")] void StoreValueAtAddress (IntPtr value, nuint size); @@ -12362,7 +11884,6 @@ partial interface NSValue : NSSecureCoding, NSCopying { UIEdgeInsets UIEdgeInsetsValue { get; } [NoMac] - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("directionalEdgeInsetsValue")] NSDirectionalEdgeInsets DirectionalEdgeInsetsValue { get; } @@ -12379,7 +11900,6 @@ partial interface NSValue : NSSecureCoding, NSCopying { [Static] NSValue FromUIEdgeInsets (UIEdgeInsets insets); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [NoMac] [MacCatalyst (13, 1)] [Static] @@ -12399,39 +11919,29 @@ partial interface NSValue : NSSecureCoding, NSCopying { // from UIGeometry.h - those are in iOS8 only (even if the header is silent about them) // and not in OSX 10.10 - [iOS (8, 0)] [Export ("CGVectorValue")] [NoMac] [MacCatalyst (13, 1)] CGVector CGVectorValue { get; } - [iOS (8, 0)] [Static, Export ("valueWithCGVector:")] [NoMac] [MacCatalyst (13, 1)] NSValue FromCGVector (CGVector vector); // Maybe we should include this inside mapkit.cs instead (it's a partial interface, so that's trivial)? - [TV (9, 2)] - [Mac (10, 9)] // The header doesn't say, but the rest of the API from the same file (MKGeometry.h) was introduced in 10.9 [MacCatalyst (13, 1)] [Static, Export ("valueWithMKCoordinate:")] NSValue FromMKCoordinate (CoreLocation.CLLocationCoordinate2D coordinate); - [TV (9, 2)] - [Mac (10, 9)] // The header doesn't say, but the rest of the API from the same file (MKGeometry.h) was introduced in 10.9 [MacCatalyst (13, 1)] [Static, Export ("valueWithMKCoordinateSpan:")] NSValue FromMKCoordinateSpan (MapKit.MKCoordinateSpan coordinateSpan); - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("MKCoordinateValue")] CoreLocation.CLLocationCoordinate2D CoordinateValue { get; } - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("MKCoordinateSpanValue")] MapKit.MKCoordinateSpan CoordinateSpanValue { get; } @@ -12464,38 +11974,26 @@ partial interface NSValue : NSSecureCoding, NSCopying { #region SceneKit Additions - [iOS (8, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("valueWithSCNVector3:")] NSValue FromVector (SCNVector3 vector); - [iOS (8, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("SCNVector3Value")] SCNVector3 Vector3Value { get; } - [iOS (8, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("valueWithSCNVector4:")] NSValue FromVector (SCNVector4 vector); - [iOS (8, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("SCNVector4Value")] SCNVector4 Vector4Value { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("valueWithSCNMatrix4:")] NSValue FromSCNMatrix4 (SCNMatrix4 matrix); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("SCNMatrix4Value")] SCNMatrix4 SCNMatrix4Value { get; } @@ -12536,22 +12034,16 @@ interface NSValueTransformer { NSObject ReverseTransformedValue ([NullAllowed] NSObject value); #if IOS && !NET - [iOS (9, 3)] - [Watch (2,2)] // Headers say watchOS 2.0, but they're lying. [Notification] [Obsolete ("Use 'NSUserDefaults.SizeLimitExceededNotification' instead.")] [Field ("NSUserDefaultsSizeLimitExceededNotification")] NSString SizeLimitExceededNotification { get; } - [iOS (9, 3)] - [Watch (2,2)] // Headers say watchOS 2.0, but they're lying. [Notification] [Obsolete ("Use 'NSUserDefaults.DidChangeAccountsNotification' instead.")] [Field ("NSUbiquitousUserDefaultsDidChangeAccountsNotification")] NSString DidChangeAccountsNotification { get; } - [iOS (9, 3)] - [Watch (2,2)] // Headers say watchOS 2.0, but they're lying. [Notification] [Obsolete ("Use 'NSUserDefaults.CompletedInitialSyncNotification' instead.")] [Field ("NSUbiquitousUserDefaultsCompletedInitialSyncNotification")] @@ -12588,13 +12080,13 @@ interface NSValueTransformer { [Field ("NSKeyedUnarchiveFromDataTransformerName")] NSString KeyedUnarchiveFromDataTransformerName { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("NSSecureUnarchiveFromDataTransformerName")] NSString SecureUnarchiveFromDataTransformerName { get; } } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSValueTransformer))] interface NSSecureUnarchiveFromDataTransformer { @@ -13157,7 +12649,6 @@ interface NSThread { [Export ("main")] void Main (); - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("qualityOfService")] NSQualityOfService QualityOfService { get; set; } @@ -13367,29 +12858,22 @@ interface NSProcessInfo { [Export ("systemUptime")] double SystemUptime { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("beginActivityWithOptions:reason:")] NSObject BeginActivity (NSActivityOptions options, string reason); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("endActivity:")] void EndActivity (NSObject activity); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("performActivityWithOptions:reason:usingBlock:")] void PerformActivity (NSActivityOptions options, string reason, Action runCode); - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("isOperatingSystemAtLeastVersion:")] bool IsOperatingSystemAtLeastVersion (NSOperatingSystemVersion version); - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("operatingSystemVersion")] NSOperatingSystemVersion OperatingSystemVersion { get; } @@ -13430,43 +12914,32 @@ interface NSProcessInfo { bool AutomaticTerminationSupportEnabled { get; set; } [NoMac] - [iOS (8, 2)] [MacCatalyst (13, 1)] [Export ("performExpiringActivityWithReason:usingBlock:")] void PerformExpiringActivity (string reason, Action block); - [iOS (9, 0)] [TV (15, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("lowPowerModeEnabled")] bool LowPowerModeEnabled { [Bind ("isLowPowerModeEnabled")] get; } - [iOS (9, 0), Mac (12, 0)] + [Mac (12, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("NSProcessInfoPowerStateDidChangeNotification")] NSString PowerStateDidChangeNotification { get; } - [Mac (10, 10, 3)] - [Watch (4, 0)] - [TV (11, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("thermalState")] NSProcessInfoThermalState ThermalState { get; } - [Mac (10, 10, 3)] [Field ("NSProcessInfoThermalStateDidChangeNotification")] - [Watch (4, 0)] - [TV (11, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Notification] NSString ThermalStateDidChangeNotification { get; } #region NSProcessInfoPlatform (NSProcessInfo) - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("macCatalystApp")] bool IsMacCatalystApplication { [Bind ("isMacCatalystApp")] get; } @@ -13481,7 +12954,6 @@ interface NSProcessInfo { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 12)] [NoMacCatalyst] [Category] [BaseType (typeof (NSProcessInfo))] @@ -13493,7 +12965,6 @@ interface NSProcessInfo_NSUserInformation { string GetFullUserName (); } - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface NSProgress { @@ -13504,12 +12975,10 @@ partial interface NSProgress { [Static, Export ("progressWithTotalUnitCount:")] NSProgress FromTotalUnitCount (long unitCount); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static, Export ("discreteProgressWithTotalUnitCount:")] NSProgress GetDiscreteProgress (long unitCount); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static, Export ("progressWithTotalUnitCount:parent:pendingUnitCount:")] NSProgress FromTotalUnitCount (long unitCount, NSProgress parent, long portionOfParentTotalUnitCount); @@ -13524,7 +12993,6 @@ partial interface NSProgress { [Export ("resignCurrent")] void ResignCurrent (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("addChild:withPendingUnitCount:")] void AddChild (NSProgress child, long pendingUnitCount); @@ -13559,7 +13027,6 @@ partial interface NSProgress { [Export ("setPausingHandler:")] void SetPauseHandler (Action handler); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("setResumingHandler:")] void SetResumingHandler (Action handler); @@ -13579,7 +13046,6 @@ partial interface NSProgress { [Export ("pause")] void Pause (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("resume")] void Resume (); @@ -13703,7 +13169,6 @@ partial interface NSProgress { [Field ("NSProgressFileIconKey")] NSString FileIconKey { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Async, Export ("performAsCurrentWithPendingUnitCount:usingBlock:")] void PerformAsCurrent (long unitCount, Action work); @@ -13712,38 +13177,32 @@ partial interface NSProgress { bool Finished { [Bind ("isFinished")] get; } [Internal] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("estimatedTimeRemaining", ArgumentSemantic.Copy)] //[BindAs (typeof (nint?))] NSNumber _EstimatedTimeRemaining { get; set; } [Internal] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("throughput", ArgumentSemantic.Copy)] //[BindAs (typeof (nint?))] NSNumber _Throughput { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fileOperationKind")] string FileOperationKind { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fileURL", ArgumentSemantic.Copy)] NSUrl FileUrl { get; set; } [Internal] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fileTotalCount", ArgumentSemantic.Copy)] //[BindAs (typeof (nint?))] NSNumber _FileTotalCount { get; set; } [Internal] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fileCompletedCount", ArgumentSemantic.Copy)] //[BindAs (typeof (nint?))] @@ -13752,8 +13211,6 @@ partial interface NSProgress { interface INSProgressReporting { } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface NSProgressReporting { @@ -13838,8 +13295,6 @@ interface NSFileCoordinator { [Export ("prepareForReadingItemsAtURLs:options:writingItemsAtURLs:options:error:byAccessor:")] void CoordinateBatch (NSUrl [] readingURLs, NSFileCoordinatorReadingOptions readingOptions, NSUrl [] writingURLs, NSFileCoordinatorWritingOptions writingOptions, out NSError error, /* non null */ Action batchHandler); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("coordinateAccessWithIntents:queue:byAccessor:")] void CoordinateAccess (NSFileAccessIntent [] intents, NSOperationQueue executionQueue, Action accessor); @@ -13856,14 +13311,12 @@ interface NSFileCoordinator { [Export ("purposeIdentifier")] string PurposeIdentifier { get; set; } - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("itemAtURL:didChangeUbiquityAttributes:")] void ItemUbiquityAttributesChanged (NSUrl url, NSSet attributes); } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -14177,12 +13630,10 @@ partial interface NSFileManager { [Export ("containerURLForSecurityApplicationGroupIdentifier:")] NSUrl GetContainerUrl (string securityApplicationGroupIdentifier); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("getRelationship:ofDirectory:inDomain:toItemAtURL:error:")] bool GetRelationship (out NSUrlRelationship outRelationship, NSSearchPathDirectory directory, NSSearchPathDomain domain, NSUrl toItemAtUrl, out NSError error); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("getRelationship:ofDirectoryAtURL:toItemAtURL:error:")] bool GetRelationship (out NSUrlRelationship outRelationship, NSUrl directoryURL, NSUrl otherURL, out NSError error); @@ -14190,13 +13641,12 @@ partial interface NSFileManager { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 11)] [NoMacCatalyst] [Async] [Export ("unmountVolumeAtURL:options:completionHandler:")] void UnmountVolume (NSUrl url, NSFileManagerUnmountOptions mask, Action completionHandler); - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Async, Export ("getFileProviderServicesForItemAtURL:completionHandler:")] void GetFileProviderServices (NSUrl url, Action, NSError> completionHandler); @@ -14278,15 +13728,10 @@ interface NSFileManager_NSUserInformation { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 12)] [NoMacCatalyst] [Export ("homeDirectoryForCurrentUser")] NSUrl GetHomeDirectoryForCurrentUser (); - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("temporaryDirectory")] NSUrl GetTemporaryDirectory (); @@ -14294,7 +13739,6 @@ interface NSFileManager_NSUserInformation { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 12)] [NoMacCatalyst] [Export ("homeDirectoryForUser:")] [return: NullAllowed] @@ -14372,12 +13816,12 @@ partial interface NSFilePresenter { [Export ("presentedSubitemAtURL:didResolveConflictVersion:")] void PresentedSubitemResolvedConflictVersion (NSUrl url, NSFileVersion version); - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("presentedItemDidChangeUbiquityAttributes:")] void PresentedItemChangedUbiquityAttributes (NSSet attributes); - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("observedPresentedItemUbiquityAttributes", ArgumentSemantic.Strong)] NSSet PresentedItemObservedUbiquityAttributes { get; } @@ -14417,14 +13861,10 @@ interface NSFileVersion { [Export ("discardable")] bool Discardable { [Bind ("isDiscardable")] get; set; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("hasLocalContents")] bool HasLocalContents { get; } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("hasThumbnail")] bool HasThumbnail { get; } @@ -14433,8 +13873,6 @@ interface NSFileVersion { [Export ("currentVersionOfItemAtURL:")] NSFileVersion GetCurrentVersion (NSUrl url); - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] [Async] @@ -14480,7 +13918,7 @@ interface NSFileVersion { [Export ("removeOtherVersionsOfItemAtURL:error:")] bool RemoveOtherVersions (NSUrl url, out NSError outError); - [NoWatch, NoTV, Mac (10, 12), iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("originatorNameComponents", ArgumentSemantic.Copy)] NSPersonNameComponents OriginatorNameComponents { get; } @@ -14587,7 +14025,7 @@ interface NSDirectoryEnumerator { [Export ("level")] nint Level { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("isEnumeratingDirectoryPostOrder")] bool IsEnumeratingDirectoryPostOrder { get; } @@ -14624,7 +14062,6 @@ interface NSPredicate : NSSecureCoding, NSCopying { [return: NullAllowed] [Static] - [Mac (10, 9)] [NoiOS] [NoMacCatalyst] [NoWatch] @@ -14632,7 +14069,6 @@ interface NSPredicate : NSSecureCoding, NSCopying { [Export ("predicateFromMetadataQueryString:")] NSPredicate FromMetadataQueryString (string query); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("allowEvaluation")] void AllowEvaluation (); @@ -14861,15 +14297,15 @@ interface NSUrlProtocol { // being abstract (which is true) // -canInitWithRequest: cannot be sent to an abstract object of class NSURLProtocol: Create a concrete instance! - // [iOS (8,0)] + // // [Export ("initWithTask:cachedResponse:client:")] // NativeHandle Constructor (NSUrlSessionTask task, [NullAllowed] NSCachedUrlResponse cachedResponse, INSUrlProtocolClient client); // - // [iOS (8,0)] + // // [Export ("task", ArgumentSemantic.Copy)] // NSUrlSessionTask Task { get; } // - // [iOS (8,0)] + // // [Static, Export ("canInitWithTask:")] // bool CanInitWithTask (NSUrlSessionTask task); } @@ -14899,8 +14335,6 @@ NSObject PropertyListWithStream (NSInputStream stream, NSPropertyListReadOptions interface INSExtensionRequestHandling { } - [iOS (8, 0)] - [Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -14962,7 +14396,6 @@ interface NSTextCheckingResult : NSSecureCoding, NSCopying { string ReplacementString { get; } [Export ("alternativeStrings")] - [Mac (10, 9)] [MacCatalyst (13, 1)] string [] AlternativeStrings { get; } @@ -15042,7 +14475,6 @@ interface NSTextCheckingResult : NSSecureCoding, NSCopying { [Static] [Export ("correctionCheckingResultWithRange:replacementString:alternativeStrings:")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSTextCheckingResult CorrectionCheckingResult (NSRange range, string replacementString, string [] alternativeStrings); @@ -15064,7 +14496,6 @@ interface NSTextCheckingResult : NSSecureCoding, NSCopying { [Wrap ("TransitInformationCheckingResult (range, components.GetDictionary ()!)")] NSTextCheckingResult TransitInformationCheckingResult (NSRange range, NSTextCheckingTransitComponents components); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("rangeWithName:")] NSRange GetRange (string name); @@ -15235,10 +14666,6 @@ partial interface NSBundle { NSImage ImageForResource (string name); } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSDateInterval : NSCopying, NSSecureCoding { @@ -15276,10 +14703,6 @@ interface NSDateInterval : NSCopying, NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSUnit : NSCopying, NSSecureCoding { @@ -15291,10 +14714,6 @@ interface NSUnit : NSCopying, NSSecureCoding { NativeHandle Constructor (string symbol); } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSUnitConverter { @@ -15305,10 +14724,6 @@ interface NSUnitConverter { double GetValue (double baseUnitValue); } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSUnitConverter))] interface NSUnitConverterLinear : NSSecureCoding { @@ -15327,10 +14742,6 @@ interface NSUnitConverterLinear : NSSecureCoding { NativeHandle Constructor (double coefficient, double constant); } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSUnit))] [Abstract] // abstract subclass of NSUnit @@ -15356,10 +14767,6 @@ interface NSDimension : NSSecureCoding { //NSDimension BaseUnit { get; } } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] [DisableDefaultCtor] // base type has a designated initializer @@ -15389,7 +14796,7 @@ interface NSUnitTemperature : NSSecureCoding { partial interface NSFileManager { - [iOS (11, 0), NoTV, NoWatch] + [NoTV, NoWatch] [MacCatalyst (13, 1)] [Export ("trashItemAtURL:resultingItemURL:error:")] bool TrashItem (NSUrl url, out NSUrl resultingItemUrl, out NSError error); @@ -15398,13 +14805,12 @@ partial interface NSFileManager { [NoMacCatalyst] [NoWatch] [NoTV] - [Mac (10, 14)] [Static] [Export ("fileManagerWithAuthorization:")] NSFileManager FromAuthorization (NSWorkspaceAuthorization authorization); } - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -15594,7 +15000,7 @@ partial interface NSScriptCommandDescription : NSCoding { [NoiOS, NoTV, NoWatch] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] interface NSAffineTransform : NSSecureCoding, NSCopying { [Export ("initWithTransform:")] NativeHandle Constructor (NSAffineTransform transform); @@ -15988,70 +15394,58 @@ interface NSAppleEventDescriptor : NSSecureCoding, NSCopying { /*[Export ("coerceToDescriptorType:")] NSAppleEventDescriptor CoerceToDescriptorType (DescType descriptorType);*/ - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("currentProcessDescriptor")] NSAppleEventDescriptor CurrentProcessDescriptor { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("descriptorWithDouble:")] NSAppleEventDescriptor FromDouble (double doubleValue); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("descriptorWithDate:")] NSAppleEventDescriptor FromDate (NSDate date); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("descriptorWithFileURL:")] NSAppleEventDescriptor FromFileURL (NSUrl fileURL); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("descriptorWithProcessIdentifier:")] NSAppleEventDescriptor FromProcessIdentifier (int processIdentifier); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("descriptorWithBundleIdentifier:")] NSAppleEventDescriptor FromBundleIdentifier (string bundleIdentifier); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("descriptorWithApplicationURL:")] NSAppleEventDescriptor FromApplicationURL (NSUrl applicationURL); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("doubleValue")] double DoubleValue { get; } - [Mac (10, 11)] [NoMacCatalyst] [Export ("sendEventWithOptions:timeout:error:")] [return: NullAllowed] NSAppleEventDescriptor SendEvent (NSAppleEventSendOptions sendOptions, double timeoutInSeconds, [NullAllowed] out NSError error); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("isRecordDescriptor")] bool IsRecordDescriptor { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("dateValue", ArgumentSemantic.Copy)] NSDate DateValue { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fileURLValue", ArgumentSemantic.Copy)] NSUrl FileURLValue { get; } @@ -16279,37 +15673,29 @@ interface NSUserNotification : NSCoding, NSCopying { [Field ("NSUserNotificationDefaultSoundName")] NSString NSUserNotificationDefaultSoundName { get; } - [Mac (10, 9)] [NullAllowed, Export ("identifier")] string Identifier { get; set; } - [Mac (10, 9)] [NullAllowed, Export ("contentImage", ArgumentSemantic.Copy)] NSImage ContentImage { get; set; } - [Mac (10, 9)] [Export ("hasReplyButton")] bool HasReplyButton { get; set; } - [Mac (10, 9)] [NullAllowed, Export ("responsePlaceholder")] string ResponsePlaceholder { get; set; } - [Mac (10, 9)] [NullAllowed, Export ("response", ArgumentSemantic.Copy)] NSAttributedString Response { get; } - [Mac (10, 10)] [NullAllowed, Export ("additionalActions", ArgumentSemantic.Copy)] NSUserNotificationAction [] AdditionalActions { get; set; } - [Mac (10, 10)] [NullAllowed, Export ("additionalActivationAction", ArgumentSemantic.Copy)] NSUserNotificationAction AdditionalActivationAction { get; } } [NoiOS, NoTV, NoWatch, NoMacCatalyst] - [Mac (10, 10)] [BaseType (typeof (NSObject))] [Advice ("'NSUserNotification' usages should be replaced with 'UserNotifications' framework.")] interface NSUserNotificationAction : NSCopying { @@ -16388,7 +15774,7 @@ interface NSUserNotificationCenterDelegate { } [NoiOS, NoTV, NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSAppleScript : NSCopying { @@ -16429,10 +15815,6 @@ interface NSAppleScript : NSCopying { NSAttributedString RichTextSource { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter), Name = "NSISO8601DateFormatter")] [DesignatedDefaultCtor] @@ -16456,10 +15838,6 @@ interface NSIso8601DateFormatter : NSSecureCoding { string Format (NSDate date, NSTimeZone timeZone, NSIso8601DateFormatOptions formatOptions); } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NSURLSessionTaskTransactionMetrics")] [DisableDefaultCtor] @@ -16524,68 +15902,68 @@ interface NSUrlSessionTaskTransactionMetrics { [Export ("resourceFetchType", ArgumentSemantic.Assign)] NSUrlSessionTaskMetricsResourceFetchType ResourceFetchType { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("countOfRequestHeaderBytesSent")] long CountOfRequestHeaderBytesSent { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("countOfRequestBodyBytesSent")] long CountOfRequestBodyBytesSent { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("countOfRequestBodyBytesBeforeEncoding")] long CountOfRequestBodyBytesBeforeEncoding { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("countOfResponseHeaderBytesReceived")] long CountOfResponseHeaderBytesReceived { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("countOfResponseBodyBytesReceived")] long CountOfResponseBodyBytesReceived { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("countOfResponseBodyBytesAfterDecoding")] long CountOfResponseBodyBytesAfterDecoding { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("localAddress")] string LocalAddress { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("localPort", ArgumentSemantic.Copy)] // 0-1023 [BindAs (typeof (ushort?))] NSNumber LocalPort { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("remoteAddress")] string RemoteAddress { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("remotePort", ArgumentSemantic.Copy)] // 0-1023 [BindAs (typeof (ushort?))] NSNumber RemotePort { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("negotiatedTLSProtocolVersion", ArgumentSemantic.Copy)] // It is a 2-byte sequence in host byte order. but it refers to (nicer) `tls_protocol_version_t` [BindAs (typeof (SslProtocol?))] NSNumber NegotiatedTlsProtocolVersion { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("negotiatedTLSCipherSuite", ArgumentSemantic.Copy)] // It is a 2-byte sequence in host byte order. but it refers to (nicer) `tls_ciphersuite_t` @@ -16596,22 +15974,22 @@ interface NSUrlSessionTaskTransactionMetrics { #endif NSNumber NegotiatedTlsCipherSuite { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("cellular")] bool Cellular { [Bind ("isCellular")] get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("expensive")] bool Expensive { [Bind ("isExpensive")] get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("constrained")] bool Constrained { [Bind ("isConstrained")] get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("multipath")] bool Multipath { [Bind ("isMultipath")] get; } @@ -16622,10 +16000,6 @@ interface NSUrlSessionTaskTransactionMetrics { NSUrlSessionTaskMetricsDomainResolutionProtocol DomainResolutionProtocol { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NSURLSessionTaskMetrics")] [DisableDefaultCtor] @@ -16650,10 +16024,6 @@ interface NSUrlSessionTaskMetrics { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitAcceleration : NSSecureCoding { @@ -16677,10 +16047,6 @@ interface NSUnitAcceleration : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitAngle : NSSecureCoding { @@ -16720,10 +16086,6 @@ interface NSUnitAngle : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitArea : NSSecureCoding { @@ -16795,10 +16157,6 @@ interface NSUnitArea : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitConcentrationMass : NSSecureCoding { @@ -16826,10 +16184,6 @@ interface NSUnitConcentrationMass : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitDispersion : NSSecureCoding { @@ -16849,10 +16203,6 @@ interface NSUnitDispersion : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitDuration : NSSecureCoding { @@ -16878,25 +16228,25 @@ interface NSUnitDuration : NSSecureCoding { [Export ("baseUnit")] NSDimension BaseUnit { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("milliseconds", ArgumentSemantic.Copy)] NSUnitDuration Milliseconds { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("microseconds", ArgumentSemantic.Copy)] NSUnitDuration Microseconds { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("nanoseconds", ArgumentSemantic.Copy)] NSUnitDuration Nanoseconds { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("picoseconds", ArgumentSemantic.Copy)] @@ -16904,10 +16254,6 @@ interface NSUnitDuration : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitElectricCharge : NSSecureCoding { @@ -16947,10 +16293,6 @@ interface NSUnitElectricCharge : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitElectricCurrent : NSSecureCoding { @@ -16986,10 +16328,6 @@ interface NSUnitElectricCurrent : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitElectricPotentialDifference : NSSecureCoding { @@ -17025,10 +16363,6 @@ interface NSUnitElectricPotentialDifference : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitElectricResistance : NSSecureCoding { @@ -17064,10 +16398,6 @@ interface NSUnitElectricResistance : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitEnergy : NSSecureCoding { @@ -17103,10 +16433,6 @@ interface NSUnitEnergy : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitFrequency : NSSecureCoding { @@ -17152,7 +16478,7 @@ interface NSUnitFrequency : NSSecureCoding { [Export ("baseUnit")] NSDimension BaseUnit { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("framesPerSecond", ArgumentSemantic.Copy)] @@ -17160,10 +16486,6 @@ interface NSUnitFrequency : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitFuelEfficiency : NSSecureCoding { @@ -17191,10 +16513,6 @@ interface NSUnitFuelEfficiency : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitLength : NSSecureCoding { @@ -17298,10 +16616,6 @@ interface NSUnitLength : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitIlluminance : NSSecureCoding { @@ -17321,10 +16635,6 @@ interface NSUnitIlluminance : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitMass : NSSecureCoding { @@ -17404,10 +16714,6 @@ interface NSUnitMass : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitPower : NSSecureCoding { @@ -17467,10 +16773,6 @@ interface NSUnitPower : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitPressure : NSSecureCoding { @@ -17526,10 +16828,6 @@ interface NSUnitPressure : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitSpeed : NSSecureCoding { @@ -17561,10 +16859,6 @@ interface NSUnitSpeed : NSSecureCoding { } [DisableDefaultCtor] // -init should never be called on NSUnit! - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] interface NSUnitVolume : NSSecureCoding { @@ -17703,7 +16997,6 @@ interface NSUnitVolume : NSSecureCoding { NSDimension BaseUnit { get; } } - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -17732,10 +17025,6 @@ interface NSMeasurement : NSCopying, NSSecureCoding NSMeasurement GetMeasurementBySubtracting (NSMeasurement measurement); } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface NSMeasurementFormatter : NSSecureCoding { @@ -17830,7 +17119,6 @@ interface NSXpcConnection { NSXpcConnection CurrentConnection { [return: NullAllowed] get; } [Export ("scheduleSendBarrierBlock:")] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] [TV (13, 0)] @@ -17843,8 +17131,6 @@ interface NSXpcConnection { [Export ("remoteObjectProxyWithErrorHandler:"), Internal] IntPtr _CreateRemoteObjectProxy ([BlockCallback] Action errorHandler); - [Mac (10, 11)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("synchronousRemoteObjectProxyWithErrorHandler:"), Internal] IntPtr _CreateSynchronousRemoteObjectProxy ([BlockCallback] Action errorHandler); @@ -17947,7 +17233,7 @@ interface NSXpcInterface { interface NSXpcListenerEndpoint : NSSecureCoding { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface NSListFormatter { @@ -17972,7 +17258,7 @@ interface NSListFormatter { string GetString ([NullAllowed] NSObject obj); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NSRelativeDateTimeFormatterStyle : long { @@ -17980,7 +17266,7 @@ enum NSRelativeDateTimeFormatterStyle : long { Named, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NSRelativeDateTimeFormatterUnitsStyle : long { @@ -17990,7 +17276,7 @@ enum NSRelativeDateTimeFormatterUnitsStyle : long { Abbreviated, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSFormatter))] interface NSRelativeDateTimeFormatter { @@ -18024,7 +17310,7 @@ interface NSRelativeDateTimeFormatter { string GetString ([NullAllowed] NSObject obj); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NSCollectionChangeType : long { @@ -18032,7 +17318,7 @@ enum NSCollectionChangeType : long { Remove, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NSOrderedCollectionDifferenceCalculationOptions : ulong { @@ -18041,7 +17327,7 @@ enum NSOrderedCollectionDifferenceCalculationOptions : ulong { InferMoves = (1uL << 2), } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSDimension))] [DisableDefaultCtor] // NSGenericException Reason: -init should never be called on NSUnit! @@ -18198,7 +17484,7 @@ interface NSUnitInformationStorage : NSSecureCoding { NSUnitInformationStorage Kibibits { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NSUrlSessionWebSocketMessageType : long { @@ -18206,7 +17492,7 @@ enum NSUrlSessionWebSocketMessageType : long { String = 1, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NSURLSessionWebSocketMessage")] [DisableDefaultCtor] @@ -18230,7 +17516,7 @@ interface NSUrlSessionWebSocketMessage { string String { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NSUrlSessionWebSocketCloseCode : long { @@ -18249,7 +17535,7 @@ enum NSUrlSessionWebSocketCloseCode : long { TlsHandshakeFailure = 1015, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSUrlSessionTask), Name = "NSURLSessionWebSocketTask")] [DisableDefaultCtor] @@ -18280,7 +17566,7 @@ interface NSUrlSessionWebSocketTask { NSData CloseReason { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Protocol][Model] @@ -18298,7 +17584,7 @@ interface NSUrlSessionWebSocketDelegate { void DidClose (NSUrlSession session, NSUrlSessionWebSocketTask webSocketTask, NSUrlSessionWebSocketCloseCode closeCode, [NullAllowed] NSData reason); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NSUrlErrorNetworkUnavailableReason : long { @@ -18307,7 +17593,7 @@ enum NSUrlErrorNetworkUnavailableReason : long { Constrained = 2, } - [NoWatch, NoTV, NoiOS, Mac (10, 10)] + [NoWatch, NoTV, NoiOS] [NoMacCatalyst] [Native] public enum NSBackgroundActivityResult : long { @@ -18319,7 +17605,7 @@ public enum NSBackgroundActivityResult : long { delegate void NSBackgroundActivityCompletionAction ([BlockCallback] NSBackgroundActivityCompletionHandler handler); - [NoWatch, NoTV, NoiOS, Mac (10, 10)] + [NoWatch, NoTV, NoiOS] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -18387,7 +17673,6 @@ public enum NSNotificationFlags : ulong { PostToAllSessions = (1 << 1), } - [Mac (10, 11)] [NoWatch] [NoTV] [NoiOS] @@ -18598,7 +17883,7 @@ interface NSMorphologyCustomPronoun : NSCopying, NSSecureCoding { #if false // https://github.com/xamarin/xamarin-macios/issues/15577 interface NSOrderedCollectionChange : NSOrderedCollectionChange {} - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSOrderedCollectionChange @@ -18645,7 +17930,7 @@ interface NSOrderedCollectionChange interface NSOrderedCollectionDifference : NSOrderedCollectionDifference {} - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [BaseType (typeof (NSObject))] interface NSOrderedCollectionDifference : INSFastEnumeration { @@ -18683,7 +17968,7 @@ interface NSOrderedCollectionDifference : INSFastEnumeration NativeHandle _GetDifference (/* Func, NSOrderedCollectionChange>*/ ref BlockLiteral block); [Internal] - [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Watch (6,0), TV (13,0), iOS (13,0)] [Export ("inverseDifference")] NativeHandle _InverseDifference (); } diff --git a/src/gamecontroller.cs b/src/gamecontroller.cs index f93311252fe1..5fed4ae42271 100644 --- a/src/gamecontroller.cs +++ b/src/gamecontroller.cs @@ -34,7 +34,6 @@ namespace GameController { - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // The GCControllerElement class is never instantiated directly. @@ -87,7 +86,6 @@ partial interface GCControllerElement { delegate void GCControllerAxisValueChangedHandler (GCControllerAxisInput axis, float /* float, not CGFloat */ value); - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (GCControllerElement))] [DisableDefaultCtor] // return nil handle -> only exposed as getter @@ -100,7 +98,6 @@ partial interface GCControllerAxisInput { [Export ("value")] float Value { /* float, not CGFloat */ get; - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] @@ -111,7 +108,6 @@ partial interface GCControllerAxisInput { delegate void GCControllerButtonValueChanged (GCControllerButtonInput button, float /* float, not CGFloat */ buttonValue, bool pressed); delegate void GCControllerButtonTouchedChanged (GCControllerButtonInput button, float value, bool pressed, bool touched); - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (GCControllerElement))] [DisableDefaultCtor] // return nil handle -> only exposed as getter @@ -130,7 +126,6 @@ partial interface GCControllerButtonInput { [Export ("value")] float Value { /* float, not CGFloat */ get; - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] @@ -141,13 +136,11 @@ partial interface GCControllerButtonInput { bool IsPressed { [Bind ("isPressed")] get; } #if !NET - [iOS (8, 0), Mac (10, 10)] [Obsolete ("Use the 'PressedChangedHandler' property.")] [Wrap ("PressedChangedHandler = handler;", IsVirtual = true)] void SetPressedChangedHandler (GCControllerButtonValueChanged handler); #endif - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("pressedChangedHandler", ArgumentSemantic.Copy)] @@ -166,7 +159,6 @@ partial interface GCControllerButtonInput { delegate void GCControllerDirectionPadValueChangedHandler (GCControllerDirectionPad dpad, float /* float, not CGFloat */ xValue, float /* float, not CGFloat */ yValue); - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (GCControllerElement))] [DisableDefaultCtor] // return nil handle -> only exposed as getter @@ -194,7 +186,7 @@ partial interface GCControllerDirectionPad { [Export ("right")] GCControllerButtonInput Right { get; } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] [Export ("setValueForXAxis:yAxis:")] @@ -206,7 +198,6 @@ partial interface GCControllerDirectionPad { [Deprecated (PlatformName.MacOSX, 10, 12, message: "Use 'GCExtendedGamepad' instead.")] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'GCExtendedGamepad' instead.")] [Deprecated (PlatformName.TvOS, 10, 0, message: "Use 'GCExtendedGamepad' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GCExtendedGamepad' instead.")] [BaseType (typeof (GCPhysicalInputProfile))] @@ -248,7 +239,6 @@ partial interface GCGamepad { [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'GCExtendedGamepad' instead.")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GCExtendedGamepad' instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GCExtendedGamepad' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GCExtendedGamepad' instead.")] [BaseType (typeof (GCGamepad))] @@ -267,7 +257,6 @@ partial interface GCGamepadSnapshot { delegate void GCExtendedGamepadValueChangedHandler (GCExtendedGamepad gamepad, GCControllerElement element); - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (GCPhysicalInputProfile))] [DisableDefaultCtor] // return nil handle -> only exposed as getter @@ -320,27 +309,27 @@ partial interface GCExtendedGamepad { [Export ("rightTrigger")] GCControllerButtonInput RightTrigger { get; } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [NullAllowed, Export ("leftThumbstickButton")] GCControllerButtonInput LeftThumbstickButton { get; } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [NullAllowed, Export ("rightThumbstickButton")] GCControllerButtonInput RightThumbstickButton { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("buttonMenu")] GCControllerButtonInput ButtonMenu { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("buttonOptions")] GCControllerButtonInput ButtonOptions { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setStateFromExtendedGamepad:")] void SetState (GCExtendedGamepad extendedGamepad); @@ -351,7 +340,6 @@ partial interface GCExtendedGamepad { GCControllerButtonInput ButtonHome { get; } } - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'GCController.GetExtendedGamepadController()' instead.")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GCController.GetExtendedGamepadController()' instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GCController.GetExtendedGamepadController()' instead.")] @@ -373,14 +361,13 @@ partial interface GCExtendedGamepadSnapshot { [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'GCController.GetExtendedGamepadController()' instead.")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GCController.GetExtendedGamepadController()' instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GCController.GetExtendedGamepadController()' instead.")] - [TV (12, 2), Mac (10, 14, 4), iOS (12, 2)] + [TV (12, 2), iOS (12, 2)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GCController.GetExtendedGamepadController()' instead.")] [Field ("GCCurrentExtendedGamepadSnapshotDataVersion")] GCExtendedGamepadSnapshotDataVersion DataVersion { get; } } - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface GCController : GCDevice { @@ -420,8 +407,6 @@ partial interface GCController : GCDevice { [Export ("extendedGamepad", ArgumentSemantic.Retain)] GCExtendedGamepad ExtendedGamepad { get; } - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("microGamepad", ArgumentSemantic.Retain)] GCMicroGamepad MicroGamepad { get; } @@ -442,40 +427,37 @@ partial interface GCController : GCDevice { [Notification, Field ("GCControllerDidDisconnectNotification")] NSString DidDisconnectNotification { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("motion", ArgumentSemantic.Retain)] GCMotion Motion { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("handlerQueue", ArgumentSemantic.Retain)] new DispatchQueue HandlerQueue { get; set; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("productCategory")] new string ProductCategory { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("snapshot")] bool Snapshot { [Bind ("isSnapshot")] get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("capture")] GCController Capture (); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("controllerWithMicroGamepad")] GCController GetMicroGamepadController (); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("controllerWithExtendedGamepad")] @@ -521,7 +503,6 @@ partial interface GCController : GCDevice { bool ShouldMonitorBackgroundEvents { get; set; } } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // access thru GCController.Motion - returns a nil Handle @@ -555,7 +536,6 @@ partial interface GCMotion { Vector3d UserAcceleration { get; } #endif - [TV (11, 0)] [MacCatalyst (13, 1)] [Export ("attitude", ArgumentSemantic.Assign)] #if NET @@ -564,7 +544,6 @@ partial interface GCMotion { Quaterniond Attitude { get; } #endif - [TV (11, 0), iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("rotationRate", ArgumentSemantic.Assign)] #if NET @@ -576,35 +555,32 @@ partial interface GCMotion { [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'HasAttitude' and 'HasRotationRate' instead.")] [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'HasAttitude' and 'HasRotationRate' instead.")] [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'HasAttitude' and 'HasRotationRate' instead.")] - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'HasAttitude' and 'HasRotationRate' instead.")] [Export ("hasAttitudeAndRotationRate")] bool HasAttitudeAndRotationRate { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setGravity:")] void SetGravity (GCAcceleration gravity); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setUserAcceleration:")] void SetUserAcceleration (GCAcceleration userAcceleration); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setAttitude:")] void SetAttitude (GCQuaternion attitude); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setRotationRate:")] void SetRotationRate (GCRotationRate rotationRate); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setStateFromMotion:")] void SetState (GCMotion motion); @@ -640,13 +616,9 @@ partial interface GCMotion { GCAcceleration Acceleration { get; set; } } - [Mac (10, 11)] - [iOS (10, 0)] [MacCatalyst (13, 1)] delegate void GCMicroGamepadValueChangedHandler (GCMicroGamepad gamepad, GCControllerElement element); - [Mac (10, 11)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (GCPhysicalInputProfile))] [DisableDefaultCtor] @@ -679,12 +651,12 @@ interface GCMicroGamepad { [Export ("allowsRotation")] bool AllowsRotation { get; set; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("buttonMenu")] GCControllerButtonInput ButtonMenu { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setStateFromMicroGamepad:")] void SetState (GCMicroGamepad microGamepad); @@ -693,8 +665,6 @@ interface GCMicroGamepad { [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'GCController.Capture()' instead.")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GCController.Capture()' instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GCController.Capture()' instead.")] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GCController.Capture()' instead.")] [BaseType (typeof (GCMicroGamepad))] @@ -711,15 +681,13 @@ interface GCMicroGamepadSnapshot { [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'GCController.GetMicroGamepadController()' instead.")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GCController.GetMicroGamepadController()' instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GCControler.GetMicroGamepadController()' instead.")] - [TV (12, 2), Mac (10, 14, 4), iOS (12, 2)] + [TV (12, 2), iOS (12, 2)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GCController.GetMicroGamepadController()' instead.")] [Field ("GCCurrentMicroGamepadSnapshotDataVersion")] GCMicroGamepadSnapshotDataVersion DataVersion { get; } } - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] interface GCEventViewController { diff --git a/src/gamekit.cs b/src/gamekit.cs index 7b9aa3638159..81b8f86ec170 100644 --- a/src/gamekit.cs +++ b/src/gamekit.cs @@ -252,7 +252,6 @@ interface GKSession { string [] PeersWithConnectionState (GKPeerConnectionState state); } - [Watch (3, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -386,7 +385,6 @@ interface GKLeaderboard { [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'LoadEntries' instead.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'LoadEntries' instead.")] [Deprecated (PlatformName.WatchOS, 7, 0, message: "Use 'LoadEntries' instead.")] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'LoadEntries' instead.")] [NullAllowed] @@ -395,7 +393,6 @@ interface GKLeaderboard { [NoTV] [NoWatch] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("loadImageWithCompletionHandler:")] [Async] @@ -405,7 +402,6 @@ interface GKLeaderboard { [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'LoadEntries' instead.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'LoadEntries' instead.")] [Deprecated (PlatformName.WatchOS, 7, 0, message: "Use 'LoadEntries' instead.")] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'LoadEntries' instead.")] [Export ("initWithPlayers:")] @@ -415,7 +411,6 @@ interface GKLeaderboard { [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'LoadEntries' instead.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'LoadEntries' instead.")] [Deprecated (PlatformName.WatchOS, 7, 0, message: "Use 'LoadEntries' instead.")] - [Mac (10, 10)] // should be 10,8 but tests fails before Yosemite [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'LoadEntries' instead.")] [Export ("loading")] @@ -485,8 +480,6 @@ interface GKLeaderboard { GKLeaderboardType Type { get; } } - [Watch (3, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKLeaderboardSet : NSCoding, NSSecureCoding { @@ -530,10 +523,6 @@ interface GKLeaderboardSet : NSCoding, NSSecureCoding { void LoadImage ([NullAllowed] GKImageLoadedHandler completionHandler); } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKBasePlayer { @@ -549,9 +538,6 @@ interface GKBasePlayer { } [NoWatch] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'GKPlayer' instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'GKPlayer' instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'GKPlayer' instead.")] @@ -564,7 +550,6 @@ interface GKCloudPlayer { void GetCurrentSignedInPlayer ([NullAllowed] string containerName, Action handler); } - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (GKBasePlayer))] // note: NSSecureCoding conformity is undocumented - but since it's a runtime check (on ObjC) we still need it @@ -608,16 +593,12 @@ interface GKPlayer : NSSecureCoding { string DisplayName { get; } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("anonymousGuestPlayerWithIdentifier:")] GKPlayer GetAnonymousGuestPlayer (string guestIdentifier); [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("guestIdentifier")] [NullAllowed] @@ -625,7 +606,6 @@ interface GKPlayer : NSSecureCoding { [NoWatch] [TV (12, 4)] - [Mac (10, 14, 6)] [iOS (12, 4)] [MacCatalyst (13, 1)] [Export ("gamePlayerID", ArgumentSemantic.Retain)] @@ -633,7 +613,6 @@ interface GKPlayer : NSSecureCoding { [NoWatch] [TV (12, 4)] - [Mac (10, 14, 6)] [iOS (12, 4)] [MacCatalyst (13, 1)] [Export ("teamPlayerID", ArgumentSemantic.Retain)] @@ -641,7 +620,6 @@ interface GKPlayer : NSSecureCoding { [NoWatch] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("scopedIDsArePersistent")] @@ -662,7 +640,6 @@ interface GKPlayer : NSSecureCoding { [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'GKLeaderboardEntry' instead.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'GKLeaderboardEntry' instead.")] [Deprecated (PlatformName.WatchOS, 7, 0, message: "Use 'GKLeaderboardEntry' instead.")] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'GKLeaderboardEntry' instead.")] [BaseType (typeof (NSObject))] @@ -676,29 +653,23 @@ interface GKScore : NSSecureCoding { [Export ("initWithCategory:")] IntPtr InitWithCategory ([NullAllowed] string category); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("initWithLeaderboardIdentifier:player:")] NativeHandle Constructor (string identifier, GKPlayer player); [NoWatch] - [Mac (10, 10)] [Deprecated (PlatformName.iOS, 8, 0, message: "Use the overload that takes a 'GKPlayer' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use the overload that takes a 'GKPlayer' instead.")] [Export ("initWithLeaderboardIdentifier:forPlayer:")] NativeHandle Constructor (string identifier, string playerID); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Internal] [Export ("initWithLeaderboardIdentifier:")] IntPtr InitWithLeaderboardIdentifier (string identifier); [NullAllowed] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("player", ArgumentSemantic.Retain)] GKPlayer Player { get; } @@ -755,14 +726,12 @@ interface GKScore : NSSecureCoding { [Async] void ReportScores (GKScore [] scores, [NullAllowed] Action completionHandler); - [Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("leaderboardIdentifier", ArgumentSemantic.Copy)] string LeaderboardIdentifier { get; set; } [NoWatch] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("reportScores:withEligibleChallenges:withCompletionHandler:"), Static] [Async] @@ -789,8 +758,6 @@ interface GKScore : NSSecureCoding { UIViewController ChallengeComposeController ([NullAllowed] string [] playerIDs, [NullAllowed] string message, [NullAllowed] GKChallengeComposeHandler completionHandler); [NoWatch] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Async (ResultTypeName = "GKChallengeComposeResult")] [Export ("challengeComposeControllerWithMessage:players:completionHandler:")] @@ -848,11 +815,10 @@ interface GKLeaderboardViewController : UIAppearance GKLeaderboardTimeScope TimeScope { get; set; } } - [Watch (6, 2), TV (13, 4), Mac (10, 15, 4), iOS (13, 4)] + [Watch (6, 2), TV (13, 4), iOS (13, 4)] [MacCatalyst (13, 1)] delegate void GKFetchItemsForIdentityVerificationSignatureCompletionHandler (NSUrl publicKeyUrl, NSData signature, NSData salt, ulong timestamp, NSError error); - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (GKPlayer))] interface GKLocalPlayer @@ -889,8 +855,6 @@ interface GKLocalPlayer [Async] void Authenticate ([NullAllowed] Action handler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Async] [Export ("loadRecentPlayersWithCompletionHandler:")] @@ -912,7 +876,6 @@ interface GKLocalPlayer [NullAllowed] // by default this property is null [Export ("authenticateHandler", ArgumentSemantic.Copy)] - [Mac (10, 9)] [MacCatalyst (13, 1)] #if WATCH Action AuthenticateHandler { get; set; } @@ -935,13 +898,11 @@ interface GKLocalPlayer [Export ("presentFriendRequestCreatorFromWindow:error:")] bool PresentFriendRequestCreator ([NullAllowed] NSWindow window, [NullAllowed] out NSError error); - [Mac (10, 10)] // Mismarked in header, 17613142 [MacCatalyst (13, 1)] [Export ("loadDefaultLeaderboardIdentifierWithCompletionHandler:")] [Async] void LoadDefaultLeaderboardIdentifier ([NullAllowed] Action completionHandler); - [Mac (10, 10)] // Mismarked in header, 17613142 [MacCatalyst (13, 1)] [Export ("setDefaultLeaderboardIdentifier:completionHandler:")] [Async] @@ -967,17 +928,14 @@ interface GKLocalPlayer [Async] void SetDefaultLeaderboardCategoryID ([NullAllowed] string categoryID, [NullAllowed] Action completionHandler); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("registerListener:")] void RegisterListener ([Protocolize] GKLocalPlayerListener listener); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("unregisterListener:")] void UnregisterListener ([Protocolize] GKLocalPlayerListener listener); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("unregisterAllListeners")] void UnregisterAllListeners (); @@ -986,20 +944,18 @@ interface GKLocalPlayer [Deprecated (PlatformName.TvOS, 13, 4, message: "Use 'FetchItemsForIdentityVerificationSignature' instead.")] [Deprecated (PlatformName.MacOSX, 10, 15, 4, message: "Use 'FetchItemsForIdentityVerificationSignature' instead.")] [Deprecated (PlatformName.WatchOS, 6, 2, message: "Use 'FetchItemsForIdentityVerificationSignature' instead.")] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'FetchItemsForIdentityVerificationSignature' instead.")] [Async (ResultTypeName = "GKIdentityVerificationSignatureResult")] [Export ("generateIdentityVerificationSignatureWithCompletionHandler:")] void GenerateIdentityVerificationSignature ([NullAllowed] GKIdentityVerificationSignatureHandler completionHandler); - [Watch (6, 2), TV (13, 4), Mac (10, 15, 4), iOS (13, 4)] + [Watch (6, 2), TV (13, 4), iOS (13, 4)] [MacCatalyst (13, 1)] [Async (ResultTypeName = "GKFetchItemsForIdentityVerificationSignature")] [Export ("fetchItemsForIdentityVerificationSignature:")] void FetchItemsForIdentityVerificationSignature ([NullAllowed] GKFetchItemsForIdentityVerificationSignatureCompletionHandler completionHandler); - [iOS (8, 0), Mac (10, 10)] [Deprecated (PlatformName.iOS, 10, 0)] [Deprecated (PlatformName.MacOSX, 10, 11)] [Deprecated (PlatformName.TvOS, 10, 0)] @@ -1011,46 +967,36 @@ interface GKLocalPlayer [NoWatch] [NoTV] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("fetchSavedGamesWithCompletionHandler:")] void FetchSavedGames ([NullAllowed] Action handler); [NoWatch] [NoTV] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("saveGameData:withName:completionHandler:")] void SaveGameData (NSData data, string name, [NullAllowed] Action handler); [NoWatch] [NoTV] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("deleteSavedGamesWithName:completionHandler:")] void DeleteSavedGames (string name, [NullAllowed] Action handler); [NoWatch] [NoTV] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("resolveConflictingSavedGames:withData:completionHandler:")] void ResolveConflictingSavedGames (GKSavedGame [] conflictingSavedGames, NSData data, [NullAllowed] Action handler); [NoWatch] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("multiplayerGamingRestricted")] bool MultiplayerGamingRestricted { [Bind ("isMultiplayerGamingRestricted")] get; } [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] @@ -1060,7 +1006,6 @@ interface GKLocalPlayer [NoWatch] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Static] @@ -1096,8 +1041,6 @@ interface GKLocalPlayer [NoWatch] [NoTV] - [iOS (8, 0)] - [Mac (10, 10)] // dyld: Symbol not found: _OBJC_CLASS_$_GKSavedGame in 10.9 [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKSavedGame : NSCopying { @@ -1178,31 +1121,26 @@ interface GKMatch { [NoTV] [Deprecated (PlatformName.iOS, 8, 0, message: "Use 'ChooseBestHostingPlayer' instead.")] [Deprecated (PlatformName.MacOSX, 10, 10, message: "Use 'ChooseBestHostingPlayer' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'ChooseBestHostingPlayer' instead.")] [Export ("chooseBestHostPlayerWithCompletionHandler:")] [Async] void ChooseBestHostPlayer (Action completionHandler); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("rematchWithCompletionHandler:")] [Async] void Rematch ([NullAllowed] Action completionHandler); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("players")] GKPlayer [] Players { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("chooseBestHostingPlayerWithCompletionHandler:")] [Async] void ChooseBestHostingPlayer (Action completionHandler); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("sendData:toPlayers:dataMode:error:")] bool SendData (NSData data, GKPlayer [] players, GKMatchSendDataMode mode, out NSError error); @@ -1251,7 +1189,6 @@ interface GKMatchDelegate { [Export ("match:shouldReinvitePlayer:"), DelegateName ("GKMatchReinvitation"), DefaultValue (true)] bool ShouldReinvitePlayer (GKMatch match, string playerId); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("match:didReceiveData:fromRemotePlayer:"), EventArgs ("GKMatchReceivedDataFromRemotePlayer")] void DataReceivedFromPlayer (GKMatch match, NSData data, GKPlayer player); @@ -1259,14 +1196,11 @@ interface GKMatchDelegate { [Export ("match:player:didChangeConnectionState:"), EventArgs ("GKMatchConnectionChanged")] void StateChangedForPlayer (GKMatch match, GKPlayer player, GKPlayerConnectionState state); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("match:shouldReinviteDisconnectedPlayer:")] [DelegateName ("GKMatchReinvitationForDisconnectedPlayer"), DefaultValue (true)] bool ShouldReinviteDisconnectedPlayer (GKMatch match, GKPlayer player); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("match:didReceiveData:forRecipient:fromRemotePlayer:"), EventArgs ("GKDataReceivedForRecipient")] void DataReceivedForRecipient (GKMatch match, NSData data, GKPlayer recipient, GKPlayer player); @@ -1314,8 +1248,6 @@ interface GKVoiceChat { GKPlayerStateUpdateHandler PlayerStateUpdateHandler { get; set; } //void SetPlayerStateUpdateHandler (GKPlayerStateUpdateHandler handler); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("setPlayerVoiceChatStateDidChangeHandler:", ArgumentSemantic.Copy)] void SetPlayerVoiceChatStateChangeHandler (Action handler); @@ -1328,20 +1260,15 @@ interface GKVoiceChat { [NullAllowed, Export ("playerIDs")] string [] PlayerIDs { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("players")] GKPlayer [] Players { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("setPlayer:muted:")] void SetMuteStatus (GKPlayer player, bool isMuted); } - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKMatchRequest { @@ -1384,18 +1311,14 @@ interface GKMatchRequest { [Export ("inviteeResponseHandler", ArgumentSemantic.Copy)] Action InviteeResponseHandler { get; set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed, Export ("recipientResponseHandler", ArgumentSemantic.Copy)] Action RecipientResponseHandler { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("maxPlayersAllowedForMatchOfType:"), Static] nint GetMaxPlayersAllowed (GKMatchType matchType); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("recipients", ArgumentSemantic.Retain)] @@ -1406,7 +1329,6 @@ interface GKMatchRequest { [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'GKMatchmakerViewController.MatchmakingMode' instead.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'GKMatchmakerViewController.MatchmakingMode' instead.")] [TV (13, 0)] - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'GKMatchmakerViewController.MatchmakingMode' instead.")] @@ -1430,17 +1352,14 @@ interface GKInvite { [Export ("hosted", ArgumentSemantic.Assign)] bool Hosted { [Bind ("isHosted")] get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("playerGroup")] nint PlayerGroup { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("playerAttributes")] uint PlayerAttributes { get; } /* uint32_t */ - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("sender", ArgumentSemantic.Retain)] GKPlayer Sender { get; } @@ -1491,14 +1410,12 @@ interface GKMatchmaker { void QueryActivity ([NullAllowed] GKQueryHandler completionHandler); [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("matchForInvite:completionHandler:")] [Async] void Match (GKInvite invite, [NullAllowed] Action completionHandler); [NoTV] - [Mac (10, 9)] [Deprecated (PlatformName.iOS, 8, 0, message: "Use 'CancelPendingInvite' instead.")] [Deprecated (PlatformName.MacOSX, 10, 10, message: "Use 'CancelPendingInvite' instead.")] [MacCatalyst (13, 1)] @@ -1506,13 +1423,11 @@ interface GKMatchmaker { [Export ("cancelInviteToPlayer:")] void CancelInvite (string playerID); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("finishMatchmakingForMatch:")] void FinishMatchmaking (GKMatch match); [NoTV] - [Mac (10, 9)] [Deprecated (PlatformName.iOS, 8, 0, message: "Use 'StartBrowsingForNearbyPlayers(Action handler)' instead.")] [Deprecated (PlatformName.MacOSX, 10, 10, message: "Use 'StartBrowsingForNearbyPlayers(Action handler)' instead.")] [MacCatalyst (13, 1)] @@ -1520,24 +1435,20 @@ interface GKMatchmaker { [Export ("startBrowsingForNearbyPlayersWithReachableHandler:")] void StartBrowsingForNearbyPlayers ([NullAllowed] Action reachableHandler); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("stopBrowsingForNearbyPlayers")] void StopBrowsingForNearbyPlayers (); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("cancelPendingInviteToPlayer:")] void CancelPendingInvite (GKPlayer player); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("findPlayersForHostedRequest:withCompletionHandler:")] [Async] void FindPlayersForHostedRequest (GKMatchRequest request, [NullAllowed] Action completionHandler); // Not truly an [Async] method since the handler can be called multiple times, for each player found - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("startBrowsingForNearbyPlayersWithHandler:")] void StartBrowsingForNearbyPlayers ([NullAllowed] Action handler); @@ -1621,7 +1532,6 @@ interface GKMatchmakerViewController [Export ("setHostedPlayer:connected:")] void SetHostedPlayerConnected (string playerID, bool connected); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("setHostedPlayer:didConnect:")] void SetHostedPlayerConnected (GKPlayer playerID, bool connected); @@ -1670,7 +1580,6 @@ interface GKMatchmakerViewControllerDelegate { #if !NET [Abstract] #endif - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("matchmakerViewController:didFindHostedPlayers:"), EventArgs ("GKMatchmakingPlayers")] void DidFindHostedPlayers (GKMatchmakerViewController viewController, GKPlayer [] playerIDs); @@ -1683,14 +1592,12 @@ interface GKMatchmakerViewControllerDelegate { [Export ("matchmakerViewController:didReceiveAcceptFromHostedPlayer:"), EventArgs ("GKPlayer")] void ReceivedAcceptFromHostedPlayer (GKMatchmakerViewController viewController, string playerID); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("matchmakerViewController:hostedPlayerDidAccept:"), EventArgs ("GKMatchmakingPlayer")] void HostedPlayerDidAccept (GKMatchmakerViewController viewController, GKPlayer playerID); } [BaseType (typeof (NSObject))] - [Watch (3, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] interface GKAchievement : NSSecureCoding { @@ -1788,33 +1695,27 @@ string PlayerID { } [NoWatch] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("reportAchievements:withEligibleChallenges:withCompletionHandler:"), Static] [Async] void ReportAchievements (GKAchievement [] achievements, GKChallenge [] challenges, [NullAllowed] Action completionHandler); [NullAllowed] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("player", ArgumentSemantic.Retain)] GKPlayer Player { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("initWithIdentifier:player:")] NativeHandle Constructor ([NullAllowed] string identifier, GKPlayer player); - [Mac (10, 10)] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Async (ResultTypeName = "GKChallengeComposeResult")] [Export ("challengeComposeControllerWithMessage:players:completionHandler:")] UIViewController ChallengeComposeController ([NullAllowed] string message, GKPlayer [] players, [NullAllowed] GKChallengeComposeHandler completionHandler); [NoWatch] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Async] [Export ("selectChallengeablePlayers:withCompletionHandler:")] @@ -1832,7 +1733,6 @@ string PlayerID { } [BaseType (typeof (NSObject))] - [Watch (3, 0)] [MacCatalyst (13, 1)] interface GKAchievementDescription : NSSecureCoding { [Export ("identifier", ArgumentSemantic.Copy)] @@ -2000,7 +1900,6 @@ interface GKFriendRequestComposeViewController : UIAppearance { [Export ("addRecipientsWithEmailAddresses:")] void AddRecipientsFromEmails (string [] emailAddresses); - [iOS (8, 0), Mac (10, 10)] [Export ("addRecipientPlayers:")] void AddRecipientPlayers (GKPlayer [] players); @@ -2039,12 +1938,9 @@ partial interface GKNotificationBanner { void Show ([NullAllowed] string title, [NullAllowed] string message, double durationSeconds, [NullAllowed] Action completionHandler); } - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKTurnBasedParticipant { - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("player", ArgumentSemantic.Retain)] [NullAllowed] @@ -2080,7 +1976,6 @@ interface GKTurnBasedParticipant { [Protocol] [Deprecated (PlatformName.iOS, 7, 0, message: "Use 'GKLocalPlayer.RegisterListener' with an object that implements 'IGKTurnBasedEventListener'.")] [Deprecated (PlatformName.MacOSX, 10, 10, message: "Use 'GKLocalPlayer.RegisterListener' with an object that implements 'IGKTurnBasedEventListener'.")] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GKLocalPlayer.RegisterListener' with an object that implements 'IGKTurnBasedEventListener'.")] interface GKTurnBasedEventHandlerDelegate { @@ -2117,7 +2012,6 @@ interface GKTurnBasedEventHandlerDelegate { [Deprecated (PlatformName.iOS, 7, 0, message: "Use GKLocalPlayer.RegisterListener with an object that implements IGKTurnBasedEventListener.")] [Deprecated (PlatformName.MacOSX, 10, 10, message: "Use GKLocalPlayer.RegisterListener with an object that implements IGKTurnBasedEventListener.")] [BaseType (typeof (NSObject))] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use GKLocalPlayer.RegisterListener with an object that implements IGKTurnBasedEventListener.")] interface GKTurnBasedEventHandler { @@ -2139,7 +2033,6 @@ interface GKTurnBasedEventHandler { delegate void GKTurnBasedMatchData (NSData matchData, NSError error); - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKTurnBasedMatch { @@ -2230,19 +2123,16 @@ interface GKTurnBasedMatch { [Export ("matchDataMaximumSize")] nint MatchDataMaximumSize { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("rematchWithCompletionHandler:")] [Async] void Rematch ([NullAllowed] Action completionHandler); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("endTurnWithNextParticipants:turnTimeout:matchData:completionHandler:")] [Async] void EndTurn (GKTurnBasedParticipant [] nextParticipants, double timeoutSeconds, NSData matchData, [NullAllowed] Action completionHandler); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("participantQuitInTurnWithOutcome:nextParticipants:turnTimeout:matchData:completionHandler:")] [Async] @@ -2252,45 +2142,37 @@ interface GKTurnBasedMatch { [Async] void SaveCurrentTurn (NSData matchData, [NullAllowed] Action completionHandler); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("GKTurnTimeoutDefault"), Static] double DefaultTimeout { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("GKTurnTimeoutNone"), Static] double NoTimeout { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("exchanges", ArgumentSemantic.Retain)] [NullAllowed] GKTurnBasedExchange [] Exchanges { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("activeExchanges", ArgumentSemantic.Retain)] [NullAllowed] GKTurnBasedExchange [] ActiveExchanges { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("completedExchanges", ArgumentSemantic.Retain)] [NullAllowed] GKTurnBasedExchange [] CompletedExchanges { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("exchangeDataMaximumSize")] nuint ExhangeDataMaximumSize { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("exchangeMaxInitiatedExchangesPerPlayer")] nuint ExchangeMaxInitiatedExchangesPerPlayer { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("setLocalizableMessageWithKey:arguments:")] void SetMessage (string localizableMessage, [NullAllowed] params NSObject [] arguments); @@ -2298,26 +2180,22 @@ interface GKTurnBasedMatch { [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action)' instead.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action)' instead.")] [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action)' instead.")] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action)' instead.")] [Export ("endMatchInTurnWithMatchData:scores:achievements:completionHandler:")] [Async] void EndMatchInTurn (NSData matchData, [NullAllowed] GKScore [] scores, [NullAllowed] GKAchievement [] achievements, [NullAllowed] Action completionHandler); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("saveMergedMatchData:withResolvedExchanges:completionHandler:")] [Async] void SaveMergedMatchData (NSData matchData, GKTurnBasedExchange [] exchanges, [NullAllowed] Action completionHandler); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("sendExchangeToParticipants:data:localizableMessageKey:arguments:timeout:completionHandler:")] [Async] void SendExchange (GKTurnBasedParticipant [] participants, NSData data, string localizableMessage, NSObject [] arguments, double timeout, [NullAllowed] Action completionHandler); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("sendReminderToParticipants:localizableMessageKey:arguments:completionHandler:")] [Async] @@ -2406,7 +2284,6 @@ interface GKTurnBasedMatchmakerViewControllerDelegate { } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKChallenge : NSSecureCoding { @@ -2449,13 +2326,11 @@ interface GKChallenge : NSSecureCoding { [Async] void LoadReceivedChallenges ([NullAllowed] Action completionHandler); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("issuingPlayer", ArgumentSemantic.Copy)] [NullAllowed] GKPlayer IssuingPlayer { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("receivingPlayer", ArgumentSemantic.Copy)] [NullAllowed] @@ -2463,7 +2338,6 @@ interface GKChallenge : NSSecureCoding { } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (GKChallenge))] interface GKScoreChallenge { @@ -2474,7 +2348,6 @@ interface GKScoreChallenge { } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (GKChallenge))] interface GKAchievementChallenge { @@ -2488,7 +2361,6 @@ interface GKAchievementChallenge { [DisableDefaultCtor] // the native 'init' method returned nil. #endif [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType ( #if MONOMAC @@ -2563,7 +2435,6 @@ interface GKGameCenterViewController [Deprecated (PlatformName.iOS, 14, 0, message: "Use '.ctor (GKLeaderboard, GKLeaderboardPlayerScope)' instead.")] [Deprecated (PlatformName.TvOS, 14, 0, message: "Use '.ctor (GKLeaderboard, GKLeaderboardPlayerScope)' instead.")] [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use '.ctor (GKLeaderboard, GKLeaderboardPlayerScope)' instead.")] - [Mac (10, 10)] // Marked 10.9 in header, apple 17612948 [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use '.ctor (GKLeaderboard, GKLeaderboardPlayerScope)' instead.")] [NullAllowed] // by default this property is null @@ -2637,8 +2508,6 @@ interface GKChallengeEventHandlerDelegate { void RemotePlayerCompletedChallenge (GKChallenge challenge); } - [Mac (10, 10)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKTurnBasedExchange { @@ -2696,8 +2565,6 @@ interface GKTurnBasedExchange { double TimeoutNone { get; } } - [Mac (10, 10)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKTurnBasedExchangeReply { @@ -2713,15 +2580,12 @@ interface GKTurnBasedExchangeReply { [NullAllowed] NSData Data { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("replyDate")] [NullAllowed] NSDate ReplyDate { get; } } - [Mac (10, 10)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Model, Protocol, BaseType (typeof (NSObject))] interface GKLocalPlayerListener : GKTurnBasedEventListener @@ -2735,7 +2599,6 @@ interface GKLocalPlayerListener : GKTurnBasedEventListener } [NoWatch] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Model, Protocol, BaseType (typeof (NSObject))] interface GKChallengeListener { @@ -2753,11 +2616,9 @@ interface GKChallengeListener { } [NoWatch] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Protocol, Model, BaseType (typeof (NSObject))] interface GKInviteEventListener { - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("player:didAcceptInvite:")] void DidAcceptInvite (GKPlayer player, GKInvite invite); @@ -2770,14 +2631,11 @@ interface GKInviteEventListener { [Export ("player:didRequestMatchWithPlayers:")] void DidRequestMatch (GKPlayer player, string [] playerIDs); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("player:didRequestMatchWithRecipients:")] void DidRequestMatch (GKPlayer player, GKPlayer [] recipientPlayers); } - [Mac (10, 10)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Model, Protocol, BaseType (typeof (NSObject))] interface GKTurnBasedEventListener { @@ -2808,22 +2666,16 @@ interface GKTurnBasedEventListener { void ReceivedExchangeReplies (GKPlayer player, GKTurnBasedExchangeReply [] replies, GKTurnBasedExchange exchange, GKTurnBasedMatch match); [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("player:didRequestMatchWithOtherPlayers:")] void DidRequestMatchWithOtherPlayers (GKPlayer player, GKPlayer [] playersToInvite); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("player:wantsToQuitMatch:")] void WantsToQuitMatch (GKPlayer player, GKTurnBasedMatch match); } [NoWatch] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'GKMatchmakerViewController' (real-time) or 'GKTurnBasedMatchmakerViewController' (turn-based) instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'GKMatchmakerViewController' (real-time) or 'GKTurnBasedMatchmakerViewController' (turn-based) instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'GKMatchmakerViewController' (real-time) or 'GKTurnBasedMatchmakerViewController' (turn-based) instead.")] @@ -2926,9 +2778,6 @@ interface GKGameSession { interface IGKGameSessionEventListener { } [NoWatch] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'GKLocalPlayerListener' instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'GKLocalPlayerListener' instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'GKLocalPlayerListener' instead.")] @@ -2958,7 +2807,6 @@ interface GKGameSessionEventListener { [NoMac] [NoWatch] [NoiOS] - [TV (10, 0)] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'GKMatchmakerViewController' (real-time) or 'GKTurnBasedMatchmakerViewController' (turn-based) instead.")] [NoMacCatalyst] [BaseType (typeof (UIViewController))] @@ -2982,7 +2830,6 @@ interface IGKGameSessionSharingViewControllerDelegate { } [NoMac] [NoWatch] [NoiOS] - [TV (10, 0)] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'GKMatchmakerViewControllerDelegate' (real-time) or 'GKTurnBasedMatchmakerViewControllerDelegate' (turn-based) instead.")] [NoMacCatalyst] [Protocol, Model] diff --git a/src/gameplaykit.cs b/src/gameplaykit.cs index 1ac17cae96bb..c36e4b3da5ce 100644 --- a/src/gameplaykit.cs +++ b/src/gameplaykit.cs @@ -44,7 +44,6 @@ namespace GameplayKit { [Native] [Flags] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] public enum GKMeshGraphTriangulationMode : ulong { Vertices = 1 << 0, @@ -53,7 +52,6 @@ public enum GKMeshGraphTriangulationMode : ulong { } [Native] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] public enum GKRTreeSplitStrategy : long { Halve = 0, @@ -64,7 +62,6 @@ public enum GKRTreeSplitStrategy : long { interface IGKAgentDelegate { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] [Model] @@ -78,7 +75,6 @@ interface GKAgentDelegate { void AgentDidUpdate (GKAgent agent); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (GKComponent))] interface GKAgent : NSSecureCoding { @@ -100,7 +96,6 @@ interface GKAgent : NSSecureCoding { [Export ("speed")] float Speed { get; [MacCatalyst (13, 1)] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] set; } @@ -111,7 +106,6 @@ float Speed { float MaxSpeed { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (GKAgent))] interface GKAgent2D : NSSecureCoding { @@ -137,7 +131,6 @@ Vector2 Velocity { void Update (double deltaTimeInSeconds); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (GKAgent))] interface GKAgent3D { @@ -190,7 +183,6 @@ MatrixFloat3x3 Rotation3x3 { // FIXME: @interface GKBehavior : NSObject // Fix when we have NSFastEnumerator to IEnumerable support // https://bugzilla.xamarin.com/show_bug.cgi?id=4391 - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKBehavior : NSCopying { @@ -240,7 +232,6 @@ interface GKBehavior : NSCopying { NSNumber ObjectForKeyedSubscript (GKGoal goal); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] @@ -253,18 +244,15 @@ interface GKComponent : NSCopying, NSSecureCoding { [Export ("updateWithDeltaTime:")] void Update (double deltaTimeInSeconds); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("didAddToEntity")] void DidAddToEntity (); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("willRemoveFromEntity")] void WillRemoveFromEntity (); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // We have a manual default ctor. @@ -303,18 +291,15 @@ interface GKComponentSystem void Update (double deltaTimeInSeconds); [EditorBrowsable (EditorBrowsableState.Advanced)] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("classForGenericArgumentAtIndex:")] Class GetClassForGenericArgument (nuint index); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("Class.Lookup (GetClassForGenericArgument (index))!")] Type GetTypeForGenericArgument (nuint index); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (GKBehavior))] interface GKCompositeBehavior { @@ -355,7 +340,6 @@ interface GKCompositeBehavior { NSNumber ObjectForKeyedSubscript (GKBehavior behavior); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -371,7 +355,6 @@ interface GKDecisionNode { GKDecisionNode CreateBranch (nint weight, NSObject attribute); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -393,20 +376,15 @@ interface GKDecisionTree : NSSecureCoding { [return: NullAllowed] NSObject FindAction (NSDictionary answers); - [iOS (11, 0), TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("initWithURL:error:")] NativeHandle Constructor (NSUrl url, [NullAllowed] NSError error); - [iOS (11, 0), TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("exportToURL:error:")] bool Export (NSUrl url, [NullAllowed] NSError error); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // designated @@ -441,7 +419,6 @@ interface GKEntity : NSCopying, NSSecureCoding { interface IGKGameModelUpdate { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface GKGameModelUpdate { @@ -453,7 +430,6 @@ interface GKGameModelUpdate { interface IGKGameModelPlayer { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface GKGameModelPlayer { @@ -472,7 +448,6 @@ interface GKGameModelPlayer { interface IGKGameModel { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface GKGameModel : NSCopying { @@ -513,14 +488,11 @@ interface GKGameModel : NSCopying { [Export ("isLossForPlayer:")] bool IsLoss (IGKGameModelPlayer player); - [Mac (10, 11, 2)] - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("unapplyGameModelUpdate:")] void UnapplyGameModelUpdate (IGKGameModelUpdate gameModelUpdate); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKGoal : NSCopying { @@ -574,7 +546,6 @@ interface GKGoal : NSCopying { GKGoal GetGoalToStayOnPath (GKPath path, double maxPredictionTime); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKGraph : NSCopying, NSSecureCoding { @@ -605,7 +576,6 @@ interface GKGraph : NSCopying, NSSecureCoding { interface GKObstacleGraph : GKObstacleGraph { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (GKGraph))] interface GKObstacleGraph { @@ -624,14 +594,12 @@ interface GKObstacleGraph { NativeHandle Constructor (GKPolygonObstacle [] obstacles, float bufferRadius); [Internal] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static] [Export ("graphWithObstacles:bufferRadius:nodeClass:")] IntPtr GraphWithObstacles (GKPolygonObstacle [] obstacles, float bufferRadius, Class nodeClass); [Internal] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("initWithObstacles:bufferRadius:nodeClass:")] NativeHandle Constructor (GKPolygonObstacle [] obstacles, float bufferRadius, Class nodeClass); @@ -668,12 +636,10 @@ interface GKObstacleGraph { bool IsConnectionLocked (GKGraphNode2D startNode, GKGraphNode2D endNode); [EditorBrowsable (EditorBrowsableState.Advanced)] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("classForGenericArgumentAtIndex:")] Class GetClassForGenericArgument (nuint index); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("Class.Lookup (GetClassForGenericArgument (index))!")] Type GetTypeForGenericArgument (nuint index); @@ -684,7 +650,6 @@ interface GKObstacleGraph { // but we are not doing it since there is not much value to do it right now // due to it is only used in the return type of GetNodeAt which in docs says // it returns a GKGridGraphNode and we avoid a breaking change. Added a generic GetNodeAt. - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (GKGraph))] interface GKGridGraph { @@ -713,26 +678,22 @@ Vector2i GridOrigin { [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] NativeHandle Constructor (Vector2i position, int width, int height, bool diagonalsAllowed); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static] [Export ("graphFromGridStartingAt:width:height:diagonalsAllowed:nodeClass:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] GKGridGraph FromGridStartingAt (Vector2i position, int width, int height, bool diagonalsAllowed, Class aClass); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static] [Wrap ("FromGridStartingAt (position, width, height, diagonalsAllowed, new Class (type))")] GKGridGraph FromGridStartingAt (Vector2i position, int width, int height, bool diagonalsAllowed, Type type); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("initFromGridStartingAt:width:height:diagonalsAllowed:nodeClass:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] NativeHandle Constructor (Vector2i position, int width, int height, bool diagonalsAllowed, Class aClass); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("this (position, width, height, diagonalsAllowed, new Class (nodeType))")] NativeHandle Constructor (Vector2i position, int width, int height, bool diagonalsAllowed, Type nodeType); @@ -747,18 +708,15 @@ Vector2i GridOrigin { void ConnectNodeToAdjacentNodes (GKGridGraphNode node); [EditorBrowsable (EditorBrowsableState.Advanced)] - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("classForGenericArgumentAtIndex:")] Class GetClassForGenericArgument (nuint index); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("Class.Lookup (GetClassForGenericArgument (index))!")] Type GetTypeForGenericArgument (nuint index); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (GKGraph))] interface GKMeshGraph where NodeType : GKGraphNode2D { @@ -824,7 +782,6 @@ interface GKMeshGraph where NodeType : GKGraphNode2D { Type GetTypeForGenericArgument (nuint index); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKGraphNode : NSSecureCoding { @@ -851,7 +808,6 @@ interface GKGraphNode : NSSecureCoding { GKGraphNode [] FindPathFrom (GKGraphNode startNode); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKGraphNode))] @@ -875,7 +831,6 @@ Vector2 Position { NativeHandle Constructor (Vector2 point); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKGraphNode))] @@ -900,7 +855,6 @@ Vector3 Position { } [DisableDefaultCtor] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (GKGraphNode))] interface GKGridGraphNode { @@ -925,7 +879,6 @@ Vector2i GridPosition { NativeHandle Constructor (Vector2i gridPosition); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "GKMinmaxStrategist")] interface GKMinMaxStrategist : GKStrategist { @@ -941,14 +894,12 @@ interface GKMinMaxStrategist : GKStrategist { IGKGameModelUpdate GetRandomMove (IGKGameModelPlayer player, nint numMovesToConsider); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] interface GKObstacle { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKObstacle))] @@ -974,7 +925,6 @@ Vector2 Position { NativeHandle Constructor (float radius); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKObstacle))] @@ -997,7 +947,6 @@ interface GKPolygonObstacle : NSSecureCoding { Vector2 GetVertex (nuint index); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKObstacle))] @@ -1023,7 +972,6 @@ Vector3 Position { NativeHandle Constructor (float radius); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -1046,13 +994,11 @@ interface GKPath { [Export ("initWithPoints:count:radius:cyclical:")] IntPtr InitWithPoints (IntPtr points, nuint count, float radius, bool cyclical); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Static, Internal] [Export ("pathWithFloat3Points:count:radius:cyclical:")] GKPath FromFloat3Points (IntPtr points, nuint count, float radius, bool cyclical); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Internal] [Export ("initWithFloat3Points:count:radius:cyclical:")] @@ -1080,20 +1026,17 @@ interface GKPath { [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] Vector2 GetPoint (nuint index); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("float2AtIndex:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] Vector2 GetVector2Point (nuint index); - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("float3AtIndex:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] Vector3 GetVector3Point (nuint index); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -1142,7 +1085,6 @@ interface GKRandomDistribution : GKRandom { GKRandomDistribution GetD20 (); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKRandomDistribution))] @@ -1163,7 +1105,6 @@ interface GKGaussianDistribution { NativeHandle Constructor (IGKRandom source, float mean, float deviation); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKRandomDistribution))] @@ -1177,7 +1118,6 @@ interface GKShuffledDistribution { interface IGKRandom { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface GKRandom { @@ -1199,7 +1139,6 @@ interface GKRandom { bool GetNextBool (); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // designated @@ -1217,7 +1156,6 @@ interface GKRandomSource : GKRandom, NSSecureCoding, NSCopying { NSObject [] ShuffleObjects (NSObject [] array); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (GKRandomSource))] interface GKARC4RandomSource { @@ -1233,7 +1171,6 @@ interface GKARC4RandomSource { void DropValues (nuint count); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (GKRandomSource))] interface GKLinearCongruentialRandomSource { @@ -1246,7 +1183,6 @@ interface GKLinearCongruentialRandomSource { NativeHandle Constructor (ulong seed); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (GKRandomSource))] interface GKMersenneTwisterRandomSource { @@ -1259,7 +1195,6 @@ interface GKMersenneTwisterRandomSource { NativeHandle Constructor (ulong seed); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // designated @@ -1321,7 +1256,6 @@ interface GKRuleSystem { void Reset (); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKRule { @@ -1348,7 +1282,6 @@ interface GKRule { GKRule FromPredicate (Func predicate, Action action); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (GKRule))] interface GKNSPredicateRule { @@ -1363,7 +1296,6 @@ interface GKNSPredicateRule { bool EvaluatePredicate (GKRuleSystem system); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] @@ -1398,7 +1330,6 @@ interface GKState { void WillExit (GKState nextState); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -1434,7 +1365,6 @@ interface GKStateMachine { } [NoMac] - [iOS (9, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKHybridStrategist : GKStrategist { @@ -1448,7 +1378,6 @@ interface GKHybridStrategist : GKStrategist { nuint MaxLookAheadDepth { get; set; } } - [iOS (9, 1)] [MacCatalyst (13, 1)] [Protocol] interface GKStrategist { @@ -1465,7 +1394,6 @@ interface GKStrategist { IGKGameModelUpdate GetBestMoveForActivePlayer (); } - [iOS (9, 1), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKMonteCarloStrategist : GKStrategist { @@ -1476,7 +1404,6 @@ interface GKMonteCarloStrategist : GKStrategist { nuint ExplorationParameter { get; set; } } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKNoise { @@ -1569,7 +1496,6 @@ interface GKNoise { #endif } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKNoiseMap { @@ -1625,7 +1551,6 @@ Vector2i SampleCount { void SetValue (float value, Vector2i position); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [Abstract] @@ -1634,7 +1559,6 @@ interface GKNoiseSource { } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Abstract] [BaseType (typeof (GKNoiseSource))] @@ -1653,7 +1577,6 @@ interface GKCoherentNoiseSource { int Seed { get; set; } } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKCoherentNoiseSource))] @@ -1671,7 +1594,6 @@ interface GKPerlinNoiseSource { NativeHandle Constructor (double frequency, nint octaveCount, double persistence, double lacunarity, int seed); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKCoherentNoiseSource))] @@ -1689,7 +1611,6 @@ interface GKBillowNoiseSource { NativeHandle Constructor (double frequency, nint octaveCount, double persistence, double lacunarity, int seed); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKCoherentNoiseSource))] @@ -1704,7 +1625,6 @@ interface GKRidgedNoiseSource { NativeHandle Constructor (double frequency, nint octaveCount, double lacunarity, int seed); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKNoiseSource))] @@ -1731,7 +1651,6 @@ interface GKVoronoiNoiseSource { NativeHandle Constructor (double frequency, double displacement, bool distanceEnabled, int seed); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKNoiseSource))] @@ -1749,7 +1668,6 @@ interface GKConstantNoiseSource { NativeHandle Constructor (double value); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKNoiseSource))] @@ -1767,7 +1685,6 @@ interface GKCylindersNoiseSource { NativeHandle Constructor (double frequency); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKNoiseSource))] @@ -1785,7 +1702,6 @@ interface GKSpheresNoiseSource { NativeHandle Constructor (double frequency); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (GKNoiseSource))] @@ -1803,7 +1719,6 @@ interface GKCheckerboardNoiseSource { NativeHandle Constructor (double squareSize); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -1816,7 +1731,6 @@ GKBox Box { } } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKOctree where ElementType : NSObject { @@ -1853,7 +1767,6 @@ interface GKOctree where ElementType : NSObject { bool RemoveElement (ElementType element, GKOctreeNode node); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1884,7 +1797,6 @@ interface GKRTree where ElementType : NSObject { ElementType [] GetElements (Vector2 rectMin, Vector2 rectMax); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (GKComponent))] interface GKSKNodeComponent : GKAgentDelegate { @@ -1902,13 +1814,11 @@ interface GKSKNodeComponent : GKAgentDelegate { interface IGKSceneRootNodeType { } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Protocol] interface GKSceneRootNodeType { } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface GKScene : NSCopying, NSSecureCoding { @@ -1918,9 +1828,6 @@ interface GKScene : NSCopying, NSSecureCoding { [return: NullAllowed] GKScene FromFile (string filename); - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("sceneWithFileNamed:rootNode:")] @@ -1949,9 +1856,6 @@ interface GKScene : NSCopying, NSSecureCoding { void RemoveGraph (string name); } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (GKComponent))] interface GKSCNNodeComponent : GKAgentDelegate { @@ -1966,7 +1870,6 @@ interface GKSCNNodeComponent : GKAgentDelegate { SCNNode Node { get; } } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (SKNode))] @@ -1993,7 +1896,6 @@ interface SKNode_GameplayKit { void SetEntity ([NullAllowed] GKEntity entity); } - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (SCNNode))] @@ -2006,7 +1908,6 @@ interface SCNNode_GameplayKit { void SetEntity ([NullAllowed] GKEntity entity); } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "GKQuadtreeNode")] // Renamed to GKQuadtreeNode (lower case t) in Xcode8 [DisableDefaultCtor] // Used as a hint for faster removal via [GKQuadTree removeData:WithNode:] @@ -2019,7 +1920,6 @@ GKQuad Quad { } } - [iOS (10, 0), TV (10, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "GKQuadtree")] // Renamed to GKQuadtree (lower case t) in xcode8 [DisableDefaultCtor] // crash (endless recursion) diff --git a/src/glkit.cs b/src/glkit.cs index cffe3f1f5f1b..76485bff65cd 100644 --- a/src/glkit.cs +++ b/src/glkit.cs @@ -73,8 +73,6 @@ namespace GLKit { [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'Metal' instead.")] - [iOS (9, 0)] - [Mac (10, 11)] [Static] interface GLKModelError { @@ -275,8 +273,6 @@ interface GLKEffectPropertyTransform { [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'Metal' instead.")] - [iOS (9, 0)] - [Mac (10, 11)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // - (nullable instancetype)init NS_UNAVAILABLE; interface GLKMesh { @@ -309,8 +305,6 @@ interface GLKMesh { [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'Metal' instead.")] - [iOS (9, 0)] - [Mac (10, 11)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface GLKMeshBuffer : MDLMeshBuffer { @@ -324,8 +318,6 @@ interface GLKMeshBuffer : MDLMeshBuffer { [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'Metal' instead.")] - [iOS (9, 0)] - [Mac (10, 11)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface GLKMeshBufferAllocator : MDLMeshBufferAllocator { @@ -390,8 +382,6 @@ interface GLKSkyboxEffect : GLKNamedEffect { [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'Metal' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'Metal' instead.")] - [iOS (9, 0)] - [Mac (10, 11)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // (nullable instancetype)init NS_UNAVAILABLE; interface GLKSubmesh { @@ -448,21 +438,12 @@ interface GLKTextureInfo : NSCopying { [Export ("target")] GLKTextureTarget Target { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Export ("mimapLevelCount")] uint MimapLevelCount { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Export ("arrayLength")] uint ArrayLength { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Export ("depth")] uint Depth { get; } } @@ -509,9 +490,6 @@ interface GLKTextureLoader { [return: NullAllowed] GLKTextureInfo CubeMapFromUrl (NSUrl url, [NullAllowed] NSDictionary textureOperations, out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Static] [Export ("textureWithName:scaleFactor:bundle:options:error:")] [return: NullAllowed] @@ -556,9 +534,6 @@ interface GLKTextureLoader { [Async] void BeginLoadCubeMap (NSUrl filePath, [NullAllowed] NSDictionary textureOperations, [NullAllowed] DispatchQueue queue, GLKTextureLoaderCallback onComplete); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Export ("textureWithName:scaleFactor:bundle:options:queue:completionHandler:")] [Async] void BeginTextureLoad (string name, nfloat scaleFactor, [NullAllowed] NSBundle bundle, [NullAllowed] NSDictionary options, [NullAllowed] DispatchQueue queue, GLKTextureLoaderCallback block); @@ -572,7 +547,6 @@ interface GLKTextureLoader { [Field ("GLKTextureLoaderOriginBottomLeft")] NSString OriginBottomLeft { get; } - [Mac (10, 14)] [Field ("GLKTextureLoaderGrayscaleAsAlpha")] NSString GrayscaleAsAlpha { get; } diff --git a/src/healthkit.cs b/src/healthkit.cs index a7ff8a9506e9..d8fee81c8403 100644 --- a/src/healthkit.cs +++ b/src/healthkit.cs @@ -24,7 +24,7 @@ namespace HealthKit { - [Watch (3, 0), iOS (10, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] public enum HKDocumentTypeIdentifier { [Field ("HKDocumentTypeIdentifierCDA")] @@ -32,7 +32,6 @@ public enum HKDocumentTypeIdentifier { } // NSInteger -> HKDefines.h - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [ErrorDomain ("HKErrorDomain")] @@ -52,7 +51,6 @@ public enum HKErrorCode : long { NoData, } - [iOS (10, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -70,7 +68,6 @@ public enum HKWorkoutSessionState : long { NotStarted = 1, Running, Ended, - [Watch (3, 0)] [NoMacCatalyst] Paused, [Watch (5, 0)] @@ -81,8 +78,6 @@ public enum HKWorkoutSessionState : long { Stopped, } - [iOS (11, 0)] - [Watch (4, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -189,7 +184,6 @@ public enum HKVerifiableClinicalRecordCredentialType { delegate void HKWorkoutRouteBuilderDataHandler (HKWorkoutRouteQuery query, CLLocation [] routeData, bool done, NSError error); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] @@ -214,7 +208,6 @@ interface HKAnchoredObjectQuery { NativeHandle Constructor (HKSampleType type, [NullAllowed] NSPredicate predicate, nuint anchor, nuint limit, HKAnchoredObjectResultHandler2 completion); #endif - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("initWithType:predicate:anchor:limit:resultsHandler:")] NativeHandle Constructor (HKSampleType type, [NullAllowed] NSPredicate predicate, [NullAllowed] HKQueryAnchor anchor, nuint limit, HKAnchoredObjectUpdateHandler handler); @@ -224,13 +217,11 @@ interface HKAnchoredObjectQuery { [Export ("initWithQueryDescriptors:anchor:limit:resultsHandler:")] NativeHandle Constructor (HKQueryDescriptor [] queryDescriptors, [NullAllowed] HKQueryAnchor anchor, nint limit, HKAnchoredObjectUpdateHandler resultsHandler); - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("updateHandler", ArgumentSemantic.Copy)] HKAnchoredObjectUpdateHandler UpdateHandler { get; set; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Static] @@ -274,47 +265,38 @@ interface HKPredicateKeyPath { [Field ("HKPredicateKeyPathWorkoutType")] NSString WorkoutType { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount")] NSString WorkoutTotalSwimmingStrokeCount { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKPredicateKeyPathDevice")] NSString Device { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKPredicateKeyPathSourceRevision")] NSString SourceRevision { get; } - [iOS (9, 3), Watch (2, 2)] [MacCatalyst (13, 1)] [Field ("HKPredicateKeyPathDateComponents")] NSString DateComponents { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKPredicateKeyPathCDATitle")] NSString CdaTitle { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKPredicateKeyPathCDAPatientName")] NSString CdaPatientName { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKPredicateKeyPathCDAAuthorName")] NSString CdaAuthorName { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKPredicateKeyPathCDACustodianName")] NSString CdaCustodianName { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKPredicateKeyPathWorkoutTotalFlightsClimbed")] NSString TotalFlightsClimbed { get; } @@ -443,7 +425,6 @@ interface HKPredicateKeyPath { } [NoWatch] // headers says it's available but it's only usable from another, unavailable, type - [iOS (10, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Static] @@ -454,7 +435,6 @@ interface HKDetailedCdaErrorKeys { } [NoWatch] - [iOS (10, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("HKDetailedCdaErrorKeys")] [Internal] @@ -462,7 +442,6 @@ interface HKDetailedCdaErrors { NSString ValidationError { get; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE; @@ -487,14 +466,13 @@ interface HKCategorySample { [Export ("categorySampleWithType:value:startDate:endDate:")] HKCategorySample FromType (HKCategoryType type, nint value, NSDate startDate, NSDate endDate); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("categorySampleWithType:value:startDate:endDate:device:metadata:")] HKCategorySample FromType (HKCategoryType type, nint value, NSDate startDate, NSDate endDate, [NullAllowed] HKDevice device, [NullAllowed] NSDictionary metadata); } - [Watch (3, 0), iOS (10, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSample))] [Abstract] // as per docs @@ -506,7 +484,7 @@ interface HKDocumentSample { HKDocumentType DocumentType { get; } } - [NoWatch, iOS (10, 0), Mac (13, 0)] + [NoWatch, Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKDocumentSample), Name = "HKCDADocumentSample")] [DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKCDADocumentSample @@ -526,7 +504,7 @@ interface HKCdaDocumentSample { HKCdaDocumentSample Create (NSData documentData, NSDate startDate, NSDate endDate, HKMetadata metadata, out NSError validationError); } - [Watch (3, 0), iOS (10, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "HKCDADocument")] [DisableDefaultCtor] // as per docs @@ -547,7 +525,6 @@ interface HKCdaDocument { string CustodianName { get; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSample))] @@ -573,7 +550,6 @@ interface HKCorrelation : NSSecureCoding { [Static, Export ("correlationWithType:startDate:endDate:objects:")] HKCorrelation Create (HKCorrelationType correlationType, NSDate startDate, NSDate endDate, NSSet objects); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("correlationWithType:startDate:endDate:objects:device:metadata:")] @@ -582,7 +558,6 @@ interface HKCorrelation : NSSecureCoding { delegate void HKCorrelationQueryResultHandler (HKCorrelationQuery query, HKCorrelation [] correlations, NSError error); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] @@ -598,7 +573,6 @@ interface HKCorrelationQuery { NSDictionary SamplePredicates { get; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSampleType))] @@ -611,7 +585,6 @@ interface HKCorrelationType { delegate void HKHealthStoreRecoverActiveWorkoutSessionHandler (HKWorkoutSession session, NSError error); delegate void HKHealthStoreCompletionHandler (bool success, NSError error); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -650,18 +623,15 @@ interface HKHealthStore { [Export ("deleteObject:withCompletion:")] void DeleteObject (HKObject obj, Action completion); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Async] [Export ("deleteObjects:withCompletion:")] void DeleteObjects (HKObject [] objects, Action completion); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("deleteObjectsOfType:predicate:withCompletion:")] void DeleteObjects (HKObjectType objectType, NSPredicate predicate, Action completion); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("earliestPermittedSampleDate")] NSDate EarliestPermittedSampleDate { get; } @@ -670,13 +640,11 @@ interface HKHealthStore { [Export ("executeQuery:")] void ExecuteQuery (HKQuery query); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("fitzpatrickSkinTypeWithError:")] [return: NullAllowed] HKFitzpatrickSkinTypeObject GetFitzpatrickSkinType (out NSError error); - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("wheelchairUseWithError:")] [return: NullAllowed] @@ -700,7 +668,6 @@ interface HKHealthStore { [return: NullAllowed] NSDate GetDateOfBirth (out NSError error); - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("dateOfBirthComponentsWithError:")] [return: NullAllowed] @@ -737,12 +704,10 @@ interface HKHealthStore { // FIXME NS_EXTENSION_UNAVAILABLE("Not available to extensions") ; [NoWatch] [Async] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("handleAuthorizationForExtensionWithCompletion:")] void HandleAuthorizationForExtension (Action completion); - [iOS (9, 0)] [Deprecated (PlatformName.WatchOS, 4, 0)] [Deprecated (PlatformName.iOS, 11, 0)] [MacCatalyst (13, 1)] @@ -767,19 +732,19 @@ interface HKHealthStore { [Export ("endWorkoutSession:")] void EndWorkoutSession (HKWorkoutSession workoutSession); - [Watch (3, 0), NoiOS] + [NoiOS] [Deprecated (PlatformName.WatchOS, 5, 0, message: "Use 'HKWorkoutSession.Pause' instead.")] [NoMacCatalyst] [Export ("pauseWorkoutSession:")] void PauseWorkoutSession (HKWorkoutSession workoutSession); - [Watch (3, 0), NoiOS] + [NoiOS] [Deprecated (PlatformName.WatchOS, 5, 0, message: "Use 'HKWorkoutSession.Resume' instead.")] [NoMacCatalyst] [Export ("resumeWorkoutSession:")] void ResumeWorkoutSession (HKWorkoutSession workoutSession); - [NoWatch, iOS (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Async] [Export ("startWatchAppWithWorkoutConfiguration:completion:")] @@ -787,13 +752,11 @@ interface HKHealthStore { // HKUserPreferences category - [iOS (8, 2)] [MacCatalyst (13, 1)] [Async] [Export ("preferredUnitsForQuantityTypes:completion:")] void GetPreferredUnits (NSSet quantityTypes, Action completion); - [iOS (8, 2)] [MacCatalyst (13, 1)] [Notification] [Field ("HKUserPreferencesDidChangeNotification")] @@ -825,7 +788,6 @@ interface HKHealthStore { delegate void HKStoreSampleAddedCallback (bool success, NSError error); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -834,7 +796,6 @@ interface HKBiologicalSexObject : NSCopying, NSSecureCoding { HKBiologicalSex BiologicalSex { get; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -910,72 +871,58 @@ interface HKMetadata { [Export ("CoachedWorkout")] bool CoachedWorkout { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("SexualActivityProtectionUsed")] bool SexualActivityProtectionUsed { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("MenstrualCycleStart")] bool MenstrualCycleStart { get; set; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("WeatherCondition")] HKWeatherCondition WeatherCondition { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("WeatherTemperature")] HKQuantity WeatherTemperature { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("WeatherHumidity")] HKQuantity WeatherHumidity { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("LapLength")] NSString LapLength { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("SwimmingLocationType")] NSString SwimmingLocationType { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("SwimmingStrokeStyle")] NSString SwimmingStrokeStyle { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("SyncIdentifier")] string SyncIdentifier { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("SyncVersion")] int SyncVersion { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("InsulinDeliveryReason")] HKInsulinDeliveryReason InsulinDeliveryReason { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("BloodGlucoseMealTime")] HKBloodGlucoseMealTime BloodGlucoseMealTime { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("VO2MaxTestType")] HKVO2MaxTestType VO2MaxTestType { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("HeartRateMotionContext")] HKHeartRateMotionContext HeartRateMotionContext { get; } @@ -1026,7 +973,6 @@ interface HKMetadata { HKQuantity HeartRateEventThreshold { get; set; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Static] @@ -1088,72 +1034,58 @@ interface HKMetadataKey { [Field ("HKMetadataKeyCoachedWorkout")] NSString CoachedWorkout { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeySexualActivityProtectionUsed")] NSString SexualActivityProtectionUsed { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeyMenstrualCycleStart")] NSString MenstrualCycleStart { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeyWeatherCondition")] NSString WeatherCondition { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeyWeatherTemperature")] NSString WeatherTemperature { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeyWeatherHumidity")] NSString WeatherHumidity { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeyLapLength")] NSString LapLength { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeySwimmingLocationType")] NSString SwimmingLocationType { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeySwimmingStrokeStyle")] NSString SwimmingStrokeStyle { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeySyncIdentifier")] NSString SyncIdentifier { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeySyncVersion")] NSString SyncVersion { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeyInsulinDeliveryReason")] NSString InsulinDeliveryReason { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeyBloodGlucoseMealTime")] NSString BloodGlucoseMealTime { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeyVO2MaxTestType")] NSString VO2MaxTestType { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKMetadataKeyHeartRateMotionContext")] NSString HeartRateMotionContext { get; } @@ -1299,7 +1231,6 @@ interface HKMetadataKey { NSString UserMotionContext { get; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] #if NET @@ -1322,18 +1253,15 @@ interface HKObject : NSSecureCoding { [Wrap ("WeakMetadata")] HKMetadata Metadata { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("sourceRevision", ArgumentSemantic.Strong)] HKSourceRevision SourceRevision { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("device", ArgumentSemantic.Strong)] HKDevice Device { get; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] #if NET @@ -1386,7 +1314,6 @@ interface HKObjectType : NSSecureCoding, NSCopying { HKCorrelationType GetCorrelationType ([NullAllowed] NSString hkCorrelationTypeIdentifier); [NoWatch] // HKDocumentType is iOS only, rdar #27865614 - [iOS (10, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -1401,15 +1328,12 @@ interface HKObjectType : NSSecureCoding, NSCopying { HKWorkoutType GetWorkoutType (); #endif - [Watch (2, 2)] - [iOS (9, 3)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("activitySummaryType")] HKActivitySummaryType ActivitySummaryType { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("seriesTypeForIdentifier:")] @@ -1460,7 +1384,6 @@ interface HKElectrocardiogramType { } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKObjectType))] @@ -1469,7 +1392,6 @@ interface HKCharacteristicType { } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKSampleType @@ -1512,7 +1434,6 @@ interface HKClinicalType { } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSampleType))] @@ -1522,7 +1443,7 @@ interface HKCategoryType { } [NoWatch] // marked as iOS-only (confirmed by Apple) even if some watchOS 3 API returns this type, rdar #27865614 - [iOS (10, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSampleType))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKDocumentType @@ -1530,7 +1451,6 @@ interface HKDocumentType { } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSampleType))] @@ -1549,7 +1469,6 @@ interface HKQuantityType { [MacCatalyst (15, 0)] delegate void HKObserverQueryDescriptorUpdateHandler (HKObserverQuery query, NSSet samples, [BlockCallback] Action completion, NSError error); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] @@ -1567,7 +1486,6 @@ interface HKObserverQuery { NativeHandle Constructor (HKQueryDescriptor [] queryDescriptors, HKObserverQueryDescriptorUpdateHandler updateHandler); } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE; @@ -1587,7 +1505,6 @@ interface HKQuantity : NSSecureCoding, NSCopying { NSComparisonResult Compare (HKQuantity quantity); } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSample))] @@ -1612,7 +1529,6 @@ interface HKQuantitySample { [Wrap ("FromType (quantityType, quantity, startDate, endDate, metadata.GetDictionary ())")] HKQuantitySample FromType (HKQuantityType quantityType, HKQuantity quantity, NSDate startDate, NSDate endDate, HKMetadata metadata); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("quantitySampleWithType:quantity:startDate:endDate:device:metadata:")] @@ -1624,13 +1540,11 @@ interface HKQuantitySample { nint Count { get; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE; [BaseType (typeof (NSObject))] interface HKQuery { - [iOS (9, 3), Watch (2, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("objectType", ArgumentSemantic.Strong)] HKObjectType ObjectType { get; } @@ -1674,19 +1588,16 @@ interface HKQuery { [Export ("predicateForObjectsWithUUIDs:")] NSPredicate GetPredicateForObjects (NSSet objectUuids); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("predicateForObjectsFromDevices:")] NSPredicate GetPredicateForObjectsFromDevices (NSSet devices); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("predicateForObjectsWithDeviceProperty:allowedValues:")] NSPredicate GetPredicateForObjectsWithDeviceProperty (string key, NSSet allowedValues); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("predicateForObjectsFromSourceRevisions:")] @@ -1738,13 +1649,11 @@ interface HKQuery { [Export ("predicateForWorkoutsWithOperatorType:totalDistance:")] NSPredicate GetPredicateForTotalDistance (NSPredicateOperatorType operatorType, HKQuantity totalDistance); - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Static] [Export ("predicateForWorkoutsWithOperatorType:totalSwimmingStrokeCount:")] NSPredicate GetPredicateForTotalSwimmingStrokeCount (NSPredicateOperatorType operatorType, HKQuantity totalSwimmingStrokeCount); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("predicateForWorkoutsWithOperatorType:totalFlightsClimbed:")] @@ -1772,13 +1681,11 @@ interface HKQuery { // HKActivitySummaryPredicates - [iOS (9, 3), Watch (2, 2)] [MacCatalyst (13, 1)] [Static] [Export ("predicateForActivitySummaryWithDateComponents:")] NSPredicate GetPredicateForActivitySummary (NSDateComponents dateComponents); - [iOS (9, 3), Watch (2, 2)] [MacCatalyst (13, 1)] [Static] [Export ("predicateForActivitySummariesBetweenStartDateComponents:endDateComponents:")] @@ -1877,7 +1784,6 @@ interface HKQuery { NSPredicate GetPredicateForWorkouts (NSPredicate activityPredicate); } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKObject))] @@ -1912,7 +1818,6 @@ interface HKSample { delegate void HKSampleQueryResultsHandler (HKSampleQuery query, HKSample [] results, NSError error); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] @@ -1939,7 +1844,6 @@ interface HKSampleQuery { NativeHandle Constructor (HKQueryDescriptor [] queryDescriptors, nint limit, NSSortDescriptor [] sortDescriptors, HKSampleQueryResultsHandler resultsHandler); } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE; @@ -1958,7 +1862,6 @@ interface HKSource : NSSecureCoding, NSCopying { delegate void HKSourceQueryCompletionHandler (HKSourceQuery query, NSSet sources, NSError error); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] @@ -1969,7 +1872,6 @@ interface HKSourceQuery { NativeHandle Constructor (HKSampleType sampleType, [NullAllowed] NSPredicate objectPredicate, HKSourceQueryCompletionHandler completionHandler); } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE; @@ -2055,7 +1957,6 @@ interface HKStatistics : NSSecureCoding, NSCopying { delegate void HKStatisticsCollectionEnumerator (HKStatistics result, bool stop); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE; @@ -2080,7 +1981,6 @@ interface HKStatisticsCollection { delegate void HKStatisticsCollectionQueryStatisticsUpdateHandler (HKStatisticsCollectionQuery query, HKStatistics statistics, HKStatisticsCollection collection, NSError error); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] @@ -2108,7 +2008,6 @@ interface HKStatisticsCollectionQuery { delegate void HKStatisticsQueryHandler (HKStatisticsQuery query, HKStatistics result, NSError error); - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] @@ -2119,7 +2018,6 @@ interface HKStatisticsQuery { NativeHandle Constructor (HKQuantityType quantityType, [NullAllowed] NSPredicate quantitySamplePredicate, HKStatisticsOptions options, HKStatisticsQueryHandler handler); } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] enum HKQuantityTypeIdentifier { @@ -2319,17 +2217,14 @@ enum HKQuantityTypeIdentifier { [Field ("HKQuantityTypeIdentifierDietaryCaffeine")] DietaryCaffeine, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierBasalBodyTemperature")] BasalBodyTemperature, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierDietaryWater")] DietaryWater, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierUVExposure")] UVExposure, @@ -2337,37 +2232,30 @@ enum HKQuantityTypeIdentifier { [Field ("HKQuantityTypeIdentifierElectrodermalActivity")] ElectrodermalActivity, - [iOS (9, 3), Watch (2, 2)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierAppleExerciseTime")] AppleExerciseTime, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierDistanceWheelchair")] DistanceWheelchair, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierPushCount")] PushCount, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierDistanceSwimming")] DistanceSwimming, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierSwimmingStrokeCount")] SwimmingStrokeCount, - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierWaistCircumference")] WaistCircumference, - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierVO2Max")] VO2Max, @@ -2377,22 +2265,18 @@ enum HKQuantityTypeIdentifier { [Field ("HKQuantityTypeIdentifierDistanceDownhillSnowSports")] DistanceDownhillSnowSports, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierInsulinDelivery")] InsulinDelivery, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierRestingHeartRate")] RestingHeartRate, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierWalkingHeartRateAverage")] WalkingHeartRateAverage, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("HKQuantityTypeIdentifierHeartRateVariabilitySDNN")] HeartRateVariabilitySdnn, @@ -2504,7 +2388,6 @@ enum HKQuantityTypeIdentifier { WaterTemperature, } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] enum HKCorrelationTypeIdentifier { @@ -2522,7 +2405,6 @@ enum HKDataTypeIdentifier { HeartbeatSeries, } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] enum HKCategoryTypeIdentifier { @@ -2531,37 +2413,30 @@ enum HKCategoryTypeIdentifier { [Field ("HKCategoryTypeIdentifierSleepAnalysis")] SleepAnalysis, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKCategoryTypeIdentifierAppleStandHour")] AppleStandHour, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKCategoryTypeIdentifierCervicalMucusQuality")] CervicalMucusQuality, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKCategoryTypeIdentifierOvulationTestResult")] OvulationTestResult, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKCategoryTypeIdentifierMenstrualFlow")] MenstrualFlow, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKCategoryTypeIdentifierIntermenstrualBleeding")] IntermenstrualBleeding, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKCategoryTypeIdentifierSexualActivity")] SexualActivity, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("HKCategoryTypeIdentifierMindfulSession")] MindfulSession, @@ -2853,7 +2728,6 @@ enum HKCategoryTypeIdentifier { ProlongedMenstrualPeriods, } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] enum HKCharacteristicTypeIdentifier { @@ -2868,12 +2742,10 @@ enum HKCharacteristicTypeIdentifier { [Field ("HKCharacteristicTypeIdentifierDateOfBirth")] DateOfBirth, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("HKCharacteristicTypeIdentifierFitzpatrickSkinType")] FitzpatrickSkinType, - [iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("HKCharacteristicTypeIdentifierWheelchairUse")] WheelchairUse, @@ -2884,7 +2756,6 @@ enum HKCharacteristicTypeIdentifier { ActivityMoveMode, } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE; @@ -2972,7 +2843,6 @@ interface HKUnit : NSCopying, NSSecureCoding { [Export ("mileUnit")] HKUnit Mile { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("yardUnit")] @@ -3005,13 +2875,11 @@ interface HKUnit : NSCopying, NSSecureCoding { HKUnit PintImperialUnit { get; } [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("cupUSUnit")] HKUnit CupUSUnit { get; } [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("cupImperialUnit")] HKUnit CupImperialUnit { get; } @@ -3087,13 +2955,11 @@ interface HKUnit : NSCopying, NSSecureCoding { [Export ("kilocalorieUnit")] HKUnit Kilocalorie { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("smallCalorieUnit")] HKUnit SmallCalorie { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("largeCalorieUnit")] @@ -3148,7 +3014,6 @@ interface HKUnit : NSCopying, NSSecureCoding { HKUnit ReciprocalUnit (); // HKUnit (Pharmacology) Category - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("internationalUnit")] @@ -3232,7 +3097,6 @@ interface HKUnit : NSCopying, NSSecureCoding { HKUnit DegreeAngle { get; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSample))] @@ -3262,7 +3126,6 @@ interface HKWorkout { [Deprecated (PlatformName.MacOSX, 13, 0)] [Deprecated (PlatformName.iOS, 16, 0)] [Deprecated (PlatformName.MacCatalyst, 16, 0)] - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("totalSwimmingStrokeCount", ArgumentSemantic.Strong)] HKQuantity TotalSwimmingStrokeCount { get; } @@ -3284,49 +3147,41 @@ interface HKWorkout { [Static, Wrap ("Create (workoutActivityType, startDate, endDate, duration, totalEnergyBurned, totalDistance, metadata.GetDictionary ())")] HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKMetadata metadata); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:device:metadata:")] HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, [NullAllowed] HKWorkoutEvent [] workoutEvents, [NullAllowed] HKQuantity totalEnergyBurned, [NullAllowed] HKQuantity totalDistance, [NullAllowed] HKDevice device, [NullAllowed] NSDictionary metadata); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (workoutActivityType, startDate, endDate, workoutEvents, totalEnergyBurned, totalDistance, device, metadata.GetDictionary ())")] HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent [] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, HKMetadata metadata); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("workoutWithActivityType:startDate:endDate:duration:totalEnergyBurned:totalDistance:device:metadata:")] HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, double duration, [NullAllowed] HKQuantity totalEnergyBurned, [NullAllowed] HKQuantity totalDistance, [NullAllowed] HKDevice device, [NullAllowed] NSDictionary metadata); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (workoutActivityType, startDate, endDate, duration, totalEnergyBurned, totalDistance, device, metadata.GetDictionary ())")] HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, HKMetadata metadata); - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:totalSwimmingStrokeCount:device:metadata:")] HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, [NullAllowed] HKWorkoutEvent [] workoutEvents, [NullAllowed] HKQuantity totalEnergyBurned, [NullAllowed] HKQuantity totalDistance, [NullAllowed] HKQuantity totalSwimmingStrokeCount, [NullAllowed] HKDevice device, [NullAllowed] NSDictionary metadata); - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (workoutActivityType, startDate, endDate, workoutEvents, totalEnergyBurned, totalDistance, totalSwimmingStrokeCount, device, metadata.GetDictionary ())")] HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent [] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKQuantity totalSwimmingStrokeCount, HKDevice device, HKMetadata metadata); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:totalFlightsClimbed:device:metadata:")] HKWorkout CreateFlightsClimbedWorkout (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, [NullAllowed] HKWorkoutEvent [] workoutEvents, [NullAllowed] HKQuantity totalEnergyBurned, [NullAllowed] HKQuantity totalDistance, [NullAllowed] HKQuantity totalFlightsClimbed, [NullAllowed] HKDevice device, [NullAllowed] NSDictionary metadata); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("CreateFlightsClimbedWorkout (workoutActivityType, startDate, endDate, workoutEvents, totalEnergyBurned, totalDistance, totalFlightsClimbed, device, metadata.GetDictionary ())")] @@ -3344,12 +3199,10 @@ interface HKWorkout { [Field ("HKWorkoutSortIdentifierTotalEnergyBurned")] NSString SortIdentifierTotalEnergyBurned { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("HKWorkoutSortIdentifierTotalSwimmingStrokeCount")] NSString SortIdentifierTotalSwimmingStrokeCount { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("HKWorkoutSortIdentifierTotalFlightsClimbed")] NSString SortIdentifierTotalFlightsClimbed { get; } @@ -3357,7 +3210,6 @@ interface HKWorkout { [Deprecated (PlatformName.MacOSX, 13, 0)] [Deprecated (PlatformName.iOS, 16, 0)] [Deprecated (PlatformName.MacCatalyst, 16, 0)] - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("totalFlightsClimbed", ArgumentSemantic.Strong)] HKQuantity TotalFlightsClimbed { get; } @@ -3376,7 +3228,6 @@ interface HKWorkout { HKStatistics GetStatistics (HKQuantityType quantityType); } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3391,12 +3242,10 @@ interface HKWorkoutEvent : NSSecureCoding, NSCopying { [Export ("date", ArgumentSemantic.Copy)] NSDate Date { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("metadata", ArgumentSemantic.Copy)] NSDictionary WeakMetadata { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (13, 1)] [Wrap ("WeakMetadata")] HKMetadata Metadata { get; } @@ -3407,7 +3256,6 @@ interface HKWorkoutEvent : NSSecureCoding, NSCopying { [Static, Export ("workoutEventWithType:date:")] HKWorkoutEvent Create (HKWorkoutEventType type, NSDate date); - [Watch (3, 0), iOS (10, 0)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")] [MacCatalyst (13, 1)] @@ -3417,7 +3265,6 @@ interface HKWorkoutEvent : NSSecureCoding, NSCopying { [Export ("workoutEventWithType:date:metadata:")] HKWorkoutEvent Create (HKWorkoutEventType type, NSDate date, NSDictionary metadata); - [Watch (3, 0), iOS (10, 0)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")] [MacCatalyst (13, 1)] @@ -3426,25 +3273,21 @@ interface HKWorkoutEvent : NSSecureCoding, NSCopying { [Wrap ("Create (type, date, metadata.GetDictionary ()!)")] HKWorkoutEvent Create (HKWorkoutEventType type, NSDate date, HKMetadata metadata); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("workoutEventWithType:dateInterval:metadata:")] HKWorkoutEvent Create (HKWorkoutEventType type, NSDateInterval dateInterval, [NullAllowed] NSDictionary metadata); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("Create (type, dateInterval, metadata.GetDictionary ())")] HKWorkoutEvent Create (HKWorkoutEventType type, NSDateInterval dateInterval, HKMetadata metadata); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dateInterval", ArgumentSemantic.Copy)] NSDateInterval DateInterval { get; } } - [iOS (8, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSampleType))] @@ -3454,7 +3297,6 @@ interface HKWorkoutType { NSString Identifier { get; } } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3463,18 +3305,15 @@ interface HKDeletedObject : NSSecureCoding { [Export ("UUID", ArgumentSemantic.Strong)] NSUuid Uuid { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("metadata", ArgumentSemantic.Copy)] NSDictionary WeakMetadata { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Wrap ("WeakMetadata")] HKMetadata Metadata { get; } } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3513,7 +3352,7 @@ interface HKDevice : NSSecureCoding, NSCopying { HKDevice LocalDevice { get; } } - [NoWatch, iOS (10, 0), Mac (13, 0)] + [NoWatch, Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKDocumentQuery @@ -3531,7 +3370,6 @@ interface HKDocumentQuery { NativeHandle Constructor (HKDocumentType documentType, [NullAllowed] NSPredicate predicate, nuint limit, [NullAllowed] NSSortDescriptor [] sortDescriptors, bool includeDocumentData, Action resultsHandler); } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [Static] @@ -3561,7 +3399,6 @@ interface HKDevicePropertyKey { NSString UdiDeviceIdentifier { get; } } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3570,7 +3407,7 @@ interface HKFitzpatrickSkinTypeObject : NSCopying, NSSecureCoding { HKFitzpatrickSkinType SkinType { get; } } - [Watch (3, 0), iOS (10, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface HKWheelchairUseObject : NSCopying, NSSecureCoding { @@ -3578,7 +3415,6 @@ interface HKWheelchairUseObject : NSCopying, NSSecureCoding { HKWheelchairUse WheelchairUse { get; } } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3593,23 +3429,20 @@ interface HKSourceRevision : NSSecureCoding, NSCopying { [Export ("initWithSource:version:")] NativeHandle Constructor (HKSource source, [NullAllowed] string version); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("productType")] string ProductType { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("operatingSystemVersion", ArgumentSemantic.Assign)] NSOperatingSystemVersion OperatingSystemVersion { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithSource:version:productType:operatingSystemVersion:")] NativeHandle Constructor (HKSource source, [NullAllowed] string version, [NullAllowed] string productType, NSOperatingSystemVersion operatingSystemVersion); } - [Watch (4, 0), iOS (11, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [Static] interface HKSourceRevisionInfo { @@ -3630,7 +3463,6 @@ interface HKSourceRevisionInfo { //NSOperatingSystemVersion AnyOperatingSystem { get; } } - [iOS (9, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3656,7 +3488,6 @@ interface HKWorkoutSession : NSSecureCoding { [Export ("locationType")] HKWorkoutSessionLocationType LocationType { get; } - [Watch (3, 0)] [NoMacCatalyst] [Export ("workoutConfiguration", ArgumentSemantic.Copy)] HKWorkoutConfiguration WorkoutConfiguration { get; } @@ -3682,7 +3513,6 @@ interface HKWorkoutSession : NSSecureCoding { [Export ("initWithActivityType:locationType:")] NativeHandle Constructor (HKWorkoutActivityType activityType, HKWorkoutSessionLocationType locationType); - [Watch (3, 0)] [Deprecated (PlatformName.WatchOS, 5, 0, message: "Use HKWorkoutSession (HKHealthStore, HKWorkoutConfiguration, out NSError) instead.")] [NoMacCatalyst] [Export ("initWithConfiguration:error:")] @@ -3755,9 +3585,8 @@ interface HKWorkoutSessionDelegate { [Export ("workoutSession:didFailWithError:")] void DidFail (HKWorkoutSession workoutSession, NSError error); - [Watch (3, 0)] [NoMacCatalyst] - // [iOS (10,0)] // Issue filed at: https://github.com/xamarin/maccore/issues/2609 + // // Issue filed at: https://github.com/xamarin/maccore/issues/2609 [Export ("workoutSession:didGenerateEvent:")] void DidGenerateEvent (HKWorkoutSession workoutSession, HKWorkoutEvent @event); @@ -3770,7 +3599,7 @@ interface HKWorkoutSessionDelegate { void DidEndActivity (HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, NSDate date); } - [iOS (9, 3), Watch (2, 2), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface HKActivitySummary : NSSecureCoding, NSCopying { @@ -3825,7 +3654,7 @@ interface HKActivitySummary : NSSecureCoding, NSCopying { HKQuantity StandHoursGoal { get; set; } } - [iOS (9, 3), Watch (2, 2), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKActivitySummaryQuery @@ -3837,15 +3666,13 @@ interface HKActivitySummaryQuery { NativeHandle Constructor ([NullAllowed] NSPredicate predicate, Action handler); } - [iOS (9, 3), Watch (2, 2), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKObjectType))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: The -init method is not available on HKActivitySummaryType interface HKActivitySummaryType { } - [Watch (3, 0)] - [iOS (10, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3864,7 +3691,7 @@ interface HKWorkoutConfiguration : NSCopying, NSSecureCoding { HKQuantity LapLength { get; set; } } - [Watch (4, 0), iOS (11, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSampleType))] [DisableDefaultCtor] @@ -3880,8 +3707,6 @@ interface HKSeriesType { HKSeriesType HeartbeatSeriesType { get; } } - [iOS (11, 0)] - [Watch (4, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3895,8 +3720,6 @@ interface HKSeriesBuilder void Discard (); } - [iOS (11, 0)] - [Watch (4, 0)] [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSample))] @@ -3906,7 +3729,7 @@ interface HKSeriesSample : NSCopying { nuint Count { get; } } - [Watch (4, 0), iOS (11, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSeriesSample))] [DisableDefaultCtor] @@ -3917,7 +3740,7 @@ interface HKWorkoutRoute : NSCopying { } delegate void HKWorkoutRouteBuilderAddMetadataHandler (bool success, NSError error); - [Watch (4, 0), iOS (11, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKSeriesBuilder))] [DisableDefaultCtor] @@ -3948,7 +3771,7 @@ interface HKWorkoutRouteBuilder { delegate void HKWorkoutRouteQueryDataHandler (HKWorkoutRouteQuery query, [NullAllowed] CLLocation [] routeData, bool done, [NullAllowed] NSError error); - [Watch (4, 0), iOS (11, 0), Mac (13, 0)] + [Mac (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (HKQuery))] interface HKWorkoutRouteQuery { diff --git a/src/healthkitui.cs b/src/healthkitui.cs index b9da41e324e8..02363559a749 100644 --- a/src/healthkitui.cs +++ b/src/healthkitui.cs @@ -13,7 +13,7 @@ namespace HealthKitUI { - [iOS (9, 3), Watch (2, 2), MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (UIView))] [DisableDefaultCtor] // nil handle (introspection) interface HKActivityRingView { diff --git a/src/homekit.cs b/src/homekit.cs index b53b69cd8913..1e79c2d3defd 100644 --- a/src/homekit.cs +++ b/src/homekit.cs @@ -16,8 +16,6 @@ interface UIView {} namespace HomeKit { - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [Static] partial interface HMErrors { @@ -25,8 +23,6 @@ partial interface HMErrors { NSString HMErrorDomain { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (HMHomeManagerDelegate) })] partial interface HMHomeManager { @@ -80,8 +76,6 @@ partial interface HMHomeManager { HMHomeManagerAuthorizationStatus AuthorizationStatus { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [Model, Protocol] [BaseType (typeof (NSObject))] @@ -112,8 +106,6 @@ partial interface HMHomeManagerDelegate { void DidUpdateAuthorizationStatus (HMHomeManager manager, HMHomeManagerAuthorizationStatus status); } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (HMAccessoryDelegate) })] partial interface HMAccessory { @@ -129,7 +121,6 @@ partial interface HMAccessory { [Export ("identifier", ArgumentSemantic.Copy)] NSUuid Identifier { get; } - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } @@ -156,7 +147,6 @@ partial interface HMAccessory { [Export ("identifiersForBridgedAccessories", ArgumentSemantic.Copy)] NSUuid [] IdentifiersForBridgedAccessories { get; } - [iOS (9, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("uniqueIdentifiersForBridgedAccessories", ArgumentSemantic.Copy)] NSUuid [] UniqueIdentifiersForBridgedAccessories { get; } @@ -167,7 +157,6 @@ partial interface HMAccessory { [Export ("services", ArgumentSemantic.Copy)] HMService [] Services { get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("profiles", ArgumentSemantic.Copy)] HMAccessoryProfile [] Profiles { get; } @@ -175,17 +164,14 @@ partial interface HMAccessory { [Export ("blocked")] bool Blocked { [Bind ("isBlocked")] get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("model")] string Model { get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("manufacturer")] string Manufacturer { get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("firmwareVersion")] string FirmwareVersion { get; } @@ -206,14 +192,12 @@ partial interface HMAccessory { [Export ("identifyWithCompletionHandler:")] void Identify (Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("category", ArgumentSemantic.Strong)] HMAccessoryCategory Category { get; } // HMAccessory(Camera) - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("cameraProfiles", ArgumentSemantic.Copy)] HMCameraProfile [] CameraProfiles { get; } @@ -224,8 +208,6 @@ partial interface HMAccessory { bool SupportsIdentify { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [Model, Protocol] [BaseType (typeof (NSObject))] @@ -243,12 +225,10 @@ partial interface HMAccessoryDelegate { [Export ("accessoryDidUpdateServices:")] void DidUpdateServices (HMAccessory accessory); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("accessory:didAddProfile:"), EventArgs ("HMAccessoryProfile")] void DidAddProfile (HMAccessory accessory, HMAccessoryProfile profile); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("accessory:didRemoveProfile:"), EventArgs ("HMAccessoryProfile")] void DidRemoveProfile (HMAccessory accessory, HMAccessoryProfile profile); @@ -259,7 +239,6 @@ partial interface HMAccessoryDelegate { [Export ("accessory:service:didUpdateValueForCharacteristic:"), EventArgs ("HMAccessoryServiceUpdateCharacteristic")] void DidUpdateValueForCharacteristic (HMAccessory accessory, HMService service, HMCharacteristic characteristic); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("accessory:didUpdateFirmwareVersion:"), EventArgs ("HMAccessoryFirmwareVersion")] void DidUpdateFirmwareVersion (HMAccessory accessory, string firmwareVersion); @@ -268,7 +247,6 @@ partial interface HMAccessoryDelegate { #if !WATCH // __WATCHOS_PROHIBITED [NoTV] - [iOS (8, 0)] [NoMacCatalyst] [BaseType (typeof (NSObject), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (HMAccessoryBrowserDelegate) })] partial interface HMAccessoryBrowser { @@ -292,7 +270,6 @@ partial interface HMAccessoryBrowser { } [NoTV] - [iOS (8, 0)] [NoMacCatalyst] [Model, Protocol] [BaseType (typeof (NSObject))] @@ -306,7 +283,6 @@ partial interface HMAccessoryBrowserDelegate { } #endif // !WATCH - [Watch (3, 0), TV (10, 0), iOS (10, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -321,20 +297,15 @@ interface HMAccessoryProfile { HMAccessory Accessory { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] partial interface HMAction { - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -371,25 +342,20 @@ partial interface HMActionSet { void RemoveAction (HMAction action, Action completion); [Internal] - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("actionSetType")] NSString _ActionSetType { get; } - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (14, 0)] [NullAllowed] [Export ("lastExecutionDate", ArgumentSemantic.Copy)] NSDate LastExecutionDate { get; } } - [TV (10, 0)] - [iOS (9, 0)] [MacCatalyst (14, 0)] [Static] [Internal] @@ -409,14 +375,11 @@ interface HMActionSetTypesInternal { [Field ("HMActionSetTypeUserDefined")] NSString UserDefined { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (14, 0)] [Field ("HMActionSetTypeTriggerOwned")] NSString TriggerOwned { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] partial interface HMCharacteristic { @@ -462,29 +425,23 @@ partial interface HMCharacteristic { [Export ("updateAuthorizationData:completionHandler:")] void UpdateAuthorizationData ([NullAllowed] NSData data, Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("localizedDescription")] string LocalizedDescription { get; } - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicKeyPath")] NSString KeyPath { get; } - [iOS (9, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicValueKeyPath")] NSString ValueKeyPath { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [Static] [Internal] @@ -496,8 +453,6 @@ interface HMCharacteristicPropertyInternal { [Field ("HMCharacteristicPropertyWritable")] NSString Writable { get; } - [iOS (9, 3)] - [Watch (2, 2)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicPropertyHidden")] NSString Hidden { get; } @@ -507,8 +462,6 @@ interface HMCharacteristicPropertyInternal { NSString SupportsEventNotification { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [Static] [Internal] @@ -525,30 +478,23 @@ interface HMCharacteristicMetadataUnitsInternal { [Field ("HMCharacteristicMetadataUnitsArcDegree")] NSString ArcDegree { get; } - [iOS (8, 3)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicMetadataUnitsSeconds")] NSString Seconds { get; } - [iOS (9, 3)] - [Watch (2, 2)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicMetadataUnitsLux")] NSString Lux { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicMetadataUnitsPartsPerMillion")] NSString PartsPerMillion { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (14, 0)] [Field ("HMCharacteristicMetadataUnitsMicrogramsPerCubicMeter")] NSString MicrogramsPerCubicMeter { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] partial interface HMCharacteristicMetadata { @@ -576,14 +522,11 @@ partial interface HMCharacteristicMetadata { [NullAllowed, Export ("manufacturerDescription")] string ManufacturerDescription { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("validValues", ArgumentSemantic.Copy)] NSNumber [] ValidValues { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [DisableDefaultCtor] [BaseType (typeof (HMAction))] @@ -621,8 +564,6 @@ partial interface HMCharacteristicWriteAction { #endif } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [DisableDefaultCtor] [BaseType (typeof (NSObject), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (HMHomeDelegate) })] @@ -642,7 +583,6 @@ partial interface HMHome { [Export ("primary")] bool Primary { [Bind ("isPrimary")] get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("homeHubState")] HMHomeHubState HomeHubState { get; } @@ -654,7 +594,6 @@ partial interface HMHome { [Export ("updateName:completionHandler:")] void UpdateName (string name, Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } @@ -698,7 +637,7 @@ partial interface HMHome { void UnblockAccessory (HMAccessory accessory, Action completion); [Deprecated (PlatformName.iOS, 15, 4, message: "Use 'HMAccessorySetupManager.PerformAccessorySetup' instead.")] - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [NoMacCatalyst] [Deprecated (PlatformName.MacCatalyst, 15, 4, message: "Use 'HMAccessorySetupManager.PerformAccessorySetup' instead.")] [Async] @@ -795,7 +734,6 @@ partial interface HMHome { [Export ("executeActionSet:completionHandler:")] void ExecuteActionSet (HMActionSet actionSet, Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("builtinActionSetOfType:")] [return: NullAllowed] @@ -839,20 +777,17 @@ partial interface HMHome { [Export ("addUserWithCompletionHandler:")] void AddUser (Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("currentUser", ArgumentSemantic.Strong)] HMUser CurrentUser { get; } [NoTV] [NoWatch] - [iOS (9, 0)] [MacCatalyst (14, 0)] [Async] [Export ("manageUsersWithCompletionHandler:")] void ManageUsers (Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("homeAccessControlForUser:")] HMHomeAccessControl GetHomeAccessControl (HMUser user); @@ -878,8 +813,6 @@ partial interface HMHome { bool SupportsAddingNetworkRouter { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [Model, Protocol] [BaseType (typeof (NSObject))] @@ -888,7 +821,6 @@ partial interface HMHomeDelegate { [Export ("homeDidUpdateName:")] void DidUpdateNameForHome (HMHome home); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("homeDidUpdateAccessControlForCurrentUser:")] void DidUpdateAccessControlForCurrentUser (HMHome home); @@ -977,7 +909,6 @@ partial interface HMHomeDelegate { [Export ("home:didEncounterError:forAccessory:"), EventArgs ("HMHomeErrorAccessory")] void DidEncounterError (HMHome home, NSError error, HMAccessory accessory); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("home:didUpdateHomeHubState:"), EventArgs ("HMHomeHubState")] void DidUpdateHomeHubState (HMHome home, HMHomeHubState homeHubState); @@ -988,8 +919,6 @@ partial interface HMHomeDelegate { void DidUpdateSupportedFeatures (HMHome home); } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -1008,14 +937,11 @@ partial interface HMRoom { [Export ("updateName:completionHandler:")] void UpdateName (string name, Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] partial interface HMService { @@ -1054,34 +980,27 @@ partial interface HMService { [Export ("updateAssociatedServiceType:completionHandler:")] void UpdateAssociatedServiceType ([NullAllowed] string serviceType, Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("userInteractive")] bool UserInteractive { [Bind ("isUserInteractive")] get; } - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("localizedDescription")] string LocalizedDescription { get; } - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (14, 0)] [Export ("primaryService")] bool PrimaryService { [Bind ("isPrimaryService")] get; } - [Watch (3, 0), iOS (10, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("linkedServices", ArgumentSemantic.Copy)] HMService [] LinkedServices { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -1114,14 +1033,11 @@ partial interface HMServiceGroup { [Export ("removeService:completionHandler:")] void RemoveService (HMService service, Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [DisableDefaultCtor] [BaseType (typeof (HMTrigger))] @@ -1168,8 +1084,6 @@ partial interface HMTimerTrigger { void UpdateRecurrence ([NullAllowed] NSDateComponents recurrence, Action completion); } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -1215,14 +1129,11 @@ partial interface HMTrigger { [Export ("enable:completionHandler:")] void Enable (bool enable, Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -1255,15 +1166,12 @@ partial interface HMZone { [Export ("removeRoom:completionHandler:")] void RemoveRoom (HMRoom room, Action completion); - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } } [Static, Internal] - [iOS (8, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] interface HMCharacteristicMetadataFormatKeys { [Field ("HMCharacteristicMetadataFormatBool")] @@ -1303,8 +1211,6 @@ interface HMCharacteristicMetadataFormatKeys { NSString _Tlv8 { get; } } - [TV (10, 0)] - [iOS (8, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1312,14 +1218,11 @@ interface HMUser { [Export ("name")] string Name { get; } - [iOS (9, 0)] [MacCatalyst (14, 0)] [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } } - [TV (10, 0)] - [iOS (9, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInternalInconsistencyException Reason: init is unavailable @@ -1335,8 +1238,6 @@ interface HMAccessoryCategory { string LocalizedDescription { get; } } - [TV (10, 0)] - [iOS (9, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (HMEvent))] [DisableDefaultCtor] @@ -1364,27 +1265,22 @@ interface HMCharacteristicEvent : NSMutableCopying { void UpdateTriggerValue ([NullAllowed] INSCopying triggerValue, Action completion); } - [TV (10, 0)] - [iOS (9, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] interface HMEvent { [Export ("uniqueIdentifier", ArgumentSemantic.Copy)] NSUuid UniqueIdentifier { get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Static] [Export ("isSupportedForHome:")] bool IsSupported (HMHome home); } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMEvent))] interface HMTimeEvent { } - [TV (10, 0)] - [iOS (9, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (HMTrigger))] [DisableDefaultCtor] @@ -1397,7 +1293,6 @@ interface HMEventTrigger { [NoTV] [NoWatch] - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("initWithName:events:endEvents:recurrences:predicate:")] NativeHandle Constructor (string name, HMEvent [] events, [NullAllowed] HMEvent [] endEvents, [NullAllowed] NSDateComponents [] recurrences, [NullAllowed] NSPredicate predicate); @@ -1405,7 +1300,6 @@ interface HMEventTrigger { [Export ("events", ArgumentSemantic.Copy)] HMEvent [] Events { get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("endEvents", ArgumentSemantic.Copy)] HMEvent [] EndEvents { get; } @@ -1413,17 +1307,14 @@ interface HMEventTrigger { [NullAllowed, Export ("predicate", ArgumentSemantic.Copy)] NSPredicate Predicate { get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("recurrences", ArgumentSemantic.Copy)] NSDateComponents [] Recurrences { get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("executeOnce")] bool ExecuteOnce { get; } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("triggerActivationState", ArgumentSemantic.Assign)] HMEventTriggerActivationState TriggerActivationState { get; } @@ -1433,7 +1324,6 @@ interface HMEventTrigger { [Export ("predicateForEvaluatingTriggerOccurringBeforeSignificantEvent:applyingOffset:")] NSPredicate CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent (NSString significantEvent, [NullAllowed] NSDateComponents offset); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Static] [Export ("predicateForEvaluatingTriggerOccurringBeforeSignificantEvent:")] @@ -1444,13 +1334,11 @@ interface HMEventTrigger { [Export ("predicateForEvaluatingTriggerOccurringAfterSignificantEvent:applyingOffset:")] NSPredicate CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent (NSString significantEvent, [NullAllowed] NSDateComponents offset); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Static] [Export ("predicateForEvaluatingTriggerOccurringAfterSignificantEvent:")] NSPredicate CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent (HMSignificantTimeEvent significantEvent); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Static] [Export ("predicateForEvaluatingTriggerOccurringBetweenSignificantEvent:secondSignificantEvent:")] @@ -1468,7 +1356,6 @@ interface HMEventTrigger { [Export ("predicateForEvaluatingTriggerOccurringAfterDateWithComponents:")] NSPredicate CreatePredicateForEvaluatingTriggerOccurringAfterDate (NSDateComponents dateComponents); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Static] [Export ("predicateForEvaluatingTriggerOccurringBetweenDateWithComponents:secondDateWithComponents:")] @@ -1478,7 +1365,6 @@ interface HMEventTrigger { [Export ("predicateForEvaluatingTriggerWithCharacteristic:relatedBy:toValue:")] NSPredicate CreatePredicateForEvaluatingTrigger (HMCharacteristic characteristic, NSPredicateOperatorType operatorType, NSObject value); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (14, 0)] [Static] [Export ("predicateForEvaluatingTriggerWithPresence:")] @@ -1504,7 +1390,6 @@ interface HMEventTrigger { [NoTV] [NoWatch] - [iOS (11, 0)] [MacCatalyst (14, 0)] [Async] [Export ("updateEvents:completionHandler:")] @@ -1512,7 +1397,6 @@ interface HMEventTrigger { [NoTV] [NoWatch] - [iOS (11, 0)] [MacCatalyst (14, 0)] [Async] [Export ("updateEndEvents:completionHandler:")] @@ -1527,7 +1411,6 @@ interface HMEventTrigger { [NoTV] [NoWatch] - [iOS (11, 0)] [MacCatalyst (14, 0)] [Async] [Export ("updateRecurrences:completionHandler:")] @@ -1535,15 +1418,12 @@ interface HMEventTrigger { [NoTV] [NoWatch] - [iOS (11, 0)] [MacCatalyst (14, 0)] [Async] [Export ("updateExecuteOnce:completionHandler:")] void UpdateExecuteOnce (bool executeOnce, Action completion); } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (HMAccessControl))] [DisableDefaultCtor] @@ -1552,8 +1432,6 @@ interface HMHomeAccessControl { bool Administrator { [Bind ("isAdministrator")] get; } } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (HMEvent))] [DisableDefaultCtor] @@ -1577,7 +1455,7 @@ interface HMLocationEvent : NSMutableCopying { void UpdateRegion (CLRegion region, Action completion); } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMLocationEvent))] [DisableDefaultCtor] interface HMMutableLocationEvent { @@ -1591,7 +1469,7 @@ interface HMMutableLocationEvent { } [NoWatch] - [TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (UIView))] interface HMCameraView { // inlined ctor @@ -1602,7 +1480,7 @@ interface HMCameraView { HMCameraSource CameraSource { get; set; } } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Abstract] // documented as such in header file [BaseType (typeof (NSObject))] interface HMCameraSource { @@ -1613,7 +1491,7 @@ interface HMCameraSource { double AspectRatio { get; } } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMAccessoryProfile))] [DisableDefaultCtor] interface HMCameraProfile { @@ -1633,11 +1511,11 @@ interface HMCameraProfile { HMCameraAudioControl MicrophoneControl { get; } } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] interface HMCameraControl { } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMCameraControl))] interface HMCameraStreamControl { [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] @@ -1658,7 +1536,7 @@ interface HMCameraStreamControl { interface IHMCameraStreamControlDelegate { } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Protocol, Model] [BaseType (typeof (NSObject))] interface HMCameraStreamControlDelegate { @@ -1670,7 +1548,7 @@ interface HMCameraStreamControlDelegate { } // TODO: Type still available for tvOS even if everything in it is __TVOS_PROHIBITED. - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMCameraSource))] interface HMCameraStream { [TV (14, 5)] @@ -1685,7 +1563,7 @@ interface HMCameraStream { void UpdateAudioStreamSetting (HMCameraAudioStreamSetting audioStreamSetting, Action completion); } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMCameraControl))] interface HMCameraSnapshotControl { [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] @@ -1700,29 +1578,26 @@ interface HMCameraSnapshotControl { interface IHMCameraSnapshotControlDelegate { } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [Protocol, Model] [BaseType (typeof (NSObject))] interface HMCameraSnapshotControlDelegate { [Export ("cameraSnapshotControl:didTakeSnapshot:error:")] void DidTakeSnapshot (HMCameraSnapshotControl cameraSnapshotControl, [NullAllowed] HMCameraSnapshot snapshot, [NullAllowed] NSError error); - [iOS (10, 1)] - [Watch (3, 1)] - [TV (10, 1)] [MacCatalyst (14, 0)] [Export ("cameraSnapshotControlDidUpdateMostRecentSnapshot:")] void DidUpdateMostRecentSnapshot (HMCameraSnapshotControl cameraSnapshotControl); } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMCameraSource))] interface HMCameraSnapshot { [Export ("captureDate", ArgumentSemantic.Copy)] NSDate CaptureDate { get; } } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMCameraControl))] [DisableDefaultCtor] interface HMCameraSettingsControl { @@ -1754,7 +1629,7 @@ interface HMCameraSettingsControl { HMCharacteristic ImageMirroring { get; } } - [Watch (3, 0), TV (10, 0), iOS (10, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMCameraControl))] [DisableDefaultCtor] interface HMCameraAudioControl { @@ -1765,7 +1640,7 @@ interface HMCameraAudioControl { HMCharacteristic Volume { get; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMTimeEvent))] [DisableDefaultCtor] interface HMCalendarEvent : NSMutableCopying { @@ -1777,7 +1652,7 @@ interface HMCalendarEvent : NSMutableCopying { NSDateComponents FireDateComponents { get; [NotImplemented] set; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMCalendarEvent))] [DisableDefaultCtor] interface HMMutableCalendarEvent { @@ -1790,7 +1665,7 @@ interface HMMutableCalendarEvent { NSDateComponents FireDateComponents { get; set; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMCharacteristicEvent))] [DisableDefaultCtor] interface HMMutableCharacteristicEvent : NSMutableCopying { @@ -1807,7 +1682,7 @@ interface HMMutableCharacteristicEvent : NSMutableCopying { INSCopying TriggerValue { get; set; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMEvent))] [DisableDefaultCtor] interface HMCharacteristicThresholdRangeEvent : NSMutableCopying { @@ -1822,7 +1697,7 @@ interface HMCharacteristicThresholdRangeEvent : NSMutableCopying { HMNumberRange ThresholdRange { get; [NotImplemented] set; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMCharacteristicThresholdRangeEvent))] [DisableDefaultCtor] interface HMMutableCharacteristicThresholdRangeEvent { @@ -1839,7 +1714,7 @@ interface HMMutableCharacteristicThresholdRangeEvent { HMNumberRange ThresholdRange { get; set; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMTimeEvent))] [DisableDefaultCtor] interface HMDurationEvent : NSMutableCopying { @@ -1851,7 +1726,7 @@ interface HMDurationEvent : NSMutableCopying { double Duration { get; [NotImplemented] set; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMDurationEvent))] [DisableDefaultCtor] interface HMMutableDurationEvent { @@ -1864,7 +1739,7 @@ interface HMMutableDurationEvent { double Duration { get; set; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface HMNumberRange { @@ -1973,7 +1848,7 @@ interface HMAccessorySetupPayload { NativeHandle Constructor (NSUrl setupPayloadUrl, [NullAllowed] HMAccessoryOwnershipToken ownershipToken); } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMEvent))] [DisableDefaultCtor] interface HMPresenceEvent : NSMutableCopying { @@ -1992,7 +1867,7 @@ interface HMPresenceEvent : NSMutableCopying { NSString KeyPath { get; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMPresenceEvent))] [DisableDefaultCtor] interface HMMutablePresenceEvent { @@ -2004,7 +1879,7 @@ interface HMMutablePresenceEvent { HMPresenceEventUserType PresenceUserType { get; /* Radar 33883958: https://trello.com/c/TIlzWzrL*/ [NotImplemented] set; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMTimeEvent))] [DisableDefaultCtor] interface HMSignificantTimeEvent : NSMutableCopying { @@ -2032,7 +1907,7 @@ HMSignificantEvent SignificantEvent { NSDateComponents Offset { get; [NotImplemented] set; } } - [Watch (4, 0), TV (11, 0), iOS (11, 0), MacCatalyst (14, 0)] + [MacCatalyst (14, 0)] [BaseType (typeof (HMSignificantTimeEvent))] interface HMMutableSignificantTimeEvent { diff --git a/src/iAd/ADCompat.cs b/src/iAd/ADCompat.cs index 3077b0486e37..aac4d3067275 100644 --- a/src/iAd/ADCompat.cs +++ b/src/iAd/ADCompat.cs @@ -551,7 +551,6 @@ public static bool ShouldPresentInterstitialAd (this UIViewController This) [Obsoleted (PlatformName.iOS, 12, 0, PlatformArchitecture.None, Constants.iAdRemoved)] public static class IAdPreroll { - [Introduced (PlatformName.iOS, 8, 0, PlatformArchitecture.All, null)] public static void CancelPreroll (this MPMoviePlayerController This) { } diff --git a/src/iAd/iAd.cs b/src/iAd/iAd.cs index c0bb265f5493..77220f340579 100644 --- a/src/iAd/iAd.cs +++ b/src/iAd/iAd.cs @@ -50,7 +50,6 @@ public enum ADInterstitialPresentationPolicy : long { Manual, } - [iOS (9, 0)] [Obsoleted (PlatformName.iOS, 15, 0, PlatformArchitecture.None, Constants.iAdRemoved)] [Native] [ErrorDomain ("ADClientErrorDomain")] diff --git a/src/iTunesLibrary/Enums.cs b/src/iTunesLibrary/Enums.cs index a3db87ea791e..461dccb76f03 100644 --- a/src/iTunesLibrary/Enums.cs +++ b/src/iTunesLibrary/Enums.cs @@ -26,7 +26,6 @@ namespace iTunesLibrary { - [Mac (10, 14)] [Native] public enum ITLibArtworkFormat : ulong { None = 0, @@ -40,7 +39,6 @@ public enum ITLibArtworkFormat : ulong { Pict = 8, } - [Mac (10, 14)] [Native] public enum ITLibMediaItemMediaKind : ulong { Unknown = 1, @@ -63,7 +61,6 @@ public enum ITLibMediaItemMediaKind : ulong { AlertTone = 21, } - [Mac (10, 14)] [Native] public enum ITLibMediaItemLyricsContentRating : ulong { None = 0, @@ -71,7 +68,6 @@ public enum ITLibMediaItemLyricsContentRating : ulong { Clean = 2, } - [Mac (10, 14)] [Native] public enum ITLibMediaItemLocationType : ulong { Unknown = 0, @@ -80,7 +76,6 @@ public enum ITLibMediaItemLocationType : ulong { Remote = 3, } - [Mac (10, 14)] [Native] public enum ITLibMediaItemPlayStatus : ulong { None = 0, @@ -88,7 +83,6 @@ public enum ITLibMediaItemPlayStatus : ulong { Unplayed = 2, } - [Mac (10, 14)] [Native] public enum ITLibDistinguishedPlaylistKind : ulong { None = 0, @@ -116,7 +110,6 @@ public enum ITLibDistinguishedPlaylistKind : ulong { MusicShowsAndMovies = 53, } - [Mac (10, 14)] [Native] public enum ITLibPlaylistKind : ulong { Regular, @@ -126,20 +119,17 @@ public enum ITLibPlaylistKind : ulong { GeniusMix, } - [Mac (10, 14)] [Native] public enum ITLibExportFeature : ulong { ITLibExportFeatureNone = 0, } - [Mac (10, 14)] [Native] public enum ITLibInitOptions : ulong { None = 0, LazyLoadData = 1, } - [Mac (10, 14)] public enum MediaItemProperty { [Field ("ITLibMediaItemPropertyAlbumTitle")] AlbumTitle, @@ -283,7 +273,6 @@ public enum MediaItemProperty { Artwork, } - [Mac (10, 14)] public enum ITLibPlaylistProperty { [Field ("ITLibPlaylistPropertyName")] Name, @@ -307,7 +296,6 @@ public enum ITLibPlaylistProperty { Kind, } - [Mac (10, 14)] public enum ITLibMediaEntityProperty { [Field ("ITLibMediaEntityPropertyPersistentID")] PersistentId, diff --git a/src/iad.cs b/src/iad.cs index e66d0eac34cb..4dd94a577191 100644 --- a/src/iad.cs +++ b/src/iad.cs @@ -17,7 +17,6 @@ namespace iAd { // Xcode 13 (beta1) removed most of the API // AppStore also started to reject apps using those API - [iOS (7, 1)] [Deprecated (PlatformName.iOS, 14, 5, message: "Use 'AAAttribution' instead.")] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -26,12 +25,10 @@ interface ADClient { [Export ("sharedClient")] ADClient SharedClient { get; } - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 13, 0)] [Export ("addClientToSegments:replaceExisting:")] void AddClientToSegments (string [] segmentIdentifiers, bool replaceExisting); - [iOS (9, 0)] [Export ("requestAttributionDetailsWithBlock:")] [Async] void RequestAttributionDetails (Action completionHandler); diff --git a/src/identitylookup.cs b/src/identitylookup.cs index 0f41ddc7f0d2..d38fc5751a98 100644 --- a/src/identitylookup.cs +++ b/src/identitylookup.cs @@ -18,7 +18,6 @@ namespace IdentityLookup { - [iOS (11, 0)] [NoMac] [NoWatch] [NoTV] @@ -40,7 +39,6 @@ public enum ILMessageFilterAction : long { Transaction = 4, } - [iOS (11, 0)] [NoMac] [NoWatch] [NoTV] @@ -86,7 +84,6 @@ public enum ILMessageFilterSubAction : long { PromotionalCoupons = 20002, } - [iOS (11, 0)] [NoMac] [NoWatch] [NoTV] @@ -96,7 +93,6 @@ public enum ILMessageFilterSubAction : long { interface ILMessageFilterExtension { } - [iOS (11, 0)] [NoMac] [NoWatch] [NoTV] @@ -112,7 +108,6 @@ interface ILMessageFilterExtensionContext { interface IILMessageFilterQueryHandling { } - [iOS (11, 0)] [NoMac] [NoWatch] [NoTV] @@ -125,7 +120,6 @@ interface ILMessageFilterQueryHandling { void HandleQueryRequest (ILMessageFilterQueryRequest queryRequest, ILMessageFilterExtensionContext context, Action completion); } - [iOS (11, 0)] [NoMac] [NoWatch] [NoTV] @@ -145,7 +139,6 @@ interface ILMessageFilterQueryRequest : NSSecureCoding { string ReceiverIsoCountryCode { get; } } - [iOS (11, 0)] [NoMac] [NoWatch] [NoTV] @@ -162,7 +155,6 @@ interface ILMessageFilterQueryResponse : NSSecureCoding { ILMessageFilterSubAction SubAction { get; set; } } - [iOS (11, 0)] [NoMac] [NoWatch] [NoTV] diff --git a/src/imagecapturecore.cs b/src/imagecapturecore.cs index 51657ee5ef7c..d3cdeac32919 100644 --- a/src/imagecapturecore.cs +++ b/src/imagecapturecore.cs @@ -914,11 +914,9 @@ interface ICScannerDevice { [Export ("documentUTI")] string DocumentUti { get; set; } - [Mac (10, 13)] [Export ("defaultUsername")] string DefaultUsername { get; set; } - [Mac (10, 13)] [Export ("requestOpenSessionWithCredentials:password:")] void RequestOpenSession (string username, string password); diff --git a/src/imageio.cs b/src/imageio.cs index c071e7991f1b..c40ce3c63548 100644 --- a/src/imageio.cs +++ b/src/imageio.cs @@ -66,7 +66,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyHEICSDictionary")] NSString HeicsDictionary { get; } @@ -87,26 +86,18 @@ interface CGImageProperties { [Field ("kCGImagePropertyMakerNikonDictionary")] NSString MakerNikonDictionary { get; } - [iOS (8, 3)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyMakerMinoltaDictionary")] NSString MakerMinoltaDictionary { get; } - [iOS (8, 3)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyMakerFujiDictionary")] NSString MakerFujiDictionary { get; } - [iOS (8, 3)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyMakerOlympusDictionary")] NSString MakerOlympusDictionary { get; } - [iOS (8, 3)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyMakerPentaxDictionary")] NSString MakerPentaxDictionary { get; } @@ -204,10 +195,6 @@ interface CGImageProperties { NSString ExifSubsecTime { get; } [Field ("kCGImagePropertyExifSubsecTimeOrginal")] NSString ExifSubsecTimeOrginal { get; } - [iOS (10, 0)] - [Mac (10, 11)] - [TV (10, 0)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifSubsecTimeOriginal")] NSString ExifSubsecTimeOriginal { get; } @@ -274,17 +261,17 @@ interface CGImageProperties { [Field ("kCGImagePropertyExifGamma")] NSString ExifGamma { get; } - [Mac (10, 15, 1), iOS (13, 1), TV (13, 1), Watch (6, 1)] + [iOS (13, 1), TV (13, 1), Watch (6, 1)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifCompositeImage")] NSString ExifCompositeImage { get; } - [Mac (10, 15, 1), iOS (13, 1), TV (13, 1), Watch (6, 1)] + [iOS (13, 1), TV (13, 1), Watch (6, 1)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifSourceImageNumberOfCompositeImage")] NSString ExifSourceImageNumberOfCompositeImage { get; } - [Mac (10, 15, 1), iOS (13, 1), TV (13, 1), Watch (6, 1)] + [iOS (13, 1), TV (13, 1), Watch (6, 1)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifSourceExposureTimesOfCompositeImage")] NSString ExifSourceExposureTimesOfCompositeImage { get; } @@ -292,32 +279,26 @@ interface CGImageProperties { // misdocumented (first 4.3, then 5.0) but the constants were not present until 6.x [Field ("kCGImagePropertyExifCameraOwnerName")] - [Mac (10, 9)] // Really introduced in 10.8 (according to header), but as a private symbol in the framework (nm shows it as 's'), so we can't access it. [MacCatalyst (13, 1)] NSString ExifCameraOwnerName { get; } [Field ("kCGImagePropertyExifBodySerialNumber")] - [Mac (10, 9)] // Really introduced in 10.8 (according to header), but as a private symbol in the framework (nm shows it as 's'), so we can't access it. [MacCatalyst (13, 1)] NSString ExifBodySerialNumber { get; } [Field ("kCGImagePropertyExifLensSpecification")] - [Mac (10, 9)] // Really introduced in 10.8 (according to header), but as a private symbol in the framework (nm shows it as 's'), so we can't access it. [MacCatalyst (13, 1)] NSString ExifLensSpecification { get; } [Field ("kCGImagePropertyExifLensMake")] - [Mac (10, 9)] // Really introduced in 10.8 (according to header), but as a private symbol in the framework (nm shows it as 's'), so we can't access it. [MacCatalyst (13, 1)] NSString ExifLensMake { get; } [Field ("kCGImagePropertyExifLensModel")] - [Mac (10, 9)] // Really introduced in 10.8 (according to header), but as a private symbol in the framework (nm shows it as 's'), so we can't access it. [MacCatalyst (13, 1)] NSString ExifLensModel { get; } [Field ("kCGImagePropertyExifLensSerialNumber")] - [Mac (10, 9)] // Really introduced in 10.8 (according to header), but as a private symbol in the framework (nm shows it as 's'), so we can't access it. [MacCatalyst (13, 1)] NSString ExifLensSerialNumber { get; } @@ -358,7 +339,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyGIFCanvasPixelWidth")] NSString GifCanvasPixelWidth { get; } @@ -366,7 +346,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyGIFCanvasPixelHeight")] NSString GifCanvasPixelHeight { get; } @@ -374,7 +353,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyGIFFrameInfoArray")] NSString GifFrameInfoArray { get; } @@ -442,7 +420,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyGPSDifferental")] NSString GPSDifferental { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyGPSHPositioningError")] NSString GPSHPositioningError { get; } @@ -616,26 +593,18 @@ interface CGImageProperties { [Field ("kCGImagePropertyPNGPixelsAspectRatio")] NSString PNGPixelsAspectRatio { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyPNGCompressionFilter")] NSString PNGCompressionFilter { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyAPNGLoopCount")] NSString PNGLoopCount { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyAPNGDelayTime")] NSString PNGDelayTime { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyAPNGUnclampedDelayTime")] NSString PNGUnclampedDelayTime { get; } @@ -643,7 +612,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyAPNGFrameInfoArray")] NSString ApngFrameInfoArray { get; } @@ -651,7 +619,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyAPNGCanvasPixelWidth")] NSString ApngCanvasPixelWidth { get; } @@ -659,27 +626,26 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyAPNGCanvasPixelHeight")] NSString ApngCanvasPixelHeight { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyPNGComment")] NSString PNGComment { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyPNGDisclaimer")] NSString PNGDisclaimer { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyPNGSource")] NSString PNGSource { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyPNGWarning")] NSString PNGWarning { get; } @@ -726,13 +692,9 @@ interface CGImageProperties { [Field ("kCGImagePropertyTIFFPrimaryChromaticities")] NSString TIFFPrimaryChromaticities { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyTIFFTileLength")] NSString TIFFTileLength { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyTIFFTileWidth")] NSString TIFFTileWidth { get; } @@ -752,492 +714,412 @@ interface CGImageProperties { [Field ("kCGImagePropertyDNGLensInfo")] NSString DNGLensInfo { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBlackLevel")] NSString DNGBlackLevel { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGWhiteLevel")] NSString DNGWhiteLevel { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGCalibrationIlluminant1")] NSString DNGCalibrationIlluminant1 { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGCalibrationIlluminant2")] NSString DNGCalibrationIlluminant2 { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGColorMatrix1")] NSString DNGColorMatrix1 { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGColorMatrix2")] NSString DNGColorMatrix2 { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGCameraCalibration1")] NSString DNGCameraCalibration1 { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGCameraCalibration2")] NSString DNGCameraCalibration2 { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGAsShotNeutral")] NSString DNGAsShotNeutral { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGAsShotWhiteXY")] NSString DNGAsShotWhiteXY { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBaselineExposure")] NSString DNGBaselineExposure { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBaselineNoise")] NSString DNGBaselineNoise { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBaselineSharpness")] NSString DNGBaselineSharpness { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGPrivateData")] NSString DNGPrivateData { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGCameraCalibrationSignature")] NSString DNGCameraCalibrationSignature { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileCalibrationSignature")] NSString DNGProfileCalibrationSignature { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGNoiseProfile")] NSString DNGNoiseProfile { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGWarpRectilinear")] NSString DNGWarpRectilinear { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGWarpFisheye")] NSString DNGWarpFisheye { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGFixVignetteRadial")] NSString DNGFixVignetteRadial { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGActiveArea")] NSString DNGActiveArea { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGAnalogBalance")] NSString DNGAnalogBalance { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGAntiAliasStrength")] NSString DNGAntiAliasStrength { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGAsShotICCProfile")] NSString DNGAsShotICCProfile { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGAsShotPreProfileMatrix")] NSString DNGAsShotPreProfileMatrix { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGAsShotProfileName")] NSString DNGAsShotProfileName { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBaselineExposureOffset")] NSString DNGBaselineExposureOffset { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBayerGreenSplit")] NSString DNGBayerGreenSplit { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBestQualityScale")] NSString DNGBestQualityScale { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBlackLevelDeltaH")] NSString DNGBlackLevelDeltaHorizontal { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBlackLevelDeltaV")] NSString DNGBlackLevelDeltaVertical { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGBlackLevelRepeatDim")] NSString DNGBlackLevelRepeatDim { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGCFALayout")] NSString DNGCfaLayout { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGCFAPlaneColor")] NSString DNGCfaPlaneColor { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGChromaBlurRadius")] NSString DNGChromaBlurRadius { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGColorimetricReference")] NSString DNGColorimetricReference { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGCurrentICCProfile")] NSString DNGCurrentICCProfile { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGCurrentPreProfileMatrix")] NSString DNGCurrentPreProfileMatrix { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGDefaultBlackRender")] NSString DNGDefaultBlackRender { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGDefaultCropOrigin")] NSString DNGDefaultCropOrigin { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGDefaultCropSize")] NSString DNGDefaultCropSize { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGDefaultScale")] NSString DNGDefaultScale { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGDefaultUserCrop")] NSString DNGDefaultUserCrop { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGExtraCameraProfiles")] NSString DNGExtraCameraProfiles { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGForwardMatrix1")] NSString DNGForwardMatrix1 { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGForwardMatrix2")] NSString DNGForwardMatrix2 { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGLinearizationTable")] NSString DNGLinearizationTable { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGLinearResponseLimit")] NSString DNGLinearResponseLimit { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGMakerNoteSafety")] NSString DNGMakerNoteSafety { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGMaskedAreas")] NSString DNGMaskedAreas { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGNewRawImageDigest")] NSString DNGNewRawImageDigest { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGNoiseReductionApplied")] NSString DNGNoiseReductionApplied { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGOpcodeList1")] NSString DNGOpcodeList1 { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGOpcodeList2")] NSString DNGOpcodeList2 { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGOpcodeList3")] NSString DNGOpcodeList3 { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGOriginalBestQualityFinalSize")] NSString DNGOriginalBestQualityFinalSize { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGOriginalDefaultCropSize")] NSString DNGOriginalDefaultCropSize { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGOriginalDefaultFinalSize")] NSString DNGOriginalDefaultFinalSize { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGOriginalRawFileData")] NSString DNGOriginalRawFileData { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGOriginalRawFileDigest")] NSString DNGOriginalRawFileDigest { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGOriginalRawFileName")] NSString DNGOriginalRawFileName { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGPreviewApplicationName")] NSString DNGPreviewApplicationName { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGPreviewApplicationVersion")] NSString DNGPreviewApplicationVersion { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGPreviewColorSpace")] NSString DNGPreviewColorSpace { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGPreviewDateTime")] NSString DNGPreviewDateTime { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGPreviewSettingsDigest")] NSString DNGPreviewSettingsDigest { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGPreviewSettingsName")] NSString DNGPreviewSettingsName { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileCopyright")] NSString DNGProfileCopyright { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileEmbedPolicy")] NSString DNGProfileEmbedPolicy { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileHueSatMapData1")] NSString DNGProfileHueSatMapData1 { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileHueSatMapData2")] NSString DNGProfileHueSatMapData2 { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileHueSatMapDims")] NSString DNGProfileHueSatMapDims { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileHueSatMapEncoding")] NSString DNGProfileHueSatMapEncoding { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileLookTableData")] NSString DNGProfileLookTableData { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileLookTableDims")] NSString DNGProfileLookTableDims { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileLookTableEncoding")] NSString DNGProfileLookTableEncoding { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileName")] NSString DNGProfileName { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGProfileToneCurve")] NSString DNGProfileToneCurve { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGRawDataUniqueID")] NSString DNGRawDataUniqueId { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGRawImageDigest")] NSString DNGRawImageDigest { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGRawToPreviewGain")] NSString DNGRawToPreviewGain { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGReductionMatrix1")] NSString DNGReductionMatrix1 { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGReductionMatrix2")] NSString DNGReductionMatrix2 { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGRowInterleaveFactor")] NSString DNGRowInterleaveFactor { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGShadowScale")] NSString DNGShadowScale { get; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyDNGSubTileBlockSize")] NSString DNGSubTileBlockSize { get; } @@ -1297,7 +1179,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyHEICSLoopCount")] NSString HeicsLoopCount { get; } @@ -1305,7 +1186,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyHEICSDelayTime")] NSString HeicsDelayTime { get; } @@ -1313,7 +1193,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyHEICSUnclampedDelayTime")] NSString HeicsSUnclampedDelayTime { get; } @@ -1321,7 +1200,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyHEICSCanvasPixelWidth")] NSString HeicsCanvasPixelWidth { get; } @@ -1329,7 +1207,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyHEICSCanvasPixelHeight")] NSString HeicsCanvasPixelHeight { get; } @@ -1337,7 +1214,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyHEICSFrameInfoArray")] NSString HeicsFrameInfoArray { get; } @@ -1400,27 +1276,21 @@ interface CGImageProperties { [Field ("kCGImagePropertyMakerCanonAspectRatioInfo")] NSString MakerCanonAspectRatioInfo { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifISOSpeed")] NSString ExifISOSpeed { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifISOSpeedLatitudeyyy")] NSString ExifISOSpeedLatitudeYyy { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifISOSpeedLatitudezzz")] NSString ExifISOSpeedLatitudeZzz { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifRecommendedExposureIndex")] NSString ExifRecommendedExposureIndex { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifSensitivityType")] NSString ExifSensitivityType { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifStandardOutputSensitivity")] NSString ExifStandardOutputSensitivity { get; } @@ -1428,7 +1298,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifOffsetTime")] NSString ExifOffsetTime { get; } @@ -1436,7 +1305,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifOffsetTimeOriginal")] NSString ExifOffsetTimeOriginal { get; } @@ -1444,7 +1312,6 @@ interface CGImageProperties { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyExifOffsetTimeDigitized")] NSString ExifOffsetTimeDigitized { get; } @@ -1454,7 +1321,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyMakerAppleDictionary")] NSString MakerAppleDictionary { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyImageCount")] NSString ImageCount { get; } @@ -1463,57 +1329,46 @@ interface CGImageProperties { [Field ("kCGImagePropertyImageIndex")] NSString ImageIndex { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyWidth")] NSString Width { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyHeight")] NSString Height { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyBytesPerRow")] NSString BytesPerRow { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyNamedColorSpace")] NSString NamedColorSpace { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyPixelFormat")] NSString PixelFormat { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyImages")] NSString Images { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyThumbnailImages")] NSString ThumbnailImages { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyAuxiliaryData")] NSString AuxiliaryData { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyAuxiliaryDataType")] NSString AuxiliaryDataType { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyFileContentsDictionary")] NSString FileContentsDictionary { get; } - [Mac (10, 9)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1521,7 +1376,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyOpenEXRDictionary")] NSString OpenExrDictionary { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1529,7 +1383,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtAboutCvTerm")] NSString IPTCExtAboutCvTerm { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1537,7 +1390,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtAboutCvTermCvId")] NSString IPTCExtAboutCvTermCvId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1545,7 +1397,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtAboutCvTermId")] NSString IPTCExtAboutCvTermId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1553,7 +1404,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtAboutCvTermName")] NSString IPTCExtAboutCvTermName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1561,7 +1411,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtAboutCvTermRefinedAbout")] NSString IPTCExtAboutCvTermRefinedAbout { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1569,7 +1418,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtAddlModelInfo")] NSString IPTCExtAddlModelInfo { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1577,7 +1425,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkOrObject")] NSString IPTCExtArtworkOrObject { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1585,7 +1432,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkCircaDateCreated")] NSString IPTCExtArtworkCircaDateCreated { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1593,7 +1439,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkContentDescription")] NSString IPTCExtArtworkContentDescription { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1601,7 +1446,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkContributionDescription")] NSString IPTCExtArtworkContributionDescription { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1609,7 +1453,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkCopyrightNotice")] NSString IPTCExtArtworkCopyrightNotice { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1617,7 +1460,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkCreator")] NSString IPTCExtArtworkCreator { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1625,7 +1467,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkCreatorID")] NSString IPTCExtArtworkCreatorId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1633,7 +1474,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkCopyrightOwnerID")] NSString IPTCExtArtworkCopyrightOwnerId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1641,7 +1481,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkCopyrightOwnerName")] NSString IPTCExtArtworkCopyrightOwnerName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1649,7 +1488,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkLicensorID")] NSString IPTCExtArtworkLicensorId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1657,7 +1495,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkLicensorName")] NSString IPTCExtArtworkLicensorName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1665,7 +1502,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkDateCreated")] NSString IPTCExtArtworkDateCreated { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1673,7 +1509,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkPhysicalDescription")] NSString IPTCExtArtworkPhysicalDescription { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1681,7 +1516,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkSource")] NSString IPTCExtArtworkSource { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1689,7 +1523,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkSourceInventoryNo")] NSString IPTCExtArtworkSourceInventoryNo { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1697,7 +1530,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkSourceInvURL")] NSString IPTCExtArtworkSourceInvUrl { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1705,7 +1537,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkStylePeriod")] NSString IPTCExtArtworkStylePeriod { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1713,7 +1544,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtArtworkTitle")] NSString IPTCExtArtworkTitle { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1721,7 +1551,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtAudioBitrate")] NSString IPTCExtAudioBitrate { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1729,7 +1558,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtAudioBitrateMode")] NSString IPTCExtAudioBitrateMode { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1737,7 +1565,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtAudioChannelCount")] NSString IPTCExtAudioChannelCount { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1745,7 +1572,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtCircaDateCreated")] NSString IPTCExtCircaDateCreated { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1753,7 +1579,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtContainerFormat")] NSString IPTCExtContainerFormat { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1761,7 +1586,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtContainerFormatIdentifier")] NSString IPTCExtContainerFormatIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1769,7 +1593,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtContainerFormatName")] NSString IPTCExtContainerFormatName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1777,7 +1600,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtContributor")] NSString IPTCExtContributor { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1785,7 +1607,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtContributorIdentifier")] NSString IPTCExtContributorIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1793,7 +1614,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtContributorName")] NSString IPTCExtContributorName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1801,7 +1621,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtContributorRole")] NSString IPTCExtContributorRole { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1809,7 +1628,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtCopyrightYear")] NSString IPTCExtCopyrightYear { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1817,7 +1635,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtCreator")] NSString IPTCExtCreator { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1825,7 +1642,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtCreatorIdentifier")] NSString IPTCExtCreatorIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1833,7 +1649,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtCreatorName")] NSString IPTCExtCreatorName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1841,7 +1656,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtCreatorRole")] NSString IPTCExtCreatorRole { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1849,7 +1663,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtControlledVocabularyTerm")] NSString IPTCExtControlledVocabularyTerm { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1857,7 +1670,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDataOnScreen")] NSString IPTCExtDataOnScreen { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1865,7 +1677,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDataOnScreenRegion")] NSString IPTCExtDataOnScreenRegion { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1873,7 +1684,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDataOnScreenRegionD")] NSString IPTCExtDataOnScreenRegionD { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1881,7 +1691,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDataOnScreenRegionH")] NSString IPTCExtDataOnScreenRegionH { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1889,7 +1698,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDataOnScreenRegionText")] NSString IPTCExtDataOnScreenRegionText { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1897,7 +1705,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDataOnScreenRegionUnit")] NSString IPTCExtDataOnScreenRegionUnit { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1905,7 +1712,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDataOnScreenRegionW")] NSString IPTCExtDataOnScreenRegionW { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1913,7 +1719,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDataOnScreenRegionX")] NSString IPTCExtDataOnScreenRegionX { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1921,7 +1726,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDataOnScreenRegionY")] NSString IPTCExtDataOnScreenRegionY { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1929,7 +1733,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDigitalImageGUID")] NSString IPTCExtDigitalImageGuid { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1937,7 +1740,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDigitalSourceFileType")] NSString IPTCExtDigitalSourceFileType { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1945,7 +1747,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDigitalSourceType")] NSString IPTCExtDigitalSourceType { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1953,7 +1754,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDopesheet")] NSString IPTCExtDopesheet { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1961,7 +1761,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDopesheetLink")] NSString IPTCExtDopesheetLink { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1969,7 +1768,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDopesheetLinkLink")] NSString IPTCExtDopesheetLinkLink { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1977,7 +1775,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtDopesheetLinkLinkQualifier")] NSString IPTCExtDopesheetLinkLinkQualifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1985,7 +1782,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtEmbdEncRightsExpr")] NSString IPTCExtEmbdEncRightsExpr { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -1993,7 +1789,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtEmbeddedEncodedRightsExpr")] NSString IPTCExtEmbeddedEncodedRightsExpr { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2001,7 +1796,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtEmbeddedEncodedRightsExprType")] NSString IPTCExtEmbeddedEncodedRightsExprType { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2009,7 +1803,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtEmbeddedEncodedRightsExprLangID")] NSString IPTCExtEmbeddedEncodedRightsExprLangId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2017,7 +1810,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtEpisode")] NSString IPTCExtEpisode { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2025,7 +1817,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtEpisodeIdentifier")] NSString IPTCExtEpisodeIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2033,7 +1824,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtEpisodeName")] NSString IPTCExtEpisodeName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2041,7 +1831,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtEpisodeNumber")] NSString IPTCExtEpisodeNumber { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2049,7 +1838,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtEvent")] NSString IPTCExtEvent { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2057,7 +1845,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtShownEvent")] NSString IPTCExtShownEvent { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2065,7 +1852,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtShownEventIdentifier")] NSString IPTCExtShownEventIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2073,7 +1859,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtShownEventName")] NSString IPTCExtShownEventName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2081,7 +1866,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtExternalMetadataLink")] NSString IPTCExtExternalMetadataLink { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2089,7 +1873,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtFeedIdentifier")] NSString IPTCExtFeedIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2097,7 +1880,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtGenre")] NSString IPTCExtGenre { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2105,7 +1887,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtGenreCvId")] NSString IPTCExtGenreCvId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2113,7 +1894,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtGenreCvTermId")] NSString IPTCExtGenreCvTermId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2121,7 +1901,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtGenreCvTermName")] NSString IPTCExtGenreCvTermName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2129,7 +1908,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtGenreCvTermRefinedAbout")] NSString IPTCExtGenreCvTermRefinedAbout { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2137,7 +1915,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtHeadline")] NSString IPTCExtHeadline { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2145,7 +1922,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtIPTCLastEdited")] NSString IPTCExtIPTCLastEdited { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2153,7 +1929,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLinkedEncRightsExpr")] NSString IPTCExtLinkedEncRightsExpr { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2161,7 +1936,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLinkedEncodedRightsExpr")] NSString IPTCExtLinkedEncodedRightsExpr { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2169,7 +1943,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLinkedEncodedRightsExprType")] NSString IPTCExtLinkedEncodedRightsExprType { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2177,7 +1950,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLinkedEncodedRightsExprLangID")] NSString IPTCExtLinkedEncodedRightsExprLangId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2185,7 +1957,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationCreated")] NSString IPTCExtLocationCreated { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2193,7 +1964,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationCity")] NSString IPTCExtLocationCity { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2201,7 +1971,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationCountryCode")] NSString IPTCExtLocationCountryCode { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2209,7 +1978,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationCountryName")] NSString IPTCExtLocationCountryName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2217,7 +1985,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationGPSAltitude")] NSString IPTCExtLocationGpsAltitude { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2225,7 +1992,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationGPSLatitude")] NSString IPTCExtLocationGpsLatitude { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2233,7 +1999,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationGPSLongitude")] NSString IPTCExtLocationGpsLongitude { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2241,7 +2006,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationIdentifier")] NSString IPTCExtLocationIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2249,7 +2013,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationLocationId")] NSString IPTCExtLocationLocationId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2257,7 +2020,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationLocationName")] NSString IPTCExtLocationLocationName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2265,7 +2027,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationProvinceState")] NSString IPTCExtLocationProvinceState { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2273,7 +2034,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationSublocation")] NSString IPTCExtLocationSublocation { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2281,7 +2041,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationWorldRegion")] NSString IPTCExtLocationWorldRegion { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2289,7 +2048,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtLocationShown")] NSString IPTCExtLocationShown { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2297,7 +2055,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtMaxAvailHeight")] NSString IPTCExtMaxAvailHeight { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2305,7 +2062,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtMaxAvailWidth")] NSString IPTCExtMaxAvailWidth { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2313,7 +2069,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtModelAge")] NSString IPTCExtModelAge { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2321,7 +2076,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtOrganisationInImageCode")] NSString IPTCExtOrganisationInImageCode { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2329,7 +2083,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtOrganisationInImageName")] NSString IPTCExtOrganisationInImageName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2337,7 +2090,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonHeard")] NSString IPTCExtPersonHeard { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2345,7 +2097,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonHeardIdentifier")] NSString IPTCExtPersonHeardIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2353,7 +2104,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonHeardName")] NSString IPTCExtPersonHeardName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2361,7 +2111,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImage")] NSString IPTCExtPersonInImage { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2369,7 +2118,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImageWDetails")] NSString IPTCExtPersonInImageWDetails { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2377,7 +2125,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImageCharacteristic")] NSString IPTCExtPersonInImageCharacteristic { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2385,7 +2132,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImageCvTermCvId")] NSString IPTCExtPersonInImageCvTermCvId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2393,7 +2139,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImageCvTermId")] NSString IPTCExtPersonInImageCvTermId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2401,7 +2146,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImageCvTermName")] NSString IPTCExtPersonInImageCvTermName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2409,7 +2153,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImageCvTermRefinedAbout")] NSString IPTCExtPersonInImageCvTermRefinedAbout { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2417,7 +2160,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImageDescription")] NSString IPTCExtPersonInImageDescription { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2425,7 +2167,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImageId")] NSString IPTCExtPersonInImageId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2433,7 +2174,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPersonInImageName")] NSString IPTCExtPersonInImageName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2441,7 +2181,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtProductInImage")] NSString IPTCExtProductInImage { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2449,7 +2188,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtProductInImageDescription")] NSString IPTCExtProductInImageDescription { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2457,7 +2195,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtProductInImageGTIN")] NSString IPTCExtProductInImageGtin { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2465,7 +2202,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtProductInImageName")] NSString IPTCExtProductInImageName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2473,7 +2209,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPublicationEvent")] NSString IPTCExtPublicationEvent { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2481,7 +2216,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPublicationEventDate")] NSString IPTCExtPublicationEventDate { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2489,7 +2223,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPublicationEventIdentifier")] NSString IPTCExtPublicationEventIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2497,7 +2230,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtPublicationEventName")] NSString IPTCExtPublicationEventName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2505,7 +2237,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRating")] NSString IPTCExtRating { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2513,7 +2244,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRatingRegion")] NSString IPTCExtRatingRatingRegion { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2521,7 +2251,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionCity")] NSString IPTCExtRatingRegionCity { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2529,7 +2258,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionCountryCode")] NSString IPTCExtRatingRegionCountryCode { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2537,7 +2265,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionCountryName")] NSString IPTCExtRatingRegionCountryName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2545,7 +2272,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionGPSAltitude")] NSString IPTCExtRatingRegionGpsAltitude { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2553,7 +2279,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionGPSLatitude")] NSString IPTCExtRatingRegionGpsLatitude { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2561,7 +2286,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionGPSLongitude")] NSString IPTCExtRatingRegionGpsLongitude { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2569,7 +2293,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionIdentifier")] NSString IPTCExtRatingRegionIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2577,7 +2300,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionLocationId")] NSString IPTCExtRatingRegionLocationId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2585,7 +2307,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionLocationName")] NSString IPTCExtRatingRegionLocationName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2593,7 +2314,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionProvinceState")] NSString IPTCExtRatingRegionProvinceState { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2601,7 +2321,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionSublocation")] NSString IPTCExtRatingRegionSublocation { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2609,7 +2328,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingRegionWorldRegion")] NSString IPTCExtRatingRegionWorldRegion { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2617,7 +2335,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingScaleMaxValue")] NSString IPTCExtRatingScaleMaxValue { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2625,7 +2342,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingScaleMinValue")] NSString IPTCExtRatingScaleMinValue { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2633,7 +2349,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingSourceLink")] NSString IPTCExtRatingSourceLink { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2641,7 +2356,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingValue")] NSString IPTCExtRatingValue { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2649,7 +2363,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRatingValueLogoLink")] NSString IPTCExtRatingValueLogoLink { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2657,7 +2370,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRegistryID")] NSString IPTCExtRegistryId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2665,7 +2377,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRegistryEntryRole")] NSString IPTCExtRegistryEntryRole { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2673,7 +2384,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRegistryItemID")] NSString IPTCExtRegistryItemId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2681,7 +2391,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtRegistryOrganisationID")] NSString IPTCExtRegistryOrganisationId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2689,7 +2398,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtReleaseReady")] NSString IPTCExtReleaseReady { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2697,7 +2405,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSeason")] NSString IPTCExtSeason { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2705,7 +2412,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSeasonIdentifier")] NSString IPTCExtSeasonIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2713,7 +2419,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSeasonName")] NSString IPTCExtSeasonName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2721,7 +2426,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSeasonNumber")] NSString IPTCExtSeasonNumber { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2729,7 +2433,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSeries")] NSString IPTCExtSeries { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2737,7 +2440,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSeriesIdentifier")] NSString IPTCExtSeriesIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2745,7 +2447,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSeriesName")] NSString IPTCExtSeriesName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2753,7 +2454,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtStorylineIdentifier")] NSString IPTCExtStorylineIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2761,7 +2461,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtStreamReady")] NSString IPTCExtStreamReady { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2769,7 +2468,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtStylePeriod")] NSString IPTCExtStylePeriod { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2777,7 +2475,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSupplyChainSource")] NSString IPTCExtSupplyChainSource { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2785,7 +2482,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSupplyChainSourceIdentifier")] NSString IPTCExtSupplyChainSourceIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2793,7 +2489,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtSupplyChainSourceName")] NSString IPTCExtSupplyChainSourceName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2801,7 +2496,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtTemporalCoverage")] NSString IPTCExtTemporalCoverage { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2809,7 +2503,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtTemporalCoverageFrom")] NSString IPTCExtTemporalCoverageFrom { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2817,7 +2510,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtTemporalCoverageTo")] NSString IPTCExtTemporalCoverageTo { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2825,7 +2517,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtTranscript")] NSString IPTCExtTranscript { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2833,7 +2524,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtTranscriptLink")] NSString IPTCExtTranscriptLink { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2841,7 +2531,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtTranscriptLinkLink")] NSString IPTCExtTranscriptLinkLink { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2849,7 +2538,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtTranscriptLinkLinkQualifier")] NSString IPTCExtTranscriptLinkLinkQualifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2857,7 +2545,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtVideoBitrate")] NSString IPTCExtVideoBitrate { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2865,7 +2552,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtVideoBitrateMode")] NSString IPTCExtVideoBitrateMode { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2873,7 +2559,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtVideoDisplayAspectRatio")] NSString IPTCExtVideoDisplayAspectRatio { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2881,7 +2566,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtVideoEncodingProfile")] NSString IPTCExtVideoEncodingProfile { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2889,7 +2573,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtVideoShotType")] NSString IPTCExtVideoShotType { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2897,7 +2580,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtVideoShotTypeIdentifier")] NSString IPTCExtVideoShotTypeIdentifier { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2905,7 +2587,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtVideoShotTypeName")] NSString IPTCExtVideoShotTypeName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2913,7 +2594,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtVideoStreamsCount")] NSString IPTCExtVideoStreamsCount { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2921,7 +2601,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtVisualColor")] NSString IPTCExtVisualColor { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2929,7 +2608,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtWorkflowTag")] NSString IPTCExtWorkflowTag { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2937,7 +2615,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtWorkflowTagCvId")] NSString IPTCExtWorkflowTagCvId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2945,7 +2622,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtWorkflowTagCvTermId")] NSString IPTCExtWorkflowTagCvTermId { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2953,7 +2629,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtWorkflowTagCvTermName")] NSString IPTCExtWorkflowTagCvTermName { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2961,7 +2636,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyIPTCExtWorkflowTagCvTermRefinedAbout")] NSString IPTCExtWorkflowTagCvTermRefinedAbout { get; } - [Mac (10, 9)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -2969,7 +2643,6 @@ interface CGImageProperties { [Field ("kCGImagePropertyOpenEXRAspectRatio")] NSString OpenExrAspectRatio { get; } - [Watch (4, 0), Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kCGImagePropertyPrimaryImage")] NSString PrimaryImage { get; } @@ -3092,7 +2765,7 @@ interface CGImageMetadataTagNamespaces { NSString Exif { get; } [Field ("kCGImageMetadataNamespaceExifAux")] NSString ExifAux { get; } - [Mac (10, 9), Field ("kCGImageMetadataNamespaceExifEX")] + [Field ("kCGImageMetadataNamespaceExifEX")] [MacCatalyst (13, 1)] NSString ExifEx { get; } [Field ("kCGImageMetadataNamespaceDublinCore")] @@ -3107,7 +2780,6 @@ interface CGImageMetadataTagNamespaces { NSString XMPBasic { get; } [Field ("kCGImageMetadataNamespaceXMPRights")] NSString XMPRights { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -3122,7 +2794,7 @@ interface CGImageMetadataTagPrefixes { NSString Exif { get; } [Field ("kCGImageMetadataPrefixExifAux")] NSString ExifAux { get; } - [Mac (10, 9), Field ("kCGImageMetadataPrefixExifEX")] + [Field ("kCGImageMetadataPrefixExifEX")] [MacCatalyst (13, 1)] NSString ExifEx { get; } [Field ("kCGImageMetadataPrefixDublinCore")] @@ -3137,7 +2809,6 @@ interface CGImageMetadataTagPrefixes { NSString XMPBasic { get; } [Field ("kCGImageMetadataPrefixXMPRights")] NSString XMPRights { get; } - [Mac (10, 13, 4)] [iOS (11, 3)] [TV (11, 3)] [Watch (4, 3)] @@ -3161,7 +2832,6 @@ interface CGImageOptions { [Field ("kCGImageSourceShouldCache")] IntPtr kShouldCache { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Internal] [Field ("kCGImageSourceShouldCacheImmediately")] @@ -3190,8 +2860,6 @@ interface CGImageThumbnailOptions { [Field ("kCGImageSourceCreateThumbnailWithTransform")] IntPtr kCreateThumbnailWithTransform { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Internal] [Field ("kCGImageSourceSubsampleFactor")] @@ -3219,21 +2887,14 @@ interface CGImageDestinationOptions { [Export ("LossyCompressionQuality")] float LossyCompressionQuality { get; set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("ImageMaxPixelSize")] int ImageMaxPixelSize { get; set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("EmbedThumbnail")] bool EmbedThumbnail { get; set; } - [iOS (9, 3)] - [Mac (10, 12)] - [Watch (2, 3)] [MacCatalyst (13, 1)] [Export ("OptimizeColorForSharing")] bool OptimizeColorForSharing { get; set; } @@ -3307,22 +2968,14 @@ interface CGImageDestinationOptionsKeys { [Field ("kCGImageDestinationBackgroundColor")] NSString BackgroundColor { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImageDestinationImageMaxPixelSize")] NSString ImageMaxPixelSize { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kCGImageDestinationEmbedThumbnail")] NSString EmbedThumbnail { get; } - [iOS (9, 3)] - [Mac (10, 12)] - [TV (9, 2)] - [Watch (2, 3)] [MacCatalyst (13, 1)] [Field ("kCGImageDestinationOptimizeColorForSharing")] NSString OptimizeColorForSharing { get; } @@ -3423,8 +3076,6 @@ interface CGCopyImageSourceOptions { [Field ("kCGImageMetadataShouldExcludeXMP")] IntPtr kShouldExcludeXMP { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Internal] [Field ("kCGImageMetadataShouldExcludeGPS")] @@ -3439,7 +3090,6 @@ interface CGCopyImageSourceOptions { IntPtr kOrientation { get; } } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] enum CGImageAuxiliaryDataType { [Field ("kCGImageAuxiliaryDataTypeDepth")] @@ -3448,7 +3098,7 @@ enum CGImageAuxiliaryDataType { [Field ("kCGImageAuxiliaryDataTypeDisparity")] Disparity, - [Watch (5, 0), Mac (10, 14), iOS (12, 0), TV (12, 0)] + [Watch (5, 0), iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Field ("kCGImageAuxiliaryDataTypePortraitEffectsMatte")] PortraitEffectsMatte, @@ -3456,7 +3106,6 @@ enum CGImageAuxiliaryDataType { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImageAuxiliaryDataTypeSemanticSegmentationHairMatte")] SemanticSegmentationHairMatte, @@ -3464,7 +3113,6 @@ enum CGImageAuxiliaryDataType { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImageAuxiliaryDataTypeSemanticSegmentationSkinMatte")] SemanticSegmentationSkinMatte, @@ -3472,7 +3120,6 @@ enum CGImageAuxiliaryDataType { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kCGImageAuxiliaryDataTypeSemanticSegmentationTeethMatte")] SemanticSegmentationTeethMatte, @@ -3502,7 +3149,6 @@ enum CGImageAuxiliaryDataType { SemanticSegmentationSkyMatte, } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Static] [Internal] @@ -3517,7 +3163,6 @@ interface CGImageAuxiliaryDataInfoKeys { NSString MetadataKey { get; } } - [Mac (10, 13), iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("CGImageAuxiliaryDataInfoKeys")] interface CGImageAuxiliaryDataInfo { @@ -3526,7 +3171,7 @@ interface CGImageAuxiliaryDataInfo { NSDictionary DataDescription { get; set; } } - [Mac (10, 15), iOS (13, 0), TV (13, 0), Watch (6, 0)] + [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Static] [Internal] @@ -3541,7 +3186,7 @@ interface CGImageAnimationOptionsKeys { NSString StartIndexKey { get; } } - [Mac (10, 15), iOS (13, 0), TV (13, 0), Watch (6, 0)] + [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("CGImageAnimationOptionsKeys")] interface CGImageAnimationOptions { diff --git a/src/imagekit.cs b/src/imagekit.cs index 818c804c8604..80b83656231e 100644 --- a/src/imagekit.cs +++ b/src/imagekit.cs @@ -1148,7 +1148,6 @@ interface IKSlideshow { [Field ("IK_MailBundleIdentifier")] NSString MailBundleIdentifier { get; } - [Mac (10, 10, 3)] [Field ("IK_PhotosBundleIdentifier")] NSString PhotosBundleIdentifier { get; } } diff --git a/src/intents.cs b/src/intents.cs index fc7c759eb3be..18ad59562bf8 100644 --- a/src/intents.cs +++ b/src/intents.cs @@ -47,7 +47,6 @@ interface NSUnitEnergy : NSUnit { } interface NSUnitMass : NSUnit { } interface NSUnitPower : NSUnit { } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [MacCatalyst (13, 1)] @@ -62,8 +61,6 @@ public enum INBookRestaurantReservationIntentCode : long { } [Mac (12, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Native] @@ -74,8 +71,6 @@ public enum INCallCapabilityOptions : ulong { } [Mac (12, 0)] // used in interface with new Mac (12,0) avilability - [iOS (10, 0)] - [Watch (3, 2)] [MacCatalyst (13, 1)] [Native] public enum INCallRecordType : long { @@ -83,10 +78,8 @@ public enum INCallRecordType : long { Outgoing, Missed, Received, - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] Latest, - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] Voicemail, [Watch (6, 0), iOS (13, 0)] @@ -100,8 +93,6 @@ public enum INCallRecordType : long { OnHold, } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -116,17 +107,16 @@ public enum INCancelWorkoutIntentResponseCode : long { FailureRequiringAppLaunch, FailureNoMatchingWorkout, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 7, which is now defined as 'Success').")] - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] HandleInApp, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 6, which is now defined as 'HandleInApp').")] - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] Success, } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-native-enum! INCarAirCirculationMode bound [NoTV] [MacCatalyst (13, 1)] @@ -139,7 +129,6 @@ public enum INCarAirCirculationMode : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-native-enum! INCarAudioSource bound [NoTV] [MacCatalyst (13, 1)] @@ -159,7 +148,6 @@ public enum INCarAudioSource : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-native-enum! INCarDefroster bound [NoTV] [MacCatalyst (13, 1)] @@ -173,7 +161,6 @@ public enum INCarDefroster : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-native-enum! INCarSeat bound [NoTV] [MacCatalyst (13, 1)] @@ -201,8 +188,6 @@ public enum INCarSeat : long { [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif [NoTV] - [iOS (10, 0)] - [Watch (3, 2)] [MacCatalyst (13, 1)] [Native] public enum INConditionalOperator : long { @@ -211,8 +196,6 @@ public enum INConditionalOperator : long { None } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -227,16 +210,15 @@ public enum INEndWorkoutIntentResponseCode : long { FailureRequiringAppLaunch, FailureNoMatchingWorkout, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 7, which is now defined as 'Success').")] - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] HandleInApp, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 6, which is now defined as 'HandleInApp').")] - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] Success, } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] [Native] @@ -246,7 +228,6 @@ public enum INGetAvailableRestaurantReservationBookingDefaultsIntentResponseCode Unspecified } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] [Native] @@ -257,7 +238,6 @@ public enum INGetAvailableRestaurantReservationBookingsIntentCode : long { FailureRequestUnspecified } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] [Native] @@ -266,8 +246,6 @@ public enum INGetRestaurantGuestIntentResponseCode : long { Failure } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -286,7 +264,6 @@ public enum INGetRideStatusIntentResponseCode : long { FailureRequiringAppLaunchServiceTemporarilyUnavailable } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] [Native] @@ -297,9 +274,6 @@ public enum INGetUserCurrentRestaurantReservationBookingsIntentResponseCode : lo Unspecified } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [Native] @@ -339,9 +313,6 @@ public enum INIntentErrorCode : long { DecodingGeneric = 9000, } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [Native] @@ -352,14 +323,11 @@ public enum INIntentHandlingStatus : long { Success, Failure, DeferredToApplication, - [Watch (5, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), iOS (12, 0)] [MacCatalyst (13, 1)] UserConfirmationRequired, } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [Native] @@ -369,8 +337,6 @@ public enum INInteractionDirection : long { Incoming } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -389,18 +355,13 @@ public enum INListRideOptionsIntentResponseCode : long { FailureRequiringAppLaunchNoServiceInArea, FailureRequiringAppLaunchServiceTemporarilyUnavailable, FailureRequiringAppLaunchPreviousRideNeedsCompletion, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] FailurePreviousRideNeedsFeedback, } #if NET [NoMac] -#else - [Mac (10, 12, 0)] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Native] @@ -412,10 +373,7 @@ public enum INMessageAttribute : long { Unflagged, #if NET [NoMac] -#else - [Mac (10, 13)] #endif - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] Played, } @@ -425,8 +383,6 @@ public enum INMessageAttribute : long { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Native] @@ -438,16 +394,11 @@ public enum INMessageAttributeOptions : ulong { Unflagged = (1 << 3), #if NET [NoMac] -#else - [Mac (10, 13)] #endif - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] Played = (1UL << 4), } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -462,17 +413,15 @@ public enum INPauseWorkoutIntentResponseCode : long { FailureRequiringAppLaunch, FailureNoMatchingWorkout, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 7, which is now defined as 'Success').")] - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] HandleInApp, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 6, which is now defined as 'HandleInApp').")] - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] Success, } - [iOS (10, 0)] - [Watch (3, 2)] [NoTV, Mac (11, 0)] [MacCatalyst (13, 1)] [Native] @@ -488,8 +437,6 @@ public enum INPaymentMethodType : long { ApplePay } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -503,8 +450,6 @@ public enum INPaymentStatus : long { Unpaid } - [iOS (10, 0)] - [Watch (3, 2)] [Mac (11, 0), NoTV] [MacCatalyst (13, 1)] [Native] @@ -518,8 +463,6 @@ public enum INPersonSuggestionType : long { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-native-enum! INPhotoAttributeOptions bound [NoTV] [MacCatalyst (13, 1)] @@ -569,7 +512,6 @@ public enum INPhotoAttributeOptions : ulong { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-native-enum! INRadioType bound [NoTV] [MacCatalyst (13, 1)] @@ -585,7 +527,6 @@ public enum INRadioType : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -598,7 +539,6 @@ public enum INRelativeReference : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -612,8 +552,6 @@ public enum INRelativeSetting : long { Highest } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -630,7 +568,6 @@ public enum INRequestPaymentIntentResponseCode : long { FailurePaymentsAmountAboveMaximum, FailurePaymentsCurrencyUnsupported, FailureNoBankAccount, - [iOS (11, 0), Watch (4, 0)] [NoMac] [MacCatalyst (13, 1)] FailureNotEligible, @@ -640,8 +577,6 @@ public enum INRequestPaymentIntentResponseCode : long { FailureTermsAndConditionsAcceptanceRequired, } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -665,7 +600,6 @@ public enum INRequestRideIntentResponseCode : long { FailureRequiringAppLaunchRideScheduledTooFar, } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] [Native] @@ -675,8 +609,6 @@ public enum INRestaurantReservationUserBookingStatus : ulong { Denied } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -691,17 +623,15 @@ public enum INResumeWorkoutIntentResponseCode : long { FailureRequiringAppLaunch, FailureNoMatchingWorkout, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 7, which is now defined as 'Success').")] - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] HandleInApp, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 6, which is now defined as 'HandleInApp').")] - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] Success, } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -717,7 +647,6 @@ public enum INRidePhase : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -740,8 +669,6 @@ public enum INSaveProfileInCarIntentResponseCode : long { #endif [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] @@ -752,13 +679,10 @@ public enum INSearchCallHistoryIntentResponseCode : long { ContinueInApp, Failure, FailureRequiringAppLaunch, - [iOS (10, 2)] [MacCatalyst (13, 1)] FailureAppConfigurationRequired, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] InProgress, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] Success, } @@ -768,8 +692,6 @@ public enum INSearchCallHistoryIntentResponseCode : long { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Native] @@ -781,15 +703,12 @@ public enum INSearchForMessagesIntentResponseCode : long { Failure, FailureRequiringAppLaunch, FailureMessageServiceNotAvailable, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] FailureMessageTooManyResults, } [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -801,14 +720,11 @@ public enum INSearchForPhotosIntentResponseCode : long { ContinueInApp, Failure, FailureRequiringAppLaunch, - [iOS (10, 2)] [MacCatalyst (13, 1)] FailureAppConfigurationRequired, } [Mac (12, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Native] @@ -822,8 +738,6 @@ public enum INSendMessageIntentResponseCode : long { FailureMessageServiceNotAvailable } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -841,8 +755,6 @@ public enum INSendPaymentIntentResponseCode : long { FailurePaymentsCurrencyUnsupported, FailureInsufficientFunds, FailureNoBankAccount, - [iOS (11, 0)] - [Watch (4, 0)] [MacCatalyst (13, 1)] FailureNotEligible, [iOS (11, 1), Watch (4, 1)] @@ -851,7 +763,6 @@ public enum INSendPaymentIntentResponseCode : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -868,7 +779,6 @@ public enum INSetAudioSourceInCarIntentResponseCode : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -885,7 +795,6 @@ public enum INSetClimateSettingsInCarIntentResponseCode : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -901,11 +810,8 @@ public enum INSetDefrosterSettingsInCarIntentResponseCode : long { FailureRequiringAppLaunch } - [iOS (10, 0)] #if NET [NoMac] -#else - [Mac (10, 12, 0)] #endif [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -923,7 +829,6 @@ public enum INSetMessageAttributeIntentResponseCode : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -940,7 +845,6 @@ public enum INSetProfileInCarIntentResponseCode : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -958,7 +862,6 @@ public enum INSetRadioStationIntentResponseCode : long { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -974,8 +877,6 @@ public enum INSetSeatSettingsInCarIntentResponseCode : long { FailureRequiringAppLaunch } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] [Native] @@ -993,8 +894,6 @@ public enum INSiriAuthorizationStatus : long { #endif [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'INStartCallIntentResponseCode' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'INStartCallIntentResponseCode' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'INStartCallIntentResponseCode' instead.")] @@ -1005,24 +904,18 @@ public enum INStartAudioCallIntentResponseCode : long { ContinueInApp, Failure, FailureRequiringAppLaunch, - [iOS (10, 2)] [MacCatalyst (13, 1)] FailureAppConfigurationRequired, - [iOS (10, 2)] [MacCatalyst (13, 1)] FailureCallingServiceNotAvailable, - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] FailureContactNotSupportedByApp, - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] FailureNoValidNumber, } [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1034,7 +927,6 @@ public enum INStartPhotoPlaybackIntentResponseCode : long { ContinueInApp, Failure, FailureRequiringAppLaunch, - [iOS (10, 2)] [MacCatalyst (13, 1)] FailureAppConfigurationRequired, } @@ -1046,7 +938,6 @@ public enum INStartPhotoPlaybackIntentResponseCode : long { #endif [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'INStartCallIntentResponseCode' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'INStartCallIntentResponseCode' instead.")] - [iOS (10, 0)] [Unavailable (PlatformName.WatchOS)] [NoTV] [MacCatalyst (13, 1)] @@ -1058,22 +949,16 @@ public enum INStartVideoCallIntentResponseCode : long { ContinueInApp, Failure, FailureRequiringAppLaunch, - [iOS (10, 2)] [MacCatalyst (13, 1)] FailureAppConfigurationRequired, - [iOS (10, 2)] [MacCatalyst (13, 1)] FailureCallingServiceNotAvailable, - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] FailureContactNotSupportedByApp, - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] FailureInvalidNumber, } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1087,16 +972,13 @@ public enum INStartWorkoutIntentResponseCode : long { FailureOngoingWorkout, FailureNoMatchingWorkout, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 7, which is now defined as 'Success').")] - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] HandleInApp, [Advice ("The numerical value for this constant was different in iOS 11 and earlier iOS versions (it was 6, which is now defined as 'HandleInApp').")] - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] Success, } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Watch (6, 0)] [TV (14, 0)] @@ -1109,19 +991,14 @@ public enum INVocabularyStringType : long { PhotoAlbumName, WorkoutActivityName = 200, CarProfileName = 300, - [iOS (10, 3)] [MacCatalyst (13, 1)] CarName, - [iOS (10, 3)] [MacCatalyst (13, 1)] PaymentsOrganizationName = 400, - [iOS (10, 3)] [MacCatalyst (13, 1)] PaymentsAccountNickname, - [iOS (11, 0)] [MacCatalyst (13, 1)] NotebookItemTitle = 500, - [iOS (11, 0)] [MacCatalyst (13, 1)] NotebookItemGroupName, [iOS (13, 0)] @@ -1141,8 +1018,6 @@ public enum INVocabularyStringType : long { MediaShowTitle, } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-native-enum! INWorkoutGoalUnitType bound [NoTV] [MacCatalyst (13, 1)] @@ -1161,8 +1036,6 @@ public enum INWorkoutGoalUnitType : long { KiloCalorie } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-native-enum! INWorkoutLocationType bound [NoTV] [MacCatalyst (13, 1)] @@ -1173,9 +1046,6 @@ public enum INWorkoutLocationType : long { Indoor } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Native] @@ -1185,8 +1055,6 @@ public enum INPersonHandleType : long { PhoneNumber } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1202,8 +1070,6 @@ public enum INAccountType : long { Saving, } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1217,8 +1083,6 @@ public enum INActivateCarSignalIntentResponseCode : long { FailureRequiringAppLaunch, } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1228,21 +1092,16 @@ public enum INAmountType : long { MinimumDue, AmountDue, CurrentBalance, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] MaximumTransferAmount, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] MinimumTransferAmount, - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] StatementBalance, } [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1274,8 +1133,6 @@ public enum INBillType : long { Water, } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1286,8 +1143,6 @@ public enum INCarSignalOptions : ulong { Visible = (1 << 1), } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1301,8 +1156,6 @@ public enum INGetCarLockStatusIntentResponseCode : long { FailureRequiringAppLaunch, } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1318,8 +1171,6 @@ public enum INGetCarPowerLevelStatusIntentResponseCode : long { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1338,8 +1189,6 @@ public enum INPayBillIntentResponseCode : long { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1356,8 +1205,6 @@ public enum INSearchForBillsIntentResponseCode : long { FailureBillNotFound, } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -1371,7 +1218,7 @@ public enum INSetCarLockStatusIntentResponseCode : long { FailureRequiringAppLaunch, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INAddTasksIntentResponseCode : long { @@ -1385,7 +1232,7 @@ public enum INAddTasksIntentResponseCode : long { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Native] @@ -1399,7 +1246,7 @@ public enum INAppendToNoteIntentResponseCode : long { FailureCannotUpdatePasswordProtectedNote, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INBalanceType : long { @@ -1410,7 +1257,7 @@ public enum INBalanceType : long { } [Mac (12, 0)] - [Watch (3, 2), NoTV, iOS (10, 0)] + [NoTV] [MacCatalyst (13, 1)] [Native] public enum INCallCapability : long { @@ -1420,7 +1267,7 @@ public enum INCallCapability : long { } [Mac (12, 0)] - [Watch (4, 0), NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Native] public enum INCallDestinationType : long { @@ -1435,7 +1282,7 @@ public enum INCallDestinationType : long { } [Mac (12, 0)] - [Watch (3, 2), NoTV, iOS (10, 0)] + [NoTV] [MacCatalyst (13, 1)] [Native] [Flags] @@ -1456,7 +1303,7 @@ public enum INCallRecordTypeOptions : ulong { OnHold = (1 << 7), } - [NoWatch, NoMac, NoTV, iOS (11, 0)] + [NoWatch, NoMac, NoTV] [MacCatalyst (13, 1)] [Native] public enum INCancelRideIntentResponseCode : long { @@ -1466,7 +1313,7 @@ public enum INCancelRideIntentResponseCode : long { Failure, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INCreateNoteIntentResponseCode : long { @@ -1478,7 +1325,7 @@ public enum INCreateNoteIntentResponseCode : long { FailureRequiringAppLaunch, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INCreateTaskListIntentResponseCode : long { @@ -1490,7 +1337,7 @@ public enum INCreateTaskListIntentResponseCode : long { FailureRequiringAppLaunch, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INDateSearchType : long { @@ -1502,7 +1349,7 @@ public enum INDateSearchType : long { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Native] @@ -1517,7 +1364,7 @@ public enum INGetVisualCodeIntentResponseCode : long { FailureAppConfigurationRequired, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INLocationSearchType : long { @@ -1530,7 +1377,7 @@ public enum INLocationSearchType : long { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [Watch (4, 0), NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Native] public enum INMessageType : long { @@ -1576,7 +1423,7 @@ public enum INMessageType : long { Link, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INNoteContentType : long { @@ -1585,7 +1432,7 @@ public enum INNoteContentType : long { Image, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INNotebookItemType : long { @@ -1595,7 +1442,7 @@ public enum INNotebookItemType : long { Task, } - [Watch (4, 0), Mac (10, 13), iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [Native] public enum INRecurrenceFrequency : long { @@ -1608,7 +1455,7 @@ public enum INRecurrenceFrequency : long { Yearly, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INRequestPaymentCurrencyAmountUnsupportedReason : long { @@ -1617,7 +1464,7 @@ public enum INRequestPaymentCurrencyAmountUnsupportedReason : long { CurrencyUnsupported, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INRequestPaymentPayerUnsupportedReason : long { @@ -1628,7 +1475,7 @@ public enum INRequestPaymentPayerUnsupportedReason : long { NoValidHandle, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INRideFeedbackTypeOptions : ulong { @@ -1636,7 +1483,7 @@ public enum INRideFeedbackTypeOptions : ulong { Tip = (1 << 1), } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INSearchForAccountsIntentResponseCode : long { @@ -1652,7 +1499,7 @@ public enum INSearchForAccountsIntentResponseCode : long { FailureNotEligible, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INSearchForNotebookItemsIntentResponseCode : long { @@ -1665,7 +1512,7 @@ public enum INSearchForNotebookItemsIntentResponseCode : long { } [Mac (12, 0)] - [Watch (4, 0), NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [Native] public enum INSendMessageRecipientUnsupportedReason : long { @@ -1677,7 +1524,7 @@ public enum INSendMessageRecipientUnsupportedReason : long { NoHandleForLabel, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INSendPaymentCurrencyAmountUnsupportedReason : long { @@ -1686,7 +1533,7 @@ public enum INSendPaymentCurrencyAmountUnsupportedReason : long { CurrencyUnsupported, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INSendPaymentPayeeUnsupportedReason : long { @@ -1698,7 +1545,7 @@ public enum INSendPaymentPayeeUnsupportedReason : long { NoValidHandle, } - [NoWatch, NoTV, NoMac, iOS (11, 0)] + [NoWatch, NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INSendRideFeedbackIntentResponseCode : long { @@ -1708,7 +1555,7 @@ public enum INSendRideFeedbackIntentResponseCode : long { Failure, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INSetTaskAttributeIntentResponseCode : long { @@ -1720,7 +1567,7 @@ public enum INSetTaskAttributeIntentResponseCode : long { FailureRequiringAppLaunch, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INSortType : long { @@ -1729,7 +1576,7 @@ public enum INSortType : long { ByDate, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INSpatialEvent : long { @@ -1738,7 +1585,7 @@ public enum INSpatialEvent : long { Depart, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INTaskStatus : long { @@ -1747,7 +1594,7 @@ public enum INTaskStatus : long { Completed, } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Native] public enum INTaskType : long { @@ -1758,7 +1605,7 @@ public enum INTaskType : long { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Native] @@ -1775,7 +1622,7 @@ public enum INTransferMoneyIntentResponseCode : long { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Native] @@ -2359,9 +2206,6 @@ public enum INHangUpCallIntentResponseCode : long { FailureNoCallToHangUp, } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] public enum INIntentIdentifier { @@ -2496,9 +2340,6 @@ public enum INIntentIdentifier { HangUpCall, } - [iOS (10, 2)] - [Mac (10, 12, 2)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] enum INPersonHandleLabel { @@ -2538,9 +2379,6 @@ enum INPersonHandleLabel { School, } - [Mac (10, 15)] // headers say nothing, documentation says introduced macOS 12.1, but both headers and documents say some enum fields were available in macOS 10.15, so let's go with that for the enum itself as well. - [iOS (10, 2)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] enum INPersonRelationship { @@ -2646,19 +2484,17 @@ enum INPersonRelationship { [Field ("INPersonRelationshipManager")] Manager, - [Watch (6, 0), NoTV, Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), NoTV, iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("INPersonRelationshipSon")] Son, - [Watch (6, 0), NoTV, Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), NoTV, iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("INPersonRelationshipDaughter")] Daughter, } - [iOS (10, 2)] - [Watch (3, 2)] [NoTV] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] @@ -2767,8 +2603,6 @@ enum INCarChargingConnectorType { // End of enums - [iOS (10, 0)] - [Watch (3, 2)] [Mac (11, 0)] [NoTV] [MacCatalyst (13, 1)] @@ -2783,13 +2617,11 @@ interface CLPlacemark_INIntentsAdditions { } [NoTV] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] interface INBookRestaurantReservationIntent : NSCopying { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithRestaurant:bookingDateComponents:partySize:bookingIdentifier:guest:selectedOffer:guestProvidedSpecialRequestText:")] #if NET @@ -2821,7 +2653,6 @@ interface INBookRestaurantReservationIntent : NSCopying { } [NoTV] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [MacCatalyst (13, 1)] @@ -2858,7 +2689,6 @@ interface INBookRestaurantReservationIntentHandling { } [NoTV] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [MacCatalyst (13, 1)] @@ -2875,8 +2705,6 @@ interface INBookRestaurantReservationIntentResponse { INRestaurantReservationUserBooking UserBooking { get; set; } } - [iOS (10, 0)] - [Watch (3, 2)] [Mac (11, 0)] [TV (14, 0)] [MacCatalyst (13, 1)] @@ -2926,15 +2754,12 @@ interface INBooleanResolutionResult { } [Mac (12, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] interface INCallRecordTypeResolutionResult { - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -2950,7 +2775,6 @@ interface INCallRecordTypeResolutionResult { [Export ("successWithResolvedValue:")] INCallRecordTypeResolutionResult SuccessWithResolvedValue (INCallRecordType resolvedValue); - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -2999,8 +2823,6 @@ interface INCallRecordTypeResolutionResult { INCallRecordTypeResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3015,8 +2837,6 @@ interface INCancelWorkoutIntent { INSpeakableString WorkoutName { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3040,8 +2860,6 @@ interface INCancelWorkoutIntentHandling { void ResolveWorkoutName (INCancelWorkoutIntent intent, Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [BaseType (typeof (INIntentResponse))] [NoTV] @@ -3058,7 +2876,6 @@ interface INCancelWorkoutIntentResponse { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-type! INCarAirCirculationModeResolutionResult bound [NoWatch] [NoTV] @@ -3068,7 +2885,6 @@ interface INCancelWorkoutIntentResponse { [DisableDefaultCtor] interface INCarAirCirculationModeResolutionResult { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -3082,7 +2898,6 @@ interface INCarAirCirculationModeResolutionResult { [Export ("successWithResolvedValue:")] INCarAirCirculationModeResolutionResult SuccessWithResolvedValue (INCarAirCirculationMode resolvedValue); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("confirmationRequiredWithCarAirCirculationModeToConfirm:")] @@ -3129,7 +2944,6 @@ interface INCarAirCirculationModeResolutionResult { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-type! INCarAudioSourceResolutionResult bound [BaseType (typeof (INIntentResolutionResult))] [NoWatch] @@ -3139,7 +2953,6 @@ interface INCarAirCirculationModeResolutionResult { [DisableDefaultCtor] interface INCarAudioSourceResolutionResult { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -3153,7 +2966,6 @@ interface INCarAudioSourceResolutionResult { [Export ("successWithResolvedValue:")] INCarAudioSourceResolutionResult SuccessWithResolvedValue (INCarAudioSource resolvedValue); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -3201,7 +3013,6 @@ interface INCarAudioSourceResolutionResult { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-type! INCarDefrosterResolutionResult bound [BaseType (typeof (INIntentResolutionResult))] [NoWatch] @@ -3211,7 +3022,6 @@ interface INCarAudioSourceResolutionResult { [DisableDefaultCtor] interface INCarDefrosterResolutionResult { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -3225,7 +3035,6 @@ interface INCarDefrosterResolutionResult { [Export ("successWithResolvedValue:")] INCarDefrosterResolutionResult SuccessWithResolvedValue (INCarDefroster resolvedValue); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -3273,7 +3082,6 @@ interface INCarDefrosterResolutionResult { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-type! INCarSeatResolutionResult bound [BaseType (typeof (INIntentResolutionResult))] [NoWatch] @@ -3283,7 +3091,6 @@ interface INCarDefrosterResolutionResult { [DisableDefaultCtor] interface INCarSeatResolutionResult { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -3297,7 +3104,6 @@ interface INCarSeatResolutionResult { [Export ("successWithResolvedValue:")] INCarSeatResolutionResult SuccessWithResolvedValue (INCarSeat resolvedValue); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -3345,8 +3151,6 @@ interface INCarSeatResolutionResult { } [Mac (12, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3365,8 +3169,6 @@ interface INCurrencyAmount : NSCopying, NSSecureCoding { } [NoTV] - [iOS (10, 0)] - [Watch (3, 2)] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -3418,9 +3220,6 @@ interface INCurrencyAmountResolutionResult { INCurrencyAmountResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -3430,7 +3229,7 @@ interface INDateComponentsRange : NSCopying, NSSecureCoding { [Export ("initWithStartDateComponents:endDateComponents:")] NativeHandle Constructor ([NullAllowed] NSDateComponents startDateComponents, [NullAllowed] NSDateComponents endDateComponents); - [Watch (4, 0), Mac (10, 13), iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [Export ("initWithEKRecurrenceRule:")] NativeHandle Constructor (EKRecurrenceRule recurrenceRule); @@ -3438,10 +3237,8 @@ interface INDateComponentsRange : NSCopying, NSSecureCoding { // Headers claim the recurrenceRule property is available in macOS, but the parameter type INRecurrenceRule is not, so... #if NET [NoMac] -#else - [Mac (10, 13)] #endif - [Watch (4, 0), iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [Export ("initWithStartDateComponents:endDateComponents:recurrenceRule:")] [DesignatedInitializer] @@ -3456,15 +3253,13 @@ interface INDateComponentsRange : NSCopying, NSSecureCoding { // Headers claim the recurrenceRule property is available in macOS, but the property type (INRecurrenceRule) is not, so... #if NET [NoMac] -#else - [Mac (10, 13)] #endif - [Watch (4, 0), iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("recurrenceRule", ArgumentSemantic.Copy)] INRecurrenceRule RecurrenceRule { get; } - [Watch (4, 0), Mac (10, 13), iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [Export ("EKRecurrenceRule")] [NullAllowed] @@ -3476,8 +3271,6 @@ interface INDateComponentsRange : NSCopying, NSSecureCoding { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -3531,13 +3324,9 @@ interface INDateComponentsRangeResolutionResult { #if NET [NoMac] -#else - [Mac (10, 12, 0)] #endif [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INStartAudioCallIntentHandling, INStartVideoCallIntentHandling and INSearchCallHistoryIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 13, 0, message: "Implement 'INStartAudioCallIntentHandling and INSearchCallHistoryIntentHandling' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Implement 'INStartAudioCallIntentHandling, INStartVideoCallIntentHandling and INSearchCallHistoryIntentHandling' instead.")] @@ -3552,8 +3341,6 @@ interface INCallsDomainHandling : INStartAudioCallIntentHandling, INSearchCallHi [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INActivateCarSignalIntentHandling, INSetCarLockStatusIntentHandling, INGetCarLockStatusIntentHandling and INGetCarPowerLevelStatusIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Implement 'INActivateCarSignalIntentHandling, INSetCarLockStatusIntentHandling, INGetCarLockStatusIntentHandling and INGetCarPowerLevelStatusIntentHandling' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3563,7 +3350,6 @@ interface INCarCommandsDomainHandling : INActivateCarSignalIntentHandling, INSet } [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INSetAudioSourceInCarIntentHandling, INSetClimateSettingsInCarIntentHandling, INSetDefrosterSettingsInCarIntentHandling, INSetSeatSettingsInCarIntentHandling, INSetProfileInCarIntentHandling and INSaveProfileInCarIntentHandling' instead.")] - [iOS (10, 0)] [Unavailable (PlatformName.WatchOS)] [Unavailable (PlatformName.MacOSX)] [NoTV] @@ -3575,8 +3361,6 @@ interface INCarPlayDomainHandling : INSetAudioSourceInCarIntentHandling, INSetCl [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INStartWorkoutIntentHandling, INPauseWorkoutIntentHandling, INEndWorkoutIntentHandling, INCancelWorkoutIntentHandling and INResumeWorkoutIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Implement 'INStartWorkoutIntentHandling, INPauseWorkoutIntentHandling, INEndWorkoutIntentHandling, INCancelWorkoutIntentHandling and INResumeWorkoutIntentHandling' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3586,7 +3370,6 @@ interface INWorkoutsDomainHandling : INStartWorkoutIntentHandling, INPauseWorkou } [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INSetRadioStationIntentHandling' instead.")] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -3598,8 +3381,6 @@ interface INRadioDomainHandling : INSetRadioStationIntentHandling { [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INSendMessageIntentHandling, INSearchForMessagesIntentHandling and INSetMessageAttributeIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 13, 0, message: "Implement 'INSendMessageIntentHandling and INSearchForMessagesIntentHandling' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3615,8 +3396,6 @@ interface INMessagesDomainHandling : INSendMessageIntentHandling, INSearchForMes [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INSendPaymentIntentHandling, INRequestPaymentIntentHandling, INPayBillIntentHandling, INSearchForBillsIntentHandling, INSearchForAccountsIntentHandling and INTransferMoneyIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Implement 'INSendPaymentIntentHandling and INRequestPaymentIntentHandling' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3631,8 +3410,6 @@ interface INPaymentsDomainHandling : INSendPaymentIntentHandling, INRequestPayme [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INSearchForPhotosIntentHandling and INStartPhotoPlaybackIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Implement 'INSearchForPhotosIntentHandling and INStartPhotoPlaybackIntentHandling' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3643,8 +3420,6 @@ interface INPhotosDomainHandling : INSearchForPhotosIntentHandling, INStartPhoto [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INListRideOptionsIntentHandling, INRequestRideIntentHandling, INGetRideStatusIntentHandling, INCancelRideIntentHandling and INSendRideFeedbackIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Implement 'INListRideOptionsIntentHandling, INRequestRideIntentHandling, INGetRideStatusIntentHandling, INCancelRideIntentHandling and INSendRideFeedbackIntentHandling' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3659,7 +3434,7 @@ interface INRidesharingDomainHandling : INListRideOptionsIntentHandling, INReque [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INCreateNoteIntentHandling, INAppendToNoteIntentHandling, INAddTasksIntentHandling, INCreateTaskListIntentHandling, INSetTaskAttributeIntentHandling and INSearchForNotebookItemsIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Implement 'INCreateNoteIntentHandling, INAppendToNoteIntentHandling, INAddTasksIntentHandling, INCreateTaskListIntentHandling, INSetTaskAttributeIntentHandling and INSearchForNotebookItemsIntentHandling' instead.")] - [Watch (4, 0), NoMac, iOS (11, 0), NoTV] + [NoMac, NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Implement 'INCreateNoteIntentHandling, INAppendToNoteIntentHandling, INAddTasksIntentHandling, INCreateTaskListIntentHandling, INSetTaskAttributeIntentHandling and INSearchForNotebookItemsIntentHandling' instead.")] [Protocol] @@ -3668,15 +3443,13 @@ interface INNotebookDomainHandling : INCreateNoteIntentHandling, INAppendToNoteI [Deprecated (PlatformName.iOS, 13, 0, message: "Implement 'INGetVisualCodeIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Implement 'INGetVisualCodeIntentHandling' instead.")] - [Watch (4, 0), NoMac, iOS (11, 0), NoTV] + [NoMac, NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Implement 'INGetVisualCodeIntentHandling' instead.")] [Protocol] interface INVisualCodeDomainHandling : INGetVisualCodeIntentHandling { } - [iOS (10, 0)] - [Watch (3, 2)] [Mac (11, 0), TV (14, 0)] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] @@ -3725,8 +3498,6 @@ interface INDoubleResolutionResult { INDoubleResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Watch (3, 2)] [Mac (11, 0)] [NoTV] [MacCatalyst (13, 1)] @@ -3779,8 +3550,6 @@ interface INDateComponentsResolutionResult { INDateComponentsResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3795,8 +3564,6 @@ interface INEndWorkoutIntent { INSpeakableString WorkoutName { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3820,8 +3587,6 @@ interface INEndWorkoutIntentHandling { void ResolveWorkoutName (INEndWorkoutIntent intent, Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -3837,8 +3602,6 @@ interface INEndWorkoutIntentResponse { INEndWorkoutIntentResponseCode Code { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [TV (14, 0), Mac (11, 0)] [MacCatalyst (13, 1)] [Protocol] @@ -3850,15 +3613,12 @@ interface INIntentHandlerProviding { NSObject GetHandler (INIntent intent); } - [iOS (10, 0)] - [Watch (3, 2)] [Mac (11, 0), TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface INExtension : INIntentHandlerProviding { } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -3866,7 +3626,6 @@ interface INExtension : INIntentHandlerProviding { [BaseType (typeof (INIntent))] interface INGetAvailableRestaurantReservationBookingDefaultsIntent { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithRestaurant:")] NativeHandle Constructor ([NullAllowed] INRestaurant restaurant); @@ -3875,7 +3634,6 @@ interface INGetAvailableRestaurantReservationBookingDefaultsIntent { INRestaurant Restaurant { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -3900,7 +3658,6 @@ interface INGetAvailableRestaurantReservationBookingDefaultsIntentHandling { void ResolveAvailableRestaurantReservationBookingDefaults (INGetAvailableRestaurantReservationBookingDefaultsIntent intent, Action completion); } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -3931,7 +3688,6 @@ interface INGetAvailableRestaurantReservationBookingDefaultsIntentResponse { INGetAvailableRestaurantReservationBookingDefaultsIntentResponseCode Code { get; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -3939,7 +3695,6 @@ interface INGetAvailableRestaurantReservationBookingDefaultsIntentResponse { [BaseType (typeof (INIntent))] interface INGetAvailableRestaurantReservationBookingsIntent : NSCopying { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithRestaurant:partySize:preferredBookingDateComponents:maximumNumberOfResults:earliestBookingDateForResults:latestBookingDateForResults:")] NativeHandle Constructor (INRestaurant restaurant, nuint partySize, [NullAllowed] NSDateComponents preferredBookingDateComponents, [NullAllowed] NSNumber maximumNumberOfResults, [NullAllowed] NSDate earliestBookingDateForResults, [NullAllowed] NSDate latestBookingDateForResults); @@ -3963,7 +3718,6 @@ interface INGetAvailableRestaurantReservationBookingsIntent : NSCopying { NSDate LatestBookingDateForResults { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -3994,7 +3748,6 @@ interface INGetAvailableRestaurantReservationBookingsIntentHandling { void ResolvePreferredBookingDateAvailableRestaurantReservationBookings (INGetAvailableRestaurantReservationBookingsIntent intent, Action completion); } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -4022,7 +3775,6 @@ interface INGetAvailableRestaurantReservationBookingsIntentResponse { INRestaurantReservationBooking [] AvailableBookings { get; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -4031,7 +3783,6 @@ interface INGetAvailableRestaurantReservationBookingsIntentResponse { interface INGetRestaurantGuestIntent { } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -4053,7 +3804,6 @@ interface INGetRestaurantGuestIntentHandling { (INGetRestaurantGuestIntent guestIntent, Action completion); } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -4075,8 +3825,6 @@ interface INGetRestaurantGuestIntentResponse { INGetRestaurantGuestIntentResponseCode Code { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4089,8 +3837,6 @@ interface INGetRideStatusIntent { NativeHandle Constructor (); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4121,8 +3867,6 @@ interface INGetRideStatusIntentHandling { interface IINGetRideStatusIntentResponseObserver { } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4134,8 +3878,6 @@ interface INGetRideStatusIntentResponseObserver { void DidUpdateRideStatus (INGetRideStatusIntentResponse response); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4154,7 +3896,6 @@ interface INGetRideStatusIntentResponse { INRideStatus RideStatus { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -4162,12 +3903,10 @@ interface INGetRideStatusIntentResponse { [BaseType (typeof (INIntent))] interface INGetUserCurrentRestaurantReservationBookingsIntent : NSCopying { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithRestaurant:reservationIdentifier:maximumNumberOfResults:earliestBookingDateForResults:")] NativeHandle Constructor ([NullAllowed] INRestaurant restaurant, [NullAllowed] string reservationIdentifier, [NullAllowed] NSNumber maximumNumberOfResults, [NullAllowed] NSDate earliestBookingDateForResults); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Wrap ("this (restaurant, reservationIdentifier, NSNumber.FromNInt (maximumNumberOfResults), earliestBookingDateForResults)")] NativeHandle Constructor ([NullAllowed] INRestaurant restaurant, [NullAllowed] string reservationIdentifier, nint maximumNumberOfResults, [NullAllowed] NSDate earliestBookingDateForResults); @@ -4185,7 +3924,6 @@ interface INGetUserCurrentRestaurantReservationBookingsIntent : NSCopying { NSDate EarliestBookingDateForResults { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -4210,7 +3948,6 @@ interface INGetUserCurrentRestaurantReservationBookingsIntentHandling { void ResolveUserCurrentRestaurantReservationBookings (INGetUserCurrentRestaurantReservationBookingsIntent intent, Action completion); } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -4229,9 +3966,6 @@ interface INGetUserCurrentRestaurantReservationBookingsIntentResponse { INRestaurantReservationUserBooking [] UserCurrentBookings { get; set; } } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -4264,7 +3998,6 @@ interface INImage : NSCopying, NSSecureCoding { [Export ("imageWithURL:")] INImage FromUrl (NSUrl url); - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("imageWithURL:width:height:")] @@ -4291,15 +4024,13 @@ interface INImage : NSCopying, NSSecureCoding { [Export ("imageSizeForIntentResponse:")] CGSize GetImageSize (INIntentResponse response); - [NoMac, NoWatch, iOS (11, 0), NoTV] + [NoMac, NoWatch, NoTV] [NoMacCatalyst] [Async] [Export ("fetchUIImageWithCompletion:")] void FetchImage (Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [TV (14, 0), Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -4347,9 +4078,6 @@ interface INIntegerResolutionResult { INIntegerResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [Abstract] @@ -4366,7 +4094,6 @@ interface INIntent : NSCopying, NSSecureCoding { [NullAllowed] INIntentIdentifier? Identifier { get; } - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("intentDescription")] string IntentDescription { get; } @@ -4385,18 +4112,18 @@ interface INIntent : NSCopying, NSSecureCoding { [NullAllowed, Export ("donationMetadata", ArgumentSemantic.Copy)] INIntentDonationMetadata DonationMetadata { get; set; } - [Watch (5, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("setImage:forParameterNamed:")] void SetImage ([NullAllowed] INImage image, string parameterName); - [Watch (5, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("imageForParameterNamed:")] [return: NullAllowed] INImage GetImage (string parameterName); - [Watch (5, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [return: NullAllowed] [Export ("keyImage")] @@ -4411,9 +4138,6 @@ interface INIntentDonationMetadata : NSCopying, NSSecureCoding { interface INIntentResolutionResult : INIntentResolutionResult { } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [Abstract] @@ -4447,9 +4171,6 @@ interface INIntentResolutionResult { // INIntentResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [Abstract] @@ -4460,15 +4181,12 @@ interface INIntentResponse : NSCopying, NSSecureCoding { NSUserActivity UserActivity { get; - [Watch (5, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), iOS (12, 0)] [MacCatalyst (13, 1)] set; } } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -4522,14 +4240,12 @@ interface INInteraction : NSSecureCoding, NSCopying { // From INParameter.h INInteraction () [Internal] - [iOS (11, 0), Watch (4, 0), NoMac, NoTV] + [NoMac, NoTV] [MacCatalyst (13, 1)] [Export ("parameterValueForParameter:")] IntPtr _GetParameterValue (INParameter parameter); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4547,8 +4263,6 @@ interface INListRideOptionsIntent { CLPlacemark DropOffLocation { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4575,8 +4289,6 @@ interface INListRideOptionsIntentHandling { void ResolveDropOffLocation (INListRideOptionsIntent intent, Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4606,8 +4318,6 @@ interface INListRideOptionsIntentResponse { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -4625,13 +4335,11 @@ interface INMessage : NSCopying, NSSecureCoding { [DesignatedInitializer] NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, [NullAllowed] INSpeakableString groupName, INMessageType messageType, [NullAllowed] string serviceName); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:")] [DesignatedInitializer] NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, [NullAllowed] INSpeakableString groupName, INMessageType messageType); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:messageType:")] NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, INMessageType messageType); @@ -4642,7 +4350,6 @@ interface INMessage : NSCopying, NSSecureCoding { [Export ("identifier")] string Identifier { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("conversationIdentifier")] string ConversationIdentifier { get; } @@ -4659,12 +4366,10 @@ interface INMessage : NSCopying, NSSecureCoding { [NullAllowed, Export ("recipients", ArgumentSemantic.Copy)] INPerson [] Recipients { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("groupName", ArgumentSemantic.Copy)] INSpeakableString GroupName { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("messageType")] INMessageType MessageType { get; } @@ -4684,15 +4389,12 @@ interface INMessage : NSCopying, NSSecureCoding { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] interface INMessageAttributeOptionsResolutionResult { - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -4708,7 +4410,6 @@ interface INMessageAttributeOptionsResolutionResult { [Export ("successWithResolvedValue:")] INMessageAttributeOptionsResolutionResult SuccessWithResolvedValue (INMessageAttributeOptions resolvedValue); - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -4759,18 +4460,13 @@ interface INMessageAttributeOptionsResolutionResult { #if NET [NoMac] -#else - [Mac (10, 12, 0)] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] interface INMessageAttributeResolutionResult { - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -4778,15 +4474,11 @@ interface INMessageAttributeResolutionResult { INMessageAttributeResolutionResult SuccessWithResolvedMessageAttribute (INMessageAttribute resolvedMessageAttribute); [Internal] - [Mac (10, 12)] - [Watch (3, 2)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("successWithResolvedValue:")] INMessageAttributeResolutionResult SuccessWithResolvedValue (INMessageAttribute resolvedValue); - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -4835,8 +4527,6 @@ interface INMessageAttributeResolutionResult { INMessageAttributeResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4851,8 +4541,6 @@ interface INPauseWorkoutIntent { INSpeakableString WorkoutName { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4876,8 +4564,6 @@ interface INPauseWorkoutIntentHandling { void ResolveWorkoutName (INPauseWorkoutIntent intent, Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4893,8 +4579,6 @@ interface INPauseWorkoutIntentResponse { INPauseWorkoutIntentResponseCode Code { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [NoTV, Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -4922,8 +4606,6 @@ interface INPaymentMethod : NSCopying, NSSecureCoding { INPaymentMethod ApplePayPaymentMethod { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -4960,9 +4642,6 @@ interface INPaymentRecord : NSCopying, NSSecureCoding { INCurrencyAmount FeeAmount { get; } } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -4977,7 +4656,7 @@ interface INPerson : NSCopying, NSSecureCoding, INSpeakable { [Export ("initWithPersonHandle:nameComponents:displayName:image:contactIdentifier:customIdentifier:relationship:")] NativeHandle Constructor (INPersonHandle personHandle, [NullAllowed] NSPersonNameComponents nameComponents, [NullAllowed] string displayName, [NullAllowed] INImage image, [NullAllowed] string contactIdentifier, [NullAllowed] string customIdentifier, [NullAllowed] string relationship); - [Watch (5, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithPersonHandle:nameComponents:displayName:image:contactIdentifier:customIdentifier:isMe:")] [DesignatedInitializer] @@ -5030,13 +4709,11 @@ interface INPerson : NSCopying, NSSecureCoding, INSpeakable { // Inlined from INInteraction (INPerson) Category - [iOS (10, 3)] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] [Export ("siriMatches", ArgumentSemantic.Copy), NullAllowed] INPerson [] SiriMatches { get; } - [Mac (10, 13), iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Export ("isMe")] bool IsMe { get; } @@ -5046,9 +4723,6 @@ interface INPerson : NSCopying, NSSecureCoding, INSpeakable { bool ContactSuggestion { [Bind ("isContactSuggestion")] get; } } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -5061,27 +4735,19 @@ interface INPersonHandle : NSCopying, NSSecureCoding { [Export ("type")] INPersonHandleType Type { get; } - [iOS (10, 2)] - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Export ("label"), NullAllowed, Protected] NSString WeakLabel { get; } - [iOS (10, 2)] - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Wrap ("INPersonHandleLabelExtensions.GetValue (WeakLabel)")] INPersonHandleLabel Label { get; } - [iOS (10, 2)] - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Wrap ("this (value, type, label.GetConstant ())")] NativeHandle Constructor (string value, INPersonHandleType type, INPersonHandleLabel label); [DesignatedInitializer] - [iOS (10, 2)] - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Export ("initWithValue:type:label:"), Protected] NativeHandle Constructor ([NullAllowed] string value, INPersonHandleType type, [NullAllowed] NSString stringLabel); @@ -5090,9 +4756,6 @@ interface INPersonHandle : NSCopying, NSSecureCoding { NativeHandle Constructor ([NullAllowed] string value, INPersonHandleType type); } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -5144,9 +4807,6 @@ interface INPersonResolutionResult { INPersonResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -5198,8 +4858,6 @@ interface INPlacemarkResolutionResult { INPlacemarkResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] #if NET || TVOS || __MACCATALYST__ [DisableDefaultCtor] @@ -5227,8 +4885,6 @@ interface INPreferences { string SiriLanguageCode { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -5262,7 +4918,6 @@ interface INPriceRange : NSCopying, NSSecureCoding { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-type! INRadioTypeResolutionResult bound [NoWatch] [NoTV] @@ -5272,7 +4927,6 @@ interface INPriceRange : NSCopying, NSSecureCoding { [DisableDefaultCtor] interface INRadioTypeResolutionResult { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -5286,7 +4940,6 @@ interface INRadioTypeResolutionResult { [Export ("successWithResolvedValue:")] INRadioTypeResolutionResult SuccessWithResolvedValue (INRadioType resolvedValue); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -5334,7 +4987,6 @@ interface INRadioTypeResolutionResult { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [NoWatch] [NoTV] @@ -5344,7 +4996,6 @@ interface INRadioTypeResolutionResult { [DisableDefaultCtor] interface INRelativeReferenceResolutionResult { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -5358,7 +5009,6 @@ interface INRelativeReferenceResolutionResult { [Export ("successWithResolvedValue:")] INRelativeReferenceResolutionResult SuccessWithResolvedValue (INRelativeReference resolvedValue); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -5406,7 +5056,6 @@ interface INRelativeReferenceResolutionResult { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [NoWatch] [NoTV] @@ -5416,7 +5065,6 @@ interface INRelativeReferenceResolutionResult { [DisableDefaultCtor] interface INRelativeSettingResolutionResult { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -5430,7 +5078,6 @@ interface INRelativeSettingResolutionResult { [Export ("successWithResolvedValue:")] INRelativeSettingResolutionResult SuccessWithResolvedValue (INRelativeSetting resolvedValue); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -5477,8 +5124,6 @@ interface INRelativeSettingResolutionResult { INRelativeSettingResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -5499,8 +5144,6 @@ interface INRequestPaymentIntent { string Note { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -5526,7 +5169,6 @@ interface INRequestPaymentIntentHandling { [Export ("resolvePayerForRequestPayment:withCompletion:")] void ResolvePayer (INRequestPaymentIntent intent, Action completion); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolvePayerForRequestPayment:completion:")] void ResolvePayer (INRequestPaymentIntent intent, Action completion); @@ -5537,7 +5179,6 @@ interface INRequestPaymentIntentHandling { [Export ("resolveCurrencyAmountForRequestPayment:withCompletion:")] void ResolveCurrencyAmount (INRequestPaymentIntent intent, Action completion); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolveCurrencyAmountForRequestPayment:completion:")] void ResolveCurrencyAmount (INRequestPaymentIntent intent, Action completion); @@ -5546,8 +5187,6 @@ interface INRequestPaymentIntentHandling { void ResolveNote (INRequestPaymentIntent intent, Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -5566,8 +5205,6 @@ interface INRequestPaymentIntentResponse { INPaymentRecord PaymentRecord { get; set; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -5580,7 +5217,6 @@ interface INRequestRideIntent { [Export ("initWithPickupLocation:dropOffLocation:rideOptionName:partySize:paymentMethod:")] NativeHandle Constructor ([NullAllowed] CLPlacemark pickupLocation, [NullAllowed] CLPlacemark dropOffLocation, [NullAllowed] INSpeakableString rideOptionName, [NullAllowed] NSNumber partySize, [NullAllowed] INPaymentMethod paymentMethod); - [iOS (10, 3)] [MacCatalyst (13, 1)] [Export ("initWithPickupLocation:dropOffLocation:rideOptionName:partySize:paymentMethod:scheduledPickupTime:")] [DesignatedInitializer] @@ -5601,14 +5237,11 @@ interface INRequestRideIntent { [NullAllowed, Export ("paymentMethod", ArgumentSemantic.Copy)] INPaymentMethod PaymentMethod { get; } - [iOS (10, 3)] [MacCatalyst (13, 1)] [NullAllowed, Export ("scheduledPickupTime", ArgumentSemantic.Copy)] INDateComponentsRange ScheduledPickupTime { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -5640,14 +5273,11 @@ interface INRequestRideIntentHandling { [Export ("resolvePartySizeForRequestRide:withCompletion:")] void ResolvePartySize (INRequestRideIntent intent, Action completion); - [iOS (10, 3)] [MacCatalyst (13, 1)] [Export ("resolveScheduledPickupTimeForRequestRide:withCompletion:")] void ResolveScheduledPickupTime (INRequestRideIntent intent, Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -5666,7 +5296,6 @@ interface INRequestRideIntentResponse { INRideStatus RideStatus { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -5691,7 +5320,6 @@ interface INRestaurant : NSSecureCoding, NSCopying { string RestaurantIdentifier { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -5711,7 +5339,6 @@ interface INRestaurantGuest { string EmailAddress { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -5744,7 +5371,6 @@ interface INRestaurantGuestDisplayPreferences : NSSecureCoding, NSCopying { bool PhoneNumberEditable { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -5798,7 +5424,6 @@ interface INRestaurantGuestResolutionResult { INRestaurantGuestResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -5816,7 +5441,6 @@ interface INRestaurantOffer : NSSecureCoding, NSCopying { string OfferIdentifier { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -5862,7 +5486,6 @@ interface INRestaurantReservationBooking : NSSecureCoding, NSCopying { bool RequiresPhoneNumber { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -5896,7 +5519,6 @@ interface INRestaurantReservationUserBooking : NSCopying { NSDate DateStatusModified { get; set; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -5950,8 +5572,6 @@ interface INRestaurantResolutionResult { INRestaurantResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -5966,8 +5586,6 @@ interface INResumeWorkoutIntent { INSpeakableString WorkoutName { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -5991,8 +5609,6 @@ interface INResumeWorkoutIntentHandling { void ResolveWorkoutName (INResumeWorkoutIntent intent, Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6008,8 +5624,6 @@ interface INResumeWorkoutIntentResponse { INResumeWorkoutIntentResponseCode Code { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6029,7 +5643,6 @@ interface INRideCompletionStatus : NSCopying, NSSecureCoding { [Export ("completedWithOutstandingPaymentAmount:")] INRideCompletionStatus GetOutstandingPaymentAmount (INCurrencyAmount outstandingPaymentAmount); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("completedWithOutstandingFeedbackType:")] @@ -6062,7 +5675,6 @@ interface INRideCompletionStatus : NSCopying, NSSecureCoding { [NullAllowed, Export ("paymentAmount", ArgumentSemantic.Strong)] INCurrencyAmount PaymentAmount { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("feedbackType", ArgumentSemantic.Assign)] INRideFeedbackTypeOptions FeedbackType { get; } @@ -6070,14 +5682,11 @@ interface INRideCompletionStatus : NSCopying, NSSecureCoding { [Export ("outstanding")] bool Outstanding { [Bind ("isOutstanding")] get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("defaultTippingOptions", ArgumentSemantic.Strong)] NSSet DefaultTippingOptions { get; set; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-type! INRideDriver bound [NoTV] [MacCatalyst (13, 1)] @@ -6092,7 +5701,6 @@ interface INRideDriver : NSCopying, NSSecureCoding { NativeHandle Constructor (INPersonHandle personHandle, [NullAllowed] NSPersonNameComponents nameComponents, [NullAllowed] string displayName, [NullAllowed] INImage image, [NullAllowed] string rating, [NullAllowed] string phoneNumber); [Export ("initWithPhoneNumber:nameComponents:displayName:image:rating:")] - [iOS (10, 2)] [MacCatalyst (13, 1)] [DesignatedInitializer] NativeHandle Constructor (string phoneNumber, [NullAllowed] NSPersonNameComponents nameComponents, [NullAllowed] string displayName, [NullAllowed] INImage image, [NullAllowed] string rating); @@ -6104,8 +5712,6 @@ interface INRideDriver : NSCopying, NSSecureCoding { string PhoneNumber { get; } } - [iOS (10, 0)] - [Watch (3, 0)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6127,8 +5733,6 @@ interface INRideFareLineItem : NSCopying, NSSecureCoding { string CurrencyCode { get; } } - [iOS (10, 0)] - [Watch (3, 0)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6175,8 +5779,6 @@ interface INRideOption : NSCopying, NSSecureCoding { NSUserActivity UserActivityForBookingInApplication { get; set; } } - [iOS (10, 0)] - [Watch (3, 0)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6198,8 +5800,6 @@ interface INRidePartySizeOption : NSCopying, NSSecureCoding { INPriceRange PriceRange { get; } } - [iOS (10, 0)] - [Watch (3, 0)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6231,8 +5831,6 @@ interface INRideStatus : NSCopying, NSSecureCoding { [NullAllowed, Export ("estimatedPickupEndDate", ArgumentSemantic.Copy)] NSDate EstimatedPickupEndDate { get; set; } - [iOS (10, 3)] - [Watch (3, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("scheduledPickupTime", ArgumentSemantic.Copy)] INDateComponentsRange ScheduledPickupTime { get; set; } @@ -6256,8 +5854,6 @@ interface INRideStatus : NSCopying, NSSecureCoding { NSUserActivity [] AdditionalActionActivities { get; set; } } - [iOS (10, 0)] - [Watch (3, 0)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6281,7 +5877,6 @@ interface INRideVehicle : NSCopying, NSSecureCoding { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -6295,7 +5890,6 @@ interface INSaveProfileInCarIntent { [Export ("initWithProfileNumber:profileLabel:"), Internal] IntPtr InitWithProfileNumberLabel ([NullAllowed] NSNumber profileNumber, [NullAllowed] string profileLabel); - [iOS (10, 2)] [MacCatalyst (13, 1)] [Export ("initWithProfileNumber:profileName:"), Internal] IntPtr InitWithProfileNumberName ([NullAllowed] NSNumber profileNumber, [NullAllowed] string profileName); @@ -6308,14 +5902,12 @@ interface INSaveProfileInCarIntent { [NullAllowed, Export ("profileLabel")] string ProfileLabel { get; } - [iOS (10, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("profileName")] string ProfileName { get; } } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -6340,14 +5932,12 @@ interface INSaveProfileInCarIntentHandling { [Export ("resolveProfileNumberForSaveProfileInCar:withCompletion:")] void ResolveProfileNumber (INSaveProfileInCarIntent intent, Action completion); - [iOS (10, 2)] [MacCatalyst (13, 1)] [Export ("resolveProfileNameForSaveProfileInCar:withCompletion:")] void ResolveProfileName (INSaveProfileInCarIntent intent, Action completion); } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -6372,21 +5962,17 @@ interface INSaveProfileInCarIntentResponse { #endif [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntent))] interface INSearchCallHistoryIntent { - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithDateCreated:recipient:callCapabilities:callTypes:unseen:")] [DesignatedInitializer] NativeHandle Constructor ([NullAllowed] INDateComponentsRange dateCreated, [NullAllowed] INPerson recipient, INCallCapabilityOptions callCapabilities, INCallRecordTypeOptions callTypes, [NullAllowed] NSNumber unseen); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Wrap ("this (dateCreated, recipient, callCapabilities, callTypes, new NSNumber (unseen))")] NativeHandle Constructor ([NullAllowed] INDateComponentsRange dateCreated, [NullAllowed] INPerson recipient, INCallCapabilityOptions callCapabilities, INCallRecordTypeOptions callTypes, bool unseen); @@ -6412,13 +5998,11 @@ interface INSearchCallHistoryIntent { [Export ("callCapabilities", ArgumentSemantic.Assign)] INCallCapabilityOptions CallCapabilities { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("callTypes", ArgumentSemantic.Assign)] INCallRecordTypeOptions CallTypes { get; } [Protected] - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("unseen", ArgumentSemantic.Copy)] NSNumber WeakUnseen { get; } @@ -6431,8 +6015,6 @@ interface INSearchCallHistoryIntent { #endif [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] @@ -6465,15 +6047,11 @@ interface INSearchCallHistoryIntentHandling { [Export ("resolveRecipientForSearchCallHistory:withCompletion:")] void ResolveRecipient (INSearchCallHistoryIntent intent, Action completion); -#if !NET - [Mac (10, 13)] -#endif - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolveCallTypesForSearchCallHistory:withCompletion:")] void ResolveCallTypes (INSearchCallHistoryIntent intent, Action completion); - [Watch (4, 0), NoMac, iOS (11, 0)] + [NoMac] [MacCatalyst (13, 1)] [Export ("resolveUnseenForSearchCallHistory:withCompletion:")] void ResolveUnseen (INSearchCallHistoryIntent intent, Action completion); @@ -6486,8 +6064,6 @@ interface INSearchCallHistoryIntentHandling { #endif [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] @@ -6502,7 +6078,6 @@ interface INSearchCallHistoryIntentResponse { [Export ("code")] INSearchCallHistoryIntentResponseCode Code { get; } - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("callRecords", ArgumentSemantic.Copy)] INCallRecord [] CallRecords { get; set; } @@ -6513,8 +6088,6 @@ interface INSearchCallHistoryIntentResponse { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] @@ -6523,7 +6096,6 @@ interface INSearchForMessagesIntent { [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use the overload that takes 'conversationIdentifiers' instead.")] [Deprecated (PlatformName.WatchOS, 5, 0, message: "Use the overload that takes 'conversationIdentifiers' instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use the overload that takes 'conversationIdentifiers' instead.")] - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use the overload that takes 'conversationIdentifiers' instead.")] [Export ("initWithRecipients:senders:searchTerms:attributes:dateTimeRange:identifiers:notificationIdentifiers:speakableGroupNames:")] @@ -6592,12 +6164,10 @@ interface INSearchForMessagesIntent { [Export ("groupNamesOperator", ArgumentSemantic.Assign)] INConditionalOperator GroupNamesOperator { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("speakableGroupNames", ArgumentSemantic.Copy)] INSpeakableString [] SpeakableGroupNames { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("speakableGroupNamesOperator", ArgumentSemantic.Assign)] INConditionalOperator SpeakableGroupNamesOperator { get; } @@ -6618,8 +6188,6 @@ interface INSearchForMessagesIntent { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Protocol] @@ -6657,10 +6225,6 @@ interface INSearchForMessagesIntentHandling { [Export ("resolveGroupNamesForSearchForMessages:withCompletion:")] void ResolveGroupNames (INSearchForMessagesIntent intent, Action completion); -#if !NET - [Mac (10, 13)] -#endif - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolveSpeakableGroupNamesForSearchForMessages:withCompletion:")] void ResolveSpeakableGroupNames (INSearchForMessagesIntent intent, Action completion); @@ -6671,8 +6235,6 @@ interface INSearchForMessagesIntentHandling { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] @@ -6692,8 +6254,6 @@ interface INSearchForMessagesIntentResponse { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6735,8 +6295,6 @@ interface INSearchForPhotosIntent { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6766,7 +6324,6 @@ interface INSearchForPhotosIntentHandling { [Export ("resolveAlbumNameForSearchForPhotos:withCompletion:")] void ResolveAlbumName (INSearchForPhotosIntent intent, Action completion); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolveSearchTermsForSearchForPhotos:withCompletion:")] void ResolveSearchTerms (INSearchForPhotosIntent intent, Action completion); @@ -6777,8 +6334,6 @@ interface INSearchForPhotosIntentHandling { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -6799,8 +6354,6 @@ interface INSearchForPhotosIntentResponse { } [Mac (12, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] @@ -6815,7 +6368,6 @@ interface INSendMessageIntent : UNNotificationContentProviding { [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")] [Deprecated (PlatformName.WatchOS, 7, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")] [Deprecated (PlatformName.iOS, 14, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")] - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")] [Export ("initWithRecipients:content:speakableGroupName:conversationIdentifier:serviceName:sender:")] @@ -6839,12 +6391,10 @@ interface INSendMessageIntent : UNNotificationContentProviding { [NullAllowed, Export ("content")] string Content { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("speakableGroupName", ArgumentSemantic.Copy)] INSpeakableString SpeakableGroupName { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("conversationIdentifier")] string ConversationIdentifier { get; } @@ -6891,8 +6441,6 @@ interface INSendMessageIntentDonationMetadata { } [Mac (12, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Protocol] @@ -6918,7 +6466,6 @@ interface INSendMessageIntentHandling { [Export ("resolveRecipientsForSendMessage:withCompletion:")] void ResolveRecipients (INSendMessageIntent intent, Action completion); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolveRecipientsForSendMessage:completion:")] void ResolveRecipients (INSendMessageIntent intent, Action completion); @@ -6941,15 +6488,12 @@ interface INSendMessageIntentHandling { #if NET [NoMac] // The INSpeakableStringResolutionResult used as a parameter type is not available in macOS #endif - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolveSpeakableGroupNameForSendMessage:withCompletion:")] void ResolveSpeakableGroupName (INSendMessageIntent intent, Action completion); } [Mac (12, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] @@ -6969,7 +6513,6 @@ interface INSendMessageIntentResponse { [Deprecated (PlatformName.iOS, 16, 0, message: "Use the 'SentMessages' property instead.")] [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use the 'SentMessages' property instead.")] [Deprecated (PlatformName.WatchOS, 9, 0, message: "Use the 'SentMessages' property instead.")] - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("sentMessage", ArgumentSemantic.Copy)] INMessage SentMessage { get; set; } @@ -6981,8 +6524,6 @@ interface INSendMessageIntentResponse { INMessage [] SentMessages { get; set; } } - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [Unavailable (PlatformName.MacOSX)] [MacCatalyst (13, 1)] @@ -7003,8 +6544,6 @@ interface INSendPaymentIntent { string Note { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -7030,7 +6569,6 @@ interface INSendPaymentIntentHandling { [Export ("resolvePayeeForSendPayment:withCompletion:")] void ResolvePayee (INSendPaymentIntent intent, Action completion); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolvePayeeForSendPayment:completion:")] void ResolvePayee (INSendPaymentIntent intent, Action completion); @@ -7041,7 +6579,6 @@ interface INSendPaymentIntentHandling { [Export ("resolveCurrencyAmountForSendPayment:withCompletion:")] void ResolveCurrencyAmount (INSendPaymentIntent intent, Action completion); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolveCurrencyAmountForSendPayment:completion:")] void ResolveCurrencyAmount (INSendPaymentIntent intent, Action completion); @@ -7050,8 +6587,6 @@ interface INSendPaymentIntentHandling { void ResolveNote (INSendPaymentIntent intent, Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -7071,7 +6606,6 @@ interface INSendPaymentIntentResponse { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7092,7 +6626,6 @@ interface INSetAudioSourceInCarIntent { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7122,7 +6655,6 @@ interface INSetAudioSourceInCarIntentHandling { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7141,7 +6673,6 @@ interface INSetAudioSourceInCarIntentResponse { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7212,7 +6743,6 @@ interface INSetClimateSettingsInCarIntent { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7274,7 +6804,6 @@ interface INSetClimateSettingsInCarIntentHandling { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7293,7 +6822,6 @@ interface INSetClimateSettingsInCarIntentResponse { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7328,7 +6856,6 @@ interface INSetDefrosterSettingsInCarIntent { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7363,7 +6890,6 @@ interface INSetDefrosterSettingsInCarIntentHandling { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7381,7 +6907,6 @@ interface INSetDefrosterSettingsInCarIntentResponse { INSetDefrosterSettingsInCarIntentResponseCode Code { get; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7400,7 +6925,6 @@ interface INSetMessageAttributeIntent { INMessageAttribute Attribute { get; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7425,7 +6949,6 @@ interface INSetMessageAttributeIntentHandling { void ResolveAttribute (INSetMessageAttributeIntent intent, Action completion); } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7443,7 +6966,6 @@ interface INSetMessageAttributeIntentResponse { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7458,7 +6980,6 @@ interface INSetProfileInCarIntent { IntPtr InitWithProfileNumberLabel ([NullAllowed] NSNumber profileNumber, [NullAllowed] string profileLabel, [NullAllowed] NSNumber defaultProfile); [Deprecated (PlatformName.iOS, 12, 0, message: "Use the overload that takes 'INSpeakableString carName'.")] - [iOS (10, 2)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use the overload that takes 'INSpeakableString carName'.")] [Export ("initWithProfileNumber:profileName:defaultProfile:"), Internal] @@ -7481,7 +7002,6 @@ interface INSetProfileInCarIntent { [NullAllowed, Export ("profileLabel")] string ProfileLabel { get; } - [iOS (10, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("profileName")] string ProfileName { get; } @@ -7497,7 +7017,6 @@ interface INSetProfileInCarIntent { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7532,14 +7051,12 @@ interface INSetProfileInCarIntentHandling { [Export ("resolveCarNameForSetProfileInCar:withCompletion:")] void ResolveCarName (INSetProfileInCarIntent intent, Action completion); - [iOS (10, 2)] [MacCatalyst (13, 1)] [Export ("resolveProfileNameForSetProfileInCar:withCompletion:")] void ResolveProfileName (INSetProfileInCarIntent intent, Action completion); } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7558,7 +7075,6 @@ interface INSetProfileInCarIntentResponse { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7588,7 +7104,6 @@ interface INSetRadioStationIntent { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7627,7 +7142,6 @@ interface INSetRadioStationIntentHandling { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7646,7 +7160,6 @@ interface INSetRadioStationIntentResponse { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7698,7 +7211,6 @@ interface INSetSeatSettingsInCarIntent { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7745,7 +7257,6 @@ interface INSetSeatSettingsInCarIntentHandling { } [Deprecated (PlatformName.iOS, 15, 0)] - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -7811,9 +7322,6 @@ interface INShareFocusStatusIntentResponse { interface IINSpeakable { } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [Protocol] @@ -7827,7 +7335,6 @@ interface INSpeakable { [NullAllowed, Export ("pronunciationHint")] string PronunciationHint { get; } - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -7835,7 +7342,6 @@ interface INSpeakable { [NullAllowed, Export ("vocabularyIdentifier")] string VocabularyIdentifier { get; } - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -7855,16 +7361,12 @@ interface INSpeakable { string Identifier { get; } } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface INSpeakableString : INSpeakable, NSCopying, NSSecureCoding { - [Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Export ("initWithVocabularyIdentifier:spokenPhrase:pronunciationHint:")] @@ -7876,8 +7378,6 @@ interface INSpeakableString : INSpeakable, NSCopying, NSSecureCoding { [Export ("initWithIdentifier:spokenPhrase:pronunciationHint:")] IntPtr InitWithIdentifier (string identifier, string spokenPhrase, [NullAllowed] string pronunciationHint); - [iOS (10, 2)] - [Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Export ("initWithSpokenPhrase:")] NativeHandle Constructor (string spokenPhrase); @@ -7888,8 +7388,6 @@ interface INSpeakableString : INSpeakable, NSCopying, NSSecureCoding { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] @@ -7948,8 +7446,6 @@ interface INSpeakableStringResolutionResult { #endif [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'INStartCallIntent' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'INStartCallIntent' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'INStartCallIntent' instead.")] @@ -7963,13 +7459,11 @@ interface INStartAudioCallIntent { [Export ("initWithContacts:")] NativeHandle Constructor ([NullAllowed] INPerson [] contacts); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithDestinationType:contacts:")] [DesignatedInitializer] NativeHandle Constructor (INCallDestinationType destinationType, [NullAllowed] INPerson [] contacts); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("destinationType", ArgumentSemantic.Assign)] INCallDestinationType DestinationType { get; } @@ -7985,8 +7479,6 @@ interface INStartAudioCallIntent { #endif [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'INStartCallIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'INStartCallIntentHandling' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'INStartCallIntentHandling' instead.")] @@ -8006,10 +7498,6 @@ interface INStartAudioCallIntentHandling { #endif (INStartAudioCallIntent intent, Action completion); -#if !NET - [Mac (10, 13)] -#endif - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolveDestinationTypeForStartAudioCall:withCompletion:")] void ResolveDestinationType (INStartAudioCallIntent intent, Action completion); @@ -8025,8 +7513,6 @@ interface INStartAudioCallIntentHandling { #endif [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'INStartCallIntentResponse' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'INStartCallIntentResponse' instead.")] - [iOS (10, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'INStartCallIntentResponse' instead.")] @@ -8044,8 +7530,6 @@ interface INStartAudioCallIntentResponse { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8087,8 +7571,6 @@ interface INStartPhotoPlaybackIntent { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8124,8 +7606,6 @@ interface INStartPhotoPlaybackIntentHandling { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8152,7 +7632,6 @@ interface INStartPhotoPlaybackIntentResponse { #endif [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'INStartCallIntent' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'INStartCallIntent' instead.")] - [iOS (10, 0)] [Unavailable (PlatformName.WatchOS)] [NoTV] [MacCatalyst (13, 1)] @@ -8172,11 +7651,9 @@ interface INStartVideoCallIntent { [NoMac] #elif MONOMAC [Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'INStartCallIntentHandling' instead.")] - [Mac (10, 12, 0)] #endif [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'INStartCallIntentHandling' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'INStartCallIntentHandling' instead.")] - [iOS (10, 0)] [Unavailable (PlatformName.WatchOS)] [NoTV] [MacCatalyst (13, 1)] @@ -8208,7 +7685,6 @@ interface INStartVideoCallIntentHandling { #endif [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'INStartCallIntentResponse' instead.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'INStartCallIntentResponse' instead.")] - [iOS (10, 0)] [Unavailable (PlatformName.WatchOS)] [NoTV] [MacCatalyst (13, 1)] @@ -8225,8 +7701,6 @@ interface INStartVideoCallIntentResponse { INStartVideoCallIntentResponseCode Code { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8255,8 +7729,6 @@ interface INStartWorkoutIntent { NSNumber _IsOpenEnded { get; } } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8292,8 +7764,6 @@ interface INStartWorkoutIntentHandling { void ResolveIsOpenEnded (INStartWorkoutIntent intent, Action completion); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8309,9 +7779,6 @@ interface INStartWorkoutIntentResponse { INStartWorkoutIntentResponseCode Code { get; } } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [NoTV] [MacCatalyst (13, 1)] [DisableDefaultCtor] @@ -8367,7 +7834,6 @@ interface INStringResolutionResult { [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Deprecated (PlatformName.MacOSX, 12, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 0)] [NoTV] [MacCatalyst (13, 1)] [DisableDefaultCtor] @@ -8419,7 +7885,6 @@ interface INTemperatureResolutionResult { INTemperatureResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Unavailable (PlatformName.WatchOS)] [NoTV] @@ -8441,7 +7906,6 @@ interface INTermsAndConditions : NSSecureCoding, NSCopying { NSUrl TermsAndConditionsUrl { get; } } - [iOS (10, 0)] [Unavailable (PlatformName.MacOSX)] [Watch (6, 0)] [TV (14, 0)] @@ -8457,7 +7921,6 @@ interface INVocabulary { [Export ("setVocabularyStrings:ofType:")] void SetVocabularyStrings (NSOrderedSet vocabulary, INVocabularyStringType type); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("setVocabulary:ofType:")] void SetVocabulary (NSOrderedSet vocabulary, INVocabularyStringType type); @@ -8466,8 +7929,6 @@ interface INVocabulary { void RemoveAllVocabularyStrings (); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-type! INWorkoutGoalUnitTypeResolutionResult bound [NoTV] [MacCatalyst (13, 1)] @@ -8475,7 +7936,6 @@ interface INVocabulary { [BaseType (typeof (INIntentResolutionResult))] interface INWorkoutGoalUnitTypeResolutionResult { - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -8490,7 +7950,6 @@ interface INWorkoutGoalUnitTypeResolutionResult { [Export ("successWithResolvedValue:")] INWorkoutGoalUnitTypeResolutionResult SuccessWithResolvedValue (INWorkoutGoalUnitType resolvedValue); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -8538,8 +7997,6 @@ interface INWorkoutGoalUnitTypeResolutionResult { INWorkoutGoalUnitTypeResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] // xtro mac !unknown-type! INWorkoutLocationTypeResolutionResult bound [NoTV] [MacCatalyst (13, 1)] @@ -8547,7 +8004,6 @@ interface INWorkoutGoalUnitTypeResolutionResult { [BaseType (typeof (INIntentResolutionResult))] interface INWorkoutLocationTypeResolutionResult { - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -8562,7 +8018,6 @@ interface INWorkoutLocationTypeResolutionResult { [Export ("successWithResolvedValue:")] INWorkoutLocationTypeResolutionResult SuccessWithResolvedValue (INWorkoutLocationType resolvedValue); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -8610,9 +8065,6 @@ interface INWorkoutLocationTypeResolutionResult { INWorkoutLocationTypeResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 0)] - [Mac (10, 12, 0)] - [Watch (3, 2)] [TV (14, 0)] [MacCatalyst (13, 1)] [Category] @@ -8647,8 +8099,6 @@ interface NSUserActivity_IntentsAdditions { void SetShortcutAvailability (INShortcutAvailabilityOptions shortcutAvailabilityOptions); } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8667,8 +8117,6 @@ interface INActivateCarSignalIntent { INCarSignalOptions Signals { get; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8697,8 +8145,6 @@ interface INActivateCarSignalIntentHandling { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8738,8 +8184,6 @@ interface INBillDetails : NSCopying, NSSecureCoding { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8764,8 +8208,6 @@ interface INBillPayee : NSCopying, NSSecureCoding { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8821,8 +8263,6 @@ interface INBillPayeeResolutionResult { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8839,7 +8279,6 @@ interface INBillTypeResolutionResult { [Export ("successWithResolvedValue:")] INBillTypeResolutionResult SuccessWithResolvedValue (INBillType resolvedValue); - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -8854,7 +8293,6 @@ interface INBillTypeResolutionResult { [Export ("confirmationRequiredWithValueToConfirm:")] INBillTypeResolutionResult ConfirmationRequiredWithValueToConfirm (INBillType valueToConfirm); - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -8894,8 +8332,6 @@ interface INBillTypeResolutionResult { INBillTypeResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8903,7 +8339,6 @@ interface INBillTypeResolutionResult { [DisableDefaultCtor] interface INCarSignalOptionsResolutionResult { - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -8918,7 +8353,6 @@ interface INCarSignalOptionsResolutionResult { [Export ("successWithResolvedValue:")] INCarSignalOptionsResolutionResult SuccessWithResolvedValue (INCarSignalOptions resolvedValue); - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -8966,8 +8400,6 @@ interface INCarSignalOptionsResolutionResult { INCarSignalOptionsResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -8983,8 +8415,6 @@ interface INGetCarLockStatusIntent { INSpeakableString CarName { get; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9008,8 +8438,6 @@ interface INGetCarLockStatusIntentHandling { void ResolveCarName (INGetCarLockStatusIntent intent, Action completion); } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9032,8 +8460,6 @@ interface INGetCarLockStatusIntentResponse { NSNumber _Locked { get; set; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9049,8 +8475,6 @@ interface INGetCarPowerLevelStatusIntent { INSpeakableString CarName { get; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9099,8 +8523,6 @@ interface INGetCarPowerLevelStatusIntentResponseObserver { // Just to please the generator that at this point does not know the hierarchy interface NSUnitLength : NSUnit { } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9213,8 +8635,6 @@ interface INGetCarPowerLevelStatusIntentResponse { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9251,8 +8671,6 @@ interface INPayBillIntent { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9299,8 +8717,6 @@ interface INPayBillIntentHandling { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9332,8 +8748,6 @@ interface INPayBillIntentResponse { string TransactionNote { get; set; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9347,7 +8761,6 @@ interface INPaymentAccount : NSCopying, NSSecureCoding { [Export ("initWithNickname:number:accountType:organizationName:")] NativeHandle Constructor (INSpeakableString nickname, [NullAllowed] string accountNumber, INAccountType accountType, [NullAllowed] INSpeakableString organizationName); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithNickname:number:accountType:organizationName:balance:secondaryBalance:")] [DesignatedInitializer] @@ -9365,19 +8778,15 @@ interface INPaymentAccount : NSCopying, NSSecureCoding { [Export ("organizationName", ArgumentSemantic.Copy), NullAllowed] INSpeakableString OrganizationName { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("balance", ArgumentSemantic.Copy)] INBalanceAmount Balance { get; } - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("secondaryBalance", ArgumentSemantic.Copy)] INBalanceAmount SecondaryBalance { get; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9430,8 +8839,6 @@ interface INPaymentAccountResolutionResult { INPaymentAccountResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9450,8 +8857,6 @@ interface INPaymentAmount : NSCopying, NSSecureCoding { INAmountType AmountType { get; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9504,8 +8909,6 @@ interface INPaymentAmountResolutionResult { INPaymentAmountResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9513,7 +8916,6 @@ interface INPaymentAmountResolutionResult { [DisableDefaultCtor] interface INPaymentStatusResolutionResult { - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -9528,7 +8930,6 @@ interface INPaymentStatusResolutionResult { [Export ("successWithResolvedValue:")] INPaymentStatusResolutionResult SuccessWithResolvedValue (INPaymentStatus resolvedValue); - [Watch (4, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -9578,8 +8979,6 @@ interface INPaymentStatusResolutionResult { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9610,8 +9009,6 @@ interface INSearchForBillsIntent { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9652,8 +9049,6 @@ interface INSearchForBillsIntentHandling { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9673,8 +9068,6 @@ interface INSearchForBillsIntentResponse { INBillDetails [] Bills { get; set; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9698,8 +9091,6 @@ interface INSetCarLockStatusIntent { INSpeakableString CarName { get; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9726,8 +9117,6 @@ interface INSetCarLockStatusIntentHandling { void ResolveCarName (INSetCarLockStatusIntent intent, Action completion); } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9743,8 +9132,6 @@ interface INSetCarLockStatusIntentResponse { INSetCarLockStatusIntentResponseCode Code { get; } } - [iOS (10, 3)] - [Watch (3, 2)] [Unavailable (PlatformName.MacOSX)] [NoTV] [MacCatalyst (13, 1)] @@ -9763,7 +9150,7 @@ interface INActivateCarSignalIntentResponse { INCarSignalOptions Signals { get; set; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -9810,7 +9197,7 @@ interface INAccountTypeResolutionResult { INAccountTypeResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoMac, iOS (11, 0), NoTV] + [NoMac, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] interface INAddTasksIntent { @@ -9845,7 +9232,7 @@ interface INAddTasksIntent { INTaskPriority Priority { get; } } - [Watch (4, 0), NoMac, iOS (11, 0), NoTV] + [NoMac, NoTV] [MacCatalyst (13, 1)] [Protocol] interface INAddTasksIntentHandling { @@ -9891,7 +9278,7 @@ interface INAddTasksIntentHandling { void ResolvePriority (INAddTasksIntent intent, Action completion); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] [DisableDefaultCtor] @@ -9913,7 +9300,7 @@ interface INAddTasksIntentResponse { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoMac, iOS (11, 0), NoTV] + [NoMac, NoTV] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntent))] @@ -9932,7 +9319,7 @@ interface INAppendToNoteIntent { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Protocol] @@ -9954,7 +9341,7 @@ interface INAppendToNoteIntentHandling { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntentResponse))] @@ -9972,7 +9359,7 @@ interface INAppendToNoteIntentResponse { INNote Note { get; set; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -9996,7 +9383,7 @@ interface INBalanceAmount : NSCopying, NSSecureCoding { string CurrencyCode { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -10044,7 +9431,7 @@ interface INBalanceTypeResolutionResult { } [Mac (12, 0)] - [Watch (4, 0), NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -10092,7 +9479,7 @@ interface INCallDestinationTypeResolutionResult { } [Mac (12, 0)] - [Watch (4, 0), iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -10176,7 +9563,7 @@ interface INCallRecord : NSCopying, NSSecureCoding { } [Mac (12, 0)] - [Watch (4, 0), NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -10223,7 +9610,7 @@ interface INCallRecordTypeOptionsResolutionResult { INCallRecordTypeOptionsResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [NoWatch, NoMac, iOS (11, 0), NoTV] + [NoWatch, NoMac, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] [DisableDefaultCtor] @@ -10237,7 +9624,7 @@ interface INCancelRideIntent { string RideIdentifier { get; } } - [NoWatch, NoMac, NoTV, iOS (11, 0)] + [NoWatch, NoMac, NoTV] [MacCatalyst (13, 1)] [Protocol] interface INCancelRideIntentHandling { @@ -10250,7 +9637,7 @@ interface INCancelRideIntentHandling { void Confirm (INCancelRideIntent intent, Action completion); } - [NoWatch, NoMac, NoTV, iOS (11, 0)] + [NoWatch, NoMac, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] [DisableDefaultCtor] @@ -10270,7 +9657,7 @@ interface INCancelRideIntentResponse { NSDateComponents CancellationFeeThreshold { get; set; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] [DisableDefaultCtor] @@ -10290,7 +9677,7 @@ interface INCreateNoteIntent { INSpeakableString GroupName { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Protocol] interface INCreateNoteIntentHandling { @@ -10312,7 +9699,7 @@ interface INCreateNoteIntentHandling { void ResolveGroupName (INCreateNoteIntent intent, Action completion); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] [DisableDefaultCtor] @@ -10331,7 +9718,7 @@ interface INCreateNoteIntentResponse { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntent))] @@ -10354,7 +9741,7 @@ interface INCreateTaskListIntent { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Protocol] @@ -10379,7 +9766,7 @@ interface INCreateTaskListIntentHandling { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntentResponse))] @@ -10397,7 +9784,7 @@ interface INCreateTaskListIntentResponse { INTaskList CreatedTaskList { get; set; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -10446,7 +9833,7 @@ interface INDateSearchTypeResolutionResult { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntent))] @@ -10463,7 +9850,7 @@ interface INGetVisualCodeIntent { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Protocol] @@ -10482,7 +9869,7 @@ interface INGetVisualCodeIntentHandling { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntentResponse))] @@ -10500,7 +9887,7 @@ interface INGetVisualCodeIntentResponse { INImage VisualCodeImage { get; set; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INNoteContent))] interface INImageNoteContent : NSSecureCoding, NSCopying { @@ -10512,7 +9899,7 @@ interface INImageNoteContent : NSSecureCoding, NSCopying { INImage Image { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -10559,7 +9946,7 @@ interface INLocationSearchTypeResolutionResult { INLocationSearchTypeResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface INNote : NSCopying, NSSecureCoding { @@ -10587,13 +9974,13 @@ interface INNote : NSCopying, NSSecureCoding { string Identifier { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface INNoteContent : NSSecureCoding, NSCopying { } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -10646,7 +10033,7 @@ interface INNoteContentResolutionResult { [Deprecated (PlatformName.iOS, 13, 0, message: "Not used anymore.")] [Deprecated (PlatformName.WatchOS, 6, 0, message: "Not used anymore.")] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Not used anymore.")] [BaseType (typeof (INIntentResolutionResult))] @@ -10693,7 +10080,7 @@ interface INNoteContentTypeResolutionResult { INNoteContentTypeResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] interface INNoteResolutionResult { @@ -10743,7 +10130,7 @@ interface INNoteResolutionResult { INNoteResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] interface INNotebookItemTypeResolutionResult { @@ -10798,7 +10185,7 @@ interface INNotebookItemTypeResolutionResult { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [Watch (4, 0), iOS (11, 0), NoTV] + [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -10836,7 +10223,7 @@ interface INParameter : NSCopying, NSSecureCoding { #elif MONOMAC [Obsoleted (PlatformName.MacOSX, 10,0, message: "Unavailable on macOS, will be removed in the future.")] #endif - [Watch (4, 0), NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -10863,7 +10250,7 @@ interface INRecurrenceRule : NSCopying, NSSecureCoding { INDayOfWeekOptions WeeklyRecurrenceDays { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INCurrencyAmountResolutionResult))] [DisableDefaultCtor] @@ -10909,7 +10296,7 @@ interface INRequestPaymentCurrencyAmountResolutionResult { INRequestPaymentCurrencyAmountResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INPersonResolutionResult))] [DisableDefaultCtor] @@ -10971,7 +10358,7 @@ interface INRequestPaymentPayerResolutionResult { INRequestPaymentPayerResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] interface INSearchForAccountsIntent { @@ -10993,7 +10380,7 @@ interface INSearchForAccountsIntent { INBalanceType RequestedBalanceType { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Protocol] interface INSearchForAccountsIntentHandling { @@ -11018,7 +10405,7 @@ interface INSearchForAccountsIntentHandling { void ResolveRequestedBalanceType (INSearchForAccountsIntent intent, Action completion); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] [DisableDefaultCtor] @@ -11035,7 +10422,7 @@ interface INSearchForAccountsIntentResponse { INPaymentAccount [] Accounts { get; set; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] interface INSearchForNotebookItemsIntent { @@ -11054,9 +10441,6 @@ interface INSearchForNotebookItemsIntent { [Export ("initWithTitle:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:notebookItemIdentifier:")] NativeHandle Constructor ([NullAllowed] INSpeakableString title, [NullAllowed] string content, INNotebookItemType itemType, INTaskStatus status, [NullAllowed] CLPlacemark location, INLocationSearchType locationSearchType, [NullAllowed] INDateComponentsRange dateTime, INDateSearchType dateSearchType, [NullAllowed] string notebookItemIdentifier); -#if !NET - [Mac (10, 15)] -#endif [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithTitle:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:temporalEventTriggerTypes:taskPriority:notebookItemIdentifier:")] @@ -11103,7 +10487,7 @@ interface INSearchForNotebookItemsIntent { string NotebookItemIdentifier { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Protocol] interface INSearchForNotebookItemsIntentHandling { @@ -11150,7 +10534,7 @@ interface INSearchForNotebookItemsIntentHandling { void ResolveTaskPriority (INSearchForNotebookItemsIntent intent, Action completion); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] [DisableDefaultCtor] @@ -11177,7 +10561,7 @@ interface INSearchForNotebookItemsIntentResponse { } [Mac (12, 0)] - [Watch (4, 0), NoTV, iOS (11, 0)] + [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (INPersonResolutionResult))] [DisableDefaultCtor] @@ -11239,7 +10623,7 @@ interface INSendMessageRecipientResolutionResult { INSendMessageRecipientResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INCurrencyAmountResolutionResult))] [DisableDefaultCtor] @@ -11285,7 +10669,7 @@ interface INSendPaymentCurrencyAmountResolutionResult { INSendPaymentCurrencyAmountResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INPersonResolutionResult))] [DisableDefaultCtor] @@ -11347,7 +10731,7 @@ interface INSendPaymentPayeeResolutionResult { INSendPaymentPayeeResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [NoWatch, NoTV, NoMac, iOS (11, 0)] + [NoWatch, NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] [DisableDefaultCtor] @@ -11367,7 +10751,7 @@ interface INSendRideFeedbackIntent { INCurrencyAmount Tip { get; set; } } - [NoWatch, NoTV, NoMac, iOS (11, 0)] + [NoWatch, NoTV, NoMac] [MacCatalyst (13, 1)] [Protocol] interface INSendRideFeedbackIntentHandling { @@ -11380,7 +10764,7 @@ interface INSendRideFeedbackIntentHandling { void Confirm (INSendRideFeedbackIntent sendRideFeedbackIntent, Action completion); } - [NoWatch, NoTV, NoMac, iOS (11, 0)] + [NoWatch, NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] [DisableDefaultCtor] @@ -11394,7 +10778,7 @@ interface INSendRideFeedbackIntentResponse { INSendRideFeedbackIntentResponseCode Code { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntent))] interface INSetTaskAttributeIntent { @@ -11434,7 +10818,7 @@ interface INSetTaskAttributeIntent { INTemporalEventTrigger TemporalEventTrigger { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Protocol] interface INSetTaskAttributeIntentHandling { @@ -11477,7 +10861,7 @@ interface INSetTaskAttributeIntentHandling { void ResolveTemporalEventTrigger (INSetTaskAttributeIntent intent, Action completionHandler); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResponse))] [DisableDefaultCtor] @@ -11494,7 +10878,7 @@ interface INSetTaskAttributeIntentResponse { INTask ModifiedTask { get; set; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -11511,7 +10895,7 @@ interface INSpatialEventTrigger : NSCopying, NSSecureCoding { INSpatialEvent Event { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -11562,7 +10946,7 @@ interface INSpatialEventTriggerResolutionResult { INSpatialEventTriggerResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -11607,7 +10991,7 @@ interface INTask : NSCopying, NSSecureCoding { INTaskPriority Priority { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -11636,7 +11020,7 @@ interface INTaskList : NSCopying, NSSecureCoding { string Identifier { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -11687,7 +11071,7 @@ interface INTaskListResolutionResult { INTaskListResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -11738,7 +11122,7 @@ interface INTaskResolutionResult { INTaskResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -11785,7 +11169,7 @@ interface INTaskStatusResolutionResult { INTaskStatusResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -11799,7 +11183,7 @@ interface INTemporalEventTrigger : NSCopying, NSSecureCoding { INDateComponentsRange DateComponentsRange { get; } } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INIntentResolutionResult))] [DisableDefaultCtor] @@ -11850,7 +11234,7 @@ interface INTemporalEventTriggerResolutionResult { INTemporalEventTriggerResolutionResult GetConfirmationRequired (NSObject itemToConfirm, nint reason); } - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (INNoteContent))] [DisableDefaultCtor] @@ -11865,7 +11249,7 @@ interface INTextNoteContent : NSSecureCoding, NSCopying { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntent))] @@ -11894,7 +11278,7 @@ interface INTransferMoneyIntent { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Protocol] @@ -11925,7 +11309,7 @@ interface INTransferMoneyIntentHandling { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntentResponse))] @@ -11960,7 +11344,7 @@ interface INTransferMoneyIntentResponse { [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.WatchOS, 8, 0)] - [Watch (4, 0), NoTV, NoMac, iOS (11, 0)] + [NoTV, NoMac] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [BaseType (typeof (INIntentResolutionResult))] @@ -12405,7 +11789,7 @@ interface INVoiceShortcutCenter { } // TODO: We need to inline these into NSString once we figure out how the API is used. - //[Watch (5,0), Mac (10,14), iOS (12,0)] + //[Watch (5,0), iOS (12,0)] //[Category] //[BaseType (typeof (NSString))] //interface NSString_Intents { diff --git a/src/intentsui.cs b/src/intentsui.cs index 3f9b1bd9b59c..c17020b2b3ad 100644 --- a/src/intentsui.cs +++ b/src/intentsui.cs @@ -25,8 +25,7 @@ namespace IntentsUI { [NoMac] - [iOS (10, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum INUIHostedViewContext : ulong { SiriSnippet, @@ -34,8 +33,7 @@ public enum INUIHostedViewContext : ulong { } [NoMac] - [iOS (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum INUIInteractiveBehavior : ulong { None, @@ -61,13 +59,11 @@ public enum INUIAddVoiceShortcutButtonStyle : ulong { } [NoMac] - [iOS (11, 0)] [MacCatalyst (13, 1)] delegate void INUIHostedViewControllingConfigureViewHandler (bool success, NSSet configuredParameters, CGSize desiredSize); [NoMac] - [iOS (10, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Protocol] interface INUIHostedViewControlling { @@ -77,15 +73,13 @@ interface INUIHostedViewControlling { [Export ("configureWithInteraction:context:completion:")] void Configure (INInteraction interaction, INUIHostedViewContext context, Action completion); - [iOS (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("configureViewForParameters:ofInteraction:interactiveBehavior:context:completion:")] void ConfigureView (NSSet parameters, INInteraction interaction, INUIInteractiveBehavior interactiveBehavior, INUIHostedViewContext context, INUIHostedViewControllingConfigureViewHandler completionHandler); } [NoMac] - [iOS (10, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Category] [BaseType (typeof (NSExtensionContext))] interface NSExtensionContext_INUIHostedViewControlling { @@ -96,15 +90,13 @@ interface NSExtensionContext_INUIHostedViewControlling { [Export ("hostedViewMaximumAllowedSize")] CGSize GetHostedViewMaximumAllowedSize (); - [iOS (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("interfaceParametersDescription")] string GetInterfaceParametersDescription (); } [NoMac] - [iOS (10, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Protocol] interface INUIHostedViewSiriProviding { diff --git a/src/iosurface.cs b/src/iosurface.cs index a3a58e60d965..2e60e297e506 100644 --- a/src/iosurface.cs +++ b/src/iosurface.cs @@ -21,17 +21,14 @@ namespace IOSurface { [Static] [Internal] - // See bug #59201 [iOS (10,0)] - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 12)] + // See bug #59201 [MacCatalyst (13, 1)] interface IOSurfacePropertyKey { [Internal] [Field ("IOSurfacePropertyAllocSizeKey")] NSString _DeprecatedAllocSizeKey { get; } - [iOS (12, 0), TV (12, 0), Mac (10, 14)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Internal] [Field ("IOSurfacePropertyKeyAllocSize")] @@ -129,9 +126,6 @@ partial interface IOSurfaceOptions { string Name { get; set; } } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface IOSurface : NSSecureCoding { @@ -237,8 +231,6 @@ NSDictionary AllAttachments { [Export ("allowsPixelSizeCasting")] bool AllowsPixelSizeCasting { get; } - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Internal, Export ("setPurgeable:oldState:")] int _SetPurgeable (IOSurfacePurgeabilityState newState, IntPtr oldStatePtr); diff --git a/src/ituneslibrary.cs b/src/ituneslibrary.cs index d228190a33bf..0c5b3d844282 100644 --- a/src/ituneslibrary.cs +++ b/src/ituneslibrary.cs @@ -32,7 +32,6 @@ namespace iTunesLibrary { - [Mac (10, 14)] [BaseType (typeof (NSObject))] interface ITLibAlbum { [NullAllowed, Export ("title")] @@ -75,7 +74,6 @@ interface ITLibAlbum { NSNumber PersistentId { get; } } - [Mac (10, 14)] [BaseType (typeof (NSObject))] interface ITLibArtist { [NullAllowed, Export ("name")] @@ -88,7 +86,6 @@ interface ITLibArtist { NSNumber PersistentId { get; } } - [Mac (10, 14)] [BaseType (typeof (NSObject))] interface ITLibArtwork { [NullAllowed, Export ("image", ArgumentSemantic.Retain)] @@ -103,7 +100,6 @@ interface ITLibArtwork { delegate void ITLibMediaEntityEnumerateValuesHandler (NSString property, NSObject value, out bool stop); - [Mac (10, 14)] [BaseType (typeof (NSObject))] interface ITLibMediaEntity { [Export ("persistentID", ArgumentSemantic.Retain)] @@ -120,7 +116,6 @@ interface ITLibMediaEntity { void EnumerateValuesExcept ([NullAllowed] NSSet properties, ITLibMediaEntityEnumerateValuesHandler handler); } - [Mac (10, 14)] [BaseType (typeof (ITLibMediaEntity))] interface ITLibMediaItem { [Export ("title")] @@ -271,7 +266,6 @@ interface ITLibMediaItem { ITLibMediaItemLocationType LocationType { get; } } - [Mac (10, 14)] [BaseType (typeof (NSObject))] interface ITLibMediaItemVideoInfo { [NullAllowed, Export ("series")] @@ -299,7 +293,6 @@ interface ITLibMediaItemVideoInfo { nuint VideoHeight { get; } } - [Mac (10, 14)] [BaseType (typeof (ITLibMediaEntity))] interface ITLibPlaylist { [Export ("name")] @@ -332,7 +325,6 @@ interface ITLibPlaylist { ITLibPlaylistKind Kind { get; } } - [Mac (10, 14)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface ITLibrary { diff --git a/src/javascriptcore.cs b/src/javascriptcore.cs index 568020acf048..b4d212e4a6e6 100644 --- a/src/javascriptcore.cs +++ b/src/javascriptcore.cs @@ -19,7 +19,6 @@ namespace JavaScriptCore { delegate void JSContextExceptionHandler (JSContext context, JSValue exception); - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -31,13 +30,11 @@ partial interface JSContext { [Export ("initWithVirtualMachine:")] NativeHandle Constructor (JSVirtualMachine virtualMachine); - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("name")] string Name { get; set; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("evaluateScript:withSourceURL:")] JSValue EvaluateScript (string script, NSUrl sourceUrl); @@ -57,7 +54,6 @@ partial interface JSContext { [Static, Export ("currentArguments")] JSValue [] CurrentArguments { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("currentCallee")] JSValue CurrentCallee { get; } @@ -93,12 +89,11 @@ partial interface JSContext { IntPtr JSGlobalContextRefPtr { get; } } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] delegate void JSPromiseCreationExecutor (JSValue resolve, JSValue rejected); - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // invalid (null) Handle is returned @@ -136,28 +131,28 @@ partial interface JSValue { [Static, Export ("valueWithUndefinedInContext:")] JSValue Undefined (JSContext context); - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("valueWithNewPromiseInContext:fromExecutor:")] JSValue CreatePromise (JSContext context, JSPromiseCreationExecutor callback); - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("valueWithNewPromiseResolvedWithResult:inContext:")] JSValue CreateResolvedPromise (NSObject result, JSContext context); - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("valueWithNewPromiseRejectedWithReason:inContext:")] JSValue CreateRejectedPromise (NSObject reason, JSContext context); - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] [Static] @@ -240,12 +235,10 @@ partial interface JSValue { [Export ("isObject")] bool IsObject { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("isArray")] bool IsArray { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("isDate")] bool IsDate { get; } @@ -325,14 +318,13 @@ partial interface JSValue { [Export ("JSValueRef")] IntPtr JSValueRefPtr { get; } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] [Export ("isSymbol")] bool IsSymbol { get; } } - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] #if XAMCORE_3_0 @@ -342,7 +334,6 @@ partial interface JSManagedValue { [Static, Export ("managedValueWithValue:")] JSManagedValue Get (JSValue value); - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("managedValueWithValue:andOwner:")] JSManagedValue Get (JSValue value, NSObject owner); @@ -354,7 +345,6 @@ partial interface JSManagedValue { JSValue Value { get; } } - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -370,7 +360,6 @@ partial interface JSVirtualMachine { void RemoveManagedReference (NSObject obj, NSObject owner); } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static] interface JSPropertyDescriptorKeys { @@ -394,7 +383,6 @@ interface JSPropertyDescriptorKeys { NSString Set { get; } } - [Mac (10, 9)] [MacCatalyst (13, 1)] #if NET [Protocol, Model] diff --git a/src/linkpresentation.cs b/src/linkpresentation.cs index 576aa2c6d09f..aa6f5e11f3d2 100644 --- a/src/linkpresentation.cs +++ b/src/linkpresentation.cs @@ -26,7 +26,7 @@ namespace LinkPresentation { [ErrorDomain ("LPErrorDomain")] - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (14, 0)] [MacCatalyst (13, 1)] [Native] @@ -37,7 +37,7 @@ public enum LPErrorCode : long { MetadataFetchTimedOut, } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -65,7 +65,7 @@ interface LPLinkMetadata : NSCopying, NSSecureCoding { NSUrl RemoteVideoUrl { get; set; } } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIView))] @@ -85,7 +85,7 @@ interface LPLinkView { LPLinkMetadata Metadata { get; set; } } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] diff --git a/src/localauthentication.cs b/src/localauthentication.cs index 42a6eedac9fb..d0ec57a3968a 100644 --- a/src/localauthentication.cs +++ b/src/localauthentication.cs @@ -9,8 +9,6 @@ namespace LocalAuthentication { - [Mac (10, 13, 2)] - [iOS (11, 0)] [NoWatch] [NoTV] [MacCatalyst (13, 1)] @@ -18,7 +16,6 @@ namespace LocalAuthentication { public enum LABiometryType : long { None, TouchId, - [Mac (10, 15)] [MacCatalyst (13, 1)] FaceId, #if !NET @@ -28,11 +25,10 @@ public enum LABiometryType : long { #endif } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] delegate void LAContextReplyHandler (bool success, NSError error); - [iOS (8, 0), Mac (10, 10), NoTV] // ".objc_class_name_LAContext", referenced from: '' not found + [NoTV] // ".objc_class_name_LAContext", referenced from: '' not found [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface LAContext { @@ -43,7 +39,7 @@ interface LAContext { string LocalizedFallbackTitle { get; set; } #if !NET - [iOS (8, 3), NoTV] + [NoTV] [Field ("LAErrorDomain")] NSString ErrorDomain { get; } #endif @@ -55,75 +51,62 @@ interface LAContext { [Export ("evaluatePolicy:localizedReason:reply:")] void EvaluatePolicy (LAPolicy policy, string localizedReason, LAContextReplyHandler reply); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("invalidate")] void Invalidate (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("setCredential:type:")] bool SetCredentialType ([NullAllowed] NSData credential, LACredentialType type); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("isCredentialSet:")] bool IsCredentialSet (LACredentialType type); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("evaluateAccessControl:operation:localizedReason:reply:")] void EvaluateAccessControl (SecAccessControl accessControl, LAAccessControlOperation operation, string localizedReason, Action reply); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("evaluatedPolicyDomainState")] [NullAllowed] NSData EvaluatedPolicyDomainState { get; } - [iOS (10, 0)] - [Mac (10, 12)] [NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("localizedCancelTitle")] string LocalizedCancelTitle { get; set; } - [iOS (9, 0)] - [Mac (10, 12, 4)] [NoWatch] [MacCatalyst (13, 1)] [Field ("LATouchIDAuthenticationMaximumAllowableReuseDuration")] double /* NSTimeInterval */ TouchIdAuthenticationMaximumAllowableReuseDuration { get; } - [iOS (9, 0)] - [Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("touchIDAuthenticationAllowableReuseDuration")] double /* NSTimeInterval */ TouchIdAuthenticationAllowableReuseDuration { get; set; } - [iOS (8, 3), Deprecated (PlatformName.iOS, 9, 0)] - [Mac (10, 10, 3), Deprecated (PlatformName.MacOSX, 10, 11)] + [Deprecated (PlatformName.iOS, 9, 0)] + [Deprecated (PlatformName.MacOSX, 10, 11)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1)] [NullAllowed] [Export ("maxBiometryFailures")] NSNumber MaxBiometryFailures { get; set; } - [NoWatch, NoTV, Mac (10, 13), iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("localizedReason")] string LocalizedReason { get; set; } - [Watch (9, 0), NoTV, Mac (10, 13), iOS (11, 0)] + [Watch (9, 0), NoTV] [MacCatalyst (13, 1)] [Export ("interactionNotAllowed")] bool InteractionNotAllowed { get; set; } - [Mac (10, 13, 2)] - [iOS (11, 0)] [NoWatch] [MacCatalyst (13, 1)] [Export ("biometryType")] diff --git a/src/mapkit.cs b/src/mapkit.cs index 0bbf1781d544..a00529892d41 100644 --- a/src/mapkit.cs +++ b/src/mapkit.cs @@ -70,7 +70,6 @@ namespace MapKit { [BaseType (typeof (NSObject))] [Model] [Protocol] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface MKAnnotation { [Export ("coordinate")] @@ -86,7 +85,6 @@ interface MKAnnotation { string Subtitle { get; } [Export ("setCoordinate:")] - [Mac (10, 9)] [MacCatalyst (13, 1)] void SetCoordinate (CLLocationCoordinate2D value); } @@ -97,7 +95,6 @@ interface IMKAnnotation { } [BaseType (typeof (MKAnnotation))] [Model] [Protocol] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface MKOverlay { [Abstract] @@ -118,8 +115,6 @@ interface IMKOverlay { } [BaseType (typeof (UIView))] [NoWatch] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface MKAnnotationView { [DesignatedInitializer] @@ -190,7 +185,6 @@ interface MKAnnotationView { [Export ("draggable")] bool Draggable { [Bind ("isDraggable")] get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("detailCalloutAccessoryView")] [NullAllowed] @@ -199,49 +193,34 @@ interface MKAnnotationView { [NoiOS] [NoWatch] [NoTV] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("leftCalloutOffset")] CGPoint LeftCalloutOffset { get; set; } [NoiOS] [NoWatch] [NoTV] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("rightCalloutOffset")] CGPoint RightCallpoutOffset { get; set; } - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("clusteringIdentifier")] string ClusteringIdentifier { get; set; } - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("clusterAnnotationView", ArgumentSemantic.Weak)] MKAnnotationView ClusterAnnotationView { get; } - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Advice ("Pre-defined constants are available from 'MKFeatureDisplayPriority'.")] [Export ("displayPriority")] float DisplayPriority { get; set; } - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("collisionMode", ArgumentSemantic.Assign)] MKAnnotationViewCollisionMode CollisionMode { get; set; } - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("prepareForDisplay")] [RequiresSuper] @@ -259,8 +238,6 @@ interface MKAnnotationView { } [ThreadSafe] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (MKShape))] interface MKCircle : MKOverlay { @@ -300,8 +277,6 @@ interface MKCircleView { NativeHandle Constructor (MKCircle circle); } - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MKDirectionsRequest { @@ -345,8 +320,6 @@ interface MKDirectionsRequest { #endif // !WATCH [BaseType (typeof (NSObject))] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface MKMapItem : NSSecureCoding #if IOS // #if TARGET_OS_IOS @@ -430,8 +403,6 @@ interface MKMapItem : NSSecureCoding NSString MKLaunchOptionsShowsTrafficKey { get; } [NoTV] - [iOS (7, 1)] // latest documentation says 7.1 and the field is not present in the simulator (7.0.3) - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("MKLaunchOptionsCameraKey"), Internal] NSString MKLaunchOptionsCameraKey { get; } @@ -447,41 +418,32 @@ interface MKMapItem : NSSecureCoding NSString MKLaunchOptionsDirectionsModeWalking { get; } [NoTV] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("MKLaunchOptionsDirectionsModeTransit"), Internal] NSString MKLaunchOptionsDirectionsModeTransit { get; } [NoTV] - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("MKLaunchOptionsDirectionsModeDefault"), Internal] NSString MKLaunchOptionsDirectionsModeDefault { get; } [Export ("timeZone")] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] NSTimeZone TimeZone { get; set; } - [iOS (11, 0), Mac (10, 13), Watch (4, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("MKMapItemTypeIdentifier")] NSString TypeIdentifier { get; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("pointOfInterestCategory")] string PointOfInterestCategory { get; set; } } [NoWatch] - [TV (9, 2)] [BaseType (typeof (UIView), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (MKMapViewDelegate) })] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface MKMapView { [Export ("initWithFrame:")] @@ -575,23 +537,14 @@ interface MKMapView { [return: NullAllowed] MKAnnotationView DequeueReusableAnnotation (string withViewIdentifier); - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("dequeueReusableAnnotationViewWithIdentifier:forAnnotation:")] MKAnnotationView DequeueReusableAnnotation (string identifier, IMKAnnotation annotation); - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("registerClass:forAnnotationViewWithReuseIdentifier:")] void Register ([NullAllowed] Class viewClass, string identifier); - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Wrap ("Register (viewType is null ? null : new Class (viewType), identifier)")] void Register ([NullAllowed] Type viewType, string identifier); @@ -733,55 +686,52 @@ interface MKMapView { bool ShowsBuildings { get; set; } // MKMapView.h headers says "To be used in testing only" which means it's likely won't be accepted in the appstore - // [iOS (9,0), Mac(10,11)] + // // [Export ("_handleSelectionAtPoint:")] // void _HandleSelectionAtPoint (CGPoint locationInView); [NoTV] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("showsCompass")] bool ShowsCompass { get; set; } [Export ("showsScale")] - [Mac (10, 10), iOS (9, 0)] [MacCatalyst (13, 1)] bool ShowsScale { get; set; } [Export ("showsTraffic")] - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] bool ShowsTraffic { get; set; } [NoiOS] [NoWatch] [NoTV] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("showsZoomControls")] bool ShowsZoomControls { get; set; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setCameraZoomRange:animated:")] void SetCameraZoomRange ([NullAllowed] MKMapCameraZoomRange cameraZoomRange, bool animated); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("cameraZoomRange", ArgumentSemantic.Copy)] [NullAllowed] MKMapCameraZoomRange CameraZoomRange { get; set; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("cameraBoundary", ArgumentSemantic.Copy)] MKMapCameraBoundary CameraBoundary { get; set; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("setCameraBoundary:animated:")] void SetCameraBoundary ([NullAllowed] MKMapCameraBoundary cameraBoundary, bool animated); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("pointOfInterestFilter", ArgumentSemantic.Copy)] MKPointOfInterestFilter PointOfInterestFilter { get; set; } @@ -793,9 +743,6 @@ interface MKMapView { } [Static] - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 13)] [NoWatch] [MacCatalyst (13, 1)] interface MKMapViewDefault { @@ -810,7 +757,6 @@ interface MKMapViewDefault { [BaseType (typeof (NSObject))] [Model] [Protocol] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface MKMapViewDelegate { [Export ("mapView:regionWillChangeAnimated:"), EventArgs ("MKMapViewChange")] @@ -905,18 +851,12 @@ interface MKMapViewDelegate { [Export ("mapViewDidFinishRenderingMap:fullyRendered:"), EventArgs ("MKDidFinishRenderingMap")] void DidFinishRenderingMap (MKMapView mapView, bool fullyRendered); - [TV (11, 0)] [NoWatch] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("mapView:clusterAnnotationForMemberAnnotations:"), DelegateName ("MKCreateClusterAnnotation"), DefaultValue (null)] MKClusterAnnotation CreateClusterAnnotation (MKMapView mapView, IMKAnnotation [] memberAnnotations); - [TV (11, 0)] [NoWatch] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("mapViewDidChangeVisibleRegion:")] void DidChangeVisibleRegion (MKMapView mapView); @@ -925,8 +865,6 @@ interface MKMapViewDelegate { [BaseType (typeof (MKAnnotationView))] // crash on Dispose when created from 'init' [DisableDefaultCtor] - [TV (9, 2)] - [Mac (10, 9)] [NoWatch] [Deprecated (PlatformName.MacOSX, 13, 0, message: "Use MKMarkerAnnotationView instead.")] [Deprecated (PlatformName.iOS, 16, 0, message: "Use MKMarkerAnnotationView instead.")] @@ -951,24 +889,20 @@ interface MKPinAnnotationView { [Export ("animatesDrop")] bool AnimatesDrop { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Appearance] [Export ("pinTintColor")] [NullAllowed] UIColor PinTintColor { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static, Export ("redPinColor")] UIColor RedPinColor { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static, Export ("greenPinColor")] UIColor GreenPinColor { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static, Export ("purplePinColor")] UIColor PurplePinColor { get; } @@ -998,8 +932,6 @@ interface MKPlacemarkAddress { [BaseType (typeof (CLPlacemark))] // crash (at least) when calling 'description' when instance is created by 'init' [DisableDefaultCtor] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface MKPlacemark : MKAnnotation, NSCopying { [Export ("initWithCoordinate:addressDictionary:")] @@ -1013,17 +945,10 @@ interface MKPlacemark : MKAnnotation, NSCopying { [Wrap ("this (coordinate, addressDictionary.GetDictionary ())")] NativeHandle Constructor (CLLocationCoordinate2D coordinate, MKPlacemarkAddress addressDictionary); - [Watch (3, 0)] - [TV (10, 0)] - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("initWithCoordinate:")] NativeHandle Constructor (CLLocationCoordinate2D coordinate); - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] [NoTV] [MacCatalyst (13, 1)] [Export ("initWithCoordinate:postalAddress:")] @@ -1211,8 +1136,6 @@ interface MKOverlayPathView { } [NoWatch] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] @@ -1227,18 +1150,16 @@ interface MKShape : MKAnnotation { } [NoWatch] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [DesignatedDefaultCtor] [BaseType (typeof (MKShape))] interface MKPointAnnotation : MKGeoJsonObject { - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoordinate:")] NativeHandle Constructor (CLLocationCoordinate2D coordinate); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoordinate:title:subtitle:")] NativeHandle Constructor (CLLocationCoordinate2D coordinate, [NullAllowed] string title, [NullAllowed] string subtitle); @@ -1268,8 +1189,6 @@ interface MKPolygonView { [NoWatch] [ThreadSafe] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (MKMultiPoint))] interface MKPolygon : MKOverlay, MKGeoJsonObject { @@ -1305,8 +1224,6 @@ interface MKPolygon : MKOverlay, MKGeoJsonObject { [NoWatch] [ThreadSafe] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (MKMultiPoint))] interface MKPolyline : MKOverlay, MKGeoJsonObject { @@ -1348,8 +1265,6 @@ interface MKPolylineView { [NoWatch] [BaseType (typeof (MKShape))] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface MKMultiPoint : MKGeoJsonObject { [Export ("points"), Internal] @@ -1375,8 +1290,6 @@ interface MKMultiPoint : MKGeoJsonObject { [NoWatch] [BaseType (typeof (NSObject))] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface MKUserLocation : IMKAnnotation { // This is wrong. It should be MKAnnotation but we can't due to API compat. When you fix this remove hack in generator.cs to enable warning again [Export ("updating")] @@ -1424,8 +1337,6 @@ interface MKUserTrackingBarButtonItem { delegate void MKLocalSearchCompletionHandler (MKLocalSearchResponse response, NSError error); [NoWatch] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [ThreadSafe] @@ -1454,8 +1365,6 @@ interface MKLocalSearch { } [NoWatch] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [ThreadSafe] @@ -1464,18 +1373,16 @@ interface MKLocalSearchRequest : NSCopying { [DesignatedInitializer] [NoWatch] - [iOS (9, 3)] - [Mac (10, 11, 4)] [MacCatalyst (13, 1)] [Export ("initWithCompletion:")] NativeHandle Constructor (MKLocalSearchCompletion completion); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithNaturalLanguageQuery:")] NativeHandle Constructor (string naturalLanguageQuery); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithNaturalLanguageQuery:region:")] NativeHandle Constructor (string naturalLanguageQuery, MKCoordinateRegion region); @@ -1487,20 +1394,18 @@ interface MKLocalSearchRequest : NSCopying { [Export ("region", ArgumentSemantic.Assign)] MKCoordinateRegion Region { get; set; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("resultTypes", ArgumentSemantic.Assign)] MKLocalSearchResultType ResultTypes { get; set; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("pointOfInterestFilter", ArgumentSemantic.Copy)] MKPointOfInterestFilter PointOfInterestFilter { get; set; } } [NoWatch] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [ThreadSafe] @@ -1516,9 +1421,7 @@ interface MKLocalSearchResponse { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (MKOverlayPathRenderer))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKCircleRenderer { @@ -1540,9 +1443,7 @@ partial interface MKCircleRenderer { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // NSInvalidArgumentException Reason: Cannot initialize MKDirections with nil request partial interface MKDirections { @@ -1571,9 +1472,7 @@ partial interface MKDirections { delegate void MKETAHandler (MKETAResponse response, NSError error); [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKETAResponse { [Export ("source")] @@ -1585,32 +1484,25 @@ partial interface MKETAResponse { [Export ("expectedTravelTime")] double ExpectedTravelTime { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("distance")] double /* CLLocationDistance */ Distance { get; } [Export ("transportType")] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] MKDirectionsTransportType TransportType { get; } [Export ("expectedArrivalDate")] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] NSDate ExpectedArrivalDate { get; } [Export ("expectedDepartureDate")] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] NSDate ExpectedDepartureDate { get; } } [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKDirectionsResponse { @@ -1625,9 +1517,7 @@ partial interface MKDirectionsResponse { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKRoute { @@ -1662,9 +1552,7 @@ partial interface MKRoute { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKRouteStep { @@ -1685,9 +1573,7 @@ partial interface MKRouteStep { MKDirectionsTransportType TransportType { get; } } - [TV (9, 2)] [BaseType (typeof (NSFormatter))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKDistanceFormatter { @@ -1709,9 +1595,7 @@ partial interface MKDistanceFormatter { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (MKPolyline))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKGeodesicPolyline { @@ -1725,9 +1609,7 @@ partial interface MKGeodesicPolyline { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKMapCamera : NSCopying, NSSecureCoding { @@ -1754,13 +1636,11 @@ partial interface MKMapCamera : NSCopying, NSSecureCoding { MKMapCamera CameraLookingAtCenterCoordinate (CLLocationCoordinate2D centerCoordinate, CLLocationCoordinate2D eyeCoordinate, double eyeAltitude); [Static] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("cameraLookingAtCenterCoordinate:fromDistance:pitch:heading:")] MKMapCamera CameraLookingAtCenterCoordinate (CLLocationCoordinate2D centerCoordinate, double locationDistance, nfloat pitch, double locationDirectionHeading); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("centerCoordinateDistance")] double CenterCoordinateDistance { get; set; } @@ -1772,9 +1652,7 @@ partial interface MKMapCamera : NSCopying, NSSecureCoding { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKMapSnapshot { @@ -1787,7 +1665,6 @@ partial interface MKMapSnapshot { [NoWatch] [NoTV] [NoiOS] - [Mac (10, 14)] [NoMacCatalyst] [Export ("appearance")] NSAppearance Appearance { get; } @@ -1799,9 +1676,7 @@ partial interface MKMapSnapshot { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKMapSnapshotOptions : NSCopying { @@ -1842,11 +1717,10 @@ partial interface MKMapSnapshotOptions : NSCopying { [NoTV] [NoiOS] [NoMacCatalyst] - [Mac (10, 14)] [NullAllowed, Export ("appearance", ArgumentSemantic.Strong)] NSAppearance Appearance { get; set; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("pointOfInterestFilter", ArgumentSemantic.Copy)] MKPointOfInterestFilter PointOfInterestFilter { get; set; } @@ -1858,9 +1732,7 @@ partial interface MKMapSnapshotOptions : NSCopying { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKMapSnapshotter { @@ -1886,9 +1758,7 @@ partial interface MKMapSnapshotter { delegate void MKMapSnapshotCompletionHandler (MKMapSnapshot snapshot, NSError error); [NoWatch] - [TV (9, 2)] [BaseType (typeof (MKOverlayRenderer))] - [Mac (10, 9)] [MacCatalyst (13, 1)] [ThreadSafe] partial interface MKOverlayPathRenderer { @@ -1945,16 +1815,14 @@ partial interface MKOverlayPathRenderer { [Export ("fillPath:inContext:")] void FillPath (CGPath path, CGContext context); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("shouldRasterize")] bool ShouldRasterize { get; set; } } [NoWatch] - [TV (9, 2)] [BaseType (typeof (NSObject))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKOverlayRenderer { @@ -2009,9 +1877,7 @@ partial interface MKOverlayRenderer { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (MKOverlayPathRenderer))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKPolygonRenderer { @@ -2033,9 +1899,7 @@ partial interface MKPolygonRenderer { } [NoWatch] - [TV (9, 2)] [BaseType (typeof (MKOverlayPathRenderer))] - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKPolylineRenderer { @@ -2074,8 +1938,6 @@ partial interface MKGradientPolylineRenderer { [NoWatch] [ThreadSafe] - [TV (9, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface MKTileOverlay : MKOverlay { @@ -2117,11 +1979,9 @@ partial interface MKTileOverlay : MKOverlay { delegate void MKTileOverlayLoadTileCompletionHandler (NSData tileData, NSError error); [NoWatch] - [TV (9, 2)] [BaseType (typeof (MKOverlayRenderer))] // Objective-C exception thrown. Name: NSInvalidArgumentException Reason: Expected a MKTileOverlay but got (null) [DisableDefaultCtor] // throw in iOS8 beta 1 ^ - [Mac (10, 9)] [MacCatalyst (13, 1)] partial interface MKTileOverlayRenderer { // This ctor is not allowed: NSInvalidArgumentEception Expected a MKTileOverlay @@ -2136,10 +1996,7 @@ partial interface MKTileOverlayRenderer { } [NoWatch] - [TV (9, 2)] [NoWatch] - [iOS (9, 3)] - [Mac (10, 11, 4)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MKLocalSearchCompleter { @@ -2173,21 +2030,19 @@ interface MKLocalSearchCompleter { [Export ("cancel")] void Cancel (); - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("resultTypes", ArgumentSemantic.Assign)] MKLocalSearchCompleterResultType ResultTypes { get; set; } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("pointOfInterestFilter", ArgumentSemantic.Copy)] MKPointOfInterestFilter PointOfInterestFilter { get; set; } } [NoWatch] - [TV (9, 2)] [NoWatch] - [iOS (9, 3)] [MacCatalyst (13, 1)] [Protocol] [Model] @@ -2201,9 +2056,7 @@ interface MKLocalSearchCompleterDelegate { } [NoWatch] - [TV (9, 2)] [NoWatch] - [iOS (9, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] #if MONOMAC || XAMCORE_3_0 // "You do not create instances of this class directly" @@ -2228,27 +2081,16 @@ interface MKLocalSearchCompletion { [Category] [BaseType (typeof (NSUserActivity))] interface NSUserActivity_MKMapItem { - [Watch (3, 0)] - [TV (10, 0)] - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("mapItem")] MKMapItem GetMapItem (); - [Watch (3, 0)] - [TV (10, 0)] - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("setMapItem:")] void SetMapItem (MKMapItem item); } - [TV (11, 0)] [NoWatch] - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2268,7 +2110,6 @@ interface MKClusterAnnotation : MKAnnotation { } [NoTV] - [iOS (11, 0)] [Mac (11, 0)] [NoWatch] [MacCatalyst (13, 1)] @@ -2286,9 +2127,7 @@ interface MKCompassButton { MKFeatureVisibility CompassVisibility { get; set; } } - [TV (11, 0)] [NoWatch] - [iOS (11, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MKAnnotationView))] @@ -2329,9 +2168,7 @@ interface MKMarkerAnnotationView { bool AnimatesWhenAdded { get; set; } } - [TV (11, 0)] [NoWatch] - [iOS (11, 0)] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (UIView))] @@ -2353,7 +2190,6 @@ interface MKScaleView { } [NoTV] - [iOS (11, 0)] [NoWatch] [NoMac] [MacCatalyst (13, 1)] @@ -2372,7 +2208,7 @@ interface MKUserTrackingButton { interface MKPointOfInterestCategory {} #endif - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MKPointOfInterestFilter : NSSecureCoding, NSCopying { @@ -2399,14 +2235,14 @@ interface MKPointOfInterestFilter : NSSecureCoding, NSCopying { bool ExcludesCategory ([BindAs (typeof (MKPointOfInterestCategory))] NSString category); } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol (Name = "MKGeoJSONObject")] interface MKGeoJsonObject { } interface IMKGeoJsonObject { } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MKGeoJSONDecoder")] interface MKGeoJsonDecoder { @@ -2415,7 +2251,7 @@ interface MKGeoJsonDecoder { IMKGeoJsonObject [] GeoJsonObjects (NSData data, [NullAllowed] out NSError error); } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MKGeoJSONFeature")] interface MKGeoJsonFeature : MKGeoJsonObject { @@ -2429,7 +2265,7 @@ interface MKGeoJsonFeature : MKGeoJsonObject { IMKGeoJsonObject [] Geometry { get; } } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MKMapCameraZoomRange : NSSecureCoding, NSCopying { @@ -2455,7 +2291,7 @@ interface MKMapCameraZoomRange : NSSecureCoding, NSCopying { double ZoomDefault { get; } } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MKMapCameraBoundary : NSSecureCoding, NSCopying { @@ -2474,7 +2310,7 @@ interface MKMapCameraBoundary : NSSecureCoding, NSCopying { MKCoordinateRegion Region { get; } } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MKShape))] interface MKMultiPolygon : MKOverlay, MKGeoJsonObject { @@ -2486,7 +2322,7 @@ interface MKMultiPolygon : MKOverlay, MKGeoJsonObject { MKPolygon [] Polygons { get; } } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MKOverlayPathRenderer))] interface MKMultiPolygonRenderer { @@ -2497,7 +2333,7 @@ interface MKMultiPolygonRenderer { MKMultiPolygon MultiPolygon { get; } } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MKShape))] interface MKMultiPolyline : MKOverlay, MKGeoJsonObject { @@ -2509,7 +2345,7 @@ interface MKMultiPolyline : MKOverlay, MKGeoJsonObject { MKPolyline [] Polylines { get; } } - [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] + [TV (13, 0), NoWatch, iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MKOverlayPathRenderer))] interface MKMultiPolylineRenderer { diff --git a/src/mediaaccessibility.cs b/src/mediaaccessibility.cs index d4fcfa06680e..c46b3f25149a 100644 --- a/src/mediaaccessibility.cs +++ b/src/mediaaccessibility.cs @@ -8,7 +8,6 @@ namespace MediaAccessibility { #if NET [Static] interface MACaptionAppearance { - [Mac (10,9)] [MacCatalyst (13, 1)] [Notification] [Field ("kMACaptionAppearanceSettingsChangedNotification")] @@ -18,8 +17,6 @@ interface MACaptionAppearance { [Static] interface MAAudibleMedia { - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Notification] [Field ("kMAAudibleMediaSettingsChangedNotification")] @@ -28,18 +25,14 @@ interface MAAudibleMedia { [Static] interface MAMediaCharacteristic { - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("MAMediaCharacteristicDescribesMusicAndSoundForAccessibility")] NSString DescribesMusicAndSoundForAccessibility { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("MAMediaCharacteristicDescribesVideoForAccessibility")] NSString DescribesVideoForAccessibility { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("MAMediaCharacteristicTranscribesSpokenDialogForAccessibility")] NSString TranscribesSpokenDialogForAccessibility { get; } diff --git a/src/medialibrary.cs b/src/medialibrary.cs index ade7b29514a3..9d5c133ad660 100644 --- a/src/medialibrary.cs +++ b/src/medialibrary.cs @@ -31,7 +31,6 @@ namespace MediaLibrary { [Static] - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 15)] interface MediaLibraryTypeIdentifierKey { [Field ("MLFolderRootGroupTypeIdentifier")] @@ -52,7 +51,6 @@ interface MediaLibraryTypeIdentifierKey { [Field ("MLiTunesPodcastPlaylistTypeIdentifier")] NSString ITunesPodcastPlaylistTypeIdentifier { get; } - [Mac (10, 10, 3)] [Field ("MLiTunesVideoPlaylistTypeIdentifier")] NSString ITunesVideoPlaylistTypeIdentifier { get; } @@ -74,7 +72,6 @@ interface MediaLibraryTypeIdentifierKey { [Field ("MLiTunesMusicPlaylistTypeIdentifier")] NSString ITunesMusicPlaylistTypeIdentifier { get; } - [Mac (10, 10, 3)] [Field ("MLiTunesMusicVideosPlaylistTypeIdentifier")] NSString ITunesMusicVideosPlaylistTypeIdentifier { get; } @@ -87,129 +84,99 @@ interface MediaLibraryTypeIdentifierKey { [Field ("MLiTunesiTunesUPlaylistTypeIdentifier")] NSString ITunesiTunesUPlaylistTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosRootGroupTypeIdentifier")] NSString PhotosRootGroupTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosSharedGroupTypeIdentifier")] NSString PhotosSharedGroupTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosAlbumsGroupTypeIdentifier")] NSString PhotosAlbumsGroupTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosAlbumTypeIdentifier")] NSString PhotosAlbumTypeIdentifier { get; } - [Mac (10, 10, 3)] [Field ("MLPhotosFolderTypeIdentifier")] NSString PhotosFolderTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosSmartAlbumTypeIdentifier")] NSString PhotosSmartAlbumTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosPublishedAlbumTypeIdentifier")] NSString PhotosPublishedAlbumTypeIdentifier { get; } - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 10, 15)] [Field ("MLPhotosAllMomentsGroupTypeIdentifier")] NSString PhotosAllMomentsGroupTypeIdentifier { get; } - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 10, 15)] [Field ("MLPhotosMomentGroupTypeIdentifier")] NSString PhotosMomentGroupTypeIdentifier { get; } - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 10, 15)] [Field ("MLPhotosAllCollectionsGroupTypeIdentifier")] NSString PhotosAllCollectionsGroupTypeIdentifier { get; } - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 10, 15)] [Field ("MLPhotosCollectionGroupTypeIdentifier")] NSString PhotosCollectionGroupTypeIdentifier { get; } - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 10, 15)] [Field ("MLPhotosAllYearsGroupTypeIdentifier")] NSString PhotosAllYearsGroupTypeIdentifier { get; } - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 10, 15)] [Field ("MLPhotosYearGroupTypeIdentifier")] NSString PhotosYearGroupTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosLastImportGroupTypeIdentifier")] NSString PhotosLastImportGroupTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosMyPhotoStreamTypeIdentifier")] NSString PhotosMyPhotoStreamTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosSharedPhotoStreamTypeIdentifier")] NSString PhotosSharedPhotoStreamTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosFavoritesGroupTypeIdentifier")] NSString PhotosFavoritesGroupTypeIdentifier { get; } - [Mac (10, 11)] [Field ("MLPhotosFrontCameraGroupTypeIdentifier")] NSString PhotosFrontCameraGroupTypeIdentifier { get; } - [Mac (10, 13)] [Field ("MLPhotosLivePhotosGroupTypeIdentifier")] NSString PhotosLivePhotosGroupTypeIdentifier { get; } - [Mac (10, 13)] [Field ("MLPhotosLongExposureGroupTypeIdentifier")] NSString PhotosLongExposureGroupTypeIdentifier { get; } - [Mac (10, 13)] [Field ("MLPhotosAnimatedGroupTypeIdentifier")] NSString PhotosAnimatedGroupTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosPanoramasGroupTypeIdentifier")] NSString PhotosPanoramasGroupTypeIdentifier { get; } - [Mac (10, 10)] [Field ("MLPhotosVideosGroupTypeIdentifier")] NSString PhotosVideosGroupTypeIdentifier { get; } - [Mac (10, 10, 3)] [Field ("MLPhotosSloMoGroupTypeIdentifier")] NSString PhotosSloMoGroupTypeIdentifier { get; } - [Mac (10, 10, 3)] [Field ("MLPhotosTimelapseGroupTypeIdentifier")] NSString PhotosTimelapseGroupTypeIdentifier { get; } - [Mac (10, 10, 3)] [Field ("MLPhotosBurstGroupTypeIdentifier")] NSString PhotosBurstGroupTypeIdentifier { get; } - [Mac (10, 11)] [Field ("MLPhotosScreenshotGroupTypeIdentifier")] NSString PhotosScreenshotGroupTypeIdentifier { get; } - [Mac (10, 10, 3)] [Field ("MLPhotosFacesAlbumTypeIdentifier")] NSString PhotosFacesAlbumTypeIdentifier { get; } - [Mac (10, 10, 3)] [Field ("MLPhotosAllPhotosAlbumTypeIdentifier")] NSString PhotosAllPhotosAlbumTypeIdentifier { get; } - [Mac (10, 12, 1)] [Field ("MLPhotosDepthEffectGroupTypeIdentifier")] NSString PhotosDepthEffectGroupTypeIdentifier { get; } @@ -421,7 +388,6 @@ interface MediaLibraryTypeIdentifierKey { NSString FinalCutFolderGroupTypeIdentifier { get; } } - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 15)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -455,7 +421,6 @@ interface MLMediaLibrary { NSString MediaLoadAppFoldersKey { get; } } - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 15)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -486,7 +451,6 @@ interface MLMediaSource { [Export ("mediaObjectsForIdentifiers:")] NSDictionary MediaObjectsForIdentifiers (NSString [] mediaObjectIdentifiers); - [Mac (10, 10)] [Field ("MLMediaSourcePhotosIdentifier")] NSString MediaSourcePhotosIdentifier { get; } @@ -524,7 +488,6 @@ interface MLMediaSource { NSString MediaSourceAppDefinedFoldersIdentifier { get; } } - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 15)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -566,7 +529,6 @@ interface MLMediaGroup { MLMediaObject [] MediaObjects { get; } } - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 15)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] diff --git a/src/mediaplayer.cs b/src/mediaplayer.cs index 4fe4c75110da..aed6d439cd46 100644 --- a/src/mediaplayer.cs +++ b/src/mediaplayer.cs @@ -54,7 +54,6 @@ namespace MediaPlayer { [MacCatalyst (13, 1)] interface MPMediaEntity : NSSecureCoding { #else - [Mac (10, 12, 2)] // type exists only to expose fields interface MPMediaItem : NSSecureCoding { #endif // !MONOMAC [Static] @@ -68,7 +67,6 @@ interface MPMediaItem : NSSecureCoding { [Export ("enumerateValuesForProperties:usingBlock:")] void EnumerateValues (NSSet propertiesToEnumerate, MPMediaItemEnumerator enumerator); - [iOS (8, 0)] [MacCatalyst (13, 1)] [return: NullAllowed] [Export ("objectForKeyedSubscript:")] @@ -91,7 +89,6 @@ interface MPMediaItem : NSSecureCoding { #if IOS || WATCH || TVOS } #if MONOMAC || WATCH - [Mac (10,12,2)] [Watch (5,0)] [Static] #else @@ -191,7 +188,6 @@ interface MPMediaItem { [EditorBrowsable (EditorBrowsableState.Advanced)] NSString DiscCountProperty { get; } - [Mac (10, 13, 1)] [MacCatalyst (13, 1)] [Field ("MPMediaItemPropertyArtwork")] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -257,21 +253,16 @@ interface MPMediaItem { [EditorBrowsable (EditorBrowsableState.Advanced)] NSString IsCloudItemProperty { get; } - [iOS (9, 2)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Field ("MPMediaItemPropertyHasProtectedAsset")] [EditorBrowsable (EditorBrowsableState.Advanced)] NSString HasProtectedAssetProperty { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("MPMediaItemPropertyDateAdded")] [EditorBrowsable (EditorBrowsableState.Advanced)] NSString DateAddedProperty { get; } - [iOS (10, 3)] - [TV (10, 3)] [MacCatalyst (13, 1)] [Field ("MPMediaItemPropertyPlaybackStoreID")] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -284,14 +275,11 @@ interface MPMediaItem { NSString IsPreorderProperty { get; } } - [Mac (10, 12, 2)] [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface MPMediaItemArtwork { - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithBoundsSize:requestHandler:")] [DesignatedInitializer] @@ -383,20 +371,17 @@ interface MPMediaLibrary : NSSecureCoding { [Notification] NSString DidChangeNotification { get; } - [iOS (9, 3)] [MacCatalyst (13, 1)] [Static] [Export ("authorizationStatus")] MPMediaLibraryAuthorizationStatus AuthorizationStatus { get; } - [iOS (9, 3)] [MacCatalyst (13, 1)] [Static] [Async] [Export ("requestAuthorization:")] void RequestAuthorization (Action handler); - [iOS (9, 3)] [MacCatalyst (13, 1)] [Export ("addItemWithProductID:completionHandler:")] [Async] @@ -406,7 +391,6 @@ interface MPMediaLibrary : NSSecureCoding { void AddItem (string productID, [NullAllowed] Action completionHandler); #endif - [iOS (9, 3)] [MacCatalyst (13, 1)] [Async] [Export ("getPlaylistWithUUID:creationMetadata:completionHandler:")] @@ -443,7 +427,6 @@ interface MPMediaPickerController { [Export ("showsCloudItems")] bool ShowsCloudItems { get; set; } - [iOS (9, 2)] [MacCatalyst (13, 1)] [Export ("showsItemsWithProtectedAssets")] bool ShowsItemsWithProtectedAssets { get; set; } @@ -491,29 +474,24 @@ interface MPMediaPlaylist : NSSecureCoding { [Export ("playlistAttributes")] MPMediaPlaylistAttribute PlaylistAttributes { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("seedItems")] [NullAllowed] MPMediaItem [] SeedItems { get; } - [iOS (9, 3)] [MacCatalyst (13, 1)] [NullAllowed, Export ("descriptionText")] string DescriptionText { get; } - [iOS (9, 3)] [MacCatalyst (13, 1)] [NullAllowed, Export ("authorDisplayName")] string AuthorDisplayName { get; } - [iOS (9, 3)] [MacCatalyst (13, 1)] [Async] [Export ("addItemWithProductID:completionHandler:")] void AddItem (string productID, [NullAllowed] Action completionHandler); - [iOS (9, 3)] [MacCatalyst (13, 1)] [Async] [Export ("addMediaItems:completionHandler:")] @@ -542,13 +520,11 @@ interface MPMediaPlaylistProperty { [Field ("MPMediaPlaylistPropertySeedItems")] NSString SeedItems { get; } - [iOS (9, 3)] [NoTV] // do not work on AppleTV devices (only in simulator) [MacCatalyst (13, 1)] [Field ("MPMediaPlaylistPropertyDescriptionText")] NSString DescriptionText { get; } - [iOS (9, 3)] [NoTV] // do not work on AppleTV devices (only in simulator) [MacCatalyst (13, 1)] [Field ("MPMediaPlaylistPropertyAuthorDisplayName")] @@ -1379,7 +1355,6 @@ interface MPMusicPlayerController : MPMediaPlayback { [Static, Export ("applicationMusicPlayer")] MPMusicPlayerController ApplicationMusicPlayer { get; } - [iOS (10, 3)] [MacCatalyst (13, 1)] [Static] [Export ("applicationQueuePlayer")] @@ -1392,7 +1367,6 @@ interface MPMusicPlayerController : MPMediaPlayback { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'SystemMusicPlayer' instead.")] MPMusicPlayerController iPodMusicPlayer { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("systemMusicPlayer")] MPMusicPlayerController SystemMusicPlayer { get; } @@ -1429,27 +1403,22 @@ interface MPMusicPlayerController : MPMediaPlayback { [Export ("setQueueWithItemCollection:")] void SetQueue (MPMediaItemCollection collection); - [iOS (9, 3)] [MacCatalyst (13, 1)] [Export ("setQueueWithStoreIDs:")] void SetQueue (string [] storeIDs); - [iOS (10, 1)] [MacCatalyst (13, 1)] [Export ("setQueueWithDescriptor:")] void SetQueue (MPMusicPlayerQueueDescriptor descriptor); - [iOS (10, 3)] [MacCatalyst (13, 1)] [Export ("prependQueueDescriptor:")] void Prepend (MPMusicPlayerQueueDescriptor descriptor); - [iOS (10, 3)] [MacCatalyst (13, 1)] [Export ("appendQueueDescriptor:")] void Append (MPMusicPlayerQueueDescriptor descriptor); - [iOS (10, 1)] [MacCatalyst (13, 1)] [Async] [Export ("prepareToPlayWithCompletionHandler:")] @@ -1601,7 +1570,7 @@ interface MPMediaQuerySection : NSSecureCoding, NSCopying { string Title { get; } } - [Mac (10, 12, 2), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] // Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -init is not supported, use +defaultCenter @@ -1644,76 +1613,54 @@ interface MPNowPlayingInfoCenter { [Field ("MPNowPlayingInfoPropertyChapterCount")] NSString PropertyChapterCount { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Internal] [Field ("MPNowPlayingInfoPropertyDefaultPlaybackRate")] NSString PropertyDefaultPlaybackRate { get; } - [iOS (9, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Internal] [Field ("MPNowPlayingInfoPropertyAvailableLanguageOptions")] NSString PropertyAvailableLanguageOptions { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Internal] [Field ("MPNowPlayingInfoPropertyCurrentLanguageOptions")] NSString PropertyCurrentLanguageOptions { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MPNowPlayingInfoCollectionIdentifier")] NSString PropertyCollectionIdentifier { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MPNowPlayingInfoPropertyExternalContentIdentifier")] NSString PropertyExternalContentIdentifier { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MPNowPlayingInfoPropertyExternalUserProfileIdentifier")] NSString PropertyExternalUserProfileIdentifier { get; } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("MPNowPlayingInfoPropertyServiceIdentifier")] NSString PropertyServiceIdentifier { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MPNowPlayingInfoPropertyPlaybackProgress")] NSString PropertyPlaybackProgress { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MPNowPlayingInfoPropertyMediaType")] NSString PropertyMediaType { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MPNowPlayingInfoPropertyIsLiveStream")] NSString PropertyIsLiveStream { get; } - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 12, 3)] [MacCatalyst (13, 1)] [Field ("MPNowPlayingInfoPropertyAssetURL")] NSString PropertyAssetUrl { get; } - [iOS (11, 1), TV (11, 1), Mac (10, 13, 1)] + [iOS (11, 1), TV (11, 1)] [MacCatalyst (13, 1)] [Internal] [Field ("MPNowPlayingInfoPropertyCurrentPlaybackDate")] @@ -1728,8 +1675,6 @@ interface MPNowPlayingInfoCenter { NSString PropertyCreditsStartTime { get; } } - [Mac (10, 12, 2)] - [iOS (7, 1)] [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -1758,14 +1703,10 @@ interface MPContentItem { [Export ("title")] string Title { get; set; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("streamingContent")] bool StreamingContent { [Bind ("isStreamingContent")] get; set; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("explicitContent")] bool ExplicitContent { [Bind ("isExplicitContent")] get; set; } @@ -1780,7 +1721,6 @@ interface MPContentItem { [NoMac] [NoTV] [NoWatch] - [iOS (7, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -1807,7 +1747,6 @@ interface MPPlayableContentDataSource { nint NumberOfChildItems (NSIndexPath indexPath); [NoMac] - [iOS (10, 0)] [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'CarPlay' API instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'CarPlay' API instead.")] @@ -1822,7 +1761,6 @@ interface IMPPlayableContentDataSource { [NoMac] [NoTV] [NoWatch] - [iOS (7, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -1834,21 +1772,18 @@ interface MPPlayableContentDelegate { [Export ("playableContentManager:initiatePlaybackOfContentItemAtIndexPath:completionHandler:")] void InitiatePlaybackOfContentItem (MPPlayableContentManager contentManager, NSIndexPath indexPath, Action completionHandler); - [iOS (8, 4)] [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'CarPlay' API instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'CarPlay' API instead.")] [Export ("playableContentManager:didUpdateContext:")] void ContextUpdated (MPPlayableContentManager contentManager, MPPlayableContentManagerContext context); - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 9, 3, message: "Use 'InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action)' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action)' instead.")] [Export ("playableContentManager:initializePlaybackQueueWithCompletionHandler:")] void InitializePlaybackQueue (MPPlayableContentManager contentManager, Action completionHandler); - [iOS (9, 3)] [Deprecated (PlatformName.iOS, 12, 0, message: "Use the Intents framework API instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use the Intents framework API instead.")] @@ -1859,7 +1794,6 @@ interface MPPlayableContentDelegate { [NoMac] [NoTV] [NoWatch] - [iOS (7, 1)] [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'CarPlay' API instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'CarPlay' API instead.")] @@ -1896,12 +1830,10 @@ interface MPPlayableContentManager { [Export ("reloadData")] void ReloadData (); - [iOS (8, 4)] [MacCatalyst (13, 1)] [Export ("context")] MPPlayableContentManagerContext Context { get; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("nowPlayingIdentifiers", ArgumentSemantic.Copy)] string [] NowPlayingIdentifiers { get; set; } @@ -1910,7 +1842,6 @@ interface MPPlayableContentManager { [NoMac] [NoTV] [NoWatch] - [iOS (8, 4)] [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'CarPlay' API instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'CarPlay' API instead.")] @@ -1923,7 +1854,6 @@ interface MPPlayableContentManagerContext { nint EnforcedContentTreeDepth { get; } // iOS 9 beta 2 changed this from contentLimitsEnabled - but the final iOS8.4 release used contentLimitsEnabled - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("contentLimitsEnforced")] bool ContentLimitsEnforced { get; } @@ -1937,8 +1867,7 @@ interface MPPlayableContentManagerContext { bool EndpointAvailable { get; } } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSGenericException Reason: MPRemoteCommands cannot be initialized externally. @@ -1960,8 +1889,7 @@ interface MPRemoteCommand { void RemoveTarget ([NullAllowed] NSObject target, [NullAllowed] Selector action); } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommand))] [DisableDefaultCtor] // NSGenericException Reason: MPChangePlaybackRateCommands cannot be initialized externally. @@ -1971,8 +1899,7 @@ interface MPChangePlaybackRateCommand { NSNumber [] SupportedPlaybackRates { get; set; } } - [Mac (10, 12, 2)] - [iOS (8, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommand))] [DisableDefaultCtor] // NSGenericException Reason: MPChangeShuffleModeCommand cannot be initialized externally. @@ -1981,8 +1908,7 @@ interface MPChangeShuffleModeCommand { MPShuffleType CurrentShuffleType { get; set; } } - [Mac (10, 12, 2)] - [iOS (8, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommand))] [DisableDefaultCtor] // NSGenericException Reason: MPChangeRepeatModeCommand cannot be initialized externally. @@ -1991,8 +1917,7 @@ interface MPChangeRepeatModeCommand { MPRepeatType CurrentRepeatType { get; set; } } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommand))] [DisableDefaultCtor] // NSGenericException Reason: MPFeedbackCommands cannot be initialized externally. @@ -2004,14 +1929,12 @@ interface MPFeedbackCommand { [Export ("localizedTitle")] string LocalizedTitle { get; set; } - [iOS (8, 2)] // added in 8.2, shown as NS_AVAILABLE_IOS(8_0) [MacCatalyst (13, 1)] [Export ("localizedShortTitle")] string LocalizedShortTitle { get; set; } } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommand))] [DisableDefaultCtor] // NSGenericException Reason: MPRatingCommands cannot be initialized externally. @@ -2024,8 +1947,7 @@ interface MPRatingCommand { float MinimumRating { get; set; } /* float, not CGFloat */ } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommand))] [DisableDefaultCtor] // NSGenericException Reason: MPSkipIntervalCommands cannot be initialized externally. @@ -2036,8 +1958,7 @@ interface MPSkipIntervalCommand { NSArray _PreferredIntervals { get; set; } } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2053,12 +1974,10 @@ interface MPRemoteCommandCenter { [Export ("changePlaybackRateCommand")] MPChangePlaybackRateCommand ChangePlaybackRateCommand { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("changeRepeatModeCommand")] MPChangeRepeatModeCommand ChangeRepeatModeCommand { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("changeShuffleModeCommand")] MPChangeShuffleModeCommand ChangeShuffleModeCommand { get; } @@ -2102,24 +2021,20 @@ interface MPRemoteCommandCenter { [Export ("togglePlayPauseCommand")] MPRemoteCommand TogglePlayPauseCommand { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("enableLanguageOptionCommand")] MPRemoteCommand EnableLanguageOptionCommand { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("disableLanguageOptionCommand")] MPRemoteCommand DisableLanguageOptionCommand { get; } - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("changePlaybackPositionCommand")] MPChangePlaybackPositionCommand ChangePlaybackPositionCommand { get; } } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSGenericException Reason: MPRemoteCommandEvents cannot be initialized externally. @@ -2132,8 +2047,7 @@ interface MPRemoteCommandEvent { double /* NSTimeInterval */ Timestamp { get; } } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommandEvent))] [DisableDefaultCtor] // NSGenericException Reason: MPChangePlaybackRateCommandEvents cannot be initialized externally. @@ -2143,8 +2057,7 @@ interface MPChangePlaybackRateCommandEvent { float PlaybackRate { get; } // float, not CGFloat } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommandEvent))] [DisableDefaultCtor] // NSGenericException Reason: MPRatingCommandEvents cannot be initialized externally. @@ -2154,8 +2067,7 @@ interface MPRatingCommandEvent { float Rating { get; } // float, not CGFloat } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommandEvent))] [DisableDefaultCtor] // Name: NSGenericException Reason: MPSeekCommandEvents cannot be initialized externally. @@ -2165,8 +2077,7 @@ interface MPSeekCommandEvent { MPSeekCommandEventType Type { get; } } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommandEvent))] [DisableDefaultCtor] // NSGenericException Reason: MPSkipIntervalCommandEvents cannot be initialized externally. @@ -2176,8 +2087,7 @@ interface MPSkipIntervalCommandEvent { double /* NSTimeInterval */ Interval { get; } } - [Mac (10, 12, 2)] - [iOS (7, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommandEvent))] [DisableDefaultCtor] @@ -2187,8 +2097,7 @@ interface MPFeedbackCommandEvent { bool Negative { [Bind ("isNegative")] get; } } - [Mac (10, 12, 2)] - [iOS (9, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommandEvent))] [DisableDefaultCtor] // NSGenericException Reason: MPChangeLanguageOptionCommandEvents cannot be initialized externally. @@ -2196,15 +2105,12 @@ interface MPChangeLanguageOptionCommandEvent { [Export ("languageOption")] MPNowPlayingInfoLanguageOption LanguageOption { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("setting")] MPChangeLanguageOptionSetting Setting { get; } } - [Mac (10, 12, 2)] - [iOS (8, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommandEvent))] [DisableDefaultCtor] // NSGenericException Reason: MPChangeShuffleModeCommandEvent cannot be initialized externally. @@ -2212,15 +2118,12 @@ interface MPChangeShuffleModeCommandEvent { [Export ("shuffleType")] MPShuffleType ShuffleType { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("preservesShuffleMode")] bool PreservesShuffleMode { get; } } - [Mac (10, 12, 2)] - [iOS (8, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommandEvent))] [DisableDefaultCtor] // NSGenericException Reason: MPChangeRepeatModeCommandEvent cannot be initialized externally. @@ -2228,15 +2131,12 @@ interface MPChangeRepeatModeCommandEvent { [Export ("repeatType")] MPRepeatType RepeatType { get; } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("preservesRepeatMode")] bool PreservesRepeatMode { get; } } - [Mac (10, 12, 2)] - [iOS (9, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // pre-emptive @@ -2264,14 +2164,12 @@ interface MPNowPlayingInfoLanguageOption { [Export ("isAutomaticLegibleLanguageOption")] bool IsAutomaticLegibleLanguageOption { get; } - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("isAutomaticAudibleLanguageOption")] bool IsAutomaticAudibleLanguageOption { get; } } - [Mac (10, 12, 2)] - [iOS (9, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // pre-emptive @@ -2289,8 +2187,6 @@ interface MPNowPlayingInfoLanguageOptionGroup { bool AllowEmptySelection { get; } } - [Mac (10, 12, 2)] - [iOS (9, 0)] [Watch (5, 0)] [MacCatalyst (13, 1)] [Static] @@ -2327,16 +2223,14 @@ interface MPLanguageOptionCharacteristics { NSString VoiceOverTranslation { get; } } - [Mac (10, 12, 2)] - [iOS (9, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommand))] [DisableDefaultCtor] // Objective-C exception thrown. Name: NSGenericException Reason: MPChangePlaybackPositionCommands cannot be initialized externally. interface MPChangePlaybackPositionCommand { } - [Mac (10, 12, 2)] - [iOS (9, 1), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPRemoteCommandEvent))] [DisableDefaultCtor] // Objective-C exception thrown. Name: NSGenericException Reason: MPChangePlaybackPositionCommandEvents cannot be initialized externally. @@ -2347,7 +2241,6 @@ interface MPChangePlaybackPositionCommandEvent { [NoMac] [NoTV] - [iOS (9, 3)] [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -2370,7 +2263,6 @@ interface MPMediaPlaylistCreationMetadata { [NoMac] [NoWatch] - [iOS (10, 1)] [TV (14, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] @@ -2387,7 +2279,6 @@ interface MPMusicPlayerQueueDescriptor : NSSecureCoding { [NoMac] [NoTV] [NoWatch] - [iOS (10, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPMusicPlayerQueueDescriptor))] interface MPMusicPlayerMediaItemQueueDescriptor { @@ -2415,7 +2306,6 @@ interface MPMusicPlayerMediaItemQueueDescriptor { [NoMac] [NoWatch] - [iOS (10, 1)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPMusicPlayerQueueDescriptor))] @@ -2438,7 +2328,6 @@ interface MPMusicPlayerStoreQueueDescriptor { [NoMac] [NoWatch] - [iOS (10, 3)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -2454,7 +2343,6 @@ interface MPMusicPlayerControllerQueue { [NoMac] [NoWatch] - [iOS (10, 3)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPMusicPlayerControllerQueue))] @@ -2468,7 +2356,6 @@ interface MPMusicPlayerControllerMutableQueue { [NoMac] [NoWatch] - [iOS (10, 3)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPMusicPlayerController))] @@ -2479,7 +2366,6 @@ interface MPMusicPlayerApplicationController { } [NoMac] - [iOS (11, 0)] [TV (14, 0)] [NoWatch] [MacCatalyst (13, 1)] @@ -2495,7 +2381,6 @@ interface MPMusicPlayerPlayParameters : NSSecureCoding { [NoMac] [NoWatch] - [iOS (11, 0)] [TV (14, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPMusicPlayerQueueDescriptor))] @@ -2521,7 +2406,7 @@ interface IMPSystemMusicPlayerController { } [NoTV] [NoMac] // headers have no availability macros on the protocol itself but the only member is not available on macOS - [iOS (11, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [Protocol] interface MPSystemMusicPlayerController { @@ -2534,8 +2419,6 @@ interface MPSystemMusicPlayerController { [Category] [BaseType (typeof (NSUserActivity))] - [TV (10, 0, 1)] - [iOS (10, 1)] [NoWatch] [NoMac] [MacCatalyst (13, 1)] @@ -2548,8 +2431,6 @@ interface NSUserActivity_MediaPlayerAdditions { void SetExternalMediaContentIdentifier ([NullAllowed] NSString identifier); } - [iOS (9, 0)] - [Mac (10, 12, 1)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Category] @@ -2560,8 +2441,6 @@ interface AVMediaSelectionOption_MPNowPlayingInfoLanguageOptionAdditions { MPNowPlayingInfoLanguageOption CreateNowPlayingInfoLanguageOption (); } - [iOS (9, 0)] - [Mac (10, 12, 1)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Category] diff --git a/src/messages.cs b/src/messages.cs index 7fac9f91871a..2225d1633b3e 100644 --- a/src/messages.cs +++ b/src/messages.cs @@ -22,7 +22,6 @@ namespace Messages { [MacCatalyst (14, 0)] - [iOS (10, 0)] [Native] public enum MSMessagesAppPresentationStyle : ulong { Compact, @@ -31,7 +30,6 @@ public enum MSMessagesAppPresentationStyle : ulong { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [Native] public enum MSStickerSize : long { Small, @@ -66,7 +64,6 @@ public enum MSMessagesAppPresentationContext : long { } [MacCatalyst (14, 0)] - [iOS (11, 0)] [Protocol] interface MSMessagesAppTranscriptPresentation { [Abstract] @@ -75,7 +72,6 @@ interface MSMessagesAppTranscriptPresentation { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (UIViewController))] interface MSMessagesAppViewController : MSMessagesAppTranscriptPresentation { // inlined ctor @@ -134,7 +130,6 @@ interface MSMessagesAppViewController : MSMessagesAppTranscriptPresentation { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (NSObject))] interface MSConversation { [Export ("localParticipantIdentifier")] @@ -162,25 +157,21 @@ interface MSConversation { [Async] void InsertAttachment (NSUrl url, [NullAllowed] string filename, [NullAllowed] Action completionHandler); - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("sendMessage:completionHandler:")] [Async] void SendMessage (MSMessage message, [NullAllowed] Action completionHandler); - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("sendSticker:completionHandler:")] [Async] void SendSticker (MSSticker sticker, [NullAllowed] Action completionHandler); - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("sendText:completionHandler:")] [Async] void SendText (string text, [NullAllowed] Action completionHandler); - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("sendAttachment:withAlternateFilename:completionHandler:")] [Async] @@ -188,7 +179,6 @@ interface MSConversation { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // designated interface MSMessage : NSCopying, NSSecureCoding { @@ -203,7 +193,6 @@ interface MSMessage : NSCopying, NSSecureCoding { [NullAllowed, Export ("session")] MSSession Session { get; } - [iOS (11, 0)] [MacCatalyst (14, 0)] [Export ("pending")] bool Pending { [Bind ("isPending")] get; } @@ -231,14 +220,12 @@ interface MSMessage : NSCopying, NSSecureCoding { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (NSObject))] [Abstract] // as per docs [DisableDefaultCtor] interface MSMessageLayout : NSCopying { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (MSMessageLayout))] interface MSMessageTemplateLayout { [NullAllowed, Export ("caption")] @@ -267,12 +254,10 @@ interface MSMessageTemplateLayout { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (NSObject))] interface MSSession : NSSecureCoding { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface MSSticker { @@ -288,7 +273,6 @@ interface MSSticker { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (UIView))] interface MSStickerView { // inlined ctor @@ -317,7 +301,6 @@ interface MSStickerView { interface IMSStickerBrowserViewDataSource { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [Protocol, Model] [BaseType (typeof (NSObject))] interface MSStickerBrowserViewDataSource { @@ -331,7 +314,6 @@ interface MSStickerBrowserViewDataSource { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (UIView))] interface MSStickerBrowserView { [Export ("initWithFrame:")] @@ -362,7 +344,6 @@ interface MSStickerBrowserView { } [MacCatalyst (14, 0)] - [iOS (10, 0)] [BaseType (typeof (UIViewController))] interface MSStickerBrowserViewController : MSStickerBrowserViewDataSource { [Export ("initWithStickerSize:")] @@ -377,7 +358,6 @@ interface MSStickerBrowserViewController : MSStickerBrowserViewDataSource { } [MacCatalyst (14, 0)] - [iOS (11, 0)] [BaseType (typeof (MSMessageLayout))] [DisableDefaultCtor] interface MSMessageLiveLayout { diff --git a/src/messageui.cs b/src/messageui.cs index db32062ad91b..b93557974523 100644 --- a/src/messageui.cs +++ b/src/messageui.cs @@ -48,7 +48,6 @@ interface MFMailComposeViewController : UIAppearance { [Export ("addAttachmentData:mimeType:fileName:")] void AddAttachmentData (NSData attachment, string mimeType, string fileName); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("setPreferredSendingEmailAddress:")] void SetPreferredSendingEmailAddress (string emailAddress); @@ -112,7 +111,6 @@ interface MFMessageComposeViewController : UIAppearance { [Export ("attachments")] NSDictionary [] GetAttachments (); - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("message", ArgumentSemantic.Copy)] MSMessage Message { get; set; } diff --git a/src/metal.cs b/src/metal.cs index cdbfce121452..148da283c240 100644 --- a/src/metal.cs +++ b/src/metal.cs @@ -44,8 +44,6 @@ namespace Metal { interface IMTLCommandEncoder { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLArgument { @@ -89,24 +87,22 @@ interface MTLArgument { [Export ("textureDataType")] MTLDataType TextureDataType { get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("isDepthTexture")] bool IsDepthTexture { get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("arrayLength")] nuint ArrayLength { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("bufferPointerType")] MTLPointerType BufferPointerType { get; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MTLType))] interface MTLArrayType { @@ -127,24 +123,22 @@ interface MTLArrayType { [return: NullAllowed] MTLArrayType ElementArrayType (); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("argumentIndexStride")] nuint ArgumentIndexStride { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("elementTextureReferenceType")] MTLTextureReferenceType ElementTextureReferenceType { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("elementPointerType")] MTLPointerType ElementPointerType { get; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLCommandEncoder { @@ -169,8 +163,6 @@ partial interface MTLCommandEncoder { interface IMTLBuffer { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLBuffer : MTLResource { @@ -184,7 +176,6 @@ partial interface MTLBuffer : MTLResource { [Abstract, Export ("didModifyRange:")] void DidModify (NSRange range); - [Mac (10, 13)] [MacCatalyst (13, 1)] [return: NullAllowed] #if NET || !MONOMAC @@ -194,7 +185,7 @@ partial interface MTLBuffer : MTLResource { [return: Release] IMTLTexture CreateTexture (MTLTextureDescriptor descriptor, nuint offset, nuint bytesPerRow); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -202,7 +193,7 @@ partial interface MTLBuffer : MTLResource { [Export ("addDebugMarker:range:")] void AddDebugMarker (string marker, NSRange range); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -213,7 +204,7 @@ partial interface MTLBuffer : MTLResource { #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [NullAllowed, Export ("remoteStorageBuffer")] IMTLBuffer RemoteStorageBuffer { get; } @@ -221,7 +212,7 @@ partial interface MTLBuffer : MTLResource { #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("newRemoteBufferViewForDevice:")] [return: NullAllowed] @@ -229,7 +220,7 @@ partial interface MTLBuffer : MTLResource { IMTLBuffer CreateRemoteBuffer (IMTLDevice device); } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLBufferLayoutDescriptor : NSCopying { @@ -243,7 +234,7 @@ interface MTLBufferLayoutDescriptor : NSCopying { nuint StepRate { get; set; } } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLBufferLayoutDescriptorArray { @@ -259,8 +250,6 @@ interface MTLBufferLayoutDescriptorArray { interface IMTLCommandBuffer { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLCommandBuffer { @@ -307,7 +296,7 @@ partial interface MTLCommandBuffer { [Abstract, Export ("computeCommandEncoder")] IMTLComputeCommandEncoder ComputeCommandEncoder { get; } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -316,7 +305,7 @@ partial interface MTLCommandBuffer { [return: NullAllowed] IMTLComputeCommandEncoder ComputeCommandEncoderDispatch (MTLDispatchType dispatchType); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -324,7 +313,7 @@ partial interface MTLCommandBuffer { [Export ("encodeWaitForEvent:value:")] void EncodeWait (IMTLEvent @event, ulong value); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -352,9 +341,6 @@ partial interface MTLCommandBuffer { [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility #endif [Introduced (PlatformName.MacCatalyst, 13, 4)] - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 15, 4)] [Export ("presentDrawable:afterMinimumDuration:")] void PresentDrawableAfter (IMTLDrawable drawable, double duration); @@ -365,9 +351,6 @@ partial interface MTLCommandBuffer { #if NET [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility #endif - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("kernelStartTime")] double /* CFTimeInterval */ KernelStartTime { get; } @@ -375,9 +358,6 @@ partial interface MTLCommandBuffer { #if NET [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility #endif - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("kernelEndTime")] double /* CFTimeInterval */ KernelEndTime { get; } @@ -385,9 +365,6 @@ partial interface MTLCommandBuffer { #if NET [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility #endif - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("GPUStartTime")] double /* CFTimeInterval */ GpuStartTime { get; } @@ -395,14 +372,11 @@ partial interface MTLCommandBuffer { #if NET [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility #endif - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("GPUEndTime")] double /* CFTimeInterval */ GpuEndTime { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility @@ -410,7 +384,7 @@ partial interface MTLCommandBuffer { [Export ("pushDebugGroup:")] void PushDebugGroup (string @string); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility @@ -477,8 +451,6 @@ partial interface MTLCommandBuffer { interface IMTLCommandQueue { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLCommandQueue { @@ -518,12 +490,10 @@ partial interface MTLCommandQueue { interface IMTLComputeCommandEncoder { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLComputeCommandEncoder : MTLCommandEncoder { - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -555,7 +525,6 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { #if NET [Abstract] #endif - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup:")] void DispatchThreadgroups (IMTLBuffer indirectBuffer, nuint indirectBufferOffset, MTLSize threadsPerThreadgroup); @@ -583,19 +552,17 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("setTextures:withRange:")] void SetTextures (IMTLTexture [] textures, NSRange range); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Abstract] [Export ("setBufferOffset:atIndex:")] void SetBufferOffset (nuint offset, nuint index); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Abstract] [Export ("setBytes:length:atIndex:")] void SetBytes (IntPtr bytes, nuint length, nuint index); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -603,7 +570,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("setStageInRegion:")] void SetStage (MTLRegion region); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -611,7 +578,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("setStageInRegionWithIndirectBuffer:indirectBufferOffset:")] void SetStageInRegion (IMTLBuffer indirectBuffer, nuint indirectBufferOffset); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -619,7 +586,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("updateFence:")] void Update (IMTLFence fence); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -627,8 +594,6 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("waitForFence:")] void Wait (IMTLFence fence); - [Mac (10, 13)] - [iOS (11, 0)] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -637,7 +602,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("dispatchThreads:threadsPerThreadgroup:")] void DispatchThreads (MTLSize threadsPerGrid, MTLSize threadsPerThreadgroup); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -645,7 +610,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("useResource:usage:")] void UseResource (IMTLResource resource, MTLResourceUsage usage); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -653,7 +618,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("useResources:count:usage:")] void UseResources (IMTLResource [] resources, nuint count, MTLResourceUsage usage); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -661,7 +626,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("useHeap:")] void UseHeap (IMTLHeap heap); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -670,7 +635,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { void UseHeaps (IMTLHeap [] heaps, nuint count); [Introduced (PlatformName.MacCatalyst, 14, 0)] - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] #if NET [Abstract] @@ -678,7 +643,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("setImageblockWidth:height:")] void SetImageblock (nuint width, nuint height); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -686,7 +651,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { [Export ("memoryBarrierWithScope:")] void MemoryBarrier (MTLBarrierScope scope); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -713,7 +678,7 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { #if NET [Abstract] #endif - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Export ("sampleCountersInBuffer:atSampleIndex:withBarrier:")] #if NET @@ -765,8 +730,6 @@ partial interface MTLComputeCommandEncoder : MTLCommandEncoder { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLComputePipelineReflection { @@ -779,8 +742,6 @@ interface MTLComputePipelineReflection { } interface IMTLComputePipelineState { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLComputePipelineState { @@ -793,7 +754,7 @@ partial interface MTLComputePipelineState { [Abstract, Export ("threadExecutionWidth")] nuint ThreadExecutionWidth { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -801,7 +762,7 @@ partial interface MTLComputePipelineState { [NullAllowed, Export ("label")] string Label { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -809,7 +770,7 @@ partial interface MTLComputePipelineState { [Export ("staticThreadgroupMemoryLength")] nuint StaticThreadgroupMemoryLength { get; } - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -864,8 +825,6 @@ partial interface MTLComputePipelineState { interface IMTLBlitCommandEncoder { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLBlitCommandEncoder : MTLCommandEncoder { @@ -884,7 +843,6 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Abstract, Export ("copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")] void CopyFromBuffer (IMTLBuffer sourceBuffer, nuint sourceOffset, nuint sourceBytesPerRow, nuint sourceBytesPerImage, MTLSize sourceSize, IMTLTexture destinationTexture, nuint destinationSlice, nuint destinationLevel, MTLOrigin destinationOrigin); - [iOS (9, 0)] [MacCatalyst (13, 1)] #if NET // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. @@ -896,7 +854,6 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Abstract, Export ("copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:")] void CopyFromTexture (IMTLTexture sourceTexture, nuint sourceSlice, nuint sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, IMTLBuffer destinationBuffer, nuint destinationOffset, nuint destinatinBytesPerRow, nuint destinationBytesPerImage); - [iOS (9, 0)] [MacCatalyst (13, 1)] #if NET // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. @@ -914,7 +871,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Abstract, Export ("copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:")] void CopyFromBuffer (IMTLBuffer sourceBuffer, nuint sourceOffset, IMTLBuffer destinationBuffer, nuint destinationOffset, nuint size); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -922,7 +879,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("updateFence:")] void Update (IMTLFence fence); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -930,7 +887,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("waitForFence:")] void Wait (IMTLFence fence); - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -938,7 +895,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("optimizeContentsForGPUAccess:")] void OptimizeContentsForGpuAccess (IMTLTexture texture); - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -946,7 +903,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("optimizeContentsForGPUAccess:slice:level:")] void OptimizeContentsForGpuAccess (IMTLTexture texture, nuint slice, nuint level); - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -954,7 +911,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("optimizeContentsForCPUAccess:")] void OptimizeContentsForCpuAccess (IMTLTexture texture); - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -962,7 +919,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("optimizeContentsForCPUAccess:slice:level:")] void OptimizeContentsForCpuAccess (IMTLTexture texture, nuint slice, nuint level); - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -970,7 +927,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("resetCommandsInBuffer:withRange:")] void ResetCommands (IMTLIndirectCommandBuffer buffer, NSRange range); - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -978,7 +935,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("copyIndirectCommandBuffer:sourceRange:destination:destinationIndex:")] void Copy (IMTLIndirectCommandBuffer source, NSRange sourceRange, IMTLIndirectCommandBuffer destination, nuint destinationIndex); - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1000,7 +957,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("resetTextureAccessCounters:region:mipLevel:slice:")] void ResetTextureAccessCounters (IMTLTexture texture, MTLRegion region, nuint mipLevel, nuint slice); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1008,7 +965,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { [Export ("copyFromTexture:sourceSlice:sourceLevel:toTexture:destinationSlice:destinationLevel:sliceCount:levelCount:")] void Copy (IMTLTexture sourceTexture, nuint sourceSlice, nuint sourceLevel, IMTLTexture destinationTexture, nuint destinationSlice, nuint destinationLevel, nuint sliceCount, nuint levelCount); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1019,7 +976,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { #if NET [Abstract] #endif - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Export ("sampleCountersInBuffer:atSampleIndex:withBarrier:")] #if NET @@ -1031,7 +988,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { #if NET [Abstract] #endif - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Export ("resolveCounters:inRange:destinationBuffer:destinationOffset:")] #if NET @@ -1043,7 +1000,7 @@ partial interface MTLBlitCommandEncoder : MTLCommandEncoder { interface IMTLFence { } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed interface MTLFence { @@ -1058,8 +1015,6 @@ interface MTLFence { interface IMTLDevice { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLDevice { @@ -1070,7 +1025,6 @@ partial interface MTLDevice { #if NET [Abstract] // new required member, but that breaks our binary compat, so we can't do that in our existing code. #endif - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("maxThreadsPerThreadgroup")] MTLSize MaxThreadsPerThreadgroup { get; } @@ -1093,7 +1047,7 @@ partial interface MTLDevice { [Export ("headless")] bool Headless { [Bind ("isHeadless")] get; } - [NoiOS, NoTV, NoWatch, Mac (10, 12), MacCatalyst (15, 0)] + [NoiOS, NoTV, NoWatch, MacCatalyst (15, 0)] #if NET [Abstract] #endif @@ -1109,7 +1063,7 @@ partial interface MTLDevice { [Export ("depth24Stencil8PixelFormatSupported")] bool Depth24Stencil8PixelFormatSupported { [Bind ("isDepth24Stencil8PixelFormatSupported")] get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1117,7 +1071,7 @@ partial interface MTLDevice { [Export ("heapTextureSizeAndAlignWithDescriptor:")] MTLSizeAndAlign GetHeapTextureSizeAndAlign (MTLTextureDescriptor desc); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1125,7 +1079,7 @@ partial interface MTLDevice { [Export ("heapBufferSizeAndAlignWithLength:options:")] MTLSizeAndAlign GetHeapBufferSizeAndAlignWithLength (nuint length, MTLResourceOptions options); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1173,14 +1127,14 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [iOS (11, 0), TV (11, 0), NoWatch, Mac (10, 11)] + [NoWatch] [MacCatalyst (13, 1)] [return: NullAllowed] [return: Release] [Export ("newTextureWithDescriptor:iosurface:plane:")] IMTLTexture CreateTexture (MTLTextureDescriptor descriptor, IOSurface.IOSurface iosurface, nuint plane); - [iOS (13, 0), TV (13, 0), Mac (10, 14)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1190,7 +1144,7 @@ partial interface MTLDevice { [return: Release] IMTLTexture CreateSharedTexture (MTLTextureDescriptor descriptor); - [iOS (13, 0), TV (13, 0), Mac (10, 14)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1238,7 +1192,7 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("newDefaultLibraryWithBundle:error:")] [return: Release] @@ -1282,7 +1236,6 @@ partial interface MTLDevice { [Abstract, Export ("newComputePipelineStateWithFunction:options:completionHandler:")] void CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, Action completionHandler); - [iOS (9, 0)] [MacCatalyst (13, 1)] #if NET // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. @@ -1292,7 +1245,6 @@ partial interface MTLDevice { [return: Release] IMTLComputePipelineState CreateComputePipelineState (MTLComputePipelineDescriptor descriptor, MTLPipelineOption options, out MTLComputePipelineReflection reflection, out NSError error); - [iOS (9, 0)] [MacCatalyst (13, 1)] #if NET // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. @@ -1301,7 +1253,7 @@ partial interface MTLDevice { [Export ("newComputePipelineStateWithDescriptor:options:completionHandler:")] void CreateComputePipelineState (MTLComputePipelineDescriptor descriptor, MTLPipelineOption options, MTLNewComputePipelineStateWithReflectionCompletionHandler completionHandler); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1313,7 +1265,6 @@ partial interface MTLDevice { [Abstract, Export ("supportsFeatureSet:")] bool SupportsFeatureSet (MTLFeatureSet featureSet); - [iOS (9, 0)] [MacCatalyst (13, 1)] #if NET // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. @@ -1322,14 +1273,14 @@ partial interface MTLDevice { [Export ("supportsTextureSampleCount:")] bool SupportsTextureSampleCount (nuint sampleCount); - [Mac (10, 13), NoiOS, NoWatch, NoTV, MacCatalyst (15, 0)] + [NoiOS, NoWatch, NoTV, MacCatalyst (15, 0)] #if NET [Abstract] #endif [Export ("removable")] bool Removable { [Bind ("isRemovable")] get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1337,7 +1288,7 @@ partial interface MTLDevice { [Export ("readWriteTextureSupport")] MTLReadWriteTextureTier ReadWriteTextureSupport { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1345,7 +1296,7 @@ partial interface MTLDevice { [Export ("argumentBuffersSupport")] MTLArgumentBuffersTier ArgumentBuffersSupport { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1353,7 +1304,7 @@ partial interface MTLDevice { [Export ("rasterOrderGroupsSupported")] bool RasterOrderGroupsSupported { [Bind ("areRasterOrderGroupsSupported")] get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1363,7 +1314,7 @@ partial interface MTLDevice { [return: Release] IMTLLibrary CreateLibrary (NSUrl url, [NullAllowed] out NSError error); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1371,7 +1322,7 @@ partial interface MTLDevice { [Export ("minimumLinearTextureAlignmentForPixelFormat:")] nuint GetMinimumLinearTextureAlignment (MTLPixelFormat format); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1379,7 +1330,7 @@ partial interface MTLDevice { [Export ("minimumTextureBufferAlignmentForPixelFormat:")] nuint GetMinimumTextureBufferAlignment (MTLPixelFormat format); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1387,7 +1338,7 @@ partial interface MTLDevice { [Export ("maxThreadgroupMemoryLength")] nuint MaxThreadgroupMemoryLength { get; } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1395,7 +1346,7 @@ partial interface MTLDevice { [Export ("maxArgumentBufferSamplerCount")] nuint MaxArgumentBufferSamplerCount { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1403,7 +1354,7 @@ partial interface MTLDevice { [Export ("programmableSamplePositionsSupported")] bool ProgrammableSamplePositionsSupported { [Bind ("areProgrammableSamplePositionsSupported")] get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1411,7 +1362,7 @@ partial interface MTLDevice { [Export ("getDefaultSamplePositions:count:")] void GetDefaultSamplePositions (IntPtr positions, nuint count); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1421,7 +1372,7 @@ partial interface MTLDevice { [return: Release] IMTLArgumentEncoder CreateArgumentEncoder (MTLArgumentDescriptor [] arguments); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1431,7 +1382,7 @@ partial interface MTLDevice { [return: Release] IMTLIndirectCommandBuffer CreateIndirectCommandBuffer (MTLIndirectCommandBufferDescriptor descriptor, nuint maxCount, MTLResourceOptions options); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1441,7 +1392,7 @@ partial interface MTLDevice { [Export ("newEvent")] IMTLEvent CreateEvent (); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1451,7 +1402,7 @@ partial interface MTLDevice { [Export ("newSharedEvent")] IMTLSharedEvent CreateSharedEvent (); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1461,7 +1412,7 @@ partial interface MTLDevice { [return: Release] IMTLSharedEvent CreateSharedEvent (MTLSharedEventHandle sharedEventHandle); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1469,7 +1420,7 @@ partial interface MTLDevice { [Export ("maxBufferLength")] nuint MaxBufferLength { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1477,7 +1428,7 @@ partial interface MTLDevice { [Export ("registryID")] ulong RegistryId { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1486,24 +1437,24 @@ partial interface MTLDevice { nuint CurrentAllocatedSize { get; } #if false // https://bugzilla.xamarin.com/show_bug.cgi?id=59342 - [Mac (10,13), NoiOS, NoTV, NoWatch] + [NoiOS, NoTV, NoWatch] [Notification] [Field ("MTLDeviceWasAddedNotification")] NSString DeviceWasAdded { get; } - [Mac (10,13), NoiOS, NoTV, NoWatch] + [NoiOS, NoTV, NoWatch] [Notification] [Field ("MTLDeviceRemovalRequestedNotification")] NSString DeviceRemovalRequested { get; } - [Mac (10,13), NoiOS, NoTV, NoWatch] + [NoiOS, NoTV, NoWatch] [Notification] [Field ("MTLDeviceWasRemovedNotification")] NSString DeviceWasRemoved { get; } #endif [Introduced (PlatformName.MacCatalyst, 14, 0)] - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] #if NET [Abstract] @@ -1514,7 +1465,7 @@ partial interface MTLDevice { IMTLRenderPipelineState CreateRenderPipelineState (MTLTileRenderPipelineDescriptor descriptor, MTLPipelineOption options, [NullAllowed] out MTLRenderPipelineReflection reflection, [NullAllowed] out NSError error); [Introduced (PlatformName.MacCatalyst, 14, 0)] - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] #if NET [Abstract] @@ -1526,7 +1477,7 @@ partial interface MTLDevice { [Abstract] #endif [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [Export ("supportsVertexAmplificationCount:")] bool SupportsVertexAmplification (nuint count); @@ -1534,7 +1485,7 @@ partial interface MTLDevice { [Abstract] #endif [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [Export ("supportsRasterizationRateMapWithLayerCount:")] bool SupportsRasterizationRateMap (nuint layerCount); @@ -1558,7 +1509,7 @@ partial interface MTLDevice { [Abstract] #endif [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [Export ("newRasterizationRateMapWithDescriptor:")] [return: NullAllowed] [return: Release] @@ -1574,7 +1525,7 @@ partial interface MTLDevice { [Export ("convertSparsePixelRegions:toTileRegions:withTileSize:alignmentMode:numRegions:")] void ConvertSparsePixelRegions (IntPtr pixelRegions, IntPtr tileRegions, MTLSize tileSize, MTLSparseTextureRegionAlignmentMode mode, nuint numRegions); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1582,7 +1533,7 @@ partial interface MTLDevice { [Export ("hasUnifiedMemory")] bool HasUnifiedMemory { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -1593,21 +1544,21 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [iOS (14, 0), NoTV, Mac (10, 15), NoMacCatalyst] + [iOS (14, 0), NoTV, NoMacCatalyst] [Export ("barycentricCoordsSupported")] bool BarycentricCoordsSupported { [Bind ("areBarycentricCoordsSupported")] get; } #if NET [Abstract] #endif - [iOS (14, 0), NoTV, Mac (10, 15), NoMacCatalyst] + [iOS (14, 0), NoTV, NoMacCatalyst] [Export ("supportsShaderBarycentricCoordinates")] bool SupportsShaderBarycentricCoordinates { get; } #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("peerIndex")] uint PeerIndex { get; } @@ -1615,7 +1566,7 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("peerCount")] uint PeerCount { get; } @@ -1623,7 +1574,7 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [NullAllowed, Export ("counterSets")] #if NET @@ -1636,7 +1587,7 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Export ("newCounterSampleBufferWithDescriptor:error:")] [return: NullAllowed] @@ -1651,7 +1602,7 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Export ("sampleTimestamps:gpuTimestamp:")] void GetSampleTimestamps (nuint cpuTimestamp, nuint gpuTimestamp); @@ -1659,7 +1610,7 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("peerGroupID")] ulong PeerGroupId { get; } @@ -1667,7 +1618,7 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("maxTransferRate")] ulong MaxTransferRate { get; } @@ -1675,7 +1626,7 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("location")] MTLDeviceLocation Location { get; } @@ -1683,7 +1634,7 @@ partial interface MTLDevice { #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("locationNumber")] nuint LocationNumber { get; } @@ -1870,8 +1821,6 @@ partial interface MTLDevice { } interface IMTLDrawable { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -1886,9 +1835,6 @@ partial interface MTLDrawable { [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility #endif [Introduced (PlatformName.MacCatalyst, 13, 4)] - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 15, 4)] [Export ("presentAfterMinimumDuration:")] void PresentAfter (double duration); @@ -1896,9 +1842,6 @@ partial interface MTLDrawable { [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility #endif [Introduced (PlatformName.MacCatalyst, 13, 4)] - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 15, 4)] [Export ("addPresentedHandler:")] void AddPresentedHandler (Action block); @@ -1906,9 +1849,6 @@ partial interface MTLDrawable { [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility #endif [Introduced (PlatformName.MacCatalyst, 13, 4)] - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 15, 4)] [Export ("presentedTime")] double /* CFTimeInterval */ PresentedTime { get; } @@ -1916,9 +1856,6 @@ partial interface MTLDrawable { [Abstract] // @required but we can't add abstract members in C# and keep binary compatibility #endif [Introduced (PlatformName.MacCatalyst, 13, 4)] - [iOS (10, 3)] - [TV (10, 2)] - [Mac (10, 15, 4)] [Export ("drawableID")] #if NET nuint DrawableId { get; } @@ -1931,12 +1868,9 @@ interface IMTLTexture { } // Apple added several new *required* members in iOS 9, // but that breaks our binary compat, so we can't do that in our existing code. - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLTexture : MTLResource { - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.iOS, 10, 0)] [Deprecated (PlatformName.MacOSX, 10, 12)] @@ -1948,8 +1882,6 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("parentTexture")] @@ -1958,8 +1890,6 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("parentRelativeLevel")] nuint ParentRelativeLevel { get; } @@ -1967,8 +1897,6 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("parentRelativeSlice")] nuint ParentRelativeSlice { get; } @@ -1976,8 +1904,6 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("buffer")] @@ -1986,8 +1912,6 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("bufferOffset")] nuint BufferOffset { get; } @@ -1995,8 +1919,6 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("bufferBytesPerRow")] nuint BufferBytesPerRow { get; } @@ -2028,7 +1950,7 @@ partial interface MTLTexture : MTLResource { [Abstract, Export ("framebufferOnly")] bool FramebufferOnly { [Bind ("isFramebufferOnly")] get; } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2078,7 +2000,7 @@ partial interface MTLTexture : MTLResource { [Export ("replaceRegion:mipmapLevel:withBytes:bytesPerRow:")] void ReplaceRegion (MTLRegion region, nuint level, IntPtr pixelBytes, nuint bytesPerRow); - [Mac (10, 11), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2086,7 +2008,7 @@ partial interface MTLTexture : MTLResource { [NullAllowed, Export ("iosurface")] IOSurface.IOSurface IOSurface { get; } - [Mac (10, 11), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2094,7 +2016,7 @@ partial interface MTLTexture : MTLResource { [Export ("iosurfacePlane")] nuint IOSurfacePlane { get; } - [iOS (13, 0), TV (13, 0), Mac (10, 14)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2102,7 +2024,7 @@ partial interface MTLTexture : MTLResource { [Export ("shareable")] bool Shareable { [Bind ("isShareable")] get; } - [iOS (13, 0), TV (13, 0), Mac (10, 14)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2137,7 +2059,7 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [Mac (10, 15), TV (13, 0), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("swizzle")] MTLTextureSwizzleChannels Swizzle { get; } @@ -2145,7 +2067,7 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [Mac (10, 15), TV (13, 0), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("newTextureViewWithPixelFormat:textureType:levels:slices:swizzle:")] [return: NullAllowed] @@ -2155,7 +2077,7 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [NullAllowed, Export ("remoteStorageTexture")] IMTLTexture RemoteStorageTexture { get; } @@ -2163,7 +2085,7 @@ partial interface MTLTexture : MTLResource { #if NET [Abstract] #endif - [NoiOS, NoTV, Mac (10, 15)] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("newRemoteTextureViewForDevice:")] [return: NullAllowed] @@ -2172,8 +2094,6 @@ partial interface MTLTexture : MTLResource { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface MTLTextureDescriptor : NSCopying { @@ -2211,27 +2131,24 @@ partial interface MTLTextureDescriptor : NSCopying { [Static, Export ("textureCubeDescriptorWithPixelFormat:size:mipmapped:")] MTLTextureDescriptor CreateTextureCubeDescriptor (MTLPixelFormat pixelFormat, nuint size, bool mipmapped); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Static, Export ("textureBufferDescriptorWithPixelFormat:width:resourceOptions:usage:")] MTLTextureDescriptor CreateTextureBufferDescriptor (MTLPixelFormat pixelFormat, nuint width, MTLResourceOptions resourceOptions, MTLTextureUsage usage); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("cpuCacheMode", ArgumentSemantic.Assign)] MTLCpuCacheMode CpuCacheMode { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("storageMode", ArgumentSemantic.Assign)] MTLStorageMode StorageMode { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("usage", ArgumentSemantic.Assign)] MTLTextureUsage Usage { get; set; } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Export ("allowGPUOptimizedContents")] bool AllowGpuOptimizedContents { get; set; } @@ -2240,19 +2157,17 @@ partial interface MTLTextureDescriptor : NSCopying { [Export ("compressionType")] MTLTextureCompressionType CompressionType { get; set; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("hazardTrackingMode", ArgumentSemantic.Assign)] MTLHazardTrackingMode HazardTrackingMode { get; set; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("swizzle", ArgumentSemantic.Assign)] MTLTextureSwizzleChannels Swizzle { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface MTLSamplerDescriptor : NSCopying { @@ -2287,17 +2202,16 @@ partial interface MTLSamplerDescriptor : NSCopying { [Export ("lodMaxClamp")] float LodMaxClamp { get; set; } /* float, not CGFloat */ - [iOS (9, 0), Mac (11, 0)] + [Mac (11, 0)] [MacCatalyst (13, 1)] [Export ("lodAverage")] bool LodAverage { get; set; } - [iOS (14, 0), NoTV, NoWatch, Mac (10, 12)] + [iOS (14, 0), NoTV, NoWatch] [MacCatalyst (14, 0)] [Export ("borderColor", ArgumentSemantic.Assign)] MTLSamplerBorderColor BorderColor { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("compareFunction")] MTLCompareFunction CompareFunction { get; set; } @@ -2306,15 +2220,13 @@ partial interface MTLSamplerDescriptor : NSCopying { [NullAllowed] string Label { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("supportArgumentBuffers")] bool SupportArgumentBuffers { get; set; } } interface IMTLSamplerState { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLSamplerState { @@ -2326,8 +2238,6 @@ partial interface MTLSamplerState { IMTLDevice Device { get; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface MTLRenderPipelineDescriptor : NSCopying { @@ -2379,63 +2289,63 @@ partial interface MTLRenderPipelineDescriptor : NSCopying { [Export ("inputPrimitiveTopology", ArgumentSemantic.Assign)] MTLPrimitiveTopologyClass InputPrimitiveTopology { get; set; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("tessellationPartitionMode", ArgumentSemantic.Assign)] MTLTessellationPartitionMode TessellationPartitionMode { get; set; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("maxTessellationFactor")] nuint MaxTessellationFactor { get; set; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("tessellationFactorScaleEnabled")] bool IsTessellationFactorScaleEnabled { [Bind ("isTessellationFactorScaleEnabled")] get; set; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("tessellationFactorFormat", ArgumentSemantic.Assign)] MTLTessellationFactorFormat TessellationFactorFormat { get; set; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("tessellationControlPointIndexType", ArgumentSemantic.Assign)] MTLTessellationControlPointIndexType TessellationControlPointIndexType { get; set; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("tessellationFactorStepFunction", ArgumentSemantic.Assign)] MTLTessellationFactorStepFunction TessellationFactorStepFunction { get; set; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("tessellationOutputWindingOrder", ArgumentSemantic.Assign)] MTLWinding TessellationOutputWindingOrder { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("vertexBuffers")] MTLPipelineBufferDescriptorArray VertexBuffers { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("fragmentBuffers")] MTLPipelineBufferDescriptorArray FragmentBuffers { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("rasterSampleCount")] nuint RasterSampleCount { get; set; } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Export ("supportIndirectCommandBuffers")] bool SupportIndirectCommandBuffers { get; set; } [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [Export ("maxVertexAmplificationCount")] nuint MaxVertexAmplificationCount { get; set; } @@ -2477,8 +2387,6 @@ partial interface MTLRenderPipelineDescriptor : NSCopying { MTLLinkedFunctions FragmentLinkedFunctions { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLRenderPipelineColorAttachmentDescriptorArray { @@ -2492,8 +2400,6 @@ interface MTLRenderPipelineColorAttachmentDescriptorArray { interface IMTLRenderPipelineState { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLRenderPipelineState { @@ -2504,7 +2410,7 @@ partial interface MTLRenderPipelineState { [Abstract, Export ("device")] IMTLDevice Device { get; } - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -2513,7 +2419,7 @@ partial interface MTLRenderPipelineState { [Export ("maxTotalThreadsPerThreadgroup")] nuint MaxTotalThreadsPerThreadgroup { get; } - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -2522,7 +2428,7 @@ partial interface MTLRenderPipelineState { [Export ("threadgroupSizeMatchesTileSize")] bool ThreadgroupSizeMatchesTileSize { get; } - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -2531,7 +2437,7 @@ partial interface MTLRenderPipelineState { [Export ("imageblockSampleLength")] nuint ImageblockSampleLength { get; } - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -2540,7 +2446,7 @@ partial interface MTLRenderPipelineState { [Export ("imageblockMemoryLengthForDimensions:")] nuint GetImageblockMemoryLength (MTLSize imageblockDimensions); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (14, 0)] #if NET [Abstract] @@ -2584,8 +2490,6 @@ partial interface MTLRenderPipelineState { IMTLRenderPipelineState NewRenderPipelineStateWithAdditionalBinaryFunctions (MTLRenderPipelineFunctionsDescriptor additionalBinaryFunctions, [NullAllowed] out NSError error); } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLVertexBufferLayoutDescriptor : NSCopying { @@ -2599,8 +2503,6 @@ interface MTLVertexBufferLayoutDescriptor : NSCopying { nuint StepRate { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLVertexBufferLayoutDescriptorArray { @@ -2611,7 +2513,7 @@ interface MTLVertexBufferLayoutDescriptorArray { void SetObject ([NullAllowed] MTLVertexBufferLayoutDescriptor bufferDesc, nuint index); } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLAttribute { @@ -2634,7 +2536,7 @@ interface MTLAttribute { bool IsPatchControlPointData { [Bind ("isPatchControlPointData")] get; } } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLAttributeDescriptor : NSCopying { @@ -2648,7 +2550,7 @@ interface MTLAttributeDescriptor : NSCopying { nuint BufferIndex { get; set; } } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLAttributeDescriptorArray { @@ -2661,8 +2563,6 @@ interface MTLAttributeDescriptorArray { void SetObject ([NullAllowed] MTLAttributeDescriptor attributeDesc, nuint index); } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLVertexAttributeDescriptor : NSCopying { @@ -2676,8 +2576,6 @@ interface MTLVertexAttributeDescriptor : NSCopying { nuint BufferIndex { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLVertexAttributeDescriptorArray { @@ -2688,8 +2586,6 @@ interface MTLVertexAttributeDescriptorArray { void SetObject ([NullAllowed] MTLVertexAttributeDescriptor attributeDesc, nuint index); } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface MTLVertexDescriptor : NSCopying { @@ -2706,15 +2602,12 @@ partial interface MTLVertexDescriptor : NSCopying { MTLVertexAttributeDescriptorArray Attributes { get; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface MTLVertexAttribute { [Export ("attributeIndex")] nuint AttributeIndex { get; } - [iOS (8, 3)] [MacCatalyst (13, 1)] [Export ("attributeType")] MTLDataType AttributeType { get; } @@ -2725,23 +2618,22 @@ partial interface MTLVertexAttribute { [Export ("name")] string Name { get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("patchData")] bool PatchData { [Bind ("isPatchData")] get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("patchControlPointData")] bool PatchControlPointData { [Bind ("isPatchControlPointData")] get; } } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface MTLFunctionConstantValues : NSCopying { - [iOS (11, 0), TV (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("init")] NativeHandle Constructor (); @@ -2759,7 +2651,7 @@ interface MTLFunctionConstantValues : NSCopying { void Reset (); } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLFunctionConstant { @@ -2777,13 +2669,11 @@ interface MTLFunctionConstant { } interface IMTLFunction { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLFunction { - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2803,7 +2693,7 @@ partial interface MTLFunction { [Abstract, Export ("name")] string Name { get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2811,7 +2701,7 @@ partial interface MTLFunction { [Export ("patchType")] MTLPatchType PatchType { get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2819,7 +2709,7 @@ partial interface MTLFunction { [Export ("patchControlPointCount")] nint PatchControlPointCount { get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2827,7 +2717,7 @@ partial interface MTLFunction { [NullAllowed, Export ("stageInputAttributes")] MTLAttribute [] StageInputAttributes { get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2835,7 +2725,7 @@ partial interface MTLFunction { [Export ("functionConstantsDictionary")] NSDictionary FunctionConstants { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2844,7 +2734,7 @@ partial interface MTLFunction { [return: Release] IMTLArgumentEncoder CreateArgumentEncoder (nuint bufferIndex); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2864,8 +2754,6 @@ partial interface MTLFunction { interface IMTLLibrary { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLLibrary { @@ -2883,7 +2771,7 @@ partial interface MTLLibrary { [return: Release] IMTLFunction CreateFunction (string functionName); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2893,7 +2781,7 @@ partial interface MTLLibrary { [return: Release] IMTLFunction CreateFunction (string name, MTLFunctionConstantValues constantValues, out NSError error); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2959,8 +2847,6 @@ partial interface MTLLibrary { string InstallName { get; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface MTLCompileOptions : NSCopying { @@ -2976,7 +2862,6 @@ partial interface MTLCompileOptions : NSCopying { [Export ("fastMathEnabled")] bool FastMathEnabled { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("languageVersion", ArgumentSemantic.Assign)] MTLLanguageVersion LanguageVersion { get; set; } @@ -3002,8 +2887,6 @@ partial interface MTLCompileOptions : NSCopying { bool PreserveInvariance { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface MTLStencilDescriptor : NSCopying { @@ -3026,8 +2909,6 @@ partial interface MTLStencilDescriptor : NSCopying { uint WriteMask { get; set; } /* uint32_t */ } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLStructMember { @@ -3058,24 +2939,22 @@ interface MTLStructMember { MTLArrayType ArrayType (); #endif - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("argumentIndex")] nuint ArgumentIndex { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("textureReferenceType")] MTLTextureReferenceType TextureReferenceType { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("pointerType")] MTLPointerType PointerType { get; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MTLType))] interface MTLStructType { @@ -3089,8 +2968,6 @@ interface MTLStructType { interface IMTLDepthStencilState { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLDepthStencilState { @@ -3103,8 +2980,6 @@ partial interface MTLDepthStencilState { IMTLDevice Device { get; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface MTLDepthStencilDescriptor : NSCopying { @@ -3130,8 +3005,6 @@ partial interface MTLDepthStencilDescriptor : NSCopying { interface IMTLParallelRenderCommandEncoder { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed interface MTLParallelRenderCommandEncoder : MTLCommandEncoder { @@ -3141,7 +3014,7 @@ interface MTLParallelRenderCommandEncoder : MTLCommandEncoder { [return: NullAllowed] IMTLRenderCommandEncoder CreateRenderCommandEncoder (); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3149,7 +3022,7 @@ interface MTLParallelRenderCommandEncoder : MTLCommandEncoder { [Export ("setColorStoreAction:atIndex:")] void SetColorStoreAction (MTLStoreAction storeAction, nuint colorAttachmentIndex); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3157,7 +3030,7 @@ interface MTLParallelRenderCommandEncoder : MTLCommandEncoder { [Export ("setDepthStoreAction:")] void SetDepthStoreAction (MTLStoreAction storeAction); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3165,7 +3038,7 @@ interface MTLParallelRenderCommandEncoder : MTLCommandEncoder { [Export ("setStencilStoreAction:")] void SetStencilStoreAction (MTLStoreAction storeAction); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3173,7 +3046,7 @@ interface MTLParallelRenderCommandEncoder : MTLCommandEncoder { [Export ("setColorStoreActionOptions:atIndex:")] void SetColorStoreActionOptions (MTLStoreActionOptions storeActionOptions, nuint colorAttachmentIndex); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3181,7 +3054,7 @@ interface MTLParallelRenderCommandEncoder : MTLCommandEncoder { [Export ("setDepthStoreActionOptions:")] void SetDepthStoreActionOptions (MTLStoreActionOptions storeActionOptions); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3192,8 +3065,6 @@ interface MTLParallelRenderCommandEncoder : MTLCommandEncoder { interface IMTLRenderCommandEncoder { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLRenderCommandEncoder : MTLCommandEncoder { @@ -3222,8 +3093,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Abstract, Export ("setCullMode:")] void SetCullMode (MTLCullMode cullMode); - [iOS (9, 0)] // Current headers claim this member was introduced in iOS 11, but it also shows up in Xcode 7's header (as introduced in iOS 9) - [Mac (10, 11), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. @@ -3244,12 +3114,10 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Abstract, Export ("setFragmentBuffer:offset:atIndex:")] void SetFragmentBuffer (IMTLBuffer buffer, nuint offset, nuint index); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Abstract, Export ("setFragmentBufferOffset:atIndex:")] void SetFragmentBufferOffset (nuint offset, nuint index); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Abstract, Export ("setFragmentBytes:length:atIndex:")] void SetFragmentBytes (IntPtr bytes, nuint length, nuint index); @@ -3272,8 +3140,6 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Abstract, Export ("setStencilReferenceValue:")] void SetStencilReferenceValue (uint /* uint32_t */ referenceValue); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] #if NET // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. @@ -3285,7 +3151,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Abstract, Export ("setVisibilityResultMode:offset:")] void SetVisibilityResultMode (MTLVisibilityResultMode mode, nuint offset); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3293,7 +3159,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setColorStoreAction:atIndex:")] void SetColorStoreAction (MTLStoreAction storeAction, nuint colorAttachmentIndex); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3301,7 +3167,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setDepthStoreAction:")] void SetDepthStoreAction (MTLStoreAction storeAction); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3325,7 +3191,6 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. [Abstract] #endif - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:")] void DrawPrimitives (MTLPrimitiveType primitiveType, nuint vertexStart, nuint vertexCount, nuint instanceCount, nuint baseInstance); @@ -3334,7 +3199,6 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. [Abstract] #endif - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:")] void DrawIndexedPrimitives (MTLPrimitiveType primitiveType, nuint indexCount, MTLIndexType indexType, IMTLBuffer indexBuffer, nuint indexBufferOffset, nuint instanceCount, nint baseVertex, nuint baseInstance); @@ -3343,7 +3207,6 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. [Abstract] #endif - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("drawPrimitives:indirectBuffer:indirectBufferOffset:")] void DrawPrimitives (MTLPrimitiveType primitiveType, IMTLBuffer indirectBuffer, nuint indirectBufferOffset); @@ -3352,7 +3215,6 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { // Apple added a new required member in iOS 9, but that breaks our binary compat, so we can't do that in our existing code. [Abstract] #endif - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("drawIndexedPrimitives:indexType:indexBuffer:indexBufferOffset:indirectBuffer:indirectBufferOffset:")] void DrawIndexedPrimitives (MTLPrimitiveType primitiveType, MTLIndexType indexType, IMTLBuffer indexBuffer, nuint indexBufferOffset, IMTLBuffer indirectBuffer, nuint indirectBufferOffset); @@ -3372,12 +3234,10 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Abstract, Export ("setVertexBuffers:offsets:withRange:")] void SetVertexBuffers (IMTLBuffer [] buffers, IntPtr uintArrayPtrOffsets, NSRange range); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Abstract, Export ("setVertexBufferOffset:atIndex:")] void SetVertexBufferOffset (nuint offset, nuint index); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Abstract, Export ("setVertexBytes:length:atIndex:")] void SetVertexBytes (IntPtr bytes, nuint length, nuint index); @@ -3392,7 +3252,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setVertexTextures:withRange:")] void SetVertexTextures (IMTLTexture [] textures, NSRange range); - [NoiOS, NoTV, NoWatch, Mac (10, 11)] + [NoiOS, NoTV, NoWatch] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'MemoryBarrier (MTLBarrierScope, MTLRenderStages, MTLRenderStages)' instead.")] [NoMacCatalyst] #if NET @@ -3401,7 +3261,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("textureBarrier")] void TextureBarrier (); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3409,7 +3269,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("updateFence:afterStages:")] void Update (IMTLFence fence, MTLRenderStages stages); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3417,7 +3277,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("waitForFence:beforeStages:")] void Wait (IMTLFence fence, MTLRenderStages stages); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3425,7 +3285,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTessellationFactorBuffer:offset:instanceStride:")] void SetTessellationFactorBuffer ([NullAllowed] IMTLBuffer buffer, nuint offset, nuint instanceStride); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3433,7 +3293,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTessellationFactorScale:")] void SetTessellationFactorScale (float scale); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3442,7 +3302,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { void DrawPatches (nuint numberOfPatchControlPoints, nuint patchStart, nuint patchCount, [NullAllowed] IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, nuint instanceCount, nuint baseInstance); [iOS (12, 0)] - [NoWatch, Mac (10, 12)] + [NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3451,7 +3311,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("drawPatches:patchIndexBuffer:patchIndexBufferOffset:indirectBuffer:indirectBufferOffset:")] void DrawPatches (nuint numberOfPatchControlPoints, [NullAllowed] IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, IMTLBuffer indirectBuffer, nuint indirectBufferOffset); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3460,7 +3320,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { void DrawIndexedPatches (nuint numberOfPatchControlPoints, nuint patchStart, nuint patchCount, [NullAllowed] IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, IMTLBuffer controlPointIndexBuffer, nuint controlPointIndexBufferOffset, nuint instanceCount, nuint baseInstance); [iOS (12, 0)] - [NoWatch, Mac (10, 12)] + [NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3470,7 +3330,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { void DrawIndexedPatches (nuint numberOfPatchControlPoints, [NullAllowed] IMTLBuffer patchIndexBuffer, nuint patchIndexBufferOffset, IMTLBuffer controlPointIndexBuffer, nuint controlPointIndexBufferOffset, IMTLBuffer indirectBuffer, nuint indirectBufferOffset); [iOS (12, 0)] - [Mac (10, 13), NoWatch] + [NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3480,7 +3340,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { void SetViewports (IntPtr viewports, nuint count); [iOS (12, 0)] - [Mac (10, 13), NoWatch] + [NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3489,7 +3349,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setScissorRects:count:")] void SetScissorRects (IntPtr scissorRects, nuint count); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3497,7 +3357,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setColorStoreActionOptions:atIndex:")] void SetColorStoreActionOptions (MTLStoreActionOptions storeActionOptions, nuint colorAttachmentIndex); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3505,7 +3365,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setDepthStoreActionOptions:")] void SetDepthStoreActionOptions (MTLStoreActionOptions storeActionOptions); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3513,7 +3373,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setStencilStoreActionOptions:")] void SetStencilStoreActionOptions (MTLStoreActionOptions storeActionOptions); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3521,7 +3381,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("useResource:usage:")] void UseResource (IMTLResource resource, MTLResourceUsage usage); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3529,7 +3389,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("useResources:count:usage:")] void UseResources (IMTLResource [] resources, nuint count, MTLResourceUsage usage); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3537,7 +3397,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("useHeap:")] void UseHeap (IMTLHeap heap); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3545,7 +3405,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("useHeaps:count:")] void UseHeaps (IMTLHeap [] heaps, nuint count); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3553,7 +3413,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("executeCommandsInBuffer:withRange:")] void ExecuteCommands (IMTLIndirectCommandBuffer indirectCommandBuffer, NSRange executionRange); - [iOS (13, 0), TV (13, 0), Mac (10, 14)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -3561,21 +3421,21 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:")] void ExecuteCommands (IMTLIndirectCommandBuffer indirectCommandbuffer, IMTLBuffer indirectRangeBuffer, nuint indirectBufferOffset); - [NoiOS, NoTV, Mac (10, 14), MacCatalyst (15, 0)] + [NoiOS, NoTV, MacCatalyst (15, 0)] #if NET [Abstract] #endif [Export ("memoryBarrierWithScope:afterStages:beforeStages:")] void MemoryBarrier (MTLBarrierScope scope, MTLRenderStages after, MTLRenderStages before); - [NoiOS, NoTV, Mac (10, 14), MacCatalyst (15, 0)] + [NoiOS, NoTV, MacCatalyst (15, 0)] #if NET [Abstract] #endif [Export ("memoryBarrierWithResources:count:afterStages:beforeStages:")] void MemoryBarrier (IMTLResource [] resources, nuint count, MTLRenderStages after, MTLRenderStages before); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3584,7 +3444,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("tileWidth")] nuint TileWidth { get; } - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3593,7 +3453,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("tileHeight")] nuint TileHeight { get; } - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3602,7 +3462,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileBytes:length:atIndex:")] void SetTileBytes (IntPtr /* void* */ bytes, nuint length, nuint index); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3611,7 +3471,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileBuffer:offset:atIndex:")] void SetTileBuffer ([NullAllowed] IMTLBuffer buffer, nuint offset, nuint index); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3620,7 +3480,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileBufferOffset:atIndex:")] void SetTileBufferOffset (nuint offset, nuint index); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3629,7 +3489,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileBuffers:offsets:withRange:")] void SetTileBuffers (IMTLBuffer [] buffers, IntPtr offsets, NSRange range); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3638,7 +3498,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileTexture:atIndex:")] void SetTileTexture ([NullAllowed] IMTLTexture texture, nuint index); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3647,7 +3507,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileTextures:withRange:")] void SetTileTextures (IMTLTexture [] textures, NSRange range); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3656,7 +3516,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileSamplerState:atIndex:")] void SetTileSamplerState ([NullAllowed] IMTLSamplerState sampler, nuint index); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3665,7 +3525,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileSamplerStates:withRange:")] void SetTileSamplerStates (IMTLSamplerState [] samplers, NSRange range); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3674,7 +3534,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileSamplerState:lodMinClamp:lodMaxClamp:atIndex:")] void SetTileSamplerState ([NullAllowed] IMTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, nuint index); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3683,7 +3543,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("setTileSamplerStates:lodMinClamps:lodMaxClamps:withRange:")] void SetTileSamplerStates (IMTLSamplerState [] samplers, IntPtr /* float[] */ lodMinClamps, IntPtr /* float[] */ lodMaxClamps, NSRange range); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3692,7 +3552,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Export ("dispatchThreadsPerTile:")] void DispatchThreadsPerTile (MTLSize threadsPerTile); - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] #if NET @@ -3705,14 +3565,14 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { [Abstract] #endif [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [Export ("setVertexAmplificationCount:viewMappings:")] void SetVertexAmplificationCount (nuint count, MTLVertexAmplificationViewMapping viewMappings); #if NET [Abstract] #endif - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("useResource:usage:stages:")] void UseResource (IMTLResource resource, MTLResourceUsage usage, MTLRenderStages stages); @@ -3720,7 +3580,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { #if NET [Abstract] #endif - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("useResources:count:usage:stages:")] void UseResources (IMTLResource [] resources, nuint count, MTLResourceUsage usage, MTLRenderStages stages); @@ -3728,7 +3588,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { #if NET [Abstract] #endif - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("useHeap:stages:")] void UseHeap (IMTLHeap heap, MTLRenderStages stages); @@ -3736,7 +3596,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { #if NET [Abstract] #endif - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("useHeaps:count:stages:")] void UseHeaps (IMTLHeap [] heaps, nuint count, MTLRenderStages stages); @@ -3744,7 +3604,7 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { #if NET [Abstract] #endif - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Export ("sampleCountersInBuffer:atSampleIndex:withBarrier:")] #if NET @@ -3859,8 +3719,6 @@ partial interface MTLRenderCommandEncoder : MTLCommandEncoder { void SetTileVisibleFunctionTables (IMTLVisibleFunctionTable [] functionTables, NSRange range); } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLRenderPipelineColorAttachmentDescriptor : NSCopying { @@ -3893,8 +3751,6 @@ interface MTLRenderPipelineColorAttachmentDescriptor : NSCopying { MTLColorWriteMask WriteMask { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLRenderPipelineReflection { @@ -3914,15 +3770,13 @@ interface MTLRenderPipelineReflection { NSObject [] FragmentArguments { get; } #endif - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [MacCatalyst (14, 0)] [NullAllowed, Export ("tileArguments")] MTLArgument [] TileArguments { get; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLRenderPassAttachmentDescriptor : NSCopying { @@ -3959,14 +3813,12 @@ interface MTLRenderPassAttachmentDescriptor : NSCopying { [Export ("storeAction")] MTLStoreAction StoreAction { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("storeActionOptions", ArgumentSemantic.Assign)] MTLStoreActionOptions StoreActionOptions { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MTLRenderPassAttachmentDescriptor))] interface MTLRenderPassColorAttachmentDescriptor { @@ -3974,8 +3826,6 @@ interface MTLRenderPassColorAttachmentDescriptor { MTLClearColor ClearColor { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MTLRenderPassAttachmentDescriptor))] interface MTLRenderPassDepthAttachmentDescriptor { @@ -3983,15 +3833,11 @@ interface MTLRenderPassDepthAttachmentDescriptor { [Export ("clearDepth")] double ClearDepth { get; set; } - [iOS (9, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("depthResolveFilter")] MTLMultisampleDepthResolveFilter DepthResolveFilter { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MTLRenderPassAttachmentDescriptor))] interface MTLRenderPassStencilAttachmentDescriptor { @@ -4001,14 +3847,11 @@ interface MTLRenderPassStencilAttachmentDescriptor { [iOS (12, 0)] [TV (14, 5)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("stencilResolveFilter", ArgumentSemantic.Assign)] MTLMultisampleStencilResolveFilter StencilResolveFilter { get; set; } } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLRenderPassColorAttachmentDescriptorArray { @@ -4019,8 +3862,6 @@ interface MTLRenderPassColorAttachmentDescriptorArray { void SetObject ([NullAllowed] MTLRenderPassColorAttachmentDescriptor attachment, nuint attachmentIndex); } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLRenderPassDescriptor : NSCopying { @@ -4050,53 +3891,53 @@ interface MTLRenderPassDescriptor : NSCopying { [Export ("renderTargetArrayLength")] nuint RenderTargetArrayLength { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("setSamplePositions:count:")] unsafe void SetSamplePositions ([NullAllowed] IntPtr positions, nuint count); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("getSamplePositions:count:")] nuint GetSamplePositions ([NullAllowed] IntPtr positions, nuint count); - [iOS (11, 0), NoWatch, Mac (11, 0)] + [NoWatch, Mac (11, 0)] [TV (14, 5)] [MacCatalyst (14, 0)] [Export ("imageblockSampleLength")] nuint ImageblockSampleLength { get; set; } - [iOS (11, 0), NoWatch, Mac (11, 0)] + [NoWatch, Mac (11, 0)] [TV (14, 5)] [MacCatalyst (14, 0)] [Export ("threadgroupMemoryLength")] nuint ThreadgroupMemoryLength { get; set; } - [iOS (11, 0), NoWatch, Mac (11, 0)] + [NoWatch, Mac (11, 0)] [TV (14, 5)] [MacCatalyst (14, 0)] [Export ("tileWidth")] nuint TileWidth { get; set; } - [iOS (11, 0), NoWatch, Mac (11, 0)] + [NoWatch, Mac (11, 0)] [TV (14, 5)] [MacCatalyst (14, 0)] [Export ("tileHeight")] nuint TileHeight { get; set; } - [iOS (11, 0), NoWatch, Mac (10, 15)] + [NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] [Export ("defaultRasterSampleCount")] nuint DefaultRasterSampleCount { get; set; } - [iOS (11, 0), NoWatch, Mac (10, 15)] + [NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] [Export ("renderTargetWidth")] nuint RenderTargetWidth { get; set; } - [iOS (11, 0), NoWatch, Mac (10, 15)] + [NoWatch] [TV (14, 5)] [MacCatalyst (13, 1)] [Export ("renderTargetHeight")] @@ -4110,7 +3951,7 @@ interface MTLRenderPassDescriptor : NSCopying { */ [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [NullAllowed, Export ("rasterizationRateMap", ArgumentSemantic.Strong)] IMTLRasterizationRateMap RasterizationRateMap { get; set; } @@ -4121,7 +3962,7 @@ interface MTLRenderPassDescriptor : NSCopying { } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] // note: type works only on devices, symbol is missing on the simulator @@ -4149,7 +3990,7 @@ interface MTLHeapDescriptor : NSCopying { } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed interface MTLHeap { @@ -4197,7 +4038,7 @@ interface MTLHeap { [Export ("setPurgeableState:")] MTLPurgeableState SetPurgeableState (MTLPurgeableState state); - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4205,7 +4046,7 @@ interface MTLHeap { [Export ("currentAllocatedSize")] nuint CurrentAllocatedSize { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4213,7 +4054,7 @@ interface MTLHeap { [Export ("hazardTrackingMode")] MTLHazardTrackingMode HazardTrackingMode { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4221,7 +4062,7 @@ interface MTLHeap { [Export ("resourceOptions")] MTLResourceOptions ResourceOptions { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4229,7 +4070,7 @@ interface MTLHeap { [Export ("type")] MTLHeapType Type { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4239,7 +4080,7 @@ interface MTLHeap { [return: Release] IMTLBuffer CreateBuffer (nuint length, MTLResourceOptions options, nuint offset); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4252,8 +4093,6 @@ interface MTLHeap { interface IMTLResource { } interface IMTLHeap { } - [iOS (8, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] // From Apple Docs: Your app does not define classes that implement this protocol. Model is not needed partial interface MTLResource { @@ -4270,7 +4109,6 @@ partial interface MTLResource { #if NET [Abstract] // new required member, but that breaks our binary compat, so we can't do that in our existing code. #endif - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("storageMode")] MTLStorageMode StorageMode { get; } @@ -4278,7 +4116,7 @@ partial interface MTLResource { [Abstract, Export ("setPurgeableState:")] MTLPurgeableState SetPurgeableState (MTLPurgeableState state); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4286,7 +4124,7 @@ partial interface MTLResource { [NullAllowed, Export ("heap")] IMTLHeap Heap { get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4294,7 +4132,7 @@ partial interface MTLResource { [Export ("makeAliasable")] void MakeAliasable (); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4302,7 +4140,7 @@ partial interface MTLResource { [Export ("isAliasable")] bool IsAliasable { get; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 13)] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4313,7 +4151,7 @@ partial interface MTLResource { #if NET [Abstract] #endif - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("resourceOptions")] MTLResourceOptions ResourceOptions { get; } @@ -4321,7 +4159,7 @@ partial interface MTLResource { #if NET [Abstract] #endif - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("heapOffset")] nuint HeapOffset { get; } @@ -4329,14 +4167,12 @@ partial interface MTLResource { #if NET [Abstract] #endif - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("hazardTrackingMode")] MTLHazardTrackingMode HazardTrackingMode { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLComputePipelineDescriptor : NSCopying { @@ -4355,17 +4191,17 @@ interface MTLComputePipelineDescriptor : NSCopying { [Export ("reset")] void Reset (); - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Export ("maxTotalThreadsPerThreadgroup")] nuint MaxTotalThreadsPerThreadgroup { get; set; } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed, Export ("stageInputDescriptor", ArgumentSemantic.Copy)] MTLStageInputOutputDescriptor StageInputDescriptor { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("buffers")] MTLPipelineBufferDescriptorArray Buffers { get; } @@ -4409,7 +4245,7 @@ interface MTLComputePipelineDescriptor : NSCopying { IMTLDynamicLibrary [] PreloadedLibraries { get; set; } } - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLStageInputOutputDescriptor : NSCopying { @@ -4433,7 +4269,7 @@ interface MTLStageInputOutputDescriptor : NSCopying { void Reset (); } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLType { @@ -4441,7 +4277,7 @@ interface MTLType { MTLDataType DataType { get; } } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (MTLType))] interface MTLPointerType { @@ -4467,7 +4303,7 @@ interface MTLPointerType { MTLArrayType ElementArrayType { get; } } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (MTLType))] interface MTLTextureReferenceType { @@ -4484,11 +4320,11 @@ interface MTLTextureReferenceType { bool IsDepthTexture { get; } } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] interface IMTLCaptureScope { } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] #if NET [Protocol, Model] @@ -4519,7 +4355,7 @@ interface MTLCaptureScope { } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4566,18 +4402,18 @@ interface MTLCaptureManager { [Export ("isCapturing")] bool IsCapturing { get; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("supportsDestination:")] bool SupportsDestination (MTLCaptureDestination destination); - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("startCaptureWithDescriptor:error:")] bool StartCapture (MTLCaptureDescriptor descriptor, [NullAllowed] out NSError error); } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLPipelineBufferDescriptor : NSCopying { @@ -4585,7 +4421,7 @@ interface MTLPipelineBufferDescriptor : NSCopying { MTLMutability Mutability { get; set; } } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLPipelineBufferDescriptorArray { @@ -4598,7 +4434,7 @@ interface MTLPipelineBufferDescriptorArray { void SetObject ([NullAllowed] MTLPipelineBufferDescriptor buffer, nuint bufferIndex); } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLArgumentDescriptor : NSCopying { @@ -4627,7 +4463,7 @@ interface MTLArgumentDescriptor : NSCopying { interface IMTLArgumentEncoder { } - [Mac (10, 13), iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface MTLArgumentEncoder { @@ -4690,7 +4526,6 @@ interface MTLArgumentEncoder { IntPtr GetConstantData (nuint index); [iOS (13, 0), TV (13, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4699,7 +4534,6 @@ interface MTLArgumentEncoder { void SetRenderPipelineState ([NullAllowed] IMTLRenderPipelineState pipeline, nuint index); [iOS (13, 0), TV (13, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4707,7 +4541,6 @@ interface MTLArgumentEncoder { [Export ("setRenderPipelineStates:withRange:")] void SetRenderPipelineStates (IMTLRenderPipelineState [] pipelines, NSRange range); - [Mac (10, 14)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4715,7 +4548,6 @@ interface MTLArgumentEncoder { [Export ("setIndirectCommandBuffer:atIndex:")] void SetIndirectCommandBuffer ([NullAllowed] IMTLIndirectCommandBuffer indirectCommandBuffer, nuint index); - [Mac (10, 14)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -4790,7 +4622,7 @@ interface MTLArgumentEncoder { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [BaseType (typeof (NSObject))] interface MTLTileRenderPipelineColorAttachmentDescriptor : NSCopying { @@ -4799,7 +4631,7 @@ interface MTLTileRenderPipelineColorAttachmentDescriptor : NSCopying { } [Introduced (PlatformName.MacCatalyst, 14, 0)] - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [BaseType (typeof (NSObject))] interface MTLTileRenderPipelineColorAttachmentDescriptorArray { @@ -4857,7 +4689,7 @@ interface MTLBinaryArchive { [Introduced (PlatformName.MacCatalyst, 14, 0)] - [iOS (11, 0), Mac (11, 0), NoWatch] + [Mac (11, 0), NoWatch] [TV (14, 5)] [BaseType (typeof (NSObject))] interface MTLTileRenderPipelineDescriptor : NSCopying { @@ -4912,7 +4744,7 @@ interface MTLTileRenderPipelineDescriptor : NSCopying { interface IMTLEvent { } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Protocol] interface MTLEvent { @@ -4925,7 +4757,7 @@ interface MTLEvent { string Label { get; set; } } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] @@ -4942,7 +4774,7 @@ interface MTLSharedEventListener { interface IMTLSharedEvent { } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Protocol] interface MTLSharedEvent : MTLEvent { @@ -4960,7 +4792,7 @@ interface MTLSharedEvent : MTLEvent { ulong SignaledValue { get; set; } } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLSharedEventHandle : NSSecureCoding { @@ -4970,7 +4802,7 @@ interface MTLSharedEventHandle : NSSecureCoding { interface IMTLIndirectRenderCommand { } - [Mac (10, 14), iOS (12, 0)] + [iOS (12, 0)] [MacCatalyst (13, 1)] [Protocol] interface MTLIndirectRenderCommand { @@ -5023,7 +4855,7 @@ interface MTLIndirectRenderCommand { void Reset (); } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLIndirectCommandBufferDescriptor : NSCopying { @@ -5052,7 +4884,7 @@ interface MTLIndirectCommandBufferDescriptor : NSCopying { interface IMTLIndirectCommandBuffer { } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Protocol] interface MTLIndirectCommandBuffer : MTLResource { @@ -5077,7 +4909,7 @@ interface MTLIndirectCommandBuffer : MTLResource { IMTLIndirectComputeCommand GetIndirectComputeCommand (nuint commandIndex); } - [iOS (13, 0), TV (13, 0), Mac (10, 14)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -5090,7 +4922,7 @@ interface MTLSharedTextureHandle : NSSecureCoding { } [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [BaseType (typeof (NSObject))] interface MTLRasterizationRateSampleArray { [Export ("objectAtIndexedSubscript:")] @@ -5101,7 +4933,7 @@ interface MTLRasterizationRateSampleArray { } [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [BaseType (typeof (NSObject))] interface MTLRasterizationRateMapDescriptor : NSCopying { [Static] @@ -5141,7 +4973,7 @@ interface MTLRasterizationRateMapDescriptor : NSCopying { } [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface MTLRasterizationRateLayerDescriptor : NSCopying { @@ -5182,7 +5014,7 @@ interface MTLRasterizationRateLayerDescriptor : NSCopying { } [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [BaseType (typeof (NSObject))] interface MTLRasterizationRateLayerArray { [Export ("objectAtIndexedSubscript:")] @@ -5196,7 +5028,7 @@ interface MTLRasterizationRateLayerArray { interface IMTLRasterizationRateMap { } [Introduced (PlatformName.MacCatalyst, 13, 4)] - [Mac (10, 15, 4), NoTV, iOS (13, 0)] + [NoTV, iOS (13, 0)] [Protocol] interface MTLRasterizationRateMap { [Abstract] @@ -5277,7 +5109,7 @@ interface MTLResourceStateCommandEncoder : MTLCommandEncoder { void Wait (IMTLFence fence); } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MTLCaptureDescriptor : NSCopying { @@ -5344,7 +5176,7 @@ interface MTLIndirectComputeCommand { interface IMTLCounter { } - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Protocol] #if !NET @@ -5358,7 +5190,7 @@ interface MTLCounter { interface IMTLCounterSet { } - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Protocol] #if !NET @@ -5376,7 +5208,7 @@ interface MTLCounterSet { interface IMTLCounterSampleBuffer { } - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [Protocol] #if !NET @@ -5401,7 +5233,7 @@ interface MTLCounterSampleBuffer { NSData ResolveCounterRange (NSRange range); } - [iOS (14, 0), TV (14, 0), Mac (10, 15)] + [iOS (14, 0), TV (14, 0)] [MacCatalyst (14, 0)] [BaseType (typeof (NSObject))] interface MTLCounterSampleBufferDescriptor : NSCopying { diff --git a/src/metalkit.cs b/src/metalkit.cs index 2a1756e6d6d7..f11a4e1d931e 100644 --- a/src/metalkit.cs +++ b/src/metalkit.cs @@ -21,8 +21,6 @@ namespace MetalKit { interface NSDisplayGamut { } #endif - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] interface MTKModel { @@ -34,8 +32,6 @@ interface MTKModel { NSString ErrorKey { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] #if MONOMAC [BaseType (typeof (AppKit.NSView))] @@ -117,42 +113,35 @@ interface MTKView : NSCoding, CALayerDelegate { [NoiOS] [NoTV] - [Mac (10, 12)] [NoMacCatalyst] [NullAllowed, Export ("colorspace", ArgumentSemantic.Assign)] CGColorSpace ColorSpace { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [NullAllowed, Export ("preferredDevice")] IMTLDevice PreferredDevice { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("preferredDrawableSize")] CGSize PreferredDrawableSize { get; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("depthStencilAttachmentTextureUsage", ArgumentSemantic.Assign)] MTLTextureUsage DepthStencilAttachmentTextureUsage { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("multisampleColorAttachmentTextureUsage", ArgumentSemantic.Assign)] MTLTextureUsage MultisampleColorAttachmentTextureUsage { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -166,8 +155,6 @@ interface MTKViewDelegate { void Draw (MTKView view); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] interface MTKTextureLoaderError { @@ -179,8 +166,6 @@ interface MTKTextureLoaderError { NSString Key { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static, Internal] interface MTKTextureLoaderKeys { @@ -188,9 +173,6 @@ interface MTKTextureLoaderKeys { [Field ("MTKTextureLoaderOptionAllocateMipmaps")] NSString AllocateMipmapsKey { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MTKTextureLoaderOptionGenerateMipmaps")] NSString GenerateMipmapsKey { get; } @@ -204,40 +186,25 @@ interface MTKTextureLoaderKeys { [Field ("MTKTextureLoaderOptionTextureCPUCacheMode")] NSString TextureCpuCacheModeKey { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MTKTextureLoaderOptionTextureStorageMode")] NSString TextureStorageModeKey { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MTKTextureLoaderOptionCubeLayout")] NSString CubeLayoutKey { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("MTKTextureLoaderOptionOrigin")] NSString OriginKey { get; } } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] enum MTKTextureLoaderCubeLayout { [Field ("MTKTextureLoaderCubeLayoutVertical")] Vertical, } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] enum MTKTextureLoaderOrigin { [Field ("MTKTextureLoaderOriginTopLeft")] @@ -252,27 +219,18 @@ enum MTKTextureLoaderOrigin { interface MTKTextureLoaderOptions { bool AllocateMipmaps { get; set; } - [TV (10, 0)] - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] bool GenerateMipmaps { get; } bool Srgb { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] delegate void MTKTextureLoaderCallback ([NullAllowed] IMTLTexture texture, [NullAllowed] NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] delegate void MTKTextureLoaderArrayCallback (IMTLTexture [] textures, [NullAllowed] NSError error); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -312,28 +270,20 @@ interface MTKTextureLoader { [return: NullAllowed] IMTLTexture FromUrl (NSUrl url, [NullAllowed] MTKTextureLoaderOptions options, out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("newTexturesWithContentsOfURLs:options:completionHandler:")] [Async] void FromUrls (NSUrl [] urls, [NullAllowed] NSDictionary options, MTKTextureLoaderArrayCallback completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("FromUrls (urls, options.GetDictionary (), completionHandler)")] [Async] void FromUrls (NSUrl [] urls, [NullAllowed] MTKTextureLoaderOptions options, MTKTextureLoaderArrayCallback completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("newTexturesWithContentsOfURLs:options:error:")] IMTLTexture [] FromUrls (NSUrl [] urls, [NullAllowed] NSDictionary options, out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("FromUrls (urls, options.GetDictionary (), out error)")] IMTLTexture [] FromUrls (NSUrl [] urls, [NullAllowed] MTKTextureLoaderOptions options, out NSError error); @@ -354,15 +304,11 @@ interface MTKTextureLoader { [return: NullAllowed] IMTLTexture FromCGImage (CGImage cgImage, [NullAllowed] MTKTextureLoaderOptions options, out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("newTextureWithName:scaleFactor:bundle:options:completionHandler:")] [Async] void FromName (string name, nfloat scaleFactor, [NullAllowed] NSBundle bundle, [NullAllowed] NSDictionary options, MTKTextureLoaderCallback completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("FromName (name, scaleFactor, bundle, options.GetDictionary (), completionHandler)")] [Async] @@ -370,7 +316,6 @@ interface MTKTextureLoader { [NoiOS] [NoTV] - [Mac (10, 12)] [NoMacCatalyst] [Export ("newTextureWithName:scaleFactor:displayGamut:bundle:options:completionHandler:")] [Async] @@ -378,21 +323,16 @@ interface MTKTextureLoader { [NoiOS] [NoTV] - [Mac (10, 12)] [NoMacCatalyst] [Wrap ("FromName (name, scaleFactor, displayGamut, bundle, options.GetDictionary (), completionHandler)")] [Async] void FromName (string name, nfloat scaleFactor, NSDisplayGamut displayGamut, [NullAllowed] NSBundle bundle, [NullAllowed] MTKTextureLoaderOptions options, MTKTextureLoaderCallback completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("newTexturesWithNames:scaleFactor:bundle:options:completionHandler:")] [Async] void FromNames (string [] names, nfloat scaleFactor, [NullAllowed] NSBundle bundle, [NullAllowed] NSDictionary options, MTKTextureLoaderArrayCallback completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("FromNames (names, scaleFactor, bundle, options.GetDictionary (), completionHandler)")] [Async] @@ -400,7 +340,6 @@ interface MTKTextureLoader { [NoiOS] [NoTV] - [Mac (10, 12)] [NoMacCatalyst] [Async] [Export ("newTexturesWithNames:scaleFactor:displayGamut:bundle:options:completionHandler:")] @@ -408,49 +347,36 @@ interface MTKTextureLoader { [NoiOS] [NoTV] - [Mac (10, 12)] [NoMacCatalyst] [Wrap ("FromNames (names, scaleFactor, displayGamut, bundle, options.GetDictionary (), completionHandler)")] [Async] void FromNames (string [] names, nfloat scaleFactor, NSDisplayGamut displayGamut, [NullAllowed] NSBundle bundle, [NullAllowed] MTKTextureLoaderOptions options, MTKTextureLoaderArrayCallback completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("newTextureWithMDLTexture:options:completionHandler:")] [Async] void FromTexture (MDLTexture texture, [NullAllowed] NSDictionary options, MTKTextureLoaderCallback completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("FromTexture (texture, options.GetDictionary (), completionHandler)")] [Async] void FromTexture (MDLTexture texture, [NullAllowed] MTKTextureLoaderOptions options, MTKTextureLoaderCallback completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("newTextureWithMDLTexture:options:error:")] [return: NullAllowed] IMTLTexture FromTexture (MDLTexture texture, [NullAllowed] NSDictionary options, out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("FromTexture (texture, options.GetDictionary (), out error)")] [return: NullAllowed] IMTLTexture FromTexture (MDLTexture texture, [NullAllowed] MTKTextureLoaderOptions options, out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("newTextureWithName:scaleFactor:bundle:options:error:")] [return: NullAllowed] IMTLTexture FromName (string name, nfloat scaleFactor, [NullAllowed] NSBundle bundle, [NullAllowed] NSDictionary options, out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("FromName (name, scaleFactor, bundle, options.GetDictionary (), out error)")] [return: NullAllowed] @@ -458,7 +384,6 @@ interface MTKTextureLoader { [NoiOS] [NoTV] - [Mac (10, 12)] [NoMacCatalyst] [Export ("newTextureWithName:scaleFactor:displayGamut:bundle:options:error:")] [return: NullAllowed] @@ -466,15 +391,12 @@ interface MTKTextureLoader { [NoiOS] [NoTV] - [Mac (10, 12)] [NoMacCatalyst] [Wrap ("FromName (name, scaleFactor, displayGamut, bundle, options.GetDictionary (), out error)")] [return: NullAllowed] IMTLTexture FromName (string name, nfloat scaleFactor, NSDisplayGamut displayGamut, [NullAllowed] NSBundle bundle, [NullAllowed] MTKTextureLoaderOptions options, [NullAllowed] out NSError error); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // init is NS_UNAVAILABLE @@ -486,8 +408,6 @@ interface MTKMeshBufferAllocator : MDLMeshBufferAllocator { IMTLDevice Device { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -499,8 +419,6 @@ interface MTKMeshBuffer : MDLMeshBuffer, MDLNamed { nuint Offset { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -524,8 +442,6 @@ interface MTKSubmesh { string Name { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // init NS_UNAVAILABLE diff --git a/src/metalperformanceshaders.cs b/src/metalperformanceshaders.cs index ada8477ec8f7..fb8857d66a79 100644 --- a/src/metalperformanceshaders.cs +++ b/src/metalperformanceshaders.cs @@ -17,8 +17,6 @@ namespace MetalPerformanceShaders { // MPSImageConvolution.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -42,16 +40,12 @@ interface MPSImageConvolution { [Export ("initWithDevice:")] NativeHandle Constructor (IMTLDevice device); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -66,20 +60,16 @@ interface MPSImageLaplacian { NativeHandle Constructor (IMTLDevice device); // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] interface MPSImageBox { - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -98,8 +88,6 @@ interface MPSImageBox { // [Export ("initWithDevice:")] marked as NS_UNAVAILABLE - You must use initWithDevice:kernelWidth:kernelHeight: instead. } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageBox))] [DisableDefaultCtor] @@ -112,13 +100,10 @@ interface MPSImageTent { NativeHandle Constructor (IMTLDevice device, nuint kernelWidth, nuint kernelHeight); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] interface MPSImageGaussianBlur { - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -134,14 +119,11 @@ interface MPSImageGaussianBlur { float Sigma { get; } } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] interface MPSImageSobel { // inlining .ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -159,14 +141,10 @@ interface MPSImageSobel { IntPtr /* float* */ _ColorTransform { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] interface MPSImagePyramid { - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -189,9 +167,6 @@ interface MPSImagePyramid { nuint KernelWidth { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImagePyramid))] [DisableDefaultCtor] @@ -204,7 +179,6 @@ interface MPSImageGaussianPyramid { IntPtr InitWithDevice (IMTLDevice device, nuint kernelWidth, nuint kernelHeight, /* float* */ IntPtr kernelWeights); // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -213,13 +187,10 @@ interface MPSImageGaussianPyramid { // MPSImageHistogram.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] interface MPSImageHistogram { - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -252,7 +223,6 @@ MPSImageHistogramInfo HistogramInfo { [Export ("histogramSizeForSourceFormat:")] nuint GetHistogramSize (MTLPixelFormat sourceFormat); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("minPixelThresholdValue", ArgumentSemantic.Assign)] Vector4 MinPixelThresholdValue { @@ -263,8 +233,6 @@ Vector4 MinPixelThresholdValue { } } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -283,15 +251,12 @@ MPSImageHistogramInfo HistogramInfo { [Export ("encodeTransformToCommandBuffer:sourceTexture:histogram:histogramOffset:")] void EncodeTransformToCommandBuffer (IMTLCommandBuffer commandBuffer, IMTLTexture source, IMTLBuffer histogram, nuint histogramOffset); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -310,7 +275,6 @@ MPSImageHistogramInfo HistogramInfo { [Export ("encodeTransformToCommandBuffer:sourceTexture:sourceHistogram:sourceHistogramOffset:desiredHistogram:desiredHistogramOffset:")] void EncodeTransformToCommandBuffer (IMTLCommandBuffer commandBuffer, IMTLTexture source, IMTLBuffer sourceHistogram, nuint sourceHistogramOffset, IMTLBuffer desiredHistogram, nuint desiredHistogramOffset); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -319,8 +283,6 @@ MPSImageHistogramInfo HistogramInfo { // MPSImageIntegral.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -331,15 +293,12 @@ interface MPSImageIntegral { NativeHandle Constructor (IMTLDevice device); // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -350,7 +309,6 @@ interface MPSImageIntegralOfSquares { NativeHandle Constructor (IMTLDevice device); // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -359,8 +317,6 @@ interface MPSImageIntegralOfSquares { // MPSImageKernel.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] @@ -381,7 +337,6 @@ interface MPSUnaryImageKernel { [Export ("encodeToCommandBuffer:sourceTexture:destinationTexture:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, IMTLTexture sourceTexture, IMTLTexture destinationTexture); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("encodeToCommandBuffer:sourceImage:destinationImage:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, MPSImage destinationImage); @@ -395,20 +350,16 @@ interface MPSUnaryImageKernel { [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] interface MPSBinaryImageKernel { - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -440,7 +391,6 @@ interface MPSBinaryImageKernel { [Export ("encodeToCommandBuffer:primaryTexture:secondaryTexture:destinationTexture:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, IMTLTexture primaryTexture, IMTLTexture secondaryTexture, IMTLTexture destinationTexture); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("encodeToCommandBuffer:primaryImage:secondaryImage:destinationImage:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage primaryImage, MPSImage secondaryImage, MPSImage destinationImage); @@ -460,8 +410,6 @@ interface MPSBinaryImageKernel { // MPSImageMedian.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -483,7 +431,6 @@ interface MPSImageMedian { [Export ("minKernelDiameter")] nuint MinKernelDiameter { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -492,8 +439,6 @@ interface MPSImageMedian { // MPSImageMorphology.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -508,7 +453,6 @@ interface MPSImageAreaMax { [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, nuint kernelWidth, nuint kernelHeight); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -517,8 +461,6 @@ interface MPSImageAreaMax { // [Export ("initWithDevice:")] is NS_UNAVAILABLE - You must use initWithDevice:kernelWidth:kernelHeight: instead. } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageAreaMax))] [DisableDefaultCtor] @@ -530,8 +472,6 @@ interface MPSImageAreaMin { NativeHandle Constructor (IMTLDevice device, nuint kernelWidth, nuint kernelHeight); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -549,15 +489,12 @@ interface MPSImageDilate { // [Export ("initWithDevice:")] is NS_UNAVAILABLE - You must use initWithDevice:kernelWidth:kernelHeight:values: instead. instead. // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageDilate))] [DisableDefaultCtor] @@ -566,7 +503,6 @@ interface MPSImageErode { // inlining ctor from base class -> done in manual bindings (wrt float* argument) // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -575,8 +511,6 @@ interface MPSImageErode { // MPSImageResampling.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageScale))] [DisableDefaultCtor] @@ -588,7 +522,6 @@ interface MPSImageLanczosScale { NativeHandle Constructor (IMTLDevice device); // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -597,8 +530,6 @@ interface MPSImageLanczosScale { // MPSImageThreshold.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -620,15 +551,12 @@ interface MPSImageThresholdBinary { IntPtr _Transform { get; } // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -650,15 +578,12 @@ interface MPSImageThresholdBinaryInverse { IntPtr _Transform { get; } // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -677,15 +602,12 @@ interface MPSImageThresholdTruncate { IntPtr _Transform { get; } // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -704,15 +626,12 @@ interface MPSImageThresholdToZero { IntPtr _Transform { get; } // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -731,7 +650,6 @@ interface MPSImageThresholdToZeroInverse { IntPtr _Transform { get; } // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -740,13 +658,10 @@ interface MPSImageThresholdToZeroInverse { // MPSKernel.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface MPSKernel : NSCopying, NSSecureCoding { - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -772,8 +687,6 @@ interface MPSKernel : NSCopying, NSSecureCoding { // MPSImageTranspose.h - [iOS (9, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -785,7 +698,6 @@ interface MPSImageTranspose { NativeHandle Constructor (IMTLDevice device); // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -794,9 +706,6 @@ interface MPSImageTranspose { // MPSCNN.h - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel), Name = "MPSCNNKernel")] [Abstract] @@ -817,12 +726,12 @@ interface MPSCnnKernel { [Export ("destinationFeatureChannelOffset")] nuint DestinationFeatureChannelOffset { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("sourceFeatureChannelMaxCount")] nuint SourceFeatureChannelMaxCount { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("sourceFeatureChannelOffset")] nuint SourceFeatureChannelOffset { get; set; } @@ -833,17 +742,17 @@ interface MPSCnnKernel { [Export ("encodeToCommandBuffer:sourceImage:destinationImage:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] // keeping same name to match existing member + [TV (11, 3), iOS (11, 3)] // keeping same name to match existing member [MacCatalyst (13, 1)] [Export ("encodeToCommandBuffer:sourceImage:destinationState:destinationImage:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, MPSState destinationState, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:sourceImages:destinationImages:")] void EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImages, NSArray destinationImages); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:sourceImages:destinationStates:destinationImages:")] void EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImages, [NullAllowed] NSArray destinationStates, NSArray destinationImages); @@ -852,125 +761,112 @@ interface MPSCnnKernel { MPSRegion GetSourceRegion (MTLSize destinationSize); //inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("isBackwards")] bool IsBackwards { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("isStateModified")] bool IsStateModified { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("padding", ArgumentSemantic.Retain)] IMPSNNPadding Padding { get; set; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("destinationImageAllocator", ArgumentSemantic.Retain)] IMPSImageAllocator DestinationImageAllocator { get; set; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("encodeToCommandBuffer:sourceImage:")] MPSImage EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage sourceImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeToCommandBuffer:sourceImage:destinationState:destinationStateIsTemporary:")] MPSImage EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, [NullAllowed] out MPSState outState, bool isTemporary); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:sourceImages:")] NSArray EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImages); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:sourceImages:destinationStates:destinationStateIsTemporary:")] NSArray EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImages, [NullAllowed] out NSArray outStates, bool isTemporary); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("resultStateForSourceImage:sourceStates:destinationImage:")] [return: NullAllowed] MPSState GetResultState (MPSImage sourceImage, [NullAllowed] NSArray sourceStates, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("resultStateBatchForSourceImage:sourceStates:destinationImage:")] [return: NullAllowed] NSArray GetResultStateBatch (NSArray sourceImage, [NullAllowed] NSArray [] sourceStates, NSArray destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("temporaryResultStateForCommandBuffer:sourceImage:sourceStates:destinationImage:")] [return: NullAllowed] MPSState GetTemporaryResultState (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, [NullAllowed] NSArray sourceStates, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("temporaryResultStateBatchForCommandBuffer:sourceImage:sourceStates:destinationImage:")] [return: NullAllowed] NSArray GetTemporaryResultStateBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImage, [NullAllowed] NSArray [] sourceStates, NSArray destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("isResultStateReusedAcrossBatch")] bool IsResultStateReusedAcrossBatch { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("appendBatchBarrier")] bool AppendBatchBarrier { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("destinationImageDescriptorForSourceImages:sourceStates:")] MPSImageDescriptor GetDestinationImageDescriptor (NSArray sourceImages, [NullAllowed] NSArray sourceStates); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("kernelWidth")] nuint KernelWidth { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("kernelHeight")] nuint KernelHeight { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("strideInPixelsX")] nuint StrideInPixelsX { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("strideInPixelsY")] nuint StrideInPixelsY { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("dilationRateX")] nuint DilationRateX { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("dilationRateY")] nuint DilationRateY { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNNeuron")] [Abstract] // You must use one of the sub-classes of MPSCNNNeuron @@ -982,47 +878,42 @@ interface MPSCnnNeuron { NativeHandle Constructor (IMTLDevice device); // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [DesignatedInitializer] [Export ("initWithCoder:device:")] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); - [TV (11, 0), Mac (10, 13, 4), iOS (11, 3)] + [iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("neuronType")] MPSCnnNeuronType NeuronType { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("a")] float A { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("b")] float B { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("c")] float C { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("data", ArgumentSemantic.Retain)] NSData Data { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronLinear")] [DisableDefaultCtor] @@ -1041,16 +932,13 @@ interface MPSCnnNeuronLinear { [Export ("initWithDevice:a:b:")] NativeHandle Constructor (IMTLDevice device, float a, float b); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronReLU")] [DisableDefaultCtor] @@ -1066,16 +954,13 @@ interface MPSCnnNeuronReLU { [Export ("initWithDevice:a:")] NativeHandle Constructor (IMTLDevice device, float a); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronSigmoid")] [DisableDefaultCtor] @@ -1088,16 +973,13 @@ interface MPSCnnNeuronSigmoid { [Export ("initWithDevice:")] NativeHandle Constructor (IMTLDevice device); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronTanH")] [DisableDefaultCtor] @@ -1118,16 +1000,13 @@ interface MPSCnnNeuronTanH { // [Export ("initWithDevice:")] marked as NS_UNAVAILABLE - Use initWithDevice:a:b: instead - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronAbsolute")] [DisableDefaultCtor] @@ -1141,16 +1020,13 @@ interface MPSCnnNeuronAbsolute { [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MPSCNNConvolutionDescriptor")] [DisableDefaultCtor] @@ -1190,24 +1066,20 @@ interface MPSCnnConvolutionDescriptor : NSCopying, NSSecureCoding { [Export ("cnnConvolutionDescriptorWithKernelWidth:kernelHeight:inputFeatureChannels:outputFeatureChannels:neuronFilter:")] MPSCnnConvolutionDescriptor GetConvolutionDescriptor (nuint kernelWidth, nuint kernelHeight, nuint inputFeatureChannels, nuint outputFeatureChannels, [NullAllowed] MPSCnnNeuron neuronFilter); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportsSecureCoding")] bool SupportsSecureCoding { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("cnnConvolutionDescriptorWithKernelWidth:kernelHeight:inputFeatureChannels:outputFeatureChannels:")] MPSCnnConvolutionDescriptor CreateCnnConvolutionDescriptor (nuint kernelWidth, nuint kernelHeight, nuint inputFeatureChannels, nuint outputFeatureChannels); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal, Export ("setBatchNormalizationParametersForInferenceWithMean:variance:gamma:beta:epsilon:")] void SetBatchNormalizationParameters (IntPtr /* float* */ mean, IntPtr /* float* */ variance, [NullAllowed] IntPtr /* float* */ gamma, [NullAllowed] IntPtr /* float* */ beta, float epsilon); - [TV (11, 0), iOS (11, 0)] [Deprecated (PlatformName.TvOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.iOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, 4, message: "Use 'FusedNeuronDescriptor' property instead.")] @@ -1216,7 +1088,6 @@ interface MPSCnnConvolutionDescriptor : NSCopying, NSSecureCoding { [Export ("setNeuronType:parameterA:parameterB:")] void SetNeuronType (MPSCnnNeuronType neuronType, float parameterA, float parameterB); - [TV (11, 0), iOS (11, 0)] [Deprecated (PlatformName.TvOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.iOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, 4, message: "Use 'FusedNeuronDescriptor' property instead.")] @@ -1225,7 +1096,6 @@ interface MPSCnnConvolutionDescriptor : NSCopying, NSSecureCoding { [Export ("neuronType")] MPSCnnNeuronType NeuronType { get; } - [TV (11, 0), iOS (11, 0)] [Deprecated (PlatformName.TvOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.iOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, 4, message: "Use 'FusedNeuronDescriptor' property instead.")] @@ -1234,7 +1104,6 @@ interface MPSCnnConvolutionDescriptor : NSCopying, NSSecureCoding { [Export ("neuronParameterA")] float NeuronParameterA { get; } - [TV (11, 0), iOS (11, 0)] [Deprecated (PlatformName.TvOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.iOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, 4, message: "Use 'FusedNeuronDescriptor' property instead.")] @@ -1243,7 +1112,6 @@ interface MPSCnnConvolutionDescriptor : NSCopying, NSSecureCoding { [Export ("neuronParameterB")] float NeuronParameterB { get; } - [TV (11, 0), iOS (11, 0)] [Deprecated (PlatformName.TvOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.iOS, 11, 3, message: "Use 'FusedNeuronDescriptor' property instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, 4, message: "Use 'FusedNeuronDescriptor' property instead.")] @@ -1252,25 +1120,20 @@ interface MPSCnnConvolutionDescriptor : NSCopying, NSSecureCoding { [Export ("setNeuronToPReLUWithParametersA:")] void SetNeuronToPReLU (NSData A); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dilationRateX")] nuint DilationRateX { get; set; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dilationRateY")] nuint DilationRateY { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("fusedNeuronDescriptor", ArgumentSemantic.Retain)] MPSNNNeuronDescriptor FusedNeuronDescriptor { get; set; } } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -1278,9 +1141,6 @@ public enum MPSCnnConvolutionFlags : ulong { None = 0 } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNConvolution")] [DisableDefaultCtor] @@ -1311,7 +1171,7 @@ interface MPSCnnConvolution { [Export ("groups")] nuint Groups { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("dataSource", ArgumentSemantic.Retain)] IMPSCnnConvolutionDataSource DataSource { get; } @@ -1328,39 +1188,33 @@ interface MPSCnnConvolution { // [Export ("initWithDevice:")] marked as NS_UNAVAILABLE - Use initWithDevice:convolutionDescriptor:kernelWeights:biasTerms instead - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:weights:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, IMPSCnnConvolutionDataSource weights); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dilationRateX")] nuint DilationRateX { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dilationRateY")] nuint DilationRateY { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("channelMultiplier")] nuint ChannelMultiplier { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("accumulatorPrecisionOption", ArgumentSemantic.Assign)] MPSNNConvolutionAccumulatorPrecisionOption AccumulatorPrecisionOption { get; set; } - [TV (11, 0), iOS (11, 0)] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] @@ -1369,7 +1223,6 @@ interface MPSCnnConvolution { [Export ("neuronType")] MPSCnnNeuronType NeuronType { get; } - [TV (11, 0), iOS (11, 0)] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] @@ -1378,7 +1231,6 @@ interface MPSCnnConvolution { [Export ("neuronParameterA")] float NeuronParameterA { get; } - [TV (11, 0), iOS (11, 0)] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] @@ -1387,7 +1239,7 @@ interface MPSCnnConvolution { [Export ("neuronParameterB")] float NeuronParameterB { get; } - [TV (11, 2), iOS (11, 2), Mac (10, 13, 2)] + [TV (11, 2), iOS (11, 2)] [Deprecated (PlatformName.TvOS, 12, 0, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'FusedNeuronDescriptor' property of convolution descriptor instead.")] @@ -1396,46 +1248,45 @@ interface MPSCnnConvolution { [Export ("neuronParameterC")] float NeuronParameterC { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("subPixelScaleFactor")] nuint SubPixelScaleFactor { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fusedNeuronDescriptor")] MPSNNNeuronDescriptor FusedNeuronDescriptor { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("resultStateForSourceImage:sourceStates:destinationImage:")] [return: NullAllowed] MPSCnnConvolutionGradientState GetResultState (MPSImage sourceImage, [NullAllowed] NSArray sourceStates, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("resultStateBatchForSourceImage:sourceStates:destinationImage:")] [return: NullAllowed] MPSCnnConvolutionGradientState [] GetResultStateBatch (NSArray sourceImage, [NullAllowed] NSArray [] sourceStates, NSArray destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("temporaryResultStateForCommandBuffer:sourceImage:sourceStates:destinationImage:")] [return: NullAllowed] MPSCnnConvolutionGradientState GetTemporaryResultState (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, [NullAllowed] NSArray sourceStates, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("temporaryResultStateBatchForCommandBuffer:sourceImage:sourceStates:destinationImage:")] [return: NullAllowed] MPSCnnConvolutionGradientState [] GetTemporaryResultStateBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImage, [NullAllowed] NSArray [] sourceStates, NSArray destinationImage); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("reloadWeightsAndBiasesFromDataSource")] void ReloadWeightsAndBiasesFromDataSource (); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [Deprecated (PlatformName.TvOS, 12, 0, message: "Please use 'ReloadWeightsAndBiasesFromDataSource' instead.")] [Deprecated (PlatformName.iOS, 12, 0, message: "Please use 'ReloadWeightsAndBiasesFromDataSource' instead.")] [Deprecated (PlatformName.MacOSX, 10, 14, message: "Please use 'ReloadWeightsAndBiasesFromDataSource' instead.")] @@ -1444,20 +1295,17 @@ interface MPSCnnConvolution { [Export ("reloadWeightsAndBiasesWithDataSource:")] void ReloadWeightsAndBiases (IMPSCnnConvolutionDataSource dataSource); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("reloadWeightsAndBiasesWithCommandBuffer:state:")] void ReloadWeightsAndBiases (IMTLCommandBuffer commandBuffer, MPSCnnConvolutionWeightsAndBiasesState state); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("exportWeightsAndBiasesWithCommandBuffer:resultStateCanBeTemporary:")] MPSCnnConvolutionWeightsAndBiasesState ExportWeightsAndBiases (IMTLCommandBuffer commandBuffer, bool resultStateCanBeTemporary); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnConvolution), Name = "MPSCNNFullyConnected")] [DisableDefaultCtor] @@ -1470,22 +1318,17 @@ interface MPSCnnFullyConnected { // [Export ("initWithDevice:")] marked as NS_UNAVAILABLE - Use initWithDevice:convolutionDescriptor:kernelWeights:biasTerms instead // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:weights:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, IMPSCnnConvolutionDataSource weights); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNPooling")] [DisableDefaultCtor] @@ -1516,16 +1359,12 @@ interface MPSCnnPooling { // [Export ("initWithDevice:")] marked as NS_UNAVAILABLE - Use initWithDevice:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY: instead - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPooling), Name = "MPSCNNPoolingMax")] [DisableDefaultCtor] @@ -1537,16 +1376,12 @@ interface MPSCnnPoolingMax { [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, nuint kernelWidth, nuint kernelHeight, nuint strideInPixelsX, nuint strideInPixelsY); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPooling), Name = "MPSCNNPoolingAverage")] [DisableDefaultCtor] @@ -1558,26 +1393,20 @@ interface MPSCnnPoolingAverage { [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, nuint kernelWidth, nuint kernelHeight, nuint strideInPixelsX, nuint strideInPixelsY); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("zeroPadSizeX")] nuint ZeroPadSizeX { get; set; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("zeroPadSizeY")] nuint ZeroPadSizeY { get; set; } } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNSpatialNormalization")] [DisableDefaultCtor] @@ -1606,14 +1435,13 @@ interface MPSCnnSpatialNormalization { // [Export ("initWithDevice:")] marked as NS_UNAVAILABLE - Use initWithDevice:kernelWidth:kernelHeight instead - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNSpatialNormalizationGradient")] [DisableDefaultCtor] @@ -1637,9 +1465,6 @@ interface MPSCnnSpatialNormalizationGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNLocalContrastNormalization")] [DisableDefaultCtor] @@ -1677,14 +1502,13 @@ interface MPSCnnLocalContrastNormalization { // [Export ("initWithDevice:")] marked as NS_UNAVAILABLE - Use initWithDevice:kernelWidth:kernelHeight instead - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNLocalContrastNormalizationGradient")] [DisableDefaultCtor] @@ -1717,9 +1541,6 @@ interface MPSCnnLocalContrastNormalizationGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNCrossChannelNormalization")] [DisableDefaultCtor] @@ -1743,14 +1564,13 @@ interface MPSCnnCrossChannelNormalization { // [Export ("initWithDevice:")] marked as NS_UNAVAILABLE - Use initWithDevice:kernelSize: instead - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNCrossChannelNormalizationGradient")] [DisableDefaultCtor] @@ -1777,9 +1597,6 @@ interface MPSCnnCrossChannelNormalizationGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNSoftMax")] [DisableDefaultCtor] @@ -1792,7 +1609,7 @@ interface MPSCnnSoftMax { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNSoftMaxGradient")] [DisableDefaultCtor] @@ -1807,9 +1624,6 @@ interface MPSCnnSoftMaxGradient { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNLogSoftMax")] [DisableDefaultCtor] @@ -1822,7 +1636,7 @@ interface MPSCnnLogSoftMax { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNLogSoftMaxGradient")] [DisableDefaultCtor] @@ -1839,9 +1653,6 @@ interface MPSCnnLogSoftMaxGradient { // MPSImage.h - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1883,9 +1694,6 @@ interface MPSImageDescriptor : NSCopying { MPSImageDescriptor GetImageDescriptor (MPSImageFeatureChannelFormat channelFormat, nuint width, nuint height, nuint featureChannels, nuint numberOfImages, MTLTextureUsage usage); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -1897,15 +1705,11 @@ public enum MPSPurgeableState : ulong { Empty = MTLPurgeableState.Empty } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface MPSImage { - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultAllocator")] @@ -1938,7 +1742,7 @@ interface MPSImage { [Export ("usage")] MTLTextureUsage Usage { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("featureChannelFormat")] MPSImageFeatureChannelFormat FeatureChannelFormat { get; } @@ -1952,7 +1756,7 @@ interface MPSImage { [NullAllowed, Export ("label")] string Label { get; set; } - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [NullAllowed, Export ("parent", ArgumentSemantic.Retain)] MPSImage Parent { get; } @@ -1961,7 +1765,7 @@ interface MPSImage { NativeHandle Constructor (IMTLDevice device, MPSImageDescriptor imageDescriptor); [DesignatedInitializer] - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithParentImage:sliceRange:featureChannels:")] NativeHandle Constructor (MPSImage parent, NSRange sliceRange, nuint featureChannels); @@ -1969,22 +1773,22 @@ interface MPSImage { [Export ("initWithTexture:featureChannels:")] NativeHandle Constructor (IMTLTexture texture, nuint featureChannels); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("batchRepresentation")] NSArray BatchRepresentation { get; } - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("batchRepresentationWithSubRange:")] NSArray GetBatchRepresentation (NSRange subRange); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("subImageWithFeatureChannelRange:")] MPSImage GetSubImage (NSRange featureChannelRange); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("resourceSize")] nuint ResourceSize { get; } @@ -1992,56 +1796,48 @@ interface MPSImage { [Export ("setPurgeableState:")] MPSPurgeableState SetPurgeableState (MPSPurgeableState state); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("readBytes:dataLayout:bytesPerRow:region:featureChannelInfo:imageIndex:")] void ReadBytes (IntPtr /* void* */ dataBytes, MPSDataLayout dataLayout, nuint bytesPerRow, MTLRegion region, MPSImageReadWriteParams featureChannelInfo, nuint imageIndex); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("writeBytes:dataLayout:bytesPerRow:region:featureChannelInfo:imageIndex:")] void WriteBytes (IntPtr /* void* */ dataBytes, MPSDataLayout dataLayout, nuint bytesPerRow, MTLRegion region, MPSImageReadWriteParams featureChannelInfo, nuint imageIndex); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("writeBytes:dataLayout:bytesPerColumn:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")] void WriteBytes (IntPtr /* void* */ dataBytes, MPSDataLayout dataLayout, nuint bytesPerColumn, nuint bytesPerRow, nuint bytesPerImage, MTLRegion region, MPSImageReadWriteParams featureChannelInfo, nuint imageIndex); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("readBytes:dataLayout:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")] void ReadBytes (IntPtr /* void* */ dataBytes, MPSDataLayout dataLayout, nuint bytesPerRow, nuint bytesPerImage, MTLRegion region, MPSImageReadWriteParams featureChannelInfo, nuint imageIndex); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("writeBytes:dataLayout:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")] void WriteBytes (IntPtr /* void* */ dataBytes, MPSDataLayout dataLayout, nuint bytesPerRow, nuint bytesPerImage, MTLRegion region, MPSImageReadWriteParams featureChannelInfo, nuint imageIndex); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("readBytes:dataLayout:imageIndex:")] void ReadBytes (IntPtr /* void* */ dataBytes, MPSDataLayout dataLayout, nuint imageIndex); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("writeBytes:dataLayout:imageIndex:")] void WriteBytes (IntPtr /* void* */ dataBytes, MPSDataLayout dataLayout, nuint imageIndex); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("synchronizeOnCommandBuffer:")] void Synchronize (IMTLCommandBuffer commandBuffer); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImage))] [DisableDefaultCtor] interface MPSTemporaryImage { - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [New] @@ -2049,7 +1845,7 @@ interface MPSTemporaryImage { IMPSImageAllocator DefaultAllocator { get; } [DesignatedInitializer] - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithParentImage:sliceRange:featureChannels:")] NativeHandle Constructor (MPSImage parent, NSRange sliceRange, nuint featureChannels); @@ -2062,7 +1858,7 @@ interface MPSTemporaryImage { [Export ("temporaryImageWithCommandBuffer:textureDescriptor:")] MPSTemporaryImage GetTemporaryImage (IMTLCommandBuffer commandBuffer, MTLTextureDescriptor textureDescriptor); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("temporaryImageWithCommandBuffer:textureDescriptor:featureChannels:")] @@ -2076,7 +1872,7 @@ interface MPSTemporaryImage { nuint ReadCount { get; set; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MPSPredicate { @@ -2113,7 +1909,7 @@ interface MPSHeapProvider { void RetireHeap (IMTLHeap heap, double seconds); } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2152,9 +1948,6 @@ interface MPSCommandBuffer : MTLCommandBuffer { // MPSImageConversion.h - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -2171,7 +1964,6 @@ interface MPSImageConversion { IntPtr InitWithDevice (IMTLDevice device, MPSAlphaType srcAlpha, MPSAlphaType destAlpha, [NullAllowed] /* nfloat* */ IntPtr backgroundColor, [NullAllowed] CGColorConversionInfo conversionInfo); // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] @@ -2180,9 +1972,6 @@ interface MPSImageConversion { // MPSMatrix.h - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2216,38 +2005,30 @@ interface MPSMatrixDescriptor { [Export ("rowBytesFromColumns:dataType:")] nuint GetRowBytesFromColumns (nuint columns, MPSDataType dataType); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("matrices")] nuint Matrices { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("matrixBytes")] nuint MatrixBytes { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("matrixDescriptorWithRows:columns:rowBytes:dataType:")] MPSMatrixDescriptor GetMatrixDescriptor (nuint rows, nuint columns, nuint rowBytes, MPSDataType dataType); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("matrixDescriptorWithRows:columns:matrices:rowBytes:matrixBytes:dataType:")] MPSMatrixDescriptor GetMatrixDescriptor (nuint rows, nuint columns, nuint matrices, nuint rowBytes, nuint matrixBytes, MPSDataType dataType); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("rowBytesForColumns:dataType:")] nuint GetRowBytesForColumns (nuint columns, MPSDataType dataType); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // init NS_UNAVAILABLE; @@ -2274,37 +2055,35 @@ interface MPSMatrix { [Export ("initWithBuffer:descriptor:")] NativeHandle Constructor (IMTLBuffer buffer, MPSMatrixDescriptor descriptor); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithBuffer:offset:descriptor:")] NativeHandle Constructor (IMTLBuffer buffer, nuint offset, MPSMatrixDescriptor descriptor); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithDevice:descriptor:")] NativeHandle Constructor (IMTLDevice device, MPSMatrixDescriptor descriptor); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("synchronizeOnCommandBuffer:")] void Synchronize (IMTLCommandBuffer commandBuffer); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("resourceSize")] nuint ResourceSize { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("matrices")] nuint Matrices { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("matrixBytes")] nuint MatrixBytes { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 1)] + [TV (13, 0), iOS (13, 1)] [MacCatalyst (13, 1)] [Export ("offset")] nuint Offset { get; } @@ -2312,14 +2091,10 @@ interface MPSMatrix { // MPSMatrixMultiplication.h - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] interface MPSMatrixMultiplication { - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:resultRows:resultColumns:interiorColumns:")] NativeHandle Constructor (IMTLDevice device, nuint resultRows, nuint resultColumns, nuint interiorColumns); @@ -2342,84 +2117,80 @@ interface MPSMatrixMultiplication { // [Export ("initWithDevice:")] marked as NS_UNAVAILABLE - Use the above initialization method instead. // inlining ctor from base class - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithCoder:device:")] [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("batchStart")] nuint BatchStart { get; set; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("batchSize")] nuint BatchSize { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface MPSState { - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("temporaryStateWithCommandBuffer:bufferSize:")] MPSState CreateTemporaryState (IMTLCommandBuffer commandBuffer, nuint bufferSize); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("temporaryStateWithCommandBuffer:textureDescriptor:")] MPSState CreateTemporaryState (IMTLCommandBuffer commandBuffer, MTLTextureDescriptor descriptor); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("temporaryStateWithCommandBuffer:")] MPSState CreateTemporaryState (IMTLCommandBuffer commandBuffer); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithDevice:bufferSize:")] NativeHandle Constructor (IMTLDevice device, nuint bufferSize); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithDevice:textureDescriptor:")] NativeHandle Constructor (IMTLDevice device, MTLTextureDescriptor descriptor); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithResource:")] NativeHandle Constructor ([NullAllowed] IMTLResource resource); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithDevice:resourceList:")] NativeHandle Constructor (IMTLDevice device, MPSStateResourceList resourceList); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("temporaryStateWithCommandBuffer:resourceList:")] MPSState CreateTemporaryState (IMTLCommandBuffer commandBuffer, MPSStateResourceList resourceList); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithResources:")] NativeHandle Constructor ([NullAllowed] IMTLResource [] resources); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("resourceCount")] nuint ResourceCount { get; } - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("resourceAtIndex:allocateMemory:")] [return: NullAllowed] @@ -2434,32 +2205,32 @@ interface MPSState { [NullAllowed, Export ("label")] string Label { get; set; } - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("bufferSizeAtIndex:")] nuint GetBufferSize (nuint index); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("textureInfoAtIndex:")] MPSStateTextureInfo GetTextureInfo (nuint index); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("resourceTypeAtIndex:")] MPSStateResourceType GetResourceType (nuint index); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("synchronizeOnCommandBuffer:")] void Synchronize (IMTLCommandBuffer commandBuffer); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("resourceSize")] nuint ResourceSize { get; } - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("destinationImageDescriptorForSourceImages:sourceStates:forKernel:suggestedDescriptor:")] MPSImageDescriptor GetDestinationImageDescriptor (NSArray sourceImages, [NullAllowed] NSArray sourceStates, MPSKernel kernel, MPSImageDescriptor inDescriptor); @@ -2473,7 +2244,6 @@ interface MPSState { IMTLResource Resource { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrix))] [DisableDefaultCtor] @@ -2490,7 +2260,6 @@ interface MPSTemporaryMatrix { nuint ReadCount { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2516,33 +2285,32 @@ interface MPSVector { [Export ("initWithBuffer:descriptor:")] NativeHandle Constructor (IMTLBuffer buffer, MPSVectorDescriptor descriptor); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithBuffer:offset:descriptor:")] NativeHandle Constructor (IMTLBuffer buffer, nuint offset, MPSVectorDescriptor descriptor); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithDevice:descriptor:")] NativeHandle Constructor (IMTLDevice device, MPSVectorDescriptor descriptor); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("synchronizeOnCommandBuffer:")] void Synchronize (IMTLCommandBuffer commandBuffer); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("resourceSize")] nuint ResourceSize { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 1)] + [TV (13, 0), iOS (13, 1)] [MacCatalyst (13, 1)] [Export ("offset")] nuint Offset { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2572,7 +2340,6 @@ interface MPSVectorDescriptor { nuint GetVectorBytes (nuint length, MPSDataType dataType); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] // According to docs needs a Metal Device so initWithDevice: makes more sense. @@ -2599,7 +2366,6 @@ interface MPSMatrixUnaryKernel { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] // According to docs needs a Metal Device so initWithDevice: makes more sense. @@ -2629,7 +2395,6 @@ interface MPSMatrixBinaryKernel { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixBinaryKernel))] [DisableDefaultCtor] // According to docs needs a Metal Device so initWithDevice: makes more sense. @@ -2653,7 +2418,6 @@ interface MPSMatrixVectorMultiplication { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixBinaryKernel))] [DisableDefaultCtor] // According to docs needs a Metal Device so initWithDevice: makes more sense. @@ -2674,7 +2438,6 @@ interface MPSMatrixSolveTriangular { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixBinaryKernel))] [DisableDefaultCtor] // According to docs needs a Metal Device so initWithDevice: makes more sense. @@ -2695,7 +2458,6 @@ interface MPSMatrixSolveLU { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixBinaryKernel))] [DisableDefaultCtor] // According to docs needs a Metal Device so initWithDevice: makes more sense. @@ -2716,7 +2478,6 @@ interface MPSMatrixSolveCholesky { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixUnaryKernel))] [DisableDefaultCtor] // According to docs needs a Metal Device so initWithDevice: makes more sense. @@ -2737,7 +2498,6 @@ interface MPSMatrixDecompositionLU { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixUnaryKernel))] [DisableDefaultCtor] // According to docs needs a Metal Device so initWithDevice: makes more sense. @@ -2758,7 +2518,6 @@ interface MPSMatrixDecompositionCholesky { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2779,7 +2538,6 @@ interface MPSMatrixCopyDescriptor { NativeHandle Constructor (MPSMatrix [] sourceMatrices, MPSMatrix [] destinationMatrices, [NullAllowed] MPSVector offsets, nuint byteOffset); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] // There is a DesignatedInitializer, file a bug if needed. @@ -2803,7 +2561,7 @@ interface MPSMatrixCopy { [Export ("encodeToCommandBuffer:copyDescriptor:")] void EncodeToCommandBuffer (IMTLCommandBuffer cmdBuf, MPSMatrixCopyDescriptor copyDescriptor); - [TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [Export ("encodeToCommandBuffer:copyDescriptor:rowPermuteIndices:rowPermuteOffset:columnPermuteIndices:columnPermuteOffset:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSMatrixCopyDescriptor copyDescriptor, [NullAllowed] MPSVector rowPermuteIndices, nuint rowPermuteOffset, [NullAllowed] MPSVector columnPermuteIndices, nuint columnPermuteOffset); @@ -2813,7 +2571,7 @@ interface MPSMatrixCopy { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MPSMatrixRandomDistributionDescriptor : NSCopying { @@ -2842,7 +2600,7 @@ interface MPSMatrixRandomDistributionDescriptor : NSCopying { } [DisableDefaultCtor] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] interface MPSMatrixRandom { @@ -2866,7 +2624,7 @@ interface MPSMatrixRandom { } [DisableDefaultCtor] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixRandom), Name = "MPSMatrixRandomMTGP32")] interface MPSMatrixRandomMtgp32 { @@ -2889,7 +2647,7 @@ interface MPSMatrixRandomMtgp32 { } [DisableDefaultCtor] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixRandom))] interface MPSMatrixRandomPhilox { @@ -2909,7 +2667,6 @@ interface MPSMatrixRandomPhilox { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (MPSKernel))] @@ -2934,13 +2691,12 @@ interface MPSImageCopyToMatrix { [Export ("encodeToCommandBuffer:sourceImage:destinationMatrix:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, MPSMatrix destinationMatrix); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:sourceImages:destinationMatrix:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, NSArray sourceImages, MPSMatrix destinationMatrix); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] // There is a DesignatedInitializer, file a bug if needed. @@ -2960,7 +2716,6 @@ interface MPSImageFindKeypoints { void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, IMTLTexture source, MTLRegion regions, nuint numberOfRegions, IMTLBuffer keypointCountBuffer, nuint keypointCountBufferOffset, IMTLBuffer keypointDataBuffer, nuint keypointDataBufferOffset); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSBinaryImageKernel))] [DisableDefaultCtor] @@ -2981,13 +2736,13 @@ interface MPSImageArithmetic { MTLSize SecondaryStrideInPixels { get; set; } // float - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("minimumValue")] float MinimumValue { get; set; } // float - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("maximumValue")] float MaximumValue { get; set; } @@ -2998,7 +2753,6 @@ interface MPSImageArithmetic { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageArithmetic))] [DisableDefaultCtor] @@ -3008,7 +2762,6 @@ interface MPSImageAdd { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageArithmetic))] [DisableDefaultCtor] @@ -3018,7 +2771,6 @@ interface MPSImageSubtract { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageArithmetic))] [DisableDefaultCtor] @@ -3028,7 +2780,6 @@ interface MPSImageMultiply { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageArithmetic))] [DisableDefaultCtor] @@ -3038,7 +2789,6 @@ interface MPSImageDivide { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -3063,7 +2813,6 @@ interface MPSImageScale { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageScale))] [DisableDefaultCtor] @@ -3077,7 +2826,6 @@ interface MPSImageBilinearScale { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -3094,7 +2842,6 @@ interface MPSImageStatisticsMinAndMax { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -3111,7 +2858,6 @@ interface MPSImageStatisticsMeanAndVariance { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -3128,7 +2874,6 @@ interface MPSImageStatisticsMean { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3138,19 +2883,18 @@ interface MPSNNDefaultPadding : MPSNNPadding { MPSNNDefaultPadding Create (MPSNNPaddingMethod method); [Static] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("paddingForTensorflowAveragePooling")] MPSNNDefaultPadding CreatePaddingForTensorflowAveragePooling (); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("paddingForTensorflowAveragePoolingValidOnly")] MPSNNDefaultPadding CreatePaddingForTensorflowAveragePoolingValidOnly (); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel), Name = "MPSCNNBinaryKernel")] [DisableDefaultCtor] @@ -3171,22 +2915,22 @@ interface MPSCnnBinaryKernel { [Export ("destinationFeatureChannelOffset")] nuint DestinationFeatureChannelOffset { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("primarySourceFeatureChannelOffset")] nuint PrimarySourceFeatureChannelOffset { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("secondarySourceFeatureChannelOffset")] nuint SecondarySourceFeatureChannelOffset { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("primarySourceFeatureChannelMaxCount")] nuint PrimarySourceFeatureChannelMaxCount { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("secondarySourceFeatureChannelMaxCount")] nuint SecondarySourceFeatureChannelMaxCount { get; set; } @@ -3197,22 +2941,22 @@ interface MPSCnnBinaryKernel { [Export ("secondaryEdgeMode", ArgumentSemantic.Assign)] MPSImageEdgeMode SecondaryEdgeMode { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("primaryKernelWidth")] nuint PrimaryKernelWidth { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("primaryKernelHeight")] nuint PrimaryKernelHeight { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("secondaryKernelWidth")] nuint SecondaryKernelWidth { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("secondaryKernelHeight")] nuint SecondaryKernelHeight { get; } @@ -3231,42 +2975,42 @@ interface MPSCnnBinaryKernel { #endif // Apple added availability info here - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("primaryStrideInPixelsX")] nuint PrimaryStrideInPixelsX { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("primaryStrideInPixelsY")] nuint PrimaryStrideInPixelsY { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("secondaryStrideInPixelsX")] nuint SecondaryStrideInPixelsX { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("secondaryStrideInPixelsY")] nuint SecondaryStrideInPixelsY { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("primaryDilationRateX")] nuint PrimaryDilationRateX { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("primaryDilationRateY")] nuint PrimaryDilationRateY { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("secondaryDilationRateX")] nuint SecondaryDilationRateX { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("secondaryDilationRateY")] nuint SecondaryDilationRateY { get; } @@ -3274,7 +3018,7 @@ interface MPSCnnBinaryKernel { [Export ("isBackwards")] bool IsBackwards { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("isStateModified")] bool IsStateModified { get; } @@ -3292,7 +3036,7 @@ interface MPSCnnBinaryKernel { [Export ("encodeToCommandBuffer:primaryImage:secondaryImage:destinationImage:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage primaryImage, MPSImage secondaryImage, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:primaryImages:secondaryImages:destinationImages:")] void EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray primaryImages, NSArray secondaryImages, NSArray destinationImages); @@ -3300,62 +3044,61 @@ interface MPSCnnBinaryKernel { [Export ("encodeToCommandBuffer:primaryImage:secondaryImage:")] MPSImage EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage primaryImage, MPSImage secondaryImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:primaryImages:secondaryImages:")] NSArray EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray primaryImage, NSArray secondaryImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeToCommandBuffer:primaryImage:secondaryImage:destinationState:destinationStateIsTemporary:")] MPSImage EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage primaryImage, MPSImage secondaryImage, [NullAllowed] out MPSState outState, bool isTemporary); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:primaryImages:secondaryImages:destinationStates:destinationStateIsTemporary:")] NSArray EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray primaryImages, NSArray secondaryImages, [NullAllowed] out MPSState [] outState, bool isTemporary); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("resultStateForPrimaryImage:secondaryImage:sourceStates:destinationImage:")] [return: NullAllowed] MPSState GetResultState (MPSImage primaryImage, MPSImage secondaryImage, [NullAllowed] NSArray sourceStates, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("resultStateBatchForPrimaryImage:secondaryImage:sourceStates:destinationImage:")] [return: NullAllowed] NSArray GetResultStateBatch (NSArray primaryImage, NSArray secondaryImage, [NullAllowed] NSArray [] sourceStates, NSArray destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("temporaryResultStateForCommandBuffer:primaryImage:secondaryImage:sourceStates:destinationImage:")] [return: NullAllowed] MPSState GetTemporaryResultState (IMTLCommandBuffer commandBuffer, MPSImage primaryImage, MPSImage secondaryImage, [NullAllowed] NSArray sourceStates, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("temporaryResultStateBatchForCommandBuffer:primaryImage:secondaryImage:sourceStates:destinationImage:")] [return: NullAllowed] NSArray GetTemporaryResultStateBatch (IMTLCommandBuffer commandBuffer, NSArray primaryImage, NSArray secondaryImage, [NullAllowed] NSArray [] sourceStates, NSArray destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("isResultStateReusedAcrossBatch")] bool IsResultStateReusedAcrossBatch { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("appendBatchBarrier")] bool AppendBatchBarrier { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("destinationImageDescriptorForSourceImages:sourceStates:")] MPSImageDescriptor GetDestinationImageDescriptor (NSArray sourceImages, [NullAllowed] NSArray sourceStates); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronPReLU")] [DisableDefaultCtor] @@ -3364,7 +3107,7 @@ interface MPSCnnNeuronPReLU { [Internal, Sealed] IntPtr InitWithDevice (IMTLDevice device, IntPtr /* float* */ a, nuint count); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] @@ -3376,7 +3119,6 @@ interface MPSCnnNeuronPReLU { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronHardSigmoid")] [DisableDefaultCtor] @@ -3395,14 +3137,13 @@ interface MPSCnnNeuronHardSigmoid { [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, float a, float b); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronSoftPlus")] [DisableDefaultCtor] @@ -3420,14 +3161,13 @@ interface MPSCnnNeuronSoftPlus { [Export ("initWithDevice:a:b:")] NativeHandle Constructor (IMTLDevice device, float a, float b); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronSoftSign")] [DisableDefaultCtor] @@ -3440,14 +3180,13 @@ interface MPSCnnNeuronSoftSign { [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronELU")] [DisableDefaultCtor] @@ -3462,14 +3201,13 @@ interface MPSCnnNeuronElu { [Export ("initWithDevice:a:")] NativeHandle Constructor (IMTLDevice device, float a); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronReLUN")] [DisableDefaultCtor] @@ -3487,14 +3225,14 @@ interface MPSCnnNeuronReLun { [Export ("initWithDevice:a:b:")] NativeHandle Constructor (IMTLDevice device, float a, float b); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronPower")] [DisableDefaultCtor] @@ -3507,14 +3245,14 @@ interface MPSCnnNeuronPower { [Export ("initWithDevice:a:b:c:")] NativeHandle Constructor (IMTLDevice device, float a, float b, float c); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronExponential")] [DisableDefaultCtor] @@ -3527,14 +3265,14 @@ interface MPSCnnNeuronExponential { [Export ("initWithDevice:a:b:c:")] NativeHandle Constructor (IMTLDevice device, float a, float b, float c); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuron), Name = "MPSCNNNeuronLogarithm")] [DisableDefaultCtor] @@ -3547,14 +3285,13 @@ interface MPSCnnNeuronLogarithm { [Export ("initWithDevice:a:b:c:")] NativeHandle Constructor (IMTLDevice device, float a, float b, float c); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:neuronDescriptor:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNNeuronDescriptor neuronDescriptor); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnConvolutionDescriptor), Name = "MPSCNNSubPixelConvolutionDescriptor")] [DisableDefaultCtor] @@ -3563,7 +3300,6 @@ interface MPSCnnSubPixelConvolutionDescriptor { nuint SubPixelScaleFactor { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnConvolutionDescriptor), Name = "MPSCNNDepthWiseConvolutionDescriptor")] [DisableDefaultCtor] @@ -3572,7 +3308,6 @@ interface MPSCnnDepthWiseConvolutionDescriptor { nuint ChannelMultiplier { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNConvolutionTranspose")] [DisableDefaultCtor] // There is a DesignatedInitializer, file a bug if needed. @@ -3592,7 +3327,7 @@ interface MPSCnnConvolutionTranspose { [Export ("groups")] nuint Groups { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("accumulatorPrecisionOption", ArgumentSemantic.Assign)] MPSNNConvolutionAccumulatorPrecisionOption AccumulatorPrecisionOption { get; set; } @@ -3605,28 +3340,27 @@ interface MPSCnnConvolutionTranspose { [DesignatedInitializer] NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeToCommandBuffer:sourceImage:convolutionGradientState:")] MPSImage EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, [NullAllowed] MPSCnnConvolutionGradientState convolutionGradientState); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:sourceImages:convolutionGradientStates:")] NSArray EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImage, [NullAllowed] MPSCnnConvolutionGradientState [] convolutionGradientState); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeToCommandBuffer:sourceImage:convolutionGradientState:destinationImage:")] void EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, [NullAllowed] MPSCnnConvolutionGradientState convolutionGradientState, MPSImage destinationImage); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:sourceImages:convolutionGradientStates:destinationImages:")] void EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImage, [NullAllowed] MPSCnnConvolutionGradientState [] convolutionGradientState, NSArray destinationImage); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNBinaryConvolution")] [DisableDefaultCtor] @@ -3648,7 +3382,6 @@ interface MPSCnnBinaryConvolution { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnBinaryConvolution), Name = "MPSCNNBinaryFullyConnected")] [DisableDefaultCtor] @@ -3664,7 +3397,6 @@ interface MPSCnnBinaryFullyConnected { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPooling), Name = "MPSCNNPoolingL2Norm")] [DisableDefaultCtor] // failed assertion. @@ -3678,7 +3410,6 @@ interface MPSCnnPoolingL2Norm { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPooling), Name = "MPSCNNDilatedPoolingMax")] [DisableDefaultCtor] // failed assertion. @@ -3698,7 +3429,7 @@ interface MPSCnnDilatedPoolingMax { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNPoolingGradient")] [DisableDefaultCtor] @@ -3719,7 +3450,7 @@ interface MPSCnnPoolingGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingGradient), Name = "MPSCNNPoolingAverageGradient")] [DisableDefaultCtor] @@ -3740,7 +3471,7 @@ interface MPSCnnPoolingAverageGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingGradient), Name = "MPSCNNPoolingMaxGradient")] [DisableDefaultCtor] @@ -3755,7 +3486,7 @@ interface MPSCnnPoolingMaxGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingGradient), Name = "MPSCNNPoolingL2NormGradient")] [DisableDefaultCtor] @@ -3770,7 +3501,7 @@ interface MPSCnnPoolingL2NormGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingGradient), Name = "MPSCNNDilatedPoolingMaxGradient")] [DisableDefaultCtor] @@ -3785,7 +3516,6 @@ interface MPSCnnDilatedPoolingMaxGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNUpsampling")] [DisableDefaultCtor] // failed assertion @@ -3796,7 +3526,7 @@ interface MPSCnnUpsampling { [Export ("scaleFactorY")] double ScaleFactorY { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("alignCorners")] bool AlignCorners { get; } @@ -3807,7 +3537,6 @@ interface MPSCnnUpsampling { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnUpsampling), Name = "MPSCNNUpsamplingNearest")] [DisableDefaultCtor] // failed assertion. @@ -3817,7 +3546,6 @@ interface MPSCnnUpsamplingNearest { NativeHandle Constructor (IMTLDevice device, nuint integerScaleFactorX, nuint integerScaleFactorY); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnUpsampling), Name = "MPSCNNUpsamplingBilinear")] [DisableDefaultCtor] // failed assertion. @@ -3825,14 +3553,14 @@ interface MPSCnnUpsamplingBilinear { [Export ("initWithDevice:integerScaleFactorX:integerScaleFactorY:")] NativeHandle Constructor (IMTLDevice device, nuint integerScaleFactorX, nuint integerScaleFactorY); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:integerScaleFactorX:integerScaleFactorY:alignCorners:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, nuint integerScaleFactorX, nuint integerScaleFactorY, bool alignCorners); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNUpsamplingGradient")] [DisableDefaultCtor] @@ -3853,7 +3581,7 @@ interface MPSCnnUpsamplingGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnUpsamplingGradient), Name = "MPSCNNUpsamplingNearestGradient")] [DisableDefaultCtor] @@ -3864,7 +3592,7 @@ interface MPSCnnUpsamplingNearestGradient { NativeHandle Constructor (IMTLDevice device, nuint integerScaleFactorX, nuint integerScaleFactorY); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnUpsamplingGradient), Name = "MPSCNNUpsamplingBilinearGradient")] [DisableDefaultCtor] @@ -3875,7 +3603,6 @@ interface MPSCnnUpsamplingBilinearGradient { NativeHandle Constructor (IMTLDevice device, nuint integerScaleFactorX, nuint integerScaleFactorY); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MPSRNNDescriptor")] interface MPSRnnDescriptor { @@ -3895,7 +3622,6 @@ interface MPSRnnDescriptor { MPSRnnSequenceDirection LayerSequenceDirection { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSRnnDescriptor), Name = "MPSRNNSingleGateDescriptor")] interface MPSRnnSingleGateDescriptor { @@ -3910,7 +3636,6 @@ interface MPSRnnSingleGateDescriptor { MPSRnnSingleGateDescriptor Create (nuint inputFeatureChannels, nuint outputFeatureChannels); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSRnnDescriptor))] interface MPSGRUDescriptor { @@ -3946,7 +3671,6 @@ interface MPSGRUDescriptor { MPSGRUDescriptor Create (nuint inputFeatureChannels, nuint outputFeatureChannels); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSRnnDescriptor))] interface MPSLSTMDescriptor { @@ -3998,7 +3722,7 @@ interface MPSLSTMDescriptor { [Export ("cellToOutputNeuronParamB")] float CellToOutputNeuronParamB { get; set; } - [TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [Export ("cellToOutputNeuronParamC")] float CellToOutputNeuronParamC { get; set; } @@ -4008,7 +3732,6 @@ interface MPSLSTMDescriptor { MPSLSTMDescriptor Create (nuint inputFeatureChannels, nuint outputFeatureChannels); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSState), Name = "MPSRNNRecurrentImageState")] [DisableDefaultCtor] // 'init' is unavailable @@ -4022,7 +3745,6 @@ interface MPSRnnRecurrentImageState { MPSImage GetMemoryCellImage (nuint layerIndex); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSRNNImageInferenceLayer")] [DisableDefaultCtor] // There is a DesignatedInitializer, file a bug if needed. @@ -4068,7 +3790,6 @@ interface MPSRnnImageInferenceLayer { MPSRnnImageInferenceLayer Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSState), Name = "MPSRNNRecurrentMatrixState")] [DisableDefaultCtor] // 'init' is unavailable @@ -4082,7 +3803,6 @@ interface MPSRnnRecurrentMatrixState { MPSMatrix GetMemoryCellMatrix (nuint layerIndex); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel), Name = "MPSRNNMatrixInferenceLayer")] [DisableDefaultCtor] // There is a DesignatedInitializer, file a bug if needed. @@ -4116,7 +3836,7 @@ interface MPSRnnMatrixInferenceLayer { [Export ("encodeSequenceToCommandBuffer:sourceMatrices:destinationMatrices:recurrentInputState:recurrentOutputStates:")] void EncodeSequence (IMTLCommandBuffer commandBuffer, MPSMatrix [] sourceMatrices, MPSMatrix [] destinationMatrices, [NullAllowed] MPSRnnRecurrentMatrixState recurrentInputState, [NullAllowed] NSMutableArray recurrentOutputStates); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("encodeSequenceToCommandBuffer:sourceMatrices:sourceOffsets:destinationMatrices:destinationOffsets:recurrentInputState:recurrentOutputStates:")] void EncodeSequence (IMTLCommandBuffer commandBuffer, MPSMatrix [] sourceMatrices, [NullAllowed] IntPtr sourceOffsets, MPSMatrix [] destinationMatrices, [NullAllowed] IntPtr destinationOffsets, [NullAllowed] MPSRnnRecurrentMatrixState recurrentInputState, [NullAllowed] NSMutableArray recurrentOutputStates); @@ -4133,7 +3853,6 @@ interface MPSRnnMatrixInferenceLayer { MPSRnnMatrixInferenceLayer Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4162,18 +3881,17 @@ interface MPSNNImageNode { [Export ("exportFromGraph")] bool ExportFromGraph { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("synchronizeResource")] bool SynchronizeResource { get; set; } - [TV (12, 2), Mac (10, 14), iOS (12, 0)] + [TV (12, 2), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("stopGradient")] bool StopGradient { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4184,17 +3902,16 @@ interface MPSNNStateNode { [Export ("exportFromGraph")] bool ExportFromGraph { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("synchronizeResource")] bool SynchronizeResource { get; set; } } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] delegate void MPSGradientNodeHandler (MPSNNFilterNode gradientNode, MPSNNFilterNode inferenceNode, MPSNNImageNode inferenceSource, MPSNNImageNode gradientSource); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4214,47 +3931,46 @@ interface MPSNNFilterNode { [NullAllowed, Export ("label")] string Label { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("gradientFilterWithSource:")] MPSNNGradientFilterNode GetFilter (MPSNNImageNode gradientImageSource); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("gradientFilterWithSources:")] MPSNNGradientFilterNode GetFilter (MPSNNImageNode [] gradientImagesSources); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("gradientFiltersWithSources:")] MPSNNGradientFilterNode [] GetFilters (MPSNNImageNode [] gradientImagesSources); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("gradientFiltersWithSource:")] MPSNNGradientFilterNode [] GetFilters (MPSNNImageNode gradientImageSource); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("trainingGraphWithSourceGradient:nodeHandler:")] [return: NullAllowed] MPSNNFilterNode [] GetTrainingGraph ([NullAllowed] MPSNNImageNode gradientImageSource, [NullAllowed] MPSGradientNodeHandler nodeHandler); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode))] [DisableDefaultCtor] interface MPSNNGradientFilterNode { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNConvolutionNode")] [DisableDefaultCtor] // 'init' is unavailable interface MPSCnnConvolutionNode { - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("accumulatorPrecision", ArgumentSemantic.Assign)] MPSNNConvolutionAccumulatorPrecisionOption AccumulatorPrecision { get; set; } @@ -4266,13 +3982,12 @@ interface MPSCnnConvolutionNode { [Export ("initWithSource:weights:")] NativeHandle Constructor (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [NullAllowed, Export ("convolutionGradientState")] MPSCnnConvolutionGradientStateNode ConvolutionGradientState { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnConvolutionNode), Name = "MPSCNNFullyConnectedNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4285,7 +4000,6 @@ interface MPSCnnFullyConnectedNode { NativeHandle Constructor (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnConvolutionNode), Name = "MPSCNNBinaryConvolutionNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4298,20 +4012,19 @@ interface MPSCnnBinaryConvolutionNode { NativeHandle Constructor (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float scaleValue, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags); [Internal] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("nodeWithSource:weights:outputBiasTerms:outputScaleTerms:inputBiasTerms:inputScaleTerms:type:flags:")] MPSCnnBinaryConvolutionNode Create (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, [NullAllowed] IntPtr outputBiasTerms, [NullAllowed] IntPtr outputScaleTerms, [NullAllowed] IntPtr inputBiasTerms, [NullAllowed] IntPtr inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags); [Internal] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithSource:weights:outputBiasTerms:outputScaleTerms:inputBiasTerms:inputScaleTerms:type:flags:")] IntPtr InitWithSource (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, [NullAllowed] IntPtr outputBiasTerms, [NullAllowed] IntPtr outputScaleTerms, [NullAllowed] IntPtr inputBiasTerms, [NullAllowed] IntPtr inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnBinaryConvolutionNode), Name = "MPSCNNBinaryFullyConnectedNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4324,37 +4037,36 @@ interface MPSCnnBinaryFullyConnectedNode { NativeHandle Constructor (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float scaleValue, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags); [Internal] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("nodeWithSource:weights:outputBiasTerms:outputScaleTerms:inputBiasTerms:inputScaleTerms:type:flags:")] MPSCnnBinaryFullyConnectedNode Create (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, [NullAllowed] IntPtr outputBiasTerms, [NullAllowed] IntPtr outputScaleTerms, [NullAllowed] IntPtr inputBiasTerms, [NullAllowed] IntPtr inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags); [Internal] - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithSource:weights:outputBiasTerms:outputScaleTerms:inputBiasTerms:inputScaleTerms:type:flags:")] IntPtr InitWithSource (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, [NullAllowed] IntPtr outputBiasTerms, [NullAllowed] IntPtr outputScaleTerms, [NullAllowed] IntPtr inputBiasTerms, [NullAllowed] IntPtr inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnConvolutionNode), Name = "MPSCNNConvolutionTransposeNode")] [DisableDefaultCtor] // 'init' is unavailable interface MPSCnnConvolutionTransposeNode { - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("nodeWithSource:convolutionGradientState:weights:")] MPSCnnConvolutionTransposeNode Create (MPSNNImageNode sourceNode, [NullAllowed] MPSCnnConvolutionGradientStateNode convolutionGradientState, IMPSCnnConvolutionDataSource weights); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithSource:convolutionGradientState:weights:")] NativeHandle Constructor (MPSNNImageNode sourceNode, [NullAllowed] MPSCnnConvolutionGradientStateNode convolutionGradientState, IMPSCnnConvolutionDataSource weights); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNConvolutionGradientNode")] [DisableDefaultCtor] @@ -4368,13 +4080,12 @@ interface MPSCnnConvolutionGradientNode : MPSNNTrainableNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSCnnConvolutionGradientStateNode gradientState, [NullAllowed] IMPSCnnConvolutionDataSource weights); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNNeuronNode")] [DisableDefaultCtor] interface MPSCnnNeuronNode { - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("nodeWithSource:descriptor:")] @@ -4386,13 +4097,13 @@ interface MPSCnnNeuronNode { [Export ("b")] float B { get; } - [TV (11, 2), iOS (11, 2), Mac (10, 13, 2)] + [TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [Export ("c")] float C { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronPowerNode")] [DisableDefaultCtor] @@ -4413,7 +4124,7 @@ interface MPSCnnNeuronPowerNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronExponentialNode")] [DisableDefaultCtor] @@ -4434,7 +4145,7 @@ interface MPSCnnNeuronExponentialNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronLogarithmNode")] [DisableDefaultCtor] @@ -4455,7 +4166,7 @@ interface MPSCnnNeuronLogarithmNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNNeuronGradientNode")] [DisableDefaultCtor] @@ -4472,7 +4183,7 @@ interface MPSCnnNeuronGradientNode { MPSNNNeuronDescriptor Descriptor { get; } } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode))] [DisableDefaultCtor] @@ -4489,7 +4200,7 @@ interface MPSNNUnaryReductionNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4504,7 +4215,7 @@ interface MPSNNReductionRowMinNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4519,7 +4230,7 @@ interface MPSNNReductionColumnMinNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4534,7 +4245,7 @@ interface MPSNNReductionFeatureChannelsMinNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4549,7 +4260,7 @@ interface MPSNNReductionFeatureChannelsArgumentMinNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4564,7 +4275,7 @@ interface MPSNNReductionRowMaxNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4579,7 +4290,7 @@ interface MPSNNReductionColumnMaxNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4594,7 +4305,7 @@ interface MPSNNReductionFeatureChannelsMaxNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4609,7 +4320,7 @@ interface MPSNNReductionFeatureChannelsArgumentMaxNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4624,7 +4335,7 @@ interface MPSNNReductionRowMeanNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4639,7 +4350,7 @@ interface MPSNNReductionColumnMeanNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4654,7 +4365,7 @@ interface MPSNNReductionFeatureChannelsMeanNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4669,7 +4380,7 @@ interface MPSNNReductionSpatialMeanNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4684,7 +4395,7 @@ interface MPSNNReductionRowSumNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4699,7 +4410,7 @@ interface MPSNNReductionColumnSumNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNUnaryReductionNode))] [DisableDefaultCtor] @@ -4717,7 +4428,6 @@ interface MPSNNReductionFeatureChannelsSumNode { float Weight { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronAbsoluteNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4730,7 +4440,6 @@ interface MPSCnnNeuronAbsoluteNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronELUNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4750,7 +4459,6 @@ interface MPSCnnNeuronEluNode { NativeHandle Constructor (MPSNNImageNode sourceNode, float a); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronReLUNNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4770,7 +4478,6 @@ interface MPSCnnNeuronReLunNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronLinearNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4794,7 +4501,6 @@ interface MPSCnnNeuronLinearNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronReLUNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4814,7 +4520,6 @@ interface MPSCnnNeuronReLUNode { NativeHandle Constructor (MPSNNImageNode sourceNode, float a); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronSigmoidNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4827,7 +4532,6 @@ interface MPSCnnNeuronSigmoidNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronHardSigmoidNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4847,7 +4551,6 @@ interface MPSCnnNeuronHardSigmoidNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronSoftPlusNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4867,7 +4570,6 @@ interface MPSCnnNeuronSoftPlusNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronSoftSignNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4880,7 +4582,6 @@ interface MPSCnnNeuronSoftSignNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronTanHNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4900,7 +4601,6 @@ interface MPSCnnNeuronTanHNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNeuronNode), Name = "MPSCNNNeuronPReLUNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -4913,28 +4613,27 @@ interface MPSCnnNeuronPReLUNode { NativeHandle Constructor (MPSNNImageNode sourceNode, NSData aData); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNPoolingNode")] [DisableDefaultCtor] // 'init' is unavailable interface MPSCnnPoolingNode { - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("kernelWidth")] nuint KernelWidth { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("kernelHeight")] nuint KernelHeight { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("strideInPixelsX")] nuint StrideInPixelsX { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("strideInPixelsY")] nuint StrideInPixelsY { get; } @@ -4957,7 +4656,7 @@ interface MPSCnnPoolingNode { NativeHandle Constructor (MPSNNImageNode sourceNode, nuint size); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNPoolingGradientNode")] [DisableDefaultCtor] @@ -4983,7 +4682,7 @@ interface MPSCnnPoolingGradientNode { nuint StrideInPixelsY { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingGradientNode), Name = "MPSCNNPoolingMaxGradientNode")] [DisableDefaultCtor] @@ -4998,7 +4697,7 @@ interface MPSCnnPoolingMaxGradientNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState, nuint kernelWidth, nuint kernelHeight, nuint strideInPixelsX, nuint strideInPixelsY, [NullAllowed] IMPSNNPadding paddingPolicy); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingGradientNode), Name = "MPSCNNPoolingAverageGradientNode")] [DisableDefaultCtor] @@ -5013,7 +4712,7 @@ interface MPSCnnPoolingAverageGradientNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState, nuint kernelWidth, nuint kernelHeight, nuint strideInPixelsX, nuint strideInPixelsY, [NullAllowed] IMPSNNPadding paddingPolicy); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingGradientNode), Name = "MPSCNNPoolingL2NormGradientNode")] [DisableDefaultCtor] @@ -5028,7 +4727,7 @@ interface MPSCnnPoolingL2NormGradientNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState, nuint kernelWidth, nuint kernelHeight, nuint strideInPixelsX, nuint strideInPixelsY, [NullAllowed] IMPSNNPadding paddingPolicy); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingGradientNode), Name = "MPSCNNDilatedPoolingMaxGradientNode")] [DisableDefaultCtor] @@ -5048,7 +4747,7 @@ interface MPSCnnDilatedPoolingMaxGradientNode { nuint DilationRateY { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNSpatialNormalizationGradientNode")] [DisableDefaultCtor] @@ -5077,7 +4776,7 @@ interface MPSCnnSpatialNormalizationGradientNode { float Delta { get; set; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNLocalContrastNormalizationGradientNode")] [DisableDefaultCtor] @@ -5115,7 +4814,7 @@ interface MPSCnnLocalContrastNormalizationGradientNode { nuint KernelHeight { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNCrossChannelNormalizationGradientNode")] [DisableDefaultCtor] @@ -5132,7 +4831,7 @@ interface MPSCnnCrossChannelNormalizationGradientNode { nuint KernelSize { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNInstanceNormalizationNode")] [DisableDefaultCtor] @@ -5146,7 +4845,7 @@ interface MPSCnnInstanceNormalizationNode { NativeHandle Constructor (MPSNNImageNode source, IMPSCnnInstanceNormalizationDataSource dataSource); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNInstanceNormalizationGradientNode")] [DisableDefaultCtor] @@ -5160,7 +4859,7 @@ interface MPSCnnInstanceNormalizationGradientNode : MPSNNTrainableNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNBatchNormalizationNode")] [DisableDefaultCtor] @@ -5177,7 +4876,7 @@ interface MPSCnnBatchNormalizationNode { NativeHandle Constructor (MPSNNImageNode source, IMPSCnnBatchNormalizationDataSource dataSource); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNBatchNormalizationGradientNode")] @@ -5191,7 +4890,6 @@ interface MPSCnnBatchNormalizationGradientNode : MPSNNTrainableNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNDilatedPoolingMaxNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -5220,7 +4918,6 @@ interface MPSCnnDilatedPoolingMaxNode { NativeHandle Constructor (MPSNNImageNode sourceNode, nuint size); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNNormalizationNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -5243,7 +4940,6 @@ interface MPSCnnNormalizationNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNormalizationNode), Name = "MPSCNNSpatialNormalizationNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -5267,7 +4963,6 @@ interface MPSCnnSpatialNormalizationNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNormalizationNode), Name = "MPSCNNLocalContrastNormalizationNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -5300,7 +4995,6 @@ interface MPSCnnLocalContrastNormalizationNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnNormalizationNode), Name = "MPSCNNCrossChannelNormalizationNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -5321,7 +5015,6 @@ interface MPSCnnCrossChannelNormalizationNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode))] [DisableDefaultCtor] // 'init' is unavailable @@ -5341,7 +5034,6 @@ interface MPSNNScaleNode { NativeHandle Constructor (MPSNNImageNode sourceNode, [NullAllowed] IMPSImageTransformProvider transformProvider, MTLSize size); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode))] [DisableDefaultCtor] @@ -5360,12 +5052,12 @@ interface MPSNNBinaryArithmeticNode { [Export ("initWithLeftSource:rightSource:")] NativeHandle Constructor (MPSNNImageNode left, MPSNNImageNode right); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("gradientClass")] Class GradientClass { get; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("gradientFiltersWithSources:")] MPSNNGradientFilterNode [] GetGradientFilters (MPSNNImageNode [] gradientImages); @@ -5404,7 +5096,7 @@ interface MPSNNBinaryArithmeticNode { float MaximumValue { get; set; } } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNBinaryArithmeticNode))] [DisableDefaultCtor] @@ -5414,7 +5106,7 @@ interface MPSNNComparisonNode { MPSNNComparisonType ComparisonType { get; set; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode))] [DisableDefaultCtor] @@ -5458,7 +5150,7 @@ interface MPSNNArithmeticGradientNode { bool IsSecondarySourceFilter { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNArithmeticGradientNode))] [DisableDefaultCtor] @@ -5476,7 +5168,7 @@ interface MPSNNAdditionGradientNode { NativeHandle Constructor (MPSNNImageNode [] gradientImages, MPSNNFilterNode filter, bool isSecondarySourceFilter); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNArithmeticGradientNode))] [DisableDefaultCtor] @@ -5494,7 +5186,7 @@ interface MPSNNSubtractionGradientNode { NativeHandle Constructor (MPSNNImageNode [] gradientImages, MPSNNFilterNode filter, bool isSecondarySourceFilter); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNArithmeticGradientNode))] [DisableDefaultCtor] @@ -5512,7 +5204,7 @@ interface MPSNNMultiplicationGradientNode { NativeHandle Constructor (MPSNNImageNode [] gradientImages, MPSNNFilterNode filter, bool isSecondarySourceFilter); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNDropoutNode")] [DisableDefaultCtor] @@ -5550,7 +5242,7 @@ interface MPSCnnDropoutNode { MTLSize MaskStrideInPixels { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNDropoutGradientNode")] [DisableDefaultCtor] @@ -5573,7 +5265,7 @@ interface MPSCnnDropoutGradientNode { MTLSize MaskStrideInPixels { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNStateNode))] [DisableDefaultCtor] @@ -5581,7 +5273,7 @@ interface MPSNNLabelsNode { } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNLossNode")] [DisableDefaultCtor] @@ -5598,13 +5290,13 @@ interface MPSCnnLossNode { MPSNNLabelsNode InputLabels { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNYOLOLossNode")] [DisableDefaultCtor] interface MPSCnnYoloLossNode { - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("nodeWithSource:lossDescriptor:")] @@ -5617,7 +5309,6 @@ interface MPSCnnYoloLossNode { MPSNNLabelsNode InputLabels { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode))] [DisableDefaultCtor] @@ -5630,7 +5321,7 @@ interface MPSNNConcatenationNode { NativeHandle Constructor (MPSNNImageNode [] sourceNodes); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode))] [DisableDefaultCtor] @@ -5644,7 +5335,7 @@ interface MPSNNConcatenationGradientNode { NativeHandle Constructor (MPSNNImageNode gradientSourceNode, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode))] [DisableDefaultCtor] @@ -5658,7 +5349,7 @@ interface MPSNNReshapeNode { NativeHandle Constructor (MPSNNImageNode source, nuint resultWidth, nuint resultHeight, nuint resultFeatureChannels); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode))] [DisableDefaultCtor] @@ -5672,7 +5363,7 @@ interface MPSNNReshapeGradientNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode))] [DisableDefaultCtor] @@ -5686,7 +5377,7 @@ interface MPSNNReductionSpatialMeanGradientNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode))] [DisableDefaultCtor] @@ -5703,7 +5394,7 @@ interface MPSNNPadNode { NativeHandle Constructor (MPSNNImageNode source, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter, MPSImageEdgeMode edgeMode); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode))] [DisableDefaultCtor] @@ -5717,7 +5408,7 @@ interface MPSNNPadGradientNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNSoftMaxGradientNode")] [DisableDefaultCtor] @@ -5731,7 +5422,7 @@ interface MPSCnnSoftMaxGradientNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNLogSoftMaxGradientNode")] [DisableDefaultCtor] @@ -5745,7 +5436,6 @@ interface MPSCnnLogSoftMaxGradientNode { NativeHandle Constructor (MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNGradientStateNode gradientState); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNSoftMaxNode")] [DisableDefaultCtor] @@ -5758,7 +5448,6 @@ interface MPSCnnSoftMaxNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNLogSoftMaxNode")] [DisableDefaultCtor] @@ -5771,7 +5460,6 @@ interface MPSCnnLogSoftMaxNode { NativeHandle Constructor (MPSNNImageNode sourceNode); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNUpsamplingNearestNode")] [DisableDefaultCtor] @@ -5790,7 +5478,6 @@ interface MPSCnnUpsamplingNearestNode { double ScaleFactorY { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode), Name = "MPSCNNUpsamplingBilinearNode")] [DisableDefaultCtor] @@ -5799,7 +5486,7 @@ interface MPSCnnUpsamplingBilinearNode { [Export ("nodeWithSource:integerScaleFactorX:integerScaleFactorY:")] MPSCnnUpsamplingBilinearNode Create (MPSNNImageNode sourceNode, nuint integerScaleFactorX, nuint integerScaleFactorY); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("nodeWithSource:integerScaleFactorX:integerScaleFactorY:alignCorners:")] @@ -5808,7 +5495,7 @@ interface MPSCnnUpsamplingBilinearNode { [Export ("initWithSource:integerScaleFactorX:integerScaleFactorY:")] NativeHandle Constructor (MPSNNImageNode sourceNode, nuint integerScaleFactorX, nuint integerScaleFactorY); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithSource:integerScaleFactorX:integerScaleFactorY:alignCorners:")] NativeHandle Constructor (MPSNNImageNode sourceNode, nuint integerScaleFactorX, nuint integerScaleFactorY, bool alignCorners); @@ -5819,13 +5506,13 @@ interface MPSCnnUpsamplingBilinearNode { [Export ("scaleFactorY")] double ScaleFactorY { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("alignCorners")] bool AlignCorners { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNUpsamplingNearestGradientNode")] [DisableDefaultCtor] @@ -5845,7 +5532,7 @@ interface MPSCnnUpsamplingNearestGradientNode { double ScaleFactorY { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode), Name = "MPSCNNUpsamplingBilinearGradientNode")] [DisableDefaultCtor] @@ -5875,7 +5562,7 @@ interface MPSNNLossCallback : NSSecureCoding, NSCopying { } [DisableDefaultCtor] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode))] interface MPSNNForwardLossNode { @@ -5938,7 +5625,7 @@ interface MPSNNForwardLossNode { } [DisableDefaultCtor] - [TV (13, 0), Mac (10, 15, 0), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientFilterNode))] interface MPSNNLossGradientNode { @@ -5992,7 +5679,7 @@ interface MPSNNLossGradientNode { } [DisableDefaultCtor] - [TV (13, 0), Mac (10, 15, 0), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNFilterNode))] interface MPSNNInitialGradientNode { @@ -6004,19 +5691,18 @@ interface MPSNNInitialGradientNode { NativeHandle Constructor (MPSNNImageNode source); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] // There is a DesignatedInitializer, file a bug if needed. interface MPSNNGraph : NSCopying, NSSecureCoding { - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("initWithDevice:resultImage:resultImageIsNeeded:")] [DesignatedInitializer] NativeHandle Constructor (IMTLDevice device, MPSNNImageNode resultImage, bool resultIsNeeded); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Static] [Export ("graphWithDevice:resultImage:resultImageIsNeeded:")] @@ -6033,12 +5719,12 @@ interface MPSNNGraph : NSCopying, NSSecureCoding { // Not added because the generated constructor is too hard to use // and there is an alternative Create method that accomplishes the same // with a bool[] - // [TV (13,0), Mac (10,15), iOS (13,0)] + // [TV (13,0), iOS (13,0)] // [Export ("initWithDevice:resultImages:resultsAreNeeded:")] // [DesignatedInitializer] // NativeHandle Constructor (IMTLDevice device, MPSNNImageNode[] resultImages, IntPtr resultsAreNeeded); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("graphWithDevice:resultImages:resultsAreNeeded:")] @@ -6079,17 +5765,17 @@ interface MPSNNGraph : NSCopying, NSSecureCoding { [Export ("destinationImageAllocator", ArgumentSemantic.Retain)] IMPSImageAllocator DestinationImageAllocator { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("format", ArgumentSemantic.Assign)] MPSImageFeatureChannelFormat Format { get; set; } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("resultImageIsNeeded")] bool ResultImageIsNeeded { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("reloadFromDataSources")] void ReloadFromDataSources (); @@ -6098,7 +5784,7 @@ interface MPSNNGraph : NSCopying, NSSecureCoding { [return: NullAllowed] MPSImage EncodeToCommandBuffer (IMTLCommandBuffer commandBuffer, MPSImage [] sourceImages, [NullAllowed] MPSState [] sourceStates, [NullAllowed] NSMutableArray intermediateImages, [NullAllowed] NSMutableArray destinationStates); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("encodeBatchToCommandBuffer:sourceImages:sourceStates:intermediateImages:destinationStates:")] [return: NullAllowed] @@ -6115,12 +5801,12 @@ interface MPSNNGraph : NSCopying, NSSecureCoding { [Async, Export ("executeAsyncWithSourceImages:completionHandler:")] MPSImage Execute (MPSImage [] sourceImages, Action handler); - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [Export ("readCountForSourceImageAtIndex:")] nuint GetReadCountForSourceImage (nuint index); - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [Export ("readCountForSourceStateAtIndex:")] nuint GetReadCountForSourceState (nuint index); @@ -6128,7 +5814,6 @@ interface MPSNNGraph : NSCopying, NSSecureCoding { interface IMPSHandle { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MPSHandle : NSCoding { @@ -6139,7 +5824,6 @@ interface MPSHandle : NSCoding { interface IMPSCnnConvolutionDataSource { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject), Name = "MPSCNNConvolutionDataSource")] @@ -6182,23 +5866,23 @@ interface MPSCnnConvolutionDataSource : NSCopying { [Export ("lookupTableForUInt8Kernel")] IntPtr /* float* */ GetLookupTableForUInt8Kernel (); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("weightsQuantizationType")] MPSCnnWeightsQuantizationType GetWeightsQuantizationType (); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("updateWithCommandBuffer:gradientState:sourceState:")] [return: NullAllowed] MPSCnnConvolutionWeightsAndBiasesState Update (IMTLCommandBuffer commandBuffer, MPSCnnConvolutionGradientState gradientState, MPSCnnConvolutionWeightsAndBiasesState sourceState); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("updateWithGradientState:sourceState:")] bool Update (MPSCnnConvolutionGradientState gradientState, MPSCnnConvolutionWeightsAndBiasesState sourceState); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("copyWithZone:device:")] [return: Release] @@ -6211,7 +5895,6 @@ interface MPSCnnConvolutionDataSource : NSCopying { interface IMPSNNPadding { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MPSNNPadding : NSSecureCoding { @@ -6225,7 +5908,7 @@ interface MPSNNPadding : NSSecureCoding { [Export ("destinationImageDescriptorForSourceImages:sourceStates:forKernel:suggestedDescriptor:")] MPSImageDescriptor GetDestinationImageDescriptor (MPSImage [] sourceImages, [NullAllowed] MPSState [] sourceStates, MPSKernel kernel, MPSImageDescriptor inDescriptor); - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Export ("inverse")] [return: NullAllowed] @@ -6234,7 +5917,6 @@ interface MPSNNPadding : NSSecureCoding { interface IMPSImageSizeEncodingState { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MPSImageSizeEncodingState { @@ -6249,7 +5931,6 @@ interface MPSImageSizeEncodingState { interface IMPSImageAllocator { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MPSImageAllocator : NSSecureCoding { @@ -6257,41 +5938,40 @@ interface MPSImageAllocator : NSSecureCoding { [Export ("imageForCommandBuffer:imageDescriptor:kernel:")] MPSImage GetImage (IMTLCommandBuffer cmdBuf, MPSImageDescriptor descriptor, MPSKernel kernel); - [iOS (11, 3), TV (11, 3), Mac (10, 13, 4)] + [iOS (11, 3), TV (11, 3)] [MacCatalyst (13, 1)] [Export ("imageBatchForCommandBuffer:imageDescriptor:kernel:count:")] NSArray GetImageBatch (IMTLCommandBuffer commandBuffer, MPSImageDescriptor descriptor, MPSKernel kernel, nuint count); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNStateNode), Name = "MPSCNNConvolutionStateNode")] [DisableDefaultCtor] interface MPSCnnConvolutionStateNode { } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNStateNode))] [DisableDefaultCtor] interface MPSNNGradientStateNode { } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientStateNode), Name = "MPSCNNConvolutionGradientStateNode")] [DisableDefaultCtor] interface MPSCnnConvolutionGradientStateNode { } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNStateNode))] [DisableDefaultCtor] interface MPSNNBinaryGradientStateNode { } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNBinaryGradientStateNode))] [DisableDefaultCtor] @@ -6300,7 +5980,6 @@ interface MPSNNArithmeticGradientStateNode { interface IMPSImageTransformProvider { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MPSImageTransformProvider : NSCoding { @@ -6309,7 +5988,6 @@ interface MPSImageTransformProvider : NSCoding { MPSScaleTransform GetTransform (MPSImage image, [NullAllowed] IMPSHandle handle); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MPSDeviceProvider { @@ -6318,7 +5996,6 @@ interface MPSDeviceProvider { IMTLDevice GetMTLDevice (); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingNode), Name = "MPSCNNPoolingAverageNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -6333,7 +6010,6 @@ interface MPSCnnPoolingAverageNode { NativeHandle Constructor (MPSNNImageNode sourceNode, nuint size); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingNode), Name = "MPSCNNPoolingL2NormNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -6348,7 +6024,6 @@ interface MPSCnnPoolingL2NormNode { NativeHandle Constructor (MPSNNImageNode sourceNode, nuint size); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnPoolingNode), Name = "MPSCNNPoolingMaxNode")] [DisableDefaultCtor] // 'init' is unavailable @@ -6363,7 +6038,6 @@ interface MPSCnnPoolingMaxNode { NativeHandle Constructor (MPSNNImageNode sourceNode, nuint size); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNBinaryArithmeticNode))] [DisableDefaultCtor] // 'init' is unavailable @@ -6375,7 +6049,6 @@ interface MPSNNAdditionNode { NativeHandle Constructor (MPSNNImageNode left, MPSNNImageNode right); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNScaleNode))] [DisableDefaultCtor] // 'init' is unavailable @@ -6387,7 +6060,6 @@ interface MPSNNBilinearScaleNode { NativeHandle Constructor (MPSNNImageNode sourceNode, [NullAllowed] IMPSImageTransformProvider transformProvider, MTLSize size); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNBinaryArithmeticNode))] [DisableDefaultCtor] // 'init' is unavailable @@ -6399,7 +6071,6 @@ interface MPSNNDivisionNode { NativeHandle Constructor (MPSNNImageNode left, MPSNNImageNode right); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNScaleNode))] [DisableDefaultCtor] // 'init' is unavailable @@ -6411,7 +6082,6 @@ interface MPSNNLanczosScaleNode { NativeHandle Constructor (MPSNNImageNode sourceNode, [NullAllowed] IMPSImageTransformProvider transformProvider, MTLSize size); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNBinaryArithmeticNode))] [DisableDefaultCtor] // 'init' is unavailable @@ -6423,7 +6093,6 @@ interface MPSNNMultiplicationNode { NativeHandle Constructor (MPSNNImageNode left, MPSNNImageNode right); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNBinaryArithmeticNode))] [DisableDefaultCtor] // 'init' is unavailable @@ -6435,7 +6104,7 @@ interface MPSNNSubtractionNode { NativeHandle Constructor (MPSNNImageNode left, MPSNNImageNode right); } - [TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSVector))] [DisableDefaultCtor] @@ -6453,7 +6122,7 @@ interface MPSTemporaryVector { nuint ReadCount { get; set; } } - [TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] @@ -6499,7 +6168,7 @@ interface MPSMatrixSum { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixUnaryKernel))] [DisableDefaultCtor] @@ -6528,7 +6197,7 @@ interface MPSMatrixSoftMax { MPSMatrixSoftMax Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixUnaryKernel))] [DisableDefaultCtor] @@ -6578,7 +6247,7 @@ interface MPSMatrixNeuron { MPSMatrixNeuron Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixBinaryKernel))] [DisableDefaultCtor] @@ -6627,7 +6296,7 @@ interface MPSMatrixNeuronGradient { MPSMatrixNeuronGradient Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixBinaryKernel))] [DisableDefaultCtor] @@ -6664,7 +6333,7 @@ interface MPSMatrixFullyConnectedGradient { MPSMatrixFullyConnectedGradient Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixSoftMax))] [DisableDefaultCtor] @@ -6679,7 +6348,7 @@ interface MPSMatrixLogSoftMax { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 2), Mac (10, 13, 2), iOS (11, 2)] + [TV (11, 2), iOS (11, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixBinaryKernel))] [DisableDefaultCtor] @@ -6729,7 +6398,7 @@ interface MPSMatrixFullyConnected { MPSMatrixFullyConnected Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] // Apple corrected availability here + [TV (11, 3), iOS (11, 3)] // Apple corrected availability here [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixUnaryKernel))] [DisableDefaultCtor] @@ -6764,7 +6433,7 @@ interface MPSMatrixFindTopK { MPSMatrixFindTopK Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (11, 3), iOS (11, 3), Mac (10, 13, 4)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MPSStateResourceList { @@ -6789,27 +6458,27 @@ interface MPSStateResourceList { void Append (nuint bufferSize); } - [TV (11, 3), iOS (11, 3), Mac (10, 13, 4)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (NSKeyedUnarchiver))] [DisableDefaultCtor] interface MPSKeyedUnarchiver : MPSDeviceProvider { - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("unarchivedObjectOfClasses:fromData:device:error:")] [return: NullAllowed] NSObject GetUnarchivedObject (NSSet classes, NSData data, IMTLDevice device, [NullAllowed] out NSError error); - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("unarchivedObjectOfClass:fromData:device:error:")] [return: NullAllowed] NSObject GetUnarchivedObject (Class @class, NSData data, IMTLDevice device, [NullAllowed] out NSError error); - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initForReadingFromData:device:error:")] NativeHandle Constructor (NSData data, IMTLDevice device, [NullAllowed] out NSError error); @@ -6822,7 +6491,7 @@ interface MPSKeyedUnarchiver : MPSDeviceProvider { // so there is not much point in binding/using these, they only short lived // for iOS 11.3 and Mac 10.13.4 and were considered experimental. - //[TV (11,3), iOS (11,3), Mac (10,13,4)] + //[TV (11,3), iOS (11,3)] //[Deprecated (PlatformName.TvOS, 12, 0)] //[Deprecated (PlatformName.iOS, 12, 0)] //[Deprecated (PlatformName.MacOSX, 10, 14)] @@ -6831,7 +6500,7 @@ interface MPSKeyedUnarchiver : MPSDeviceProvider { //[return: NullAllowed] //NSObject UnarchiveObjectWithData (NSData data, IMTLDevice device); - //[TV (11,3), iOS (11,3), Mac (10,13,4)] + //[TV (11,3), iOS (11,3)] //[Deprecated (PlatformName.TvOS, 12, 0)] //[Deprecated (PlatformName.iOS, 12, 0)] //[Deprecated (PlatformName.MacOSX, 10, 14)] @@ -6840,7 +6509,7 @@ interface MPSKeyedUnarchiver : MPSDeviceProvider { //[return: NullAllowed] //NSObject UnarchiveTopLevelObjectWithData (NSData data, IMTLDevice device, [NullAllowed] out NSError error); - //[TV (11,3), iOS (11,3), Mac (10,13,4)] + //[TV (11,3), iOS (11,3)] //[Deprecated (PlatformName.TvOS, 12, 0)] //[Deprecated (PlatformName.iOS, 12, 0)] //[Deprecated (PlatformName.MacOSX, 10, 14)] @@ -6849,14 +6518,14 @@ interface MPSKeyedUnarchiver : MPSDeviceProvider { //[return: NullAllowed] //NSObject UnarchiveObjectWithFile (string path, IMTLDevice device); - //[TV (11,3), iOS (11,3), Mac (10,13,4)] + //[TV (11,3), iOS (11,3)] //[Deprecated (PlatformName.TvOS, 12, 0)] //[Deprecated (PlatformName.iOS, 12, 0)] //[Deprecated (PlatformName.MacOSX, 10, 14)] //[Export ("initWithDevice:")] //NativeHandle Constructor (IMTLDevice device); - //[TV (11,3), iOS (11,3), Mac (10,13,4)] + //[TV (11,3), iOS (11,3)] //[Deprecated (PlatformName.TvOS, 12, 0)] //[Deprecated (PlatformName.iOS, 12, 0)] //[Deprecated (PlatformName.MacOSX, 10, 14)] @@ -6864,7 +6533,7 @@ interface MPSKeyedUnarchiver : MPSDeviceProvider { //NativeHandle Constructor (NSData data, IMTLDevice device); } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -6921,7 +6590,7 @@ interface MPSNDArrayAllocator : NSCoding, NSCopying, NSSecureCoding { MPSNDArray AllocateArray (IMTLCommandBuffer cmdBuf, MPSNDArrayDescriptor descriptor, MPSKernel kernel); } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -6991,7 +6660,7 @@ interface MPSNDArray { } [DisableDefaultCtor] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNDArray))] interface MPSTemporaryNDArray { @@ -7007,7 +6676,6 @@ interface MPSTemporaryNDArray { nuint ReadCount { get; set; } } - [TV (11, 0), iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImagePyramid))] [DisableDefaultCtor] @@ -7035,7 +6703,6 @@ interface MPSImageLaplacianPyramid { float LaplacianScale { [Bind ("getLaplacianScale")] get; [Bind ("setLaplacianScale:")] set; } } - [TV (11, 0), iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageLaplacianPyramid))] [DisableDefaultCtor] @@ -7057,7 +6724,6 @@ interface MPSImageLaplacianPyramidSubtract { } - [TV (11, 0), iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageLaplacianPyramid))] [DisableDefaultCtor] @@ -7078,7 +6744,7 @@ interface MPSImageLaplacianPyramidAdd { IntPtr InitWithDevice (IMTLDevice device, nuint kernelWidth, nuint kernelHeight, /* float* */ IntPtr kernelWeights); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] @@ -7108,7 +6774,7 @@ interface MPSMatrixCopyToImage { void Encode (IMTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, NSArray destinationImages); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] @@ -7123,7 +6789,7 @@ interface MPSImageEuclideanDistanceTransform { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] @@ -7156,7 +6822,7 @@ interface MPSImageGuidedFilter { void EncodeReconstruction (IMTLCommandBuffer commandBuffer, IMTLTexture guidanceTexture, IMTLTexture coefficientsTexture, IMTLTexture destinationTexture); } - [TV (12, 0), iOS (12, 0), Mac (10, 14)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] @@ -7190,7 +6856,7 @@ MPSImageHistogramInfo HistogramInfo { nuint GetHistogramSize (MTLPixelFormat sourceFormat); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSUnaryImageKernel))] [DisableDefaultCtor] // Only subclasses are meant to be used @@ -7200,7 +6866,7 @@ interface MPSImageReduceUnary { MTLRegion ClipRectSource { get; set; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageReduceUnary))] [DisableDefaultCtor] @@ -7211,7 +6877,7 @@ interface MPSImageReduceRowMin { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageReduceUnary))] [DisableDefaultCtor] @@ -7222,7 +6888,7 @@ interface MPSImageReduceColumnMin { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageReduceUnary))] [DisableDefaultCtor] @@ -7233,7 +6899,7 @@ interface MPSImageReduceRowMax { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageReduceUnary))] [DisableDefaultCtor] @@ -7244,7 +6910,7 @@ interface MPSImageReduceColumnMax { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageReduceUnary))] [DisableDefaultCtor] @@ -7255,7 +6921,7 @@ interface MPSImageReduceRowMean { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageReduceUnary))] [DisableDefaultCtor] @@ -7266,7 +6932,7 @@ interface MPSImageReduceColumnMean { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageReduceUnary))] [DisableDefaultCtor] @@ -7277,7 +6943,7 @@ interface MPSImageReduceRowSum { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSImageReduceUnary))] [DisableDefaultCtor] @@ -7288,7 +6954,7 @@ interface MPSImageReduceColumnSum { NativeHandle Constructor (IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixBinaryKernel))] [DisableDefaultCtor] @@ -7317,7 +6983,7 @@ interface MPSMatrixSoftMaxGradient { MPSMatrixSoftMaxGradient Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixSoftMaxGradient))] [DisableDefaultCtor] @@ -7332,7 +6998,7 @@ interface MPSMatrixLogSoftMaxGradient { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] @@ -7390,7 +7056,7 @@ interface MPSRayIntersector : NSSecureCoding, NSCopying { void EncodeIntersection (IMTLCommandBuffer commandBuffer, MPSIntersectionType intersectionType, IMTLBuffer rayBuffer, nuint rayBufferOffset, IMTLBuffer intersectionBuffer, nuint intersectionBufferOffset, IMTLBuffer rayCountBuffer, nuint rayCountBufferOffset, MPSAccelerationStructure accelerationStructure); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -7403,7 +7069,7 @@ interface MPSAccelerationStructureGroup { NativeHandle Constructor (IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSAccelerationStructure))] [DisableDefaultCtor] @@ -7455,7 +7121,7 @@ interface MPSInstanceAccelerationStructure { delegate void MPSAccelerationStructureCompletionHandler ([NullAllowed] MPSAccelerationStructure structure); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] @@ -7514,7 +7180,7 @@ MPSAxisAlignedBoundingBox BoundingBox { void Encode (NSCoder coder); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSAccelerationStructure))] [DisableDefaultCtor] @@ -7564,7 +7230,7 @@ interface MPSTriangleAccelerationStructure { NativeHandle Constructor (NSCoder aDecoder, MPSAccelerationStructureGroup group); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientState), Name = "MPSCNNBatchNormalizationState")] [DisableDefaultCtor] @@ -7595,7 +7261,7 @@ interface MPSCnnBatchNormalizationState { IMTLBuffer GradientForBeta { get; } } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSState), Name = "MPSCNNNormalizationMeanAndVarianceState")] [DisableDefaultCtor] @@ -7617,7 +7283,7 @@ interface MPSCnnNormalizationMeanAndVarianceState { interface IMPSCnnBatchNormalizationDataSource { } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] #if NET [Protocol, Model] @@ -7663,7 +7329,7 @@ interface MPSCnnBatchNormalizationDataSource : NSCopying { [return: NullAllowed] MPSCnnNormalizationGammaAndBetaState UpdateGammaAndBeta (IMTLCommandBuffer commandBuffer, MPSCnnBatchNormalizationState batchNormalizationState); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("updateMeanAndVarianceWithCommandBuffer:batchNormalizationState:")] [return: NullAllowed] @@ -7672,7 +7338,7 @@ interface MPSCnnBatchNormalizationDataSource : NSCopying { [Export ("updateGammaAndBetaWithBatchNormalizationState:")] bool UpdateGammaAndBeta (MPSCnnBatchNormalizationState batchNormalizationState); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("updateMeanAndVarianceWithBatchNormalizationState:")] bool UpdateMeanAndVariance (MPSCnnBatchNormalizationState batchNormalizationState); @@ -7690,14 +7356,14 @@ interface MPSCnnBatchNormalizationDataSource : NSCopying { [Export ("supportsSecureCoding")] bool SupportsSecureCoding { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("copyWithZone:device:")] [return: Release] IMPSCnnBatchNormalizationDataSource Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNBatchNormalization")] [DisableDefaultCtor] @@ -7715,7 +7381,7 @@ interface MPSCnnBatchNormalization { [Export ("initWithDevice:dataSource:")] NativeHandle Constructor (IMTLDevice device, IMPSCnnBatchNormalizationDataSource dataSource); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:dataSource:fusedNeuronDescriptor:")] [DesignatedInitializer] @@ -7745,12 +7411,12 @@ interface MPSCnnBatchNormalization { //[Export ("reloadDataSource:")] //void ReloadDataSource (IMPSCnnBatchNormalizationDataSource dataSource); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("reloadGammaAndBetaFromDataSource")] void ReloadGammaAndBetaFromDataSource (); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("reloadMeanAndVarianceFromDataSource")] void ReloadMeanAndVarianceFromDataSource (); @@ -7758,13 +7424,13 @@ interface MPSCnnBatchNormalization { [Export ("reloadGammaAndBetaWithCommandBuffer:gammaAndBetaState:")] void ReloadGammaAndBeta (IMTLCommandBuffer commandBuffer, MPSCnnNormalizationGammaAndBetaState gammaAndBetaState); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("reloadMeanAndVarianceWithCommandBuffer:meanAndVarianceState:")] void ReloadMeanAndVariance (IMTLCommandBuffer commandBuffer, MPSCnnNormalizationMeanAndVarianceState meanAndVarianceState); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNBatchNormalizationStatistics")] [DisableDefaultCtor] @@ -7782,13 +7448,13 @@ interface MPSCnnBatchNormalizationStatistics { void EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImages, MPSCnnBatchNormalizationState batchNormalizationState); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNBatchNormalizationGradient")] [DisableDefaultCtor] interface MPSCnnBatchNormalizationGradient { - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:fusedNeuronDescriptor:")] [DesignatedInitializer] @@ -7811,13 +7477,13 @@ interface MPSCnnBatchNormalizationGradient { NSArray EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceGradients, NSArray sourceImages, MPSCnnBatchNormalizationState batchNormalizationState); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNBatchNormalizationStatisticsGradient")] [DisableDefaultCtor] interface MPSCnnBatchNormalizationStatisticsGradient { - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("initWithDevice:fusedNeuronDescriptor:")] [DesignatedInitializer] @@ -7831,7 +7497,7 @@ interface MPSCnnBatchNormalizationStatisticsGradient { void EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceGradients, NSArray sourceImages, MPSCnnBatchNormalizationState batchNormalizationState); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientState), Name = "MPSCNNConvolutionGradientState")] [DisableDefaultCtor] @@ -7847,7 +7513,7 @@ interface MPSCnnConvolutionGradientState : MPSImageSizeEncodingState { MPSCnnConvolution Convolution { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSState), Name = "MPSCNNConvolutionWeightsAndBiasesState")] [DisableDefaultCtor] @@ -7870,7 +7536,7 @@ interface MPSCnnConvolutionWeightsAndBiasesState { MPSCnnConvolutionWeightsAndBiasesState GetTemporaryCnnConvolutionWeightsAndBiasesState (IMTLCommandBuffer commandBuffer, MPSCnnConvolutionDescriptor descriptor); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNConvolutionGradient")] [DisableDefaultCtor] @@ -7885,7 +7551,7 @@ interface MPSCnnConvolutionGradient { [Export ("groups")] nuint Groups { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("channelMultiplier")] nuint ChannelMultiplier { get; } @@ -7910,7 +7576,7 @@ interface MPSCnnConvolutionGradient { [DesignatedInitializer] NativeHandle Constructor (NSCoder decoder, IMTLDevice device); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("reloadWeightsAndBiasesFromDataSource")] void ReloadWeightsAndBiasesFromDataSource (); @@ -7919,7 +7585,7 @@ interface MPSCnnConvolutionGradient { void ReloadWeightsAndBiases (IMTLCommandBuffer commandBuffer, MPSCnnConvolutionWeightsAndBiasesState state); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnConvolutionGradient), Name = "MPSCNNFullyConnectedGradient")] [DisableDefaultCtor] @@ -7934,7 +7600,7 @@ interface MPSCnnFullyConnectedGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientState), Name = "MPSCNNDropoutGradientState")] [DisableDefaultCtor] @@ -7944,7 +7610,7 @@ interface MPSCnnDropoutGradientState { NSData MaskData { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNDropout")] [DisableDefaultCtor] @@ -7968,7 +7634,7 @@ interface MPSCnnDropout { NativeHandle Constructor (IMTLDevice device, float keepProbability, nuint seed, MTLSize maskStrideInPixels); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNDropoutGradient")] [DisableDefaultCtor] @@ -7992,7 +7658,7 @@ interface MPSCnnDropoutGradient { NativeHandle Constructor (IMTLDevice device, float keepProbability, nuint seed, MTLSize maskStrideInPixels); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNGradientState), Name = "MPSCNNInstanceNormalizationGradientState")] [DisableDefaultCtor] @@ -8016,7 +7682,7 @@ interface MPSCnnInstanceNormalizationGradientState { interface IMPSCnnInstanceNormalizationDataSource { } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] #if NET [Protocol, Model] @@ -8063,14 +7729,14 @@ interface MPSCnnInstanceNormalizationDataSource : NSCopying { //[Export ("supportsSecureCoding")] //bool SupportsSecureCoding { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("copyWithZone:device:")] [return: Release] IMPSCnnInstanceNormalizationDataSource Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNInstanceNormalization")] [DisableDefaultCtor] @@ -8097,7 +7763,7 @@ interface MPSCnnInstanceNormalization { [Export ("reloadDataSource:")] void ReloadDataSource (IMPSCnnInstanceNormalizationDataSource dataSource); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("reloadGammaAndBetaFromDataSource")] void ReloadGammaAndBetaFromDataSource (); @@ -8114,7 +7780,7 @@ interface MPSCnnInstanceNormalization { MPSCnnInstanceNormalizationGradientState GetTemporaryResultState (IMTLCommandBuffer commandBuffer, MPSImage sourceImage, [NullAllowed] NSArray sourceStates, MPSImage destinationImage); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNInstanceNormalizationGradient")] [DisableDefaultCtor] @@ -8129,7 +7795,7 @@ interface MPSCnnInstanceNormalizationGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnBinaryKernel), Name = "MPSCNNGradientKernel")] [DisableDefaultCtor] @@ -8162,7 +7828,7 @@ interface MPSCnnGradientKernel { void EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceGradients, NSArray sourceImages, NSArray gradientStates, NSArray destinationGradients); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MPSCNNLossDataDescriptor")] [DisableDefaultCtor] @@ -8186,7 +7852,7 @@ interface MPSCnnLossDataDescriptor : NSCopying { MPSCnnLossDataDescriptor Create (NSData data, MPSDataLayout layout, MTLSize size); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSState), Name = "MPSCNNLossLabels")] [DisableDefaultCtor] @@ -8202,18 +7868,18 @@ interface MPSCnnLossLabels { [Export ("lossImage")] MPSImage LossImage { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("labelsImage")] MPSImage LabelsImage { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("weightsImage")] MPSImage WeightsImage { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MPSCNNLossDescriptor")] [DisableDefaultCtor] @@ -8245,7 +7911,7 @@ interface MPSCnnLossDescriptor : NSCopying { MPSCnnLossDescriptor Create (MPSCnnLossType lossType, MPSCnnReductionType reductionType); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNLoss")] [DisableDefaultCtor] @@ -8293,7 +7959,7 @@ interface MPSCnnLoss { NSArray EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImage, NSArray labels); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "MPSCNNYOLOLossDescriptor")] [DisableDefaultCtor] @@ -8349,7 +8015,7 @@ interface MPSCnnYoloLossDescriptor : NSCopying { MPSCnnYoloLossDescriptor Create (MPSCnnLossType xyLossType, MPSCnnLossType whLossType, MPSCnnLossType confidenceLossType, MPSCnnLossType classesLossType, MPSCnnReductionType reductionType, NSData anchorBoxes, nuint numberOfAnchorBoxes); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel), Name = "MPSCNNYOLOLoss")] [DisableDefaultCtor] @@ -8418,7 +8084,7 @@ interface MPSCnnYoloLoss { NSArray EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray sourceImage, NSArray labels); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNBinaryGradientState), Name = "MPSCNNArithmeticGradientState")] [DisableDefaultCtor] @@ -8426,7 +8092,7 @@ interface MPSCnnArithmeticGradientState { } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnBinaryKernel), Name = "MPSCNNArithmetic")] [DisableDefaultCtor] @@ -8469,7 +8135,7 @@ interface MPSCnnArithmetic { void EncodeBatch (IMTLCommandBuffer commandBuffer, NSArray primaryImages, NSArray secondaryImages, MPSCnnArithmeticGradientState [] destinationStates, NSArray destinationImages); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnArithmetic), Name = "MPSCNNAdd")] [DisableDefaultCtor] @@ -8480,7 +8146,7 @@ interface MPSCnnAdd { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnArithmetic), Name = "MPSCNNSubtract")] [DisableDefaultCtor] @@ -8491,7 +8157,7 @@ interface MPSCnnSubtract { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnArithmetic), Name = "MPSCNNMultiply")] [DisableDefaultCtor] @@ -8502,7 +8168,7 @@ interface MPSCnnMultiply { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnArithmetic), Name = "MPSCNNDivide")] [DisableDefaultCtor] @@ -8513,7 +8179,7 @@ interface MPSCnnDivide { NativeHandle Constructor (IMTLDevice device); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnArithmetic))] [DisableDefaultCtor] @@ -8530,7 +8196,7 @@ interface MPSNNCompare { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNArithmeticGradient")] [DisableDefaultCtor] @@ -8567,7 +8233,7 @@ interface MPSCnnArithmeticGradient { bool IsSecondarySourceFilter { get; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnArithmeticGradient), Name = "MPSCNNAddGradient")] [DisableDefaultCtor] @@ -8578,7 +8244,7 @@ interface MPSCnnAddGradient { NativeHandle Constructor (IMTLDevice device, bool isSecondarySourceFilter); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnArithmeticGradient), Name = "MPSCNNSubtractGradient")] [DisableDefaultCtor] @@ -8589,7 +8255,7 @@ interface MPSCnnSubtractGradient { NativeHandle Constructor (IMTLDevice device, bool isSecondarySourceFilter); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnArithmeticGradient), Name = "MPSCNNMultiplyGradient")] [DisableDefaultCtor] @@ -8600,7 +8266,7 @@ interface MPSCnnMultiplyGradient { NativeHandle Constructor (IMTLDevice device, bool isSecondarySourceFilter); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -8642,7 +8308,7 @@ interface MPSNNNeuronDescriptor : NSCopying, NSSecureCoding { MPSNNNeuronDescriptor Create (NSData data, bool noCopy); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel), Name = "MPSCNNNeuronGradient")] [DisableDefaultCtor] @@ -8672,7 +8338,7 @@ interface MPSCnnNeuronGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSState), Name = "MPSCNNNormalizationGammaAndBetaState")] [DisableDefaultCtor] @@ -8692,7 +8358,7 @@ interface MPSCnnNormalizationGammaAndBetaState { MPSCnnNormalizationGammaAndBetaState GetTemporaryState (IMTLCommandBuffer commandBuffer, nuint numberOfFeatureChannels); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixUnaryKernel))] [DisableDefaultCtor] @@ -8741,7 +8407,7 @@ interface MPSMatrixBatchNormalization { MPSMatrixBatchNormalization Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSMatrixBinaryKernel))] [DisableDefaultCtor] @@ -8787,7 +8453,7 @@ interface MPSMatrixBatchNormalizationGradient { MPSMatrixBatchNormalizationGradient Copy ([NullAllowed] NSZone zone, [NullAllowed] IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSState))] [DisableDefaultCtor] @@ -8829,7 +8495,7 @@ interface MPSNNGradientState { NativeHandle Constructor ([NullAllowed] IMTLResource [] resources); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSState))] [DisableDefaultCtor] @@ -8873,7 +8539,7 @@ interface MPSNNBinaryGradientState { interface IMPSNNTrainableNode { } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [Protocol] interface MPSNNTrainableNode { @@ -8882,7 +8548,7 @@ interface MPSNNTrainableNode { MPSNNTrainingStyle TrainingStyle { get; set; } } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -8924,7 +8590,7 @@ interface MPSNNOptimizerDescriptor { MPSNNOptimizerDescriptor Create (float learningRate, float gradientRescale, bool applyGradientClipping, float gradientClipMax, float gradientClipMin, MPSNNRegularizationType regularizationType, float regularizationScale); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel))] [DisableDefaultCtor] // You must use one of the sub-classes of MPSNNOptimizer. @@ -8955,7 +8621,7 @@ interface MPSNNOptimizer { void SetLearningRate (float newLearningRate); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNOptimizer))] [DisableDefaultCtor] @@ -8986,7 +8652,7 @@ interface MPSNNOptimizerStochasticGradientDescent { void Encode (IMTLCommandBuffer commandBuffer, MPSCnnBatchNormalizationState batchNormalizationGradientState, MPSCnnBatchNormalizationState batchNormalizationSourceState, [NullAllowed] NSArray inputMomentumVectors, MPSCnnNormalizationGammaAndBetaState resultState); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNOptimizer), Name = "MPSNNOptimizerRMSProp")] [DisableDefaultCtor] @@ -9017,7 +8683,7 @@ interface MPSNNOptimizerRmsProp { void Encode (IMTLCommandBuffer commandBuffer, MPSCnnBatchNormalizationState batchNormalizationGradientState, MPSCnnBatchNormalizationState batchNormalizationSourceState, [NullAllowed] NSArray inputSumOfSquaresVectors, MPSCnnNormalizationGammaAndBetaState resultState); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNOptimizer))] [DisableDefaultCtor] @@ -9054,7 +8720,7 @@ interface MPSNNOptimizerAdam { void Encode (IMTLCommandBuffer commandBuffer, MPSCnnBatchNormalizationState batchNormalizationGradientState, MPSCnnBatchNormalizationState batchNormalizationSourceState, [NullAllowed] NSArray inputMomentumVectors, [NullAllowed] NSArray inputVelocityVectors, MPSCnnNormalizationGammaAndBetaState resultState); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel))] [DisableDefaultCtor] // You must use one of the sub-classes of MPSNNReduceUnary. @@ -9064,7 +8730,7 @@ interface MPSNNReduceUnary { MTLRegion ClipRectSource { get; set; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9075,7 +8741,7 @@ interface MPSNNReduceRowMin { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9086,7 +8752,7 @@ interface MPSNNReduceColumnMin { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9097,7 +8763,7 @@ interface MPSNNReduceFeatureChannelsMin { NativeHandle Constructor (IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9108,7 +8774,7 @@ interface MPSNNReduceFeatureChannelsArgumentMin { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9119,7 +8785,7 @@ interface MPSNNReduceRowMax { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9130,7 +8796,7 @@ interface MPSNNReduceColumnMax { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9141,7 +8807,7 @@ interface MPSNNReduceFeatureChannelsMax { NativeHandle Constructor (IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9152,7 +8818,7 @@ interface MPSNNReduceFeatureChannelsArgumentMax { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9163,7 +8829,7 @@ interface MPSNNReduceRowMean { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9174,7 +8840,7 @@ interface MPSNNReduceColumnMean { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9185,7 +8851,7 @@ interface MPSNNReduceFeatureChannelsMean { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9196,7 +8862,7 @@ interface MPSNNReduceRowSum { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9207,7 +8873,7 @@ interface MPSNNReduceColumnSum { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceUnary))] [DisableDefaultCtor] @@ -9221,7 +8887,7 @@ interface MPSNNReduceFeatureChannelsSum { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnBinaryKernel))] [DisableDefaultCtor] // You must use one of the sub-classes of MPSNNReduceBinary. @@ -9234,7 +8900,7 @@ interface MPSNNReduceBinary { MTLRegion SecondarySourceClipRect { get; set; } } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceBinary))] [DisableDefaultCtor] @@ -9245,7 +8911,7 @@ interface MPSNNReduceFeatureChannelsAndWeightsMean { NativeHandle Constructor (IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSNNReduceBinary))] [DisableDefaultCtor] @@ -9262,7 +8928,7 @@ interface MPSNNReduceFeatureChannelsAndWeightsSum { NativeHandle Constructor (IMTLDevice device, bool doWeightedSumByNonZeroWeights); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel))] [DisableDefaultCtor] @@ -9277,7 +8943,7 @@ interface MPSNNReshape { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel))] [DisableDefaultCtor] @@ -9292,7 +8958,7 @@ interface MPSNNReshapeGradient { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel))] [DisableDefaultCtor] @@ -9322,7 +8988,7 @@ interface MPSNNPad { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (12, 1), Mac (10, 14, 1), iOS (12, 1)] + [TV (12, 1), iOS (12, 1)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnGradientKernel))] [DisableDefaultCtor] @@ -9337,7 +9003,7 @@ interface MPSNNPadGradient { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel))] [DisableDefaultCtor] @@ -9361,7 +9027,7 @@ interface MPSNNResizeBilinear { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel))] [DisableDefaultCtor] @@ -9388,7 +9054,7 @@ interface MPSNNCropAndResizeBilinear { NativeHandle Constructor (NSCoder aDecoder, IMTLDevice device); } - [TV (11, 3), Mac (10, 13, 4), iOS (11, 3)] + [TV (11, 3), iOS (11, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSCnnKernel))] [DisableDefaultCtor] @@ -9403,7 +9069,7 @@ interface MPSNNSlice { NativeHandle Constructor (NSCoder decoder, IMTLDevice device); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSState), Name = "MPSRNNMatrixTrainingState")] [DisableDefaultCtor] @@ -9445,7 +9111,7 @@ interface MPSRnnMatrixTrainingState { NativeHandle Constructor ([NullAllowed] IMTLResource [] resources); } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MPSKernel), Name = "MPSRNNMatrixTrainingLayer")] [DisableDefaultCtor] diff --git a/src/mobilecoreservices.cs b/src/mobilecoreservices.cs index 19894e90d3db..449ce8bb9def 100644 --- a/src/mobilecoreservices.cs +++ b/src/mobilecoreservices.cs @@ -44,7 +44,6 @@ interface UTType { NSString SymLink { get; } [Field ("kUTTypeExecutable", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] // Symbol not found: _kUTTypeExecutable in 10.9 [MacCatalyst (13, 1)] NSString Executable { get; } @@ -58,7 +57,6 @@ interface UTType { NSString AliasRecord { get; } [Field ("kUTTypeURLBookmarkData", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString URLBookmarkData { get; } @@ -84,22 +82,18 @@ interface UTType { NSString UTF16PlainText { get; } [Field ("kUTTypeDelimitedText", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString DelimitedText { get; } [Field ("kUTTypeCommaSeparatedText", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString CommaSeparatedText { get; } [Field ("kUTTypeTabSeparatedText", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString TabSeparatedText { get; } [Field ("kUTTypeUTF8TabSeparatedText", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString UTF8TabSeparatedText { get; } @@ -116,7 +110,6 @@ interface UTType { NSString SourceCode { get; } [Field ("kUTTypeAssemblyLanguageSource", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString AssemblyLanguageSource { get; } @@ -142,72 +135,58 @@ interface UTType { NSString JavaSource { get; } [Field ("kUTTypeScript", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString Script { get; } [Field ("kUTTypeAppleScript", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString AppleScript { get; } [Field ("kUTTypeOSAScript", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString OSAScript { get; } [Field ("kUTTypeOSAScriptBundle", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString OSAScriptBundle { get; } [Field ("kUTTypeJavaScript", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString JavaScript { get; } [Field ("kUTTypeShellScript", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString ShellScript { get; } [Field ("kUTTypePerlScript", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString PerlScript { get; } [Field ("kUTTypePythonScript", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString PythonScript { get; } [Field ("kUTTypeRubyScript", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString RubyScript { get; } [Field ("kUTTypePHPScript", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString PHPScript { get; } [Field ("kUTTypeJSON", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString JSON { get; } [Field ("kUTTypePropertyList", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString PropertyList { get; } [Field ("kUTTypeXMLPropertyList", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString XMLPropertyList { get; } [Field ("kUTTypeBinaryPropertyList", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString BinaryPropertyList { get; } @@ -260,12 +239,10 @@ interface UTType { NSString ICO { get; } [Field ("kUTTypeRawImage", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString RawImage { get; } [Field ("kUTTypeScalableVectorGraphics", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString ScalableVectorGraphics { get; } @@ -288,12 +265,10 @@ interface UTType { NSString MPEG { get; } [Field ("kUTTypeMPEG2Video", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString MPEG2Video { get; } [Field ("kUTTypeMPEG2TransportStream", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString MPEG2TransportStream { get; } @@ -310,37 +285,30 @@ interface UTType { NSString AppleProtectedMPEG4Audio { get; } [Field ("kUTTypeAppleProtectedMPEG4Video", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString AppleProtectedMPEG4Video { get; } [Field ("kUTTypeAVIMovie", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString AVIMovie { get; } [Field ("kUTTypeAudioInterchangeFileFormat", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString AudioInterchangeFileFormat { get; } [Field ("kUTTypeWaveformAudio", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString WaveformAudio { get; } [Field ("kUTTypeMIDIAudio", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString MIDIAudio { get; } [Field ("kUTTypePlaylist", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString Playlist { get; } [Field ("kUTTypeM3UPlaylist", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString M3UPlaylist { get; } @@ -357,22 +325,18 @@ interface UTType { NSString Bundle { get; } [Field ("kUTTypePluginBundle", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString PluginBundle { get; } [Field ("kUTTypeSpotlightImporter", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString SpotlightImporter { get; } [Field ("kUTTypeQuickLookGenerator", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString QuickLookGenerator { get; } [Field ("kUTTypeXPCService", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString XPCService { get; } @@ -389,57 +353,46 @@ interface UTType { NSString ApplicationFile { get; } [Field ("kUTTypeUnixExecutable", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString UnixExecutable { get; } [Field ("kUTTypeWindowsExecutable", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString WindowsExecutable { get; } [Field ("kUTTypeJavaClass", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString JavaClass { get; } [Field ("kUTTypeJavaArchive", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString JavaArchive { get; } [Field ("kUTTypeSystemPreferencesPane", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString SystemPreferencesPane { get; } [Field ("kUTTypeGNUZipArchive", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString GNUZipArchive { get; } [Field ("kUTTypeBzip2Archive", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString Bzip2Archive { get; } [Field ("kUTTypeZipArchive", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString ZipArchive { get; } [Field ("kUTTypeSpreadsheet", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString Spreadsheet { get; } [Field ("kUTTypePresentation", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString Presentation { get; } [Field ("kUTTypeDatabase", "+CoreServices")] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSString Database { get; } @@ -447,22 +400,18 @@ interface UTType { NSString VCard { get; } [Field ("kUTTypeToDoItem", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString ToDoItem { get; } [Field ("kUTTypeCalendarEvent", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString CalendarEvent { get; } [Field ("kUTTypeEmailMessage", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString EmailMessage { get; } [Field ("kUTTypeInternetLocation", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString InternetLocation { get; } @@ -470,37 +419,30 @@ interface UTType { NSString InkText { get; } [Field ("kUTTypeFont", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString Font { get; } [Field ("kUTTypeBookmark", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString Bookmark { get; } [Field ("kUTType3DContent", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString ThreeDContent { get; } [Field ("kUTTypePKCS12", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString PKCS12 { get; } [Field ("kUTTypeX509Certificate", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString X509Certificate { get; } [Field ("kUTTypeElectronicPublication", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString ElectronicPublication { get; } [Field ("kUTTypeLog", "+CoreServices")] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] NSString Log { get; } @@ -551,43 +493,31 @@ interface UTType { [Field ("kUTTagClassOSType", "+CoreServices")] NSString TagClassOSType { get; } - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kUTTypeSwiftSource", "+CoreServices")] NSString SwiftSource { get; } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kUTTypeAlembic", "ModelIO")] NSString Alembic { get; } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kUTType3dObject", "ModelIO")] NSString k3dObject { get; } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kUTTypePolygon", "ModelIO")] NSString Polygon { get; } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kUTTypeStereolithography", "ModelIO")] NSString Stereolithography { get; } [NoWatch] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kUTTypeUniversalSceneDescription", "ModelIO")] NSString UniversalSceneDescription { get; } @@ -597,8 +527,6 @@ interface UTType { [Field ("kUTTypeUniversalSceneDescriptionMobile", "ModelIO")] NSString UniversalSceneDescriptionMobile { get; } - [Watch (2, 2)] - [iOS (9, 1)] [NoMac] [MacCatalyst (13, 1)] [Field ("kUTTypeLivePhoto", "+CoreServices")] diff --git a/src/modelio.cs b/src/modelio.cs index 8883f5b75645..bd2e6598738d 100644 --- a/src/modelio.cs +++ b/src/modelio.cs @@ -72,7 +72,6 @@ namespace ModelIO { - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Native] enum MDLAnimatedValueInterpolation : ulong { @@ -80,7 +79,6 @@ enum MDLAnimatedValueInterpolation : ulong { Linear, } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Native] enum MDLTransformOpRotationOrder : ulong { @@ -92,7 +90,6 @@ enum MDLTransformOpRotationOrder : ulong { Zyx, } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Native] enum MDLDataPrecision : ulong { @@ -103,8 +100,6 @@ enum MDLDataPrecision : ulong { delegate void MDLObjectHandler (MDLObject mdlObject, ref bool stop); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLPhysicallyPlausibleLight))] [DisableDefaultCtor] @@ -124,7 +119,6 @@ Vector2 SuperEllipticPower { float Aspect { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLAsset : NSCopying { @@ -134,9 +128,6 @@ interface MDLAsset : NSCopying { [Export ("initWithURL:vertexDescriptor:bufferAllocator:")] NativeHandle Constructor ([NullAllowed] NSUrl url, [NullAllowed] MDLVertexDescriptor vertexDescriptor, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator); - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("initWithBufferAllocator:")] NativeHandle Constructor ([NullAllowed] IMDLMeshBufferAllocator bufferAllocator); @@ -148,7 +139,6 @@ interface MDLAsset : NSCopying { [Export ("exportAssetToURL:error:")] bool ExportAssetToUrl (NSUrl url, out NSError error); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("objectAtPath:")] MDLObject GetObject (string atPath); @@ -161,43 +151,34 @@ interface MDLAsset : NSCopying { [Export ("canExportFileExtension:")] bool CanExportFileExtension (string extension); - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("components", ArgumentSemantic.Copy)] IMDLComponent [] Components { get; } - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Export ("setComponent:forProtocol:")] void SetComponent (IMDLComponent component, Protocol protocol); - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Wrap ("SetComponent (component, new Protocol (type))")] void SetComponent (IMDLComponent component, Type type); - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Export ("componentConformingToProtocol:")] [return: NullAllowed] IMDLComponent GetComponent (Protocol protocol); - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Wrap ("GetComponent (new Protocol (type!))")] [return: NullAllowed] IMDLComponent GetComponent (Type type); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("childObjectsOfClass:")] MDLObject [] GetChildObjects (Class objectClass); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("loadTextures")] void LoadTextures (); @@ -221,7 +202,6 @@ MDLAxisAlignedBoundingBox BoundingBox { [Export ("endTime")] double EndTime { get; set; } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("upAxis", ArgumentSemantic.Assign)] NVector3 UpAxis { @@ -234,7 +214,6 @@ NVector3 UpAxis { [NullAllowed, Export ("URL", ArgumentSemantic.Retain)] NSUrl Url { get; } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("resolver", ArgumentSemantic.Retain)] IMDLAssetResolver Resolver { get; set; } @@ -265,9 +244,6 @@ NVector3 UpAxis { [Deprecated (PlatformName.TvOS, 15, 0, message: "Use the 'Originals' property instead.")] [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the 'Originals' property instead.")] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use the 'Originals' property instead.")] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("masters", ArgumentSemantic.Retain)] IMDLObjectContainerComponent Masters { get; set; } @@ -276,7 +252,6 @@ NVector3 UpAxis { [Export ("originals", ArgumentSemantic.Retain)] IMDLObjectContainerComponent Originals { get; set; } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("animations", ArgumentSemantic.Retain)] IMDLObjectContainerComponent Animations { get; set; } @@ -285,8 +260,6 @@ NVector3 UpAxis { [Export ("assetWithSCNScene:")] MDLAsset FromScene (SCNScene scene); - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("assetWithSCNScene:bufferAllocator:")] @@ -296,9 +269,6 @@ NVector3 UpAxis { [Static] [Export ("placeLightProbesWithDensity:heuristic:usingIrradianceDataSource:")] - [Mac (10, 12)] - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] MDLLightProbe [] PlaceLightProbes (float density, MDLProbePlacement type, IMDLLightProbeIrradianceDataSource dataSource); } @@ -306,7 +276,6 @@ NVector3 UpAxis { interface IMDLLightProbeIrradianceDataSource { } // Added in iOS 10 SDK but it is supposed to be present in iOS 9. - [Mac (10, 12)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -323,7 +292,6 @@ interface MDLLightProbeIrradianceDataSource { NSData GetSphericalHarmonicsCoefficients (Vector3 position); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLObject))] interface MDLCamera { @@ -345,9 +313,6 @@ MatrixFloat4x4 ProjectionMatrix4x4 { } #endif - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("projection", ArgumentSemantic.Assign)] MDLCameraProjection Projection { get; set; } @@ -465,7 +430,6 @@ Vector3 Exposure { MDLCamera FromSceneCamera (SCNCamera sceneCamera); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLTexture))] [DisableDefaultCtor] @@ -491,7 +455,6 @@ interface MDLCheckerboardTexture { CGColor Color2 { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLTexture))] [DisableDefaultCtor] @@ -510,7 +473,6 @@ interface MDLColorSwatchTexture { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLObject))] interface MDLLight { @@ -525,9 +487,6 @@ interface MDLLight { [Export ("lightType")] MDLLightType LightType { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("colorSpace")] // No documentation to confirm but this should be a constant (hence NSString). @@ -538,7 +497,6 @@ interface MDLLight { MDLLight FromSceneLight (SCNLight sceneLight); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLLight))] interface MDLLightProbe { @@ -569,7 +527,6 @@ interface MDLLightProbe { MDLLightProbe Create (nint textureSize, MDLTransform transform, MDLLight [] lightsToConsider, MDLObject [] objectsToConsider, [NullAllowed] MDLTexture reflectiveCubemap, [NullAllowed] MDLTexture irradianceCubemap); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLMaterial : MDLNamed, INSFastEnumeration { @@ -590,8 +547,6 @@ interface MDLMaterial : MDLNamed, INSFastEnumeration { [return: NullAllowed] MDLMaterialProperty GetProperty (MDLMaterialSemantic semantic); - [iOS (10, 2), Mac (10, 12, 2)] - [TV (11, 0)] // This is what apple's headers say (today) [MacCatalyst (13, 1)] [Export ("propertiesWithSemantic:")] MDLMaterialProperty [] GetProperties (MDLMaterialSemantic semantic); @@ -599,12 +554,10 @@ interface MDLMaterial : MDLNamed, INSFastEnumeration { [Export ("removeAllProperties")] void RemoveAllProperties (); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("resolveTexturesWithResolver:")] void ResolveTextures (IMDLAssetResolver resolver); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("loadTexturesUsingResolver:")] void LoadTextures (IMDLAssetResolver resolver); @@ -628,9 +581,6 @@ interface MDLMaterial : MDLNamed, INSFastEnumeration { [Export ("count")] nuint Count { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("materialFace", ArgumentSemantic.Assign)] MDLMaterialFace MaterialFace { get; set; } @@ -640,8 +590,6 @@ interface MDLMaterial : MDLNamed, INSFastEnumeration { MDLMaterial FromSceneMaterial (SCNMaterial material); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -701,7 +649,6 @@ interface MDLMaterialProperty : MDLNamed, NSCopying { [Export ("type", ArgumentSemantic.Assign)] MDLMaterialPropertyType Type { get; } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("setType:")] void SetType (MDLMaterialPropertyType type); @@ -768,16 +715,11 @@ MatrixFloat4x4 MatrixFloat4x4 { } #endif - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("luminance")] float Luminance { get; set; } } - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -792,8 +734,6 @@ interface MDLMaterialPropertyConnection : MDLNamed { MDLMaterialProperty Input { get; } } - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -811,8 +751,6 @@ interface MDLMaterialPropertyNode : MDLNamed { MDLMaterialProperty [] Outputs { get; } } - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLMaterialPropertyNode))] [DisableDefaultCtor] @@ -830,13 +768,9 @@ interface MDLMaterialPropertyGraph { MDLMaterialPropertyConnection [] Connections { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLObject))] interface MDLMesh { - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithBufferAllocator:")] NativeHandle Constructor ([NullAllowed] IMDLMeshBufferAllocator bufferAllocator); @@ -852,9 +786,6 @@ interface MDLMesh { [return: NullAllowed] MDLVertexAttributeData GetVertexAttributeDataForAttribute (string attributeName); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("vertexAttributeDataForAttributeNamed:asFormat:")] [return: NullAllowed] @@ -872,9 +803,6 @@ MDLAxisAlignedBoundingBox BoundingBox { [Export ("vertexCount")] nuint VertexCount { get; - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] set; } @@ -882,7 +810,6 @@ nuint VertexCount { [Export ("vertexBuffers", ArgumentSemantic.Retain)] IMDLMeshBuffer [] VertexBuffers { get; - [iOS (10, 2), Mac (10, 12, 2), TV (10, 1)] [MacCatalyst (13, 1)] set; } @@ -891,16 +818,10 @@ IMDLMeshBuffer [] VertexBuffers { [Export ("submeshes", ArgumentSemantic.Copy)] NSMutableArray Submeshes { get; - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("allocator", ArgumentSemantic.Retain)] IMDLMeshBufferAllocator Allocator { get; } @@ -910,16 +831,10 @@ NSMutableArray Submeshes { [Export ("addAttributeWithName:format:")] void AddAttribute (string name, MDLVertexFormat format); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("addAttributeWithName:format:type:data:stride:")] void AddAttribute (string name, MDLVertexFormat format, string type, NSData data, nint stride); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("addAttributeWithName:format:type:data:stride:time:")] void AddAttribute (string name, MDLVertexFormat format, string type, NSData data, nint stride, double time); @@ -933,19 +848,14 @@ NSMutableArray Submeshes { [Export ("addTangentBasisForTextureCoordinateAttributeNamed:normalAttributeNamed:tangentAttributeNamed:")] void AddTangentBasisWithNormals (string textureCoordinateAttributeName, string normalAttributeName, string tangentAttributeName); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("addOrthTanBasisForTextureCoordinateAttributeNamed:normalAttributeNamed:tangentAttributeNamed:")] void AddOrthTanBasis (string textureCoordinateAttributeName, string normalAttributeName, string tangentAttributeName); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("addUnwrappedTextureCoordinatesForAttributeNamed:")] void AddUnwrappedTextureCoordinates (string textureCoordinateAttributeName); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("flipTextureCoordinatesInAttributeNamed:")] void FlipTextureCoordinates (string inTextureCoordinateAttributeNamed); @@ -957,28 +867,18 @@ NSMutableArray Submeshes { [Export ("makeVerticesUnique")] void MakeVerticesUnique (); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("makeVerticesUniqueAndReturnError:")] bool MakeVerticesUnique (out NSError error); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("replaceAttributeNamed:withData:")] void ReplaceAttribute (string name, MDLVertexAttributeData newData); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("updateAttributeNamed:withData:")] void UpdateAttribute (string name, MDLVertexAttributeData newData); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("removeAttributeNamed:")] void RemoveAttribute (string name); @@ -1054,7 +954,6 @@ NSMutableArray Submeshes { MDLMesh CreateCylindroid (float height, Vector2 radii, nuint radialSegments, nuint verticalSegments, MDLGeometryType geometryType, bool inwardNormals, [NullAllowed] IMDLMeshBufferAllocator allocator); [Static] - [iOS (10, 2), Mac (10, 12, 2), TV (10, 1)] [MacCatalyst (13, 1)] [Export ("newCapsuleWithHeight:radii:radialSegments:verticalSegments:hemisphereSegments:geometryType:inwardNormals:allocator:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -1070,7 +969,6 @@ NSMutableArray Submeshes { MDLMesh CreateIcosahedron (float radius, bool inwardNormals, [NullAllowed] IMDLMeshBufferAllocator allocator); [Static] - [iOS (10, 2), Mac (10, 12, 2), TV (10, 1)] [MacCatalyst (13, 1)] [Export ("newIcosahedronWithRadius:inwardNormals:geometryType:allocator:")] MDLMesh CreateIcosahedron (float radius, bool inwardNormals, MDLGeometryType geometryType, [NullAllowed] IMDLMeshBufferAllocator allocator); @@ -1108,8 +1006,6 @@ NSMutableArray Submeshes { [Export ("meshWithSCNGeometry:")] MDLMesh FromGeometry (SCNGeometry geometry); - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("meshWithSCNGeometry:bufferAllocator:")] @@ -1117,7 +1013,6 @@ NSMutableArray Submeshes { } interface IMDLMeshBuffer { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface MDLMeshBuffer : NSCopying { @@ -1156,7 +1051,6 @@ interface MDLMeshBuffer : NSCopying { } interface IMDLMeshBufferAllocator { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface MDLMeshBufferAllocator { @@ -1187,14 +1081,12 @@ interface MDLMeshBufferAllocator { IMDLMeshBuffer CreateBuffer ([NullAllowed] IMDLMeshBufferZone zone, NSData data, MDLMeshBufferType type); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLMeshBufferDataAllocator : MDLMeshBufferAllocator { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLMeshBufferZoneDefault : MDLMeshBufferZone { @@ -1206,7 +1098,6 @@ interface MDLMeshBufferZoneDefault : MDLMeshBufferZone { // IMDLMeshBufferAllocator Allocator { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLMeshBufferData : MDLMeshBuffer, NSCopying { @@ -1221,7 +1112,6 @@ interface MDLMeshBufferData : MDLMeshBuffer, NSCopying { } interface IMDLMeshBufferZone { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface MDLMeshBufferZone { @@ -1238,7 +1128,6 @@ interface MDLMeshBufferZone { IMDLMeshBufferAllocator Allocator { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface MDLNamed { @@ -1247,7 +1136,6 @@ interface MDLNamed { string Name { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLTexture))] [DisableDefaultCtor] @@ -1266,14 +1154,12 @@ interface MDLNoiseTexture { NativeHandle Constructor (float smoothness, [NullAllowed] string name, Vector2i textureDimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, bool grayscale); [Internal] - [iOS (10, 2), Mac (10, 12, 2)] [MacCatalyst (13, 1)] [Export ("initCellularNoiseWithFrequency:name:textureDimensions:channelEncoding:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] IntPtr InitCellularNoiseWithFrequency (float frequency, [NullAllowed] string name, Vector2i textureDimensions, MDLTextureChannelEncoding channelEncoding); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLTexture))] [DisableDefaultCtor] @@ -1286,11 +1172,9 @@ interface MDLNormalMapTexture { NativeHandle Constructor (MDLTexture sourceTexture, [NullAllowed] string name, float smoothness, float contrast); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLObject : MDLNamed { - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("components", ArgumentSemantic.Copy)] IMDLComponent [] Components { get; } @@ -1324,28 +1208,18 @@ interface MDLObject : MDLNamed { [NullAllowed, Export ("parent", ArgumentSemantic.Weak)] MDLObject Parent { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("instance", ArgumentSemantic.Retain)] MDLObject Instance { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("path")] string Path { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("objectAtPath:")] MDLObject GetObject (string path); - [iOS (10, 2), Mac (10, 12, 2), TV (10, 1)] [MacCatalyst (13, 1)] [Export ("enumerateChildObjectsOfClass:root:usingBlock:stopPointer:")] void EnumerateChildObjects (Class objectClass, MDLObject root, MDLObjectHandler handler, ref bool stop); @@ -1356,9 +1230,6 @@ interface MDLObject : MDLNamed { [Export ("children", ArgumentSemantic.Retain)] IMDLObjectContainerComponent Children { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("hidden")] bool Hidden { get; set; } @@ -1374,22 +1245,18 @@ interface MDLObject : MDLNamed { [Export ("objectWithSCNNode:")] MDLObject FromNode (SCNNode node); - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("objectWithSCNNode:bufferAllocator:")] MDLObject FromNode (SCNNode node, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLObjectContainer : MDLObjectContainerComponent { } interface IMDLObjectContainerComponent { } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Protocol] interface MDLObjectContainerComponent : MDLComponent, INSFastEnumeration { @@ -1404,7 +1271,6 @@ interface MDLObjectContainerComponent : MDLComponent, INSFastEnumeration { #if NET [Abstract] #endif - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("objectAtIndexedSubscript:")] MDLObject GetObject (nuint index); @@ -1412,7 +1278,6 @@ interface MDLObjectContainerComponent : MDLComponent, INSFastEnumeration { #if NET [Abstract] #endif - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("count")] nuint Count { get; } @@ -1424,13 +1289,11 @@ interface MDLObjectContainerComponent : MDLComponent, INSFastEnumeration { interface IMDLComponent { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface MDLComponent { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLPhysicallyPlausibleLight))] interface MDLPhotometricLight { @@ -1443,7 +1306,6 @@ interface MDLPhotometricLight { [Export ("generateCubemapFromLight:")] void GenerateCubemap (nuint textureSize); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("generateTexture:")] MDLTexture GenerateTexture (nuint textureSize); @@ -1458,7 +1320,6 @@ interface MDLPhotometricLight { NSData SphericalHarmonicsCoefficients { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLLight))] interface MDLPhysicallyPlausibleLight { @@ -1484,7 +1345,6 @@ interface MDLPhysicallyPlausibleLight { float AttenuationEndDistance { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLScatteringFunction))] interface MDLPhysicallyPlausibleScatteringFunction { @@ -1525,7 +1385,6 @@ interface MDLPhysicallyPlausibleScatteringFunction { MDLMaterialProperty ClearcoatGloss { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLScatteringFunction : MDLNamed { @@ -1554,7 +1413,6 @@ interface MDLScatteringFunction : MDLNamed { MDLMaterialProperty AmbientOcclusionScale { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLTexture))] [DisableDefaultCtor] @@ -1567,7 +1425,6 @@ interface MDLSkyCubeTexture { [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] NativeHandle Constructor ([NullAllowed] string name, MDLTextureChannelEncoding channelEncoding, Vector2i textureDimensions, float turbidity, float sunElevation, float upperAtmosphereScattering, float groundAlbedo); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithName:channelEncoding:textureDimensions:turbidity:sunElevation:sunAzimuth:upperAtmosphereScattering:groundAlbedo:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -1582,7 +1439,6 @@ interface MDLSkyCubeTexture { [Export ("sunElevation")] float SunElevation { get; set; } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("sunAzimuth")] float SunAzimuth { get; set; } @@ -1624,7 +1480,6 @@ Vector2 HighDynamicRangeCompression { } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLCamera))] interface MDLStereoscopicCamera { @@ -1713,7 +1568,6 @@ MatrixFloat4x4 RightProjectionMatrix4x4 { #endif } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLSubmesh : MDLNamed { @@ -1732,9 +1586,6 @@ interface MDLSubmesh : MDLNamed { [Export ("indexBuffer", ArgumentSemantic.Retain)] IMDLMeshBuffer IndexBuffer { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("indexBufferAsIndexType:")] IMDLMeshBuffer GetIndexBuffer (MDLIndexBitDepth indexType); @@ -1754,7 +1605,6 @@ interface MDLSubmesh : MDLNamed { [NullAllowed, Export ("topology", ArgumentSemantic.Retain)] MDLSubmeshTopology Topology { get; - [iOS (10, 2), Mac (10, 12, 2), TV (10, 1)] [MacCatalyst (13, 1)] set; } @@ -1763,15 +1613,12 @@ MDLSubmeshTopology Topology { [Export ("submeshWithSCNGeometryElement:")] MDLSubmesh FromGeometryElement (SCNGeometryElement element); - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("submeshWithSCNGeometryElement:bufferAllocator:")] MDLSubmesh FromGeometryElement (SCNGeometryElement element, [NullAllowed] IMDLMeshBufferAllocator bufferAllocator); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // designated @@ -1806,7 +1653,7 @@ interface MDLTexture : MDLNamed { [return: NullAllowed] MDLTexture CreateTexture (string name, [NullAllowed] NSBundle bundleOrNil); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("textureNamed:assetResolver:")] @@ -1841,7 +1688,6 @@ interface MDLTexture : MDLNamed { [Export ("writeToURL:")] bool WriteToUrl (NSUrl url); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("writeToURL:level:")] bool WriteToUrl (NSUrl url, nuint level); @@ -1849,7 +1695,6 @@ interface MDLTexture : MDLNamed { [Export ("writeToURL:type:")] bool WriteToUrl (NSUrl url, string type); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("writeToURL:type:level:")] bool WriteToUrl (NSUrl nsurl, string type, nuint level); @@ -1858,7 +1703,6 @@ interface MDLTexture : MDLNamed { [return: NullAllowed] CGImage GetImageFromTexture (); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("imageFromTextureAtLevel:")] [return: NullAllowed] @@ -1901,16 +1745,11 @@ Vector2i Dimensions { [Export ("isCube")] bool IsCube { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("hasAlphaValues")] bool HasAlphaValues { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTextureFilter { @@ -1933,7 +1772,6 @@ interface MDLTextureFilter { MDLMaterialMipMapFilterMode MipFilter { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTextureSampler { @@ -1947,7 +1785,6 @@ interface MDLTextureSampler { MDLTransform Transform { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] @@ -1956,9 +1793,6 @@ interface MDLTransform : MDLTransformComponent, NSCopying { [Export ("initWithTransformComponent:")] NativeHandle Constructor (IMDLTransformComponent component); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithTransformComponent:resetsTransform:")] NativeHandle Constructor (IMDLTransformComponent component, bool resetsTransform); @@ -1980,9 +1814,6 @@ interface MDLTransform : MDLTransformComponent, NSCopying { #if !NET [Obsolete ("Use the '(MatrixFloat4x4, bool)' overload instead.")] #endif - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithMatrix:resetsTransform:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -1990,7 +1821,6 @@ interface MDLTransform : MDLTransformComponent, NSCopying { #if !NET [Sealed] - [iOS (10, 0), Mac (10, 12), TV (10, 0)] [Export ("initWithMatrix:resetsTransform:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] NativeHandle Constructor (MatrixFloat4x4 matrix, bool resetsTransform); @@ -2045,7 +1875,6 @@ interface MDLTransform : MDLTransformComponent, NSCopying { [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] void SetRotation (Vector3 rotation, double time); - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("setMatrix:forTime:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2056,7 +1885,6 @@ interface MDLTransform : MDLTransformComponent, NSCopying { #if !NET [Sealed] - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [Export ("setMatrix:forTime:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] void SetMatrix4x4 (MatrixFloat4x4 matrix, double time); @@ -2096,7 +1924,6 @@ Vector3 Rotation { } interface IMDLTransformComponent { } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface MDLTransformComponent : MDLComponent { @@ -2109,9 +1936,6 @@ Matrix4 Matrix { set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2128,7 +1952,6 @@ Matrix4 Matrix { double MaximumTime { get; } // Added in iOS 10 SDK but it is supposed to be present in iOS 9. - [Mac (10, 12)] [MacCatalyst (13, 1)] #if NET [Abstract] @@ -2157,7 +1980,6 @@ Matrix4 Matrix { Matrix4 CreateGlobalTransform (MDLObject obj, double atTime); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLTexture), Name = "MDLURLTexture")] [DisableDefaultCtor] @@ -2173,7 +1995,6 @@ interface MDLUrlTexture { NSUrl Url { get; set; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLVertexAttribute : NSCopying { @@ -2192,9 +2013,6 @@ interface MDLVertexAttribute : NSCopying { [Export ("bufferIndex", ArgumentSemantic.Assign)] nuint BufferIndex { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("time")] double Time { get; set; } @@ -2208,8 +2026,6 @@ Vector4 InitializationValue { } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // apple headers: created by MDLMesh's vertexAttributeData selector @@ -2226,14 +2042,11 @@ interface MDLVertexAttributeData { [Export ("format", ArgumentSemantic.Assign)] MDLVertexFormat Format { get; set; } - [iOS (10, 3), TV (10, 2), Mac (10, 12, 4)] [MacCatalyst (13, 1)] [Export ("bufferSize", ArgumentSemantic.Assign)] nuint BufferSize { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLMeshBufferMap { @@ -2245,7 +2058,6 @@ interface MDLMeshBufferMap { IntPtr Bytes { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLVertexDescriptor : NSCopying { @@ -2259,9 +2071,6 @@ interface MDLVertexDescriptor : NSCopying { [Export ("addOrReplaceAttribute:")] void AddOrReplaceAttribute (MDLVertexAttribute attribute); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("removeAttributeNamed:")] void RemoveAttribute (string name); @@ -2282,7 +2091,6 @@ interface MDLVertexDescriptor : NSCopying { void SetPackedOffsets (); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLObject))] [DisableDefaultCtor] @@ -2318,9 +2126,6 @@ interface MDLVoxelArray { [Export ("initWithAsset:divisions:interiorNBWidth:exteriorNBWidth:patchRadius:")] NativeHandle Constructor (MDLAsset asset, int divisions, float interiorNBWidth, float exteriorNBWidth, float patchRadius); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithAsset:divisions:patchRadius:")] NativeHandle Constructor (MDLAsset asset, int divisions, float patchRadius); @@ -2341,9 +2146,6 @@ interface MDLVoxelArray { [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] void SetVoxel (Vector4i index); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("setVoxelsForMesh:divisions:patchRadius:")] void SetVoxels (MDLMesh mesh, int divisions, float patchRadius); @@ -2449,45 +2251,27 @@ MDLAxisAlignedBoundingBox BoundingBox { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("convertToSignedShellField")] void ConvertToSignedShellField (); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("isValidSignedShellField")] bool IsValidSignedShellField { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("shellFieldInteriorThickness")] float ShellFieldInteriorThickness { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("shellFieldExteriorThickness")] float ShellFieldExteriorThickness { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("coarseMesh")] [return: NullAllowed] MDLMesh GetCoarseMesh (); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("coarseMeshUsingAllocator:")] [return: NullAllowed] @@ -2495,7 +2279,6 @@ MDLAxisAlignedBoundingBox BoundingBox { } [Static] - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] interface MDLVertexAttributes { [Field ("MDLVertexAttributeAnisotropy")] @@ -2544,13 +2327,9 @@ interface MDLVertexAttributes { NSString TextureCoordinate { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLVertexBufferLayout : NSCopying { - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithStride:")] NativeHandle Constructor (nuint stride); @@ -2559,13 +2338,9 @@ interface MDLVertexBufferLayout : NSCopying { nuint Stride { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLSubmeshTopology { - [iOS (10, 2), Mac (10, 12, 2)] - [TV (10, 1)] [MacCatalyst (13, 1)] [Export ("initWithSubmesh:")] NativeHandle Constructor (MDLSubmesh submesh); @@ -2601,7 +2376,6 @@ interface MDLSubmeshTopology { nuint HoleCount { get; set; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLAnimatedValue : NSCopying { @@ -2636,7 +2410,6 @@ interface MDLAnimatedValue : NSCopying { nuint _GetTimes (IntPtr timesArray, nuint maxCount); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLAnimatedValue))] interface MDLAnimatedScalarArray { @@ -2680,7 +2453,6 @@ interface MDLAnimatedScalarArray { nuint _GetDoubleArray (IntPtr valuesArray, nuint maxCount); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLAnimatedValue))] interface MDLAnimatedVector3Array { @@ -2724,7 +2496,6 @@ interface MDLAnimatedVector3Array { nuint _GetDouble3Array (IntPtr valuesArray, nuint maxCount); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLAnimatedValue))] interface MDLAnimatedQuaternionArray { @@ -2768,7 +2539,6 @@ interface MDLAnimatedQuaternionArray { nuint _GetDoubleQuaternionArray (IntPtr valuesArray, nuint maxCount); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLAnimatedValue))] interface MDLAnimatedScalar { @@ -2802,7 +2572,6 @@ interface MDLAnimatedScalar { nuint _GetDoubleArray (IntPtr valuesArray, nuint maxCount); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLAnimatedValue))] interface MDLAnimatedVector2 { @@ -2840,7 +2609,6 @@ interface MDLAnimatedVector2 { nuint _GetDouble2Array (IntPtr valuesArray, nuint maxCount); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLAnimatedValue))] interface MDLAnimatedVector3 { @@ -2878,7 +2646,6 @@ interface MDLAnimatedVector3 { nuint _GetDouble3Array (IntPtr valuesArray, nuint maxCount); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLAnimatedValue))] interface MDLAnimatedVector4 { @@ -2916,7 +2683,6 @@ interface MDLAnimatedVector4 { nuint _GetDouble4Array (IntPtr valuesArray, nuint maxCount); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLAnimatedValue))] interface MDLAnimatedMatrix4x4 { @@ -2954,7 +2720,6 @@ interface MDLAnimatedMatrix4x4 { nuint _GetDouble4x4Array (IntPtr valuesArray, nuint maxCount); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLObject))] [DisableDefaultCtor] @@ -2966,7 +2731,7 @@ interface MDLSkeleton : NSCopying { [Export ("jointBindTransforms")] MDLMatrix4x4Array JointBindTransforms { get; } - [iOS (12, 0), Mac (10, 14), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Export ("jointRestTransforms")] MDLMatrix4x4Array JointRestTransforms { get; } @@ -2977,13 +2742,11 @@ interface MDLSkeleton : NSCopying { interface IMDLJointAnimation { } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MDLJointAnimation { } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLObject))] [DisableDefaultCtor] @@ -3005,7 +2768,6 @@ interface MDLPackedJointAnimation : NSCopying, MDLJointAnimation { NativeHandle Constructor (string name, string [] jointPaths); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLAnimationBindComponent : NSCopying, MDLComponent { @@ -3030,7 +2792,6 @@ NMatrix4d GeometryBindTransform { interface IMDLAssetResolver { } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MDLAssetResolver { @@ -3044,7 +2805,6 @@ interface MDLAssetResolver { NSUrl ResolveAsset (string name); } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3057,7 +2817,6 @@ interface MDLRelativeAssetResolver : MDLAssetResolver { MDLAsset Asset { get; set; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3070,7 +2829,6 @@ interface MDLPathAssetResolver : MDLAssetResolver { string Path { get; set; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3085,7 +2843,6 @@ interface MDLBundleAssetResolver : MDLAssetResolver { interface IMDLTransformOp { } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface MDLTransformOp { @@ -3109,7 +2866,6 @@ interface MDLTransformOp { bool IsInverseOp { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTransformRotateXOp : MDLTransformOp { @@ -3122,7 +2878,6 @@ interface MDLTransformRotateXOp : MDLTransformOp { MDLAnimatedScalar AnimatedValue { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTransformRotateYOp : MDLTransformOp { @@ -3135,7 +2890,6 @@ interface MDLTransformRotateYOp : MDLTransformOp { MDLAnimatedScalar AnimatedValue { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTransformRotateZOp : MDLTransformOp { @@ -3148,7 +2902,6 @@ interface MDLTransformRotateZOp : MDLTransformOp { MDLAnimatedScalar AnimatedValue { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTransformRotateOp : MDLTransformOp { @@ -3161,7 +2914,6 @@ interface MDLTransformRotateOp : MDLTransformOp { MDLAnimatedVector3 AnimatedValue { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTransformTranslateOp : MDLTransformOp { @@ -3174,7 +2926,6 @@ interface MDLTransformTranslateOp : MDLTransformOp { MDLAnimatedVector3 AnimatedValue { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTransformScaleOp : MDLTransformOp { @@ -3187,7 +2938,6 @@ interface MDLTransformScaleOp : MDLTransformOp { MDLAnimatedVector3 AnimatedValue { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTransformMatrixOp : MDLTransformOp { @@ -3200,7 +2950,7 @@ interface MDLTransformMatrixOp : MDLTransformOp { MDLAnimatedMatrix4x4 AnimatedValue { get; } } - [iOS (13, 0), Mac (10, 15), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTransformOrientOp : MDLTransformOp { @@ -3213,7 +2963,6 @@ interface MDLTransformOrientOp : MDLTransformOp { MDLAnimatedQuaternion AnimatedValue { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface MDLTransformStack : NSCopying, MDLTransformComponent { @@ -3239,7 +2988,7 @@ interface MDLTransformStack : NSCopying, MDLTransformComponent { [Export ("addMatrixOp:inverse:")] MDLTransformMatrixOp AddMatrixOp (string animatedValueName, bool inverse); - [iOS (13, 0), Mac (10, 15), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("addOrientOp:inverse:")] MDLTransformOrientOp AddOrientOp (string animatedValueName, bool inverse); @@ -3266,7 +3015,6 @@ interface MDLTransformStack : NSCopying, MDLTransformComponent { IMDLTransformOp [] TransformOps { get; } } - [iOS (11, 0), Mac (10, 13), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3301,7 +3049,7 @@ interface MDLMatrix4x4Array : NSCopying { nuint _GetDouble4x4Array (IntPtr valuesArray, nuint maxCount); } - [iOS (13, 0), Mac (10, 15), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (MDLAnimatedValue))] interface MDLAnimatedQuaternion { diff --git a/src/multipeerconnectivity.cs b/src/multipeerconnectivity.cs index 769eccb53669..5aa396d0a31e 100644 --- a/src/multipeerconnectivity.cs +++ b/src/multipeerconnectivity.cs @@ -24,8 +24,6 @@ namespace MultipeerConnectivity { - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: -[MCPeerID init]: unrecognized selector sent to instance 0x7d721090 @@ -41,8 +39,6 @@ partial interface MCPeerID : NSCopying, NSSecureCoding { delegate void MCSessionNearbyConnectionDataForPeerCompletionHandler (NSData connectionData, NSError error); - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // crash when calling `description` selector @@ -114,8 +110,6 @@ partial interface MCSession { #endregion } - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -145,8 +139,6 @@ partial interface MCSessionDelegate { bool DidReceiveCertificate (MCSession session, [NullAllowed] SecCertificate [] certificate, MCPeerID peerID, Action certificateHandler); } - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException -[MCNearbyServiceAdvertiser init]: unrecognized selector sent to instance 0x19195e50 @@ -182,8 +174,6 @@ partial interface MCNearbyServiceAdvertiser { delegate void MCNearbyServiceAdvertiserInvitationHandler (bool accept, [NullAllowed] MCSession session); - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -198,8 +188,6 @@ partial interface MCNearbyServiceAdvertiserDelegate { void DidNotStartAdvertisingPeer (MCNearbyServiceAdvertiser advertiser, NSError error); } - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException -[MCNearbyServiceBrowser init]: unrecognized selector sent to instance 0x15519a70 @@ -232,8 +220,6 @@ partial interface MCNearbyServiceBrowser { string ServiceType { get; } } - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -254,8 +240,6 @@ partial interface MCNearbyServiceBrowserDelegate { interface IMCNearbyServiceBrowserDelegate { } - [Mac (10, 10)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] [DisableDefaultCtor] // NSInvalidArgumentException -[MCPeerPickerViewController initWithNibName:bundle:]: unrecognized selector sent to instance 0x15517b90 @@ -294,8 +278,6 @@ partial interface MCBrowserViewController : MCNearbyServiceBrowserDelegate { MCSession Session { get; } } - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -316,8 +298,6 @@ partial interface MCBrowserViewControllerDelegate { bool ShouldPresentNearbyPeer (MCBrowserViewController browserViewController, MCPeerID peerID, [NullAllowed] NSDictionary info); } - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: -[MCAdvertiserAssistant init]: unrecognized selector sent to instance 0x7ea7fa40 @@ -351,8 +331,6 @@ interface MCAdvertiserAssistant { void Stop (); } - [TV (10, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] diff --git a/src/naturallanguage.cs b/src/naturallanguage.cs index 76c4b386d18a..e4c20ec072c3 100644 --- a/src/naturallanguage.cs +++ b/src/naturallanguage.cs @@ -32,7 +32,7 @@ namespace NaturalLanguage { - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // designated [BaseType (typeof (NSObject))] @@ -83,7 +83,7 @@ NLLanguage [] LanguageConstraints { } } - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NLModelConfiguration : NSCopying, NSSecureCoding { @@ -108,7 +108,7 @@ interface NLModelConfiguration : NSCopying, NSSecureCoding { nuint GetCurrentRevision (NLModelType type); } - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -150,7 +150,7 @@ interface NLModel { delegate void NLTokenizerEnumerateContinuationHandler (NSRange tokenRange, NLTokenizerAttributes flags, out bool stop); - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -189,7 +189,7 @@ interface NLTokenizer { delegate void NLTaggerEnumerateTagsContinuationHandler (NSString tag, NSRange tokenRange, out bool stop); - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -278,29 +278,29 @@ interface NLTagger { [Wrap ("GetModels (tagScheme.GetConstant ()!)")] NLModel [] GetModels (NLTagScheme tagScheme); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Export ("setGazetteers:forTagScheme:")] void SetGazetteers (NLGazetteer [] gazetteers, NSString tagScheme); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Wrap ("SetGazetteers (gazetteers, tagScheme.GetConstant ()!)")] void SetGazetteers (NLGazetteer [] gazetteers, NLTagScheme tagScheme); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Export ("gazetteersForTagScheme:")] NLGazetteer [] GetGazetteers (NSString tagScheme); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Wrap ("GetGazetteers (tagScheme.GetConstant ()!)")] NLGazetteer [] GetGazetteers (NLTagScheme tagScheme); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] [Static] @@ -308,7 +308,7 @@ interface NLTagger { [Export ("requestAssetsForLanguage:tagScheme:completionHandler:")] void RequestAssets (NSString language, NSString tagScheme, Action completionHandler); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Async] @@ -342,7 +342,7 @@ interface NLTagger { NSRange GetTokenRange (NSRange range, NLTokenUnit unit); } - [iOS (12, 0), Mac (10, 14), TV (12, 0), Watch (5, 0)] + [iOS (12, 0), TV (12, 0), Watch (5, 0)] [MacCatalyst (13, 1)] [Static] // only used to compare with NSString not as input/output interface NLTag { @@ -410,14 +410,14 @@ interface NLTag { NSString OrganizationName { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NLDistanceType : long { Cosine, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum NLTaggerAssetsResult : long { @@ -426,11 +426,11 @@ enum NLTaggerAssetsResult : long { Error, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] delegate void NLEnumerateNeighborsHandler (string neighbor, /* NLDistance */ double distance, ref bool stop); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -602,7 +602,7 @@ interface NLEmbedding { NSIndexSet GetSupportedSentenceEmbeddingRevisions (NLLanguage language); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] diff --git a/src/network.cs b/src/network.cs index 0bf7e21c16de..68c33e82a686 100644 --- a/src/network.cs +++ b/src/network.cs @@ -7,7 +7,7 @@ namespace Network { - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] public enum NWErrorDomain { @@ -20,7 +20,7 @@ public enum NWErrorDomain { Tls = 3, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] @@ -36,7 +36,7 @@ partial interface NWContentContextConstants { IntPtr _DefaultStream { get; } } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] @@ -47,7 +47,7 @@ partial interface NWConnectionConstants { IntPtr _SendIdempotentContent { get; } } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [Watch (6, 0)] [MacCatalyst (13, 1)] [Static] diff --git a/src/networkextension.cs b/src/networkextension.cs index 23e00a96c0ec..3f2339647836 100644 --- a/src/networkextension.cs +++ b/src/networkextension.cs @@ -28,8 +28,6 @@ interface NWInterface { } interface NWParameters { } [ErrorDomain ("NEDNSProxyErrorDomain")] - [iOS (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Native] enum NEDnsProxyManagerError : long { @@ -39,8 +37,6 @@ enum NEDnsProxyManagerError : long { CannotBeRemoved = 4, } - [iOS (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Native] enum NEFilterAction : long { @@ -51,7 +47,6 @@ enum NEFilterAction : long { FilterData = 4, } - [iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Native] enum NEVpnIkev2TlsVersion : long { @@ -61,7 +56,7 @@ enum NEVpnIkev2TlsVersion : long { Tls1_2 = 3, } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [Native] enum NEHotspotConfigurationEapType : long { @@ -71,7 +66,7 @@ enum NEHotspotConfigurationEapType : long { Fast = 43, } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [Native] enum NEHotspotConfigurationTtlsInnerAuthenticationType : long { @@ -82,7 +77,7 @@ enum NEHotspotConfigurationTtlsInnerAuthenticationType : long { Eap = 4, } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [Native] enum NEHotspotConfigurationEapTlsVersion : long { @@ -91,7 +86,7 @@ enum NEHotspotConfigurationEapTlsVersion : long { Tls1_2 = 2, } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("NEHotspotConfigurationErrorDomain")] @@ -115,14 +110,13 @@ public enum NEHotspotConfigurationError : long { } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [Native] enum NEFilterManagerGrade : long { Firewall = 1, Inspector = 2, } - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -133,7 +127,7 @@ enum NETrafficDirection : long { } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [Native] enum NENetworkRuleProtocol : long { Any = 0, @@ -142,7 +136,7 @@ enum NENetworkRuleProtocol : long { } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [Native] enum NEFilterPacketProviderVerdict : long { Allow = 0, @@ -150,7 +144,6 @@ enum NEFilterPacketProviderVerdict : long { Delay = 2, } - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -158,13 +151,12 @@ enum NEFilterReportEvent : long { NewFlow = 1, DataDecision = 2, FlowClosed = 3, - [Mac (10, 15, 4)] [NoiOS] [NoMacCatalyst] Statistics = 4, } - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Native] enum NEFilterReportFrequency : long { None, @@ -173,7 +165,7 @@ enum NEFilterReportFrequency : long { High, } - [NoWatch, NoTV, NoiOS, Mac (10, 15, 5), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Native] public enum NEFilterDataAttribute : long { HasIpHeader = 1, @@ -215,8 +207,6 @@ public enum NEVpnConnectionError : long { } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] // documented as such and ... @@ -233,11 +223,11 @@ interface NEAppProxyFlow { void CloseWrite ([NullAllowed] NSError error); [Internal] - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [Export ("setMetadata:")] void SetMetadata (OS_nw_parameters nwparameters); - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [Wrap ("SetMetadata (parameters.GetHandle ())")] void SetMetadata (NWParameters parameters); @@ -245,12 +235,12 @@ interface NEAppProxyFlow { NEFlowMetaData MetaData { get; } [Internal] - [NoWatch, NoTV, Mac (10, 15, 4), iOS (13, 4)] + [NoWatch, NoTV, iOS (13, 4)] [MacCatalyst (13, 1)] [NullAllowed, Export ("networkInterface", ArgumentSemantic.Copy)] OS_nw_interface WeakNetworkInterface { get; set; } - [NoWatch, NoTV, Mac (10, 15, 4), iOS (13, 4)] + [NoWatch, NoTV, iOS (13, 4)] [MacCatalyst (13, 1)] NWInterface NetworkInterface { [Wrap ("Runtime.GetINativeObject (WeakNetworkInterface, false)!")] @@ -277,8 +267,6 @@ NWInterface NetworkInterface { #endif } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NETunnelProvider))] [DisableDefaultCtor] // no valid handle when `init` is called @@ -297,15 +285,12 @@ interface NEAppProxyProvider { [Export ("handleNewFlow:")] bool HandleNewFlow (NEAppProxyFlow flow); - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("handleNewUDPFlow:initialRemoteEndpoint:")] bool HandleNewUdpFlow (NEAppProxyUdpFlow flow, NWEndpoint remoteEndpoint); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NETunnelProviderManager))] [DisableDefaultCtor] // no valid handle when `init` is called @@ -316,8 +301,6 @@ interface NEAppProxyProviderManager { void LoadAllFromPreferences (Action completionHandler); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NEAppProxyFlow), Name = "NEAppProxyTCPFlow")] [DisableDefaultCtor] @@ -336,8 +319,6 @@ interface NEAppProxyTcpFlow { delegate void NEDatagramRead (NSData [] datagrams, NWEndpoint [] remoteEndpoints, NSError error); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NEAppProxyFlow), Name = "NEAppProxyUDPFlow")] [DisableDefaultCtor] @@ -354,13 +335,10 @@ interface NEAppProxyUdpFlow { NWEndpoint LocalEndpoint { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NEAppRule : NSSecureCoding, NSCopying { - [iOS (9, 0)] [MacCatalyst (13, 1)] [NoTV] [NoWatch] @@ -371,7 +349,6 @@ interface NEAppRule : NSSecureCoding, NSCopying { NativeHandle Constructor (string signingIdentifier); [NoiOS, NoTV, NoWatch, NoMacCatalyst] - [Mac (10, 11)] [Export ("initWithSigningIdentifier:designatedRequirement:")] NativeHandle Constructor (string signingIdentifier, string designatedRequirement); @@ -379,7 +356,6 @@ interface NEAppRule : NSSecureCoding, NSCopying { [Export ("matchDesignatedRequirement")] string MatchDesignatedRequirement { get; } - [iOS (9, 3)] [MacCatalyst (13, 1)] [NullAllowed, Export ("matchPath")] string MatchPath { get; set; } @@ -390,13 +366,11 @@ interface NEAppRule : NSSecureCoding, NSCopying { [NullAllowed, Export ("matchDomains", ArgumentSemantic.Copy)] string [] MatchDomains { get; set; } - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [NullAllowed, Export ("matchTools", ArgumentSemantic.Copy)] NEAppRule [] MatchTools { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NEDNSSettings")] [DisableDefaultCtor] @@ -431,7 +405,6 @@ interface NEDnsSettings : NSSecureCoding, NSCopying { NSString ConfigurationDidChangeNotification { get; } } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NEFilterProvider))] @@ -443,7 +416,6 @@ interface NEFilterControlProvider { [NullAllowed, Export ("URLAppendStringMap", ArgumentSemantic.Copy)] NSDictionary UrlAppendStringMap { get; set; } - [iOS (11, 0)] // also in base type - but only on iOS13+ (so we rre-define it here) [MacCatalyst (13, 1)] [Export ("handleReport:")] void HandleReport (NEFilterReport report); @@ -460,7 +432,6 @@ interface NEFilterControlProvider { void NotifyRulesChanged (); } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NEFilterNewFlowVerdict))] @@ -478,8 +449,6 @@ interface NEFilterControlVerdict : NSSecureCoding, NSCopying { NEFilterControlVerdict UpdateRules (); } - [iOS (9, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NEFilterProvider))] [DisableDefaultCtor] // no valid handle when `init` is called @@ -518,17 +487,15 @@ interface NEFilterDataProvider { [Export ("resumeFlow:withVerdict:")] void ResumeFlow (NEFilterFlow flow, NEFilterVerdict verdict); - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Export ("updateFlow:usingVerdict:forDirection:")] void UpdateFlow (NEFilterSocketFlow flow, NEFilterDataVerdict verdict, NETrafficDirection direction); } - [iOS (9, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NEFilterVerdict))] interface NEFilterDataVerdict : NSSecureCoding, NSCopying { - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Export ("statisticsReportFrequency", ArgumentSemantic.Assign)] NEFilterReportFrequency StatisticsReportFrequency { get; set; } @@ -558,25 +525,20 @@ interface NEFilterDataVerdict : NSSecureCoding, NSCopying { NEFilterDataVerdict PauseVerdict (); } - [iOS (9, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEFilterFlow : NSSecureCoding, NSCopying { [NullAllowed, Export ("URL")] NSUrl Url { get; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("sourceAppUniqueIdentifier")] NSData SourceAppUniqueIdentifier { get; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("sourceAppIdentifier")] string SourceAppIdentifier { get; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("sourceAppVersion")] string SourceAppVersion { get; } @@ -602,8 +564,6 @@ interface NEFilterFlow : NSSecureCoding, NSCopying { } // according to Xcode7 SDK this was available (in parts) in iOS8 - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -627,8 +587,6 @@ interface NEFilterManager { [NullAllowed, Export ("localizedDescription")] string LocalizedDescription { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("providerConfiguration", ArgumentSemantic.Strong)] NEFilterProviderConfiguration ProviderConfiguration { get; set; } @@ -641,7 +599,7 @@ interface NEFilterManager { NSString ConfigurationDidChangeNotification { get; } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [Export ("grade", ArgumentSemantic.Assign)] NEFilterManagerGrade Grade { get; set; } @@ -651,12 +609,10 @@ interface NEFilterManager { #endif } - [iOS (9, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NEFilterVerdict))] interface NEFilterNewFlowVerdict : NSSecureCoding, NSCopying { - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, NoMacCatalyst] [Export ("statisticsReportFrequency", ArgumentSemantic.Assign)] NEFilterReportFrequency StatisticsReportFrequency { get; set; } @@ -690,8 +646,6 @@ interface NEFilterNewFlowVerdict : NSSecureCoding, NSCopying { NEFilterDataVerdict PauseVerdict (); } - [Mac (10, 15)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NEProvider))] [Abstract] // documented as such @@ -727,8 +681,6 @@ interface NEFilterProvider { NSString RemediationMapRemediationUrls { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEFilterProviderConfiguration : NSSecureCoding, NSCopying { @@ -758,22 +710,21 @@ interface NEFilterProviderConfiguration : NSSecureCoding, NSCopying { NSData IdentityReference { get; set; } [NoiOS] - [Mac (10, 15), MacCatalyst (15, 0)] + [MacCatalyst (15, 0)] [Export ("filterPackets")] bool FilterPackets { get; set; } [NoiOS] - [Mac (10, 15), MacCatalyst (15, 0)] + [MacCatalyst (15, 0)] [NullAllowed, Export ("filterDataProviderBundleIdentifier")] string FilterDataProviderBundleIdentifier { get; set; } [NoiOS] - [Mac (10, 15), MacCatalyst (15, 0)] + [MacCatalyst (15, 0)] [NullAllowed, Export ("filterPacketProviderBundleIdentifier")] string FilterPacketProviderBundleIdentifier { get; set; } } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NEFilterVerdict))] @@ -791,19 +742,14 @@ interface NEFilterRemediationVerdict : NSSecureCoding, NSCopying { NEFilterRemediationVerdict NeedRulesVerdict (); } - [iOS (9, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEFilterVerdict : NSSecureCoding, NSCopying { - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("shouldReport")] bool ShouldReport { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEFlowMetaData : NSCopying, NSSecureCoding { @@ -814,22 +760,20 @@ interface NEFlowMetaData : NSCopying, NSSecureCoding { string SourceAppSigningIdentifier { get; } [NoiOS] - [Mac (10, 15), MacCatalyst (15, 0)] + [MacCatalyst (15, 0)] [NullAllowed, Export ("sourceAppAuditToken")] NSData SourceAppAuditToken { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [NullAllowed, Export ("filterFlowIdentifier")] NSUuid FilterFlowIdentifier { get; } } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] delegate void NEHotspotHelperHandler (NEHotspotHelperCommand cmd); [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEHotspotHelper { @@ -853,7 +797,6 @@ interface NEHotspotHelper { [Static] [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] interface NEHotspotHelperOptionInternal { [Field ("kNEHotspotHelperOptionDisplayName")] @@ -861,7 +804,6 @@ interface NEHotspotHelperOptionInternal { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (NSMutableUrlRequest))] @@ -871,7 +813,6 @@ interface NSMutableURLRequest_NEHotspotHelper { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEHotspotHelperCommand { @@ -895,7 +836,6 @@ interface NEHotspotHelperCommand { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEHotspotHelperResponse { @@ -910,7 +850,6 @@ interface NEHotspotHelperResponse { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEHotspotNetwork { @@ -953,8 +892,6 @@ interface NEHotspotNetwork { NEHotspotNetworkSecurityType SecurityType { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -976,8 +913,6 @@ interface NEIPv4Route : NSSecureCoding, NSCopying { NEIPv4Route DefaultRoute { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -999,8 +934,6 @@ interface NEIPv6Route : NSSecureCoding, NSCopying { NEIPv6Route DefaultRoute { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1027,8 +960,6 @@ interface NEIPv4Settings : NSSecureCoding, NSCopying { string Router { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1049,8 +980,6 @@ interface NEIPv6Settings : NSSecureCoding, NSCopying { NEIPv6Route [] ExcludedRoutes { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // init returns nil @@ -1071,8 +1000,6 @@ interface NEProvider { [NullAllowed, Export ("defaultPath")] NWPath DefaultPath { get; } - [iOS (10, 0)] - [Mac (10, 12)] [Deprecated (PlatformName.iOS, 12, 0)] [Deprecated (PlatformName.MacOSX, 10, 14)] [MacCatalyst (13, 1)] @@ -1082,14 +1009,12 @@ interface NEProvider { void DisplayMessage (string message, Action completionHandler); [NoiOS] - [Mac (10, 15), MacCatalyst (15, 0)] + [MacCatalyst (15, 0)] [Static] [Export ("startSystemExtensionMode")] void StartSystemExtensionMode (); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEProxySettings : NSSecureCoding, NSCopying { @@ -1124,8 +1049,6 @@ interface NEProxySettings : NSSecureCoding, NSCopying { string [] MatchDomains { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1149,8 +1072,6 @@ interface NEProxyServer : NSSecureCoding, NSCopying { string Password { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1168,8 +1089,6 @@ interface NETunnelNetworkSettings : NSSecureCoding, NSCopying { NEProxySettings ProxySettings { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NEProvider))] [DisableDefaultCtor] // init returns nil @@ -1195,8 +1114,6 @@ interface NETunnelProvider { bool Reasserting { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NEVpnManager))] interface NETunnelProviderManager { @@ -1205,7 +1122,7 @@ interface NETunnelProviderManager { [Async] void LoadAllFromPreferences (Action completionHandler); - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [Static] [Export ("forPerAppVPN")] NETunnelProviderManager CreatePerAppVpn (); @@ -1216,7 +1133,7 @@ interface NETunnelProviderManager { // CopyAppRules was incorrectly bound to AppRules and it is only available on macOS #if NET || MONOMAC || __MACCATALYST__ - [NoWatch, NoTV, NoiOS, Mac (10,15,4), MacCatalyst (15,0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15,0)] [Export ("appRules", ArgumentSemantic.Copy)] NEAppRule[] AppRules { get; set; } #else @@ -1227,19 +1144,19 @@ interface NETunnelProviderManager { [Export ("routingMethod")] NETunnelProviderRoutingMethod RoutingMethod { get; } - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [Export ("safariDomains", ArgumentSemantic.Copy)] string [] SafariDomains { get; set; } - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [Export ("mailDomains", ArgumentSemantic.Copy)] string [] MailDomains { get; set; } - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [Export ("calendarDomains", ArgumentSemantic.Copy)] string [] CalendarDomains { get; set; } - [NoWatch, NoTV, NoiOS, Mac (10, 15, 4), MacCatalyst (15, 0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (15, 0)] [Export ("contactsDomains", ArgumentSemantic.Copy)] string [] ContactsDomains { get; set; } @@ -1258,8 +1175,6 @@ interface NETunnelProviderManager { } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NEVPNManager")] [DisableDefaultCtor] // Assertion failed: (0), function -[NEVPNManager init], file /SourceCache/NetworkExtension_Sim/NetworkExtension-168.1.8/Framework/NEVPNManager.m, line 41. @@ -1283,8 +1198,6 @@ interface NEVpnManager { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'ProtocolConfiguration' instead.")] NEVpnProtocol Protocol { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("protocolConfiguration", ArgumentSemantic.Retain)] @@ -1311,7 +1224,7 @@ interface NEVpnManager { [Async] void SaveToPreferences ([NullAllowed] Action completionHandler); - [Mac (10, 11), NoiOS] + [NoiOS] [NoMacCatalyst] [Internal] [Export ("setAuthorization:")] @@ -1327,14 +1240,10 @@ interface NEVpnManager { NSString ConfigurationChangeNotification { get; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NEVPNConnection")] interface NEVpnConnection { - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("connectedDate")] NSDate ConnectedDate { get; } @@ -1345,15 +1254,11 @@ interface NEVpnConnection { [Export ("startVPNTunnelAndReturnError:")] bool StartVpnTunnel (out NSError error); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Internal] [Export ("startVPNTunnelWithOptions:andReturnError:")] bool StartVpnTunnel ([NullAllowed] NSDictionary options, out NSError error); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Wrap ("StartVpnTunnel (options.GetDictionary (), out error);")] bool StartVpnTunnel ([NullAllowed] NEVpnConnectionStartOptions options, out NSError error); @@ -1361,8 +1266,6 @@ interface NEVpnConnection { [Export ("stopVPNTunnel")] void StopVpnTunnel (); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("manager")] NEVpnManager Manager { get; } @@ -1379,8 +1282,6 @@ interface NEVpnConnection { [Static] [Internal] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] interface NEVpnConnectionStartOptionInternal { [Field ("NEVPNConnectionStartOptionPassword")] @@ -1390,8 +1291,6 @@ interface NEVpnConnectionStartOptionInternal { NSString Username { get; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Abstract] [BaseType (typeof (NSObject), Name = "NEVPNProtocol")] @@ -1409,18 +1308,15 @@ interface NEVpnProtocol : NSCopying, NSSecureCoding { [Export ("passwordReference", ArgumentSemantic.Copy)] NSData PasswordReference { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("identityReference", ArgumentSemantic.Copy)] NSData IdentityReference { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("identityData", ArgumentSemantic.Copy)] NSData IdentityData { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("identityDataPassword")] @@ -1429,18 +1325,16 @@ interface NEVpnProtocol : NSCopying, NSSecureCoding { [Export ("disconnectOnSleep")] bool DisconnectOnSleep { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("proxySettings", ArgumentSemantic.Copy)] NEProxySettings ProxySettings { get; set; } - [Mac (10, 15), iOS (14, 0)] + [iOS (14, 0)] [MacCatalyst (14, 0)] [Export ("includeAllNetworks")] bool IncludeAllNetworks { get; set; } [iOS (14, 2)] - [Mac (10, 15)] [MacCatalyst (14, 2)] [Export ("excludeLocalNetworks")] bool ExcludeLocalNetworks { get; set; } @@ -1452,8 +1346,6 @@ interface NEVpnProtocol : NSCopying, NSSecureCoding { bool EnforceRoutes { get; set; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NEVpnProtocol), Name = "NEVPNProtocolIPSec")] interface NEVpnProtocolIpSec { @@ -1477,8 +1369,6 @@ interface NEVpnProtocolIpSec { string RemoteIdentifier { get; set; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NEVPNIKEv2SecurityAssociationParameters")] interface NEVpnIke2SecurityAssociationParameters : NSSecureCoding, NSCopying { @@ -1496,8 +1386,6 @@ interface NEVpnIke2SecurityAssociationParameters : NSSecureCoding, NSCopying { int LifetimeMinutes { get; set; } /* int32_t */ } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NEVpnProtocolIpSec), Name = "NEVPNProtocolIKEv2")] interface NEVpnProtocolIke2 { @@ -1519,54 +1407,38 @@ interface NEVpnProtocolIke2 { [Export ("childSecurityAssociationParameters")] NEVpnIke2SecurityAssociationParameters ChildSecurityAssociationParameters { get; } - [iOS (8, 3)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("certificateType")] NEVpnIke2CertificateType CertificateType { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("useConfigurationAttributeInternalIPSubnet")] bool UseConfigurationAttributeInternalIPSubnet { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("disableMOBIKE")] bool DisableMobike { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("disableRedirect")] bool DisableRedirect { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("enablePFS")] bool EnablePfs { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("enableRevocationCheck")] bool EnableRevocationCheck { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("strictRevocationCheck")] bool StrictRevocationCheck { get; set; } - [iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("minimumTLSVersion", ArgumentSemantic.Assign)] NEVpnIkev2TlsVersion MinimumTlsVersion { get; set; } - [iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("maximumTLSVersion", ArgumentSemantic.Assign)] NEVpnIkev2TlsVersion MaximumTlsVersion { get; set; } @@ -1583,8 +1455,6 @@ interface NEVpnProtocolIke2 { nuint Mtu { get; set; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Abstract] [BaseType (typeof (NSObject))] @@ -1613,29 +1483,21 @@ interface NEOnDemandRule : NSSecureCoding, NSCopying { NSUrl ProbeUrl { get; set; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NEOnDemandRule))] interface NEOnDemandRuleConnect { } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NEOnDemandRule))] interface NEOnDemandRuleDisconnect { } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NEOnDemandRule))] interface NEOnDemandRuleIgnore { } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NEOnDemandRule))] interface NEOnDemandRuleEvaluateConnection { @@ -1645,8 +1507,6 @@ interface NEOnDemandRuleEvaluateConnection { NEEvaluateConnectionRule [] ConnectionRules { get; set; } } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEEvaluateConnectionRule : NSSecureCoding, NSCopying { @@ -1669,16 +1529,12 @@ interface NEEvaluateConnectionRule : NSSecureCoding, NSCopying { NSUrl ProbeUrl { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] interface NWEndpoint : NSSecureCoding, NSCopying { } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NWEndpoint))] [DisableDefaultCtor] @@ -1694,8 +1550,6 @@ interface NWHostEndpoint { string Port { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NWEndpoint))] [DisableDefaultCtor] @@ -1715,8 +1569,6 @@ interface NWBonjourServiceEndpoint { string Domain { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1736,8 +1588,6 @@ interface NWPath { bool Constrained { [Bind ("isConstrained")] get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NWTCPConnection")] interface NWTcpConnection { @@ -1792,8 +1642,6 @@ interface NWTcpConnection { interface INWTcpConnectionAuthenticationDelegate { } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject), Name = "NWTCPConnectionAuthenticationDelegate")] @@ -1814,8 +1662,6 @@ interface NWTcpConnectionAuthenticationDelegate { // and SecCertificate - both *NOT* NSObject -> because of that NSArray is used above } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NWTLSParameters")] interface NWTlsParameters { @@ -1832,8 +1678,6 @@ interface NWTlsParameters { nuint MaximumSslProtocolVersion { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NWUDPSession")] interface NWUdpSession { @@ -1879,7 +1723,6 @@ interface NWUdpSession { void Cancel (); } - [iOS (9, 0)] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NEFilterFlow))] @@ -1898,8 +1741,6 @@ interface NEFilterBrowserFlow { NSUrl ParentUrl { get; } } - [iOS (9, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NEFilterFlow))] interface NEFilterSocketFlow { @@ -1945,8 +1786,6 @@ int SocketProtocol { string RemoteHostname { get; } } - [iOS (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEFilterReport : NSSecureCoding, NSCopying { @@ -1973,8 +1812,6 @@ interface NEFilterReport : NSSecureCoding, NSCopying { nuint BytesOutboundCount { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NETunnelNetworkSettings))] [DisableDefaultCtor] @@ -1999,8 +1836,6 @@ interface NEPacketTunnelNetworkSettings { NSNumber Mtu { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEPacketTunnelFlow { @@ -2011,22 +1846,16 @@ interface NEPacketTunnelFlow { [Export ("writePackets:withProtocols:")] bool WritePackets (NSData [] packets, NSNumber [] protocols); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Async] [Export ("readPacketObjectsWithCompletionHandler:")] void ReadPacketObjects (Action completionHandler); - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("writePacketObjects:")] bool WritePacketObjects (NEPacket [] packets); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NETunnelProvider))] interface NEPacketTunnelProvider { @@ -2051,8 +1880,6 @@ interface NEPacketTunnelProvider { NWUdpSession CreateUdpSession (NWEndpoint remoteEndpoint, [NullAllowed] NWHostEndpoint localEndpoint); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NEVpnProtocol))] interface NETunnelProviderProtocol { @@ -2063,8 +1890,6 @@ interface NETunnelProviderProtocol { string ProviderBundleIdentifier { get; set; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NEVpnConnection))] interface NETunnelProviderSession { @@ -2078,10 +1903,6 @@ interface NETunnelProviderSession { bool SendProviderMessage (NSData messageData, [NullAllowed] out NSError error, [NullAllowed] Action responseHandler); } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEPacket : NSCopying, NSSecureCoding { @@ -2098,13 +1919,11 @@ interface NEPacket : NSCopying, NSSecureCoding { NEFlowMetaData Metadata { get; } [NoiOS] - [Mac (10, 15), MacCatalyst (15, 0)] + [MacCatalyst (15, 0)] [Export ("direction")] NETrafficDirection Direction { get; } } - [iOS (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject), Name = "NEDNSProxyManager")] @@ -2140,8 +1959,6 @@ interface NEDnsProxyManager { bool Enabled { [Bind ("isEnabled")] get; set; } } - [iOS (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NEProvider), Name = "NEDNSProxyProvider")] @@ -2170,7 +1987,6 @@ interface NEDnsProxyProvider { bool HandleNewUdpFlow (NEAppProxyUdpFlow flow, NWEndpoint remoteEndpoint); } - [iOS (11, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NEVpnProtocol), Name = "NEDNSProxyProviderProtocol")] interface NEDnsProxyProviderProtocol { @@ -2182,7 +1998,7 @@ interface NEDnsProxyProviderProtocol { string ProviderBundleIdentifier { get; set; } } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEHotspotHS20Settings : NSCopying, NSSecureCoding { @@ -2206,7 +2022,7 @@ interface NEHotspotHS20Settings : NSCopying, NSSecureCoding { NativeHandle Constructor (string domainName, bool roamingEnabled); } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "NEHotspotEAPSettings")] interface NEHotspotEapSettings : NSCopying, NSSecureCoding { @@ -2243,7 +2059,7 @@ interface NEHotspotEapSettings : NSCopying, NSSecureCoding { bool SetTrustedServerCertificates (NSObject [] certificates); } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] @@ -2295,7 +2111,7 @@ interface NEHotspotConfiguration : NSCopying, NSSecureCoding { string SsidPrefix { get; } } - [iOS (11, 0), NoMac] + [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NEHotspotConfigurationManager { @@ -2320,7 +2136,7 @@ interface NEHotspotConfigurationManager { } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NENetworkRule : NSSecureCoding, NSCopying { @@ -2354,7 +2170,7 @@ interface NENetworkRule : NSSecureCoding, NSCopying { } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NEFilterRule : NSSecureCoding, NSCopying { @@ -2370,7 +2186,7 @@ interface NEFilterRule : NSSecureCoding, NSCopying { } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NEFilterSettings : NSSecureCoding, NSCopying { @@ -2386,18 +2202,17 @@ interface NEFilterSettings : NSSecureCoding, NSCopying { } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [BaseType (typeof (NSObject))] interface NEFilterPacketContext { } [NoiOS] - [Mac (10, 15)] [NoMacCatalyst] delegate NEFilterPacketProviderVerdict NEFilterPacketHandler (NEFilterPacketContext context, IntPtr @interface, NETrafficDirection directiom, IntPtr packetBytes, nuint packetLength); [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [BaseType (typeof (NEFilterProvider))] [DisableDefaultCtor] // returns `nil` interface NEFilterPacketProvider { @@ -2412,7 +2227,7 @@ interface NEFilterPacketProvider { } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [BaseType (typeof (NEVpnManager))] [DisableDefaultCtor] interface NETransparentProxyManager { @@ -2424,7 +2239,7 @@ interface NETransparentProxyManager { } [NoiOS] - [Mac (10, 15), NoMacCatalyst] + [NoMacCatalyst] [BaseType (typeof (NETunnelNetworkSettings))] interface NETransparentProxyNetworkSettings { diff --git a/src/notificationcenter.cs b/src/notificationcenter.cs index 3bae8abeb609..6475c9daa574 100644 --- a/src/notificationcenter.cs +++ b/src/notificationcenter.cs @@ -19,8 +19,6 @@ #endif namespace NotificationCenter { - [iOS (8, 0)] - [Mac (10, 10)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // not meant to be user created [Deprecated (PlatformName.iOS, 14, 0)] @@ -35,8 +33,6 @@ interface NCWidgetController { void SetHasContent (bool flag, string bundleID); } - [iOS (8, 0)] - [Mac (10, 10)] [Deprecated (PlatformName.iOS, 14, 0)] [Deprecated (PlatformName.MacOSX, 11, 0)] [Protocol, Model] @@ -69,13 +65,11 @@ bool WidgetAllowsEditing { void WidgetDidEndEditing (); [NoMac] - [iOS (10, 0)] [Export ("widgetActiveDisplayModeDidChange:withMaximumSize:")] void WidgetActiveDisplayModeDidChange (NCWidgetDisplayMode activeDisplayMode, CGSize maxSize); } [NoMac] - [iOS (8, 0)] [BaseType (typeof (UIVibrancyEffect))] #if NET [Internal] @@ -97,19 +91,15 @@ interface UIVibrancyEffect_NotificationCenter { [Category] [BaseType (typeof (NSExtensionContext))] interface NSExtensionContext_NCWidgetAdditions { - [iOS (10, 0)] [Export ("widgetLargestAvailableDisplayMode")] NCWidgetDisplayMode GetWidgetLargestAvailableDisplayMode (); - [iOS (10, 0)] [Export ("setWidgetLargestAvailableDisplayMode:")] void SetWidgetLargestAvailableDisplayMode (NCWidgetDisplayMode mode); - [iOS (10, 0)] [Export ("widgetActiveDisplayMode")] NCWidgetDisplayMode GetWidgetActiveDisplayMode (); - [iOS (10, 0)] [Export ("widgetMaximumSizeForDisplayMode:")] CGSize GetWidgetMaximumSize (NCWidgetDisplayMode displayMode); } @@ -120,13 +110,11 @@ interface NSExtensionContext_NCWidgetAdditions { [Deprecated (PlatformName.iOS, 14, 0)] [BaseType (typeof (UIVibrancyEffect))] interface UIVibrancyEffect_NCWidgetAdditions { - [iOS (10, 0)] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'UIVibrancyEffect.GetWidgetEffect' instead.")] [Static] [Export ("widgetPrimaryVibrancyEffect")] UIVibrancyEffect GetWidgetPrimaryVibrancyEffect (); - [iOS (10, 0)] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'UIVibrancyEffect.GetWidgetEffect' instead.")] [Static] [Export ("widgetSecondaryVibrancyEffect")] @@ -139,7 +127,6 @@ interface UIVibrancyEffect_NCWidgetAdditions { } [NoiOS] - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 11, 0)] [BaseType (typeof (NSViewController), Delegates = new string [] { "Delegate" }, Events = new Type [] { typeof (NCWidgetListViewDelegate) })] interface NCWidgetListViewController { @@ -175,7 +162,6 @@ interface NCWidgetListViewController { interface INCWidgetListViewDelegate { } [NoiOS] - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 11, 0)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -201,7 +187,6 @@ interface NCWidgetListViewDelegate { } [NoiOS] - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 11, 0)] [BaseType (typeof (NSViewController), Delegates = new string [] { "Delegate" }, Events = new Type [] { typeof (NCWidgetSearchViewDelegate) })] interface NCWidgetSearchViewController { @@ -232,7 +217,6 @@ interface NCWidgetSearchViewController { interface INCWidgetSearchViewDelegate { } [NoiOS] - [Mac (10, 10)] [Deprecated (PlatformName.MacOSX, 11, 0)] [Protocol, Model] [BaseType (typeof (NSObject))] diff --git a/src/opengles.cs b/src/opengles.cs index d82a4a2d730e..b00f0f303c93 100644 --- a/src/opengles.cs +++ b/src/opengles.cs @@ -72,26 +72,19 @@ interface EAGLContext { [Export ("presentRenderbuffer:")] bool PresentRenderBuffer (nuint target); - [iOS (10, 0)] - [TV (10, 0)] [Internal] [Export ("presentRenderbuffer:atTime:")] bool _PresentRenderbufferAtTime (nuint target, double presentationTime); - [iOS (10, 3)] - [TV (10, 2)] [Internal] [Export ("presentRenderbuffer:afterMinimumDuration:")] bool _PresentRenderbufferAfterMinimumDuration (nuint target, double duration); - [iOS (7, 1)] [Export ("multiThreaded")] bool IsMultiThreaded { [Bind ("isMultiThreaded")] get; set; } // IOSurface (EAGLContext) - [iOS (11, 0)] - [TV (11, 0)] [Export ("texImageIOSurface:target:internalFormat:width:height:format:type:plane:")] bool TexImage (IOSurface.IOSurface ioSurface, nuint target, nuint internalFormat, uint width, uint height, nuint format, nuint type, uint plane); } diff --git a/src/passkit.cs b/src/passkit.cs index ea21a1384289..6904038a7118 100644 --- a/src/passkit.cs +++ b/src/passkit.cs @@ -40,8 +40,6 @@ namespace PassKit { - [Watch (3, 0)] - [iOS (9, 0)] [Mac (11, 0)] // mention 10.12 but the framework was not available on macOS at that time [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -59,7 +57,6 @@ interface PKContact : NSSecureCoding { CNPhoneNumber PhoneNumber { get; set; } [NoMac] - [iOS (9, 2)] [Deprecated (PlatformName.iOS, 10, 3, message: "Use 'SubLocality' and 'SubAdministrativeArea' on 'PostalAddress' instead.")] [Deprecated (PlatformName.WatchOS, 3, 2, message: "Use 'SubLocality' and 'SubAdministrativeArea' on 'PostalAddress' instead.")] [MacCatalyst (13, 1)] @@ -91,7 +88,6 @@ interface PKPassLibrary { [return: NullAllowed] PKPass GetPass (string identifier, string serialNumber); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("passesOfType:")] PKPass [] GetPasses (PKPassType passType); @@ -110,14 +106,12 @@ interface PKPassLibrary { [Notification] NSString DidChangeNotification { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("PKPassLibraryRemotePaymentPassesDidChangeNotification")] [Notification] NSString RemotePaymentPassesDidChangeNotification { get; } [NoMac] - [iOS (8, 0)] [Static, Export ("isPaymentPassActivationAvailable")] [Deprecated (PlatformName.iOS, 9, 0, message: "Use the library's instance 'IsLibraryPaymentPassActivationAvailable' property instead.")] [MacCatalyst (13, 1)] @@ -127,7 +121,6 @@ interface PKPassLibrary { [NoMac] [Deprecated (PlatformName.iOS, 13, 4, message: "Use 'SecureElementPassActivationAvailable' instead.")] [Deprecated (PlatformName.WatchOS, 6, 2, message: "Use 'SecureElementPassActivationAvailable' instead.")] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'SecureElementPassActivationAvailable' instead.")] [Export ("isPaymentPassActivationAvailable")] @@ -141,7 +134,6 @@ interface PKPassLibrary { [NoMac] [Deprecated (PlatformName.iOS, 13, 4, message: "Use 'ActivateSecureElementPass' instead.")] [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'ActivateSecureElementPass' instead.")] [Async] @@ -156,7 +148,6 @@ interface PKPassLibrary { [NoMac] [NoWatch] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 9, 0, message: "Use 'ActivatePaymentPass (PKPaymentPass, NSData, Action completion)' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'ActivatePaymentPass (PKPaymentPass, NSData, Action completion)' instead.")] @@ -165,7 +156,6 @@ interface PKPassLibrary { void ActivatePaymentPass (PKPaymentPass paymentPass, string activationCode, [NullAllowed] Action completion); [NoWatch] - [iOS (8, 3)] [MacCatalyst (13, 1)] [Export ("openPaymentSetup")] void OpenPaymentSetup (); @@ -173,7 +163,6 @@ interface PKPassLibrary { [NoMac] [Deprecated (PlatformName.iOS, 13, 4, message: "Use 'CanAddSecureElementPass' instead.")] [Deprecated (PlatformName.WatchOS, 6, 2, message: "Use 'CanAddSecureElementPass' instead.")] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'CanAddSecureElementPass' instead.")] [Export ("canAddPaymentPassWithPrimaryAccountIdentifier:")] @@ -184,21 +173,17 @@ interface PKPassLibrary { [Export ("canAddSecureElementPassWithPrimaryAccountIdentifier:")] bool CanAddSecureElementPass (string primaryAccountIdentifier); - [iOS (10, 1)] - [Watch (3, 1)] [MacCatalyst (13, 1)] [Export ("canAddFelicaPass")] bool CanAddFelicaPass { get; } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("endAutomaticPassPresentationSuppressionWithRequestToken:")] void EndAutomaticPassPresentationSuppression (nuint requestToken); [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("isSuppressingAutomaticPassPresentation")] @@ -207,7 +192,6 @@ interface PKPassLibrary { [NoMac] [Deprecated (PlatformName.iOS, 13, 4, message: "Use 'RemoteSecureElementPasses' instead.")] [Deprecated (PlatformName.WatchOS, 6, 2, message: "Use 'RemoteSecureElementPasses' instead.")] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'RemoteSecureElementPasses' instead.")] [Export ("remotePaymentPasses")] @@ -220,7 +204,6 @@ interface PKPassLibrary { #if !WATCH [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("requestAutomaticPassPresentationSuppressionWithResponseHandler:")] @@ -230,7 +213,6 @@ interface PKPassLibrary { [NoMac] [Deprecated (PlatformName.iOS, 13, 4, message: "Use 'PresentSecureElementPass' instead.")] [NoWatch] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'PresentSecureElementPass' instead.")] [Export ("presentPaymentPass:")] @@ -282,8 +264,6 @@ interface PKPassLibraryUserInfoKey { NSString RecoveredPasses { get; } } - [Watch (3, 0)] - [iOS (8, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -311,12 +291,10 @@ interface PKPayment { PKShippingMethod ShippingMethod { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("shippingContact", ArgumentSemantic.Strong)] PKContact ShippingContact { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("billingContact", ArgumentSemantic.Strong)] PKContact BillingContact { get; } @@ -343,7 +321,6 @@ interface PKPaymentAuthorizationViewControllerDelegate { #endif void DidAuthorizePayment (PKPaymentAuthorizationViewController controller, PKPayment payment, Action completion); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("paymentAuthorizationViewController:didAuthorizePayment:handler:")] [EventArgs ("PKPaymentAuthorizationResult")] @@ -361,7 +338,6 @@ interface PKPaymentAuthorizationViewControllerDelegate { [EventArgs ("PKPaymentShippingMethodSelected")] void DidSelectShippingMethod (PKPaymentAuthorizationViewController controller, PKShippingMethod shippingMethod, PKPaymentShippingMethodSelected completion); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("paymentAuthorizationViewController:didSelectShippingMethod:handler:")] [EventArgs ("PKPaymentRequestShippingMethodUpdate")] @@ -375,7 +351,6 @@ interface PKPaymentAuthorizationViewControllerDelegate { [EventArgs ("PKPaymentShippingAddressSelected")] void DidSelectShippingAddress (PKPaymentAuthorizationViewController controller, ABRecord address, PKPaymentShippingAddressSelected completion); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Export ("paymentAuthorizationViewControllerWillAuthorizePayment:")] #if !NET @@ -384,7 +359,6 @@ interface PKPaymentAuthorizationViewControllerDelegate { void WillAuthorizePayment (PKPaymentAuthorizationViewController controller); [NoMac] - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'DidSelectShippingContact' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'DidSelectShippingContact' instead.")] @@ -392,14 +366,12 @@ interface PKPaymentAuthorizationViewControllerDelegate { [EventArgs ("PKPaymentSelectedContact")] void DidSelectShippingContact (PKPaymentAuthorizationViewController controller, PKContact contact, PKPaymentShippingAddressSelected completion); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("paymentAuthorizationViewController:didSelectShippingContact:handler:")] [EventArgs ("PKPaymentRequestShippingContactUpdate")] void DidSelectShippingContact2 (PKPaymentAuthorizationViewController controller, PKContact contact, Action completion); [NoMac] - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'DidSelectPaymentMethod2' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'DidSelectPaymentMethod2' instead.")] @@ -407,7 +379,6 @@ interface PKPaymentAuthorizationViewControllerDelegate { [EventArgs ("PKPaymentMethodSelected")] void DidSelectPaymentMethod (PKPaymentAuthorizationViewController controller, PKPaymentMethod paymentMethod, Action completion); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("paymentAuthorizationViewController:didSelectPaymentMethod:handler:")] [EventArgs ("PKPaymentRequestPaymentMethodUpdate")] @@ -427,7 +398,6 @@ interface PKPaymentAuthorizationViewControllerDelegate { } [Mac (11, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController), Delegates = new string [] { "Delegate" }, Events = new Type [] { typeof (PKPaymentAuthorizationViewControllerDelegate) })] [DisableDefaultCtor] @@ -451,7 +421,6 @@ interface PKPaymentAuthorizationViewController { [Static, Export ("canMakePaymentsUsingNetworks:")] bool CanMakePaymentsUsingNetworks (NSString [] paymentNetworks); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("canMakePaymentsUsingNetworks:capabilities:")] @@ -459,8 +428,6 @@ interface PKPaymentAuthorizationViewController { } #endif - [Watch (3, 0)] - [iOS (8, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -476,20 +443,16 @@ interface PKPaymentSummaryItem { [Static, Export ("summaryItemWithLabel:amount:")] PKPaymentSummaryItem Create (string label, NSDecimalNumber amount); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("type", ArgumentSemantic.Assign)] PKPaymentSummaryItemType Type { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("summaryItemWithLabel:amount:type:")] PKPaymentSummaryItem Create (string label, NSDecimalNumber amount, PKPaymentSummaryItemType type); } - [Watch (3, 0)] - [iOS (8, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (PKPaymentSummaryItem))] @@ -508,8 +471,6 @@ interface PKShippingMethod { PKDateComponentsRange DateComponentsRange { get; set; } } - [Watch (3, 0)] - [iOS (8, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -592,92 +553,68 @@ interface PKPaymentRequest { [Export ("applicationData", ArgumentSemantic.Copy)] NSData ApplicationData { get; set; } - [iOS (8, 3)] [MacCatalyst (13, 1)] [Export ("shippingType", ArgumentSemantic.Assign)] PKShippingType ShippingType { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("shippingContact", ArgumentSemantic.Strong)] PKContact ShippingContact { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("billingContact", ArgumentSemantic.Strong)] PKContact BillingContact { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("availableNetworks")] NSString [] AvailableNetworks { get; } - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("requiredBillingContactFields", ArgumentSemantic.Strong)] NSSet WeakRequiredBillingContactFields { get; set; } - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("requiredShippingContactFields", ArgumentSemantic.Strong)] NSSet WeakRequiredShippingContactFields { get; set; } - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("supportedCountries", ArgumentSemantic.Copy)] NSSet SupportedCountries { get; set; } - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] [Export ("paymentContactInvalidErrorWithContactField:localizedDescription:")] NSError CreatePaymentContactInvalidError (NSString field, [NullAllowed] string localizedDescription); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("CreatePaymentContactInvalidError (contactField.GetConstant ()!, localizedDescription)")] NSError CreatePaymentContactInvalidError (PKContactFields contactField, [NullAllowed] string localizedDescription); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] [Export ("paymentShippingAddressInvalidErrorWithKey:localizedDescription:")] NSError CreatePaymentShippingAddressInvalidError (NSString postalAddressKey, [NullAllowed] string localizedDescription); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("CreatePaymentShippingAddressInvalidError (postalAddress.GetConstant ()!, localizedDescription)")] NSError CreatePaymentShippingAddressInvalidError (CNPostalAddressKeyOption postalAddress, [NullAllowed] string localizedDescription); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] [Export ("paymentBillingAddressInvalidErrorWithKey:localizedDescription:")] NSError CreatePaymentBillingAddressInvalidError (NSString postalAddressKey, [NullAllowed] string localizedDescription); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("CreatePaymentBillingAddressInvalidError (postalAddress.GetConstant ()!, localizedDescription)")] NSError CreatePaymentBillingAddressInvalidError (CNPostalAddressKeyOption postalAddress, [NullAllowed] string localizedDescription); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("paymentShippingAddressUnserviceableErrorWithLocalizedDescription:")] @@ -707,8 +644,6 @@ interface PKPaymentRequest { } [Mac (11, 0)] - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Flags] enum PKContactFields { @@ -730,8 +665,6 @@ enum PKContactFields { PhoneticName = 1 << 4, } - [Watch (3, 0)] - [iOS (8, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -759,7 +692,6 @@ interface PKPaymentToken { [Export ("paymentData", ArgumentSemantic.Copy)] NSData PaymentData { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("paymentMethod", ArgumentSemantic.Strong)] PKPaymentMethod PaymentMethod { get; } @@ -783,7 +715,6 @@ interface PKAddPassesViewController { [Export ("initWithPasses:")] NativeHandle Constructor (PKPass [] pass); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] [Export ("canAddPasses")] @@ -809,7 +740,6 @@ interface PKAddPassesViewControllerDelegate { } [NoWatch] - [iOS (9, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -834,7 +764,6 @@ interface PKAddPaymentPassRequest : NSSecureCoding { [Mac (11, 0)] // not explict (no availability macro) but part of macOS headers [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -852,7 +781,6 @@ interface PKAddPaymentPassRequestConfiguration : NSSecureCoding { [NullAllowed, Export ("primaryAccountSuffix")] string PrimaryAccountSuffix { get; set; } - [iOS (10, 1)] [NoWatch] // Radar: https://trello.com/c/MvaHEZlc [MacCatalyst (13, 1)] [Export ("cardDetails", ArgumentSemantic.Copy)] @@ -867,7 +795,6 @@ interface PKAddPaymentPassRequestConfiguration : NSSecureCoding { [NullAllowed, Export ("paymentNetwork")] string PaymentNetwork { get; set; } - [iOS (10, 1)] [NoWatch] // Radar: https://trello.com/c/MvaHEZlc [MacCatalyst (13, 1)] [Export ("requiresFelicaSecureElement")] @@ -887,7 +814,6 @@ interface PKAddPaymentPassRequestConfiguration : NSSecureCoding { [NoMac] // under `#if TARGET_OS_IPHONE` [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] [DisableDefaultCtor] @@ -985,7 +911,6 @@ interface PKPass : NSSecureCoding, NSCopying { [NullAllowed, Export ("userInfo", ArgumentSemantic.Copy)] NSDictionary UserInfo { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("passType")] PKPassType PassType { get; } @@ -993,7 +918,6 @@ interface PKPass : NSSecureCoding, NSCopying { [Deprecated (PlatformName.iOS, 13, 4, message: "Use 'SecureElementPass' instead.")] [Deprecated (PlatformName.WatchOS, 6, 2, message: "Use 'SecureElementPass' instead.")] [NoMac] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'SecureElementPass' instead.")] [Export ("paymentPass")] @@ -1004,19 +928,15 @@ interface PKPass : NSSecureCoding, NSCopying { [NullAllowed, Export ("secureElementPass")] PKSecureElementPass SecureElementPass { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("remotePass")] bool RemotePass { [Bind ("isRemotePass")] get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("deviceName")] string DeviceName { get; } } - [Watch (3, 0)] - [iOS (9, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -1049,7 +969,6 @@ interface PKPaymentMethod : NSSecureCoding { CNContact BillingAddress { get; } } - [iOS (8, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (PKSecureElementPass))] @@ -1064,7 +983,6 @@ interface PKPaymentPass { PKPaymentPassActivationState ActivationState { get; } } - [iOS (8, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -1073,8 +991,6 @@ partial interface PKObject : NSCoding, NSSecureCoding, NSCopying { } [Static] - [iOS (8, 0)] - [Watch (3, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] interface PKPaymentNetwork { @@ -1082,7 +998,6 @@ interface PKPaymentNetwork { NSString Amex { get; } [NoMac] - [iOS (10, 3), Watch (3, 2)] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'CartesBancaires' instead.")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'CartesBancaires' instead.")] [MacCatalyst (13, 1)] @@ -1091,8 +1006,6 @@ interface PKPaymentNetwork { NSString CarteBancaire { get; } [NoMac] - [iOS (11, 0)] - [Watch (4, 0)] [Deprecated (PlatformName.WatchOS, 4, 2, message: "Use 'CartesBancaires' instead.")] [Deprecated (PlatformName.iOS, 11, 2, message: "Use 'CartesBancaires' instead.")] [MacCatalyst (13, 1)] @@ -1106,7 +1019,6 @@ interface PKPaymentNetwork { [Field ("PKPaymentNetworkCartesBancaires")] NSString CartesBancaires { get; } - [iOS (9, 2)] [MacCatalyst (13, 1)] [Field ("PKPaymentNetworkChinaUnionPay")] NSString ChinaUnionPay { get; } @@ -1115,7 +1027,6 @@ interface PKPaymentNetwork { [Field ("PKPaymentNetworkDankort")] NSString Dankort { get; } - [iOS (9, 2)] [MacCatalyst (13, 1)] [Field ("PKPaymentNetworkInterac")] NSString Interac { get; } @@ -1126,32 +1037,26 @@ interface PKPaymentNetwork { [Field ("PKPaymentNetworkVisa")] NSString Visa { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("PKPaymentNetworkDiscover")] NSString Discover { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("PKPaymentNetworkPrivateLabel")] NSString PrivateLabel { get; } - [Watch (3, 1), iOS (10, 1)] [MacCatalyst (13, 1)] [Field ("PKPaymentNetworkJCB")] NSString Jcb { get; } - [Watch (3, 1), iOS (10, 1)] [MacCatalyst (13, 1)] [Field ("PKPaymentNetworkSuica")] NSString Suica { get; } - [iOS (10, 3), Watch (3, 2)] [MacCatalyst (13, 1)] [Field ("PKPaymentNetworkQuicPay")] NSString QuicPay { get; } - [iOS (10, 3), Watch (3, 2)] [MacCatalyst (13, 1)] [Field ("PKPaymentNetworkIDCredit")] NSString IDCredit { get; } @@ -1226,7 +1131,6 @@ interface PKPaymentNetwork { #if !WATCH [Mac (11, 0)] - [iOS (8, 3)] [MacCatalyst (13, 1)] [BaseType (typeof (UIButton))] [DisableDefaultCtor] @@ -1237,7 +1141,6 @@ interface PKPaymentButton { // note: named like UIButton method PKPaymentButton FromType (PKPaymentButtonType buttonType, PKPaymentButtonStyle buttonStyle); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("initWithPaymentButtonType:paymentButtonStyle:")] [DesignatedInitializer] @@ -1250,7 +1153,6 @@ interface PKPaymentButton { } [NoMac] // under `#if TARGET_OS_IOS` - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIButton))] [DisableDefaultCtor] @@ -1270,23 +1172,18 @@ interface PKAddPassButton { #endif // !WATCH [Mac (11, 0)] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] interface PKEncryptionScheme { [Field ("PKEncryptionSchemeECC_V2")] NSString Ecc_V2 { get; } - [iOS (10, 0)] - [Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("PKEncryptionSchemeRSA_V2")] NSString Rsa_V2 { get; } } [Mac (11, 0)] - [Watch (3, 0)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // providing DesignatedInitializer @@ -1323,8 +1220,6 @@ interface PKPaymentAuthorizationController { interface IPKPaymentAuthorizationControllerDelegate { } [Mac (11, 0)] - [Watch (3, 0)] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Protocol] [Model] @@ -1342,8 +1237,6 @@ interface PKPaymentAuthorizationControllerDelegate { [Export ("paymentAuthorizationController:didAuthorizePayment:completion:")] void DidAuthorizePayment (PKPaymentAuthorizationController controller, PKPayment payment, Action completion); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("paymentAuthorizationController:didAuthorizePayment:handler:")] void DidAuthorizePayment (PKPaymentAuthorizationController controller, PKPayment payment, Action completion); @@ -1363,8 +1256,6 @@ interface PKPaymentAuthorizationControllerDelegate { [Export ("paymentAuthorizationController:didSelectShippingMethod:completion:")] void DidSelectShippingMethod (PKPaymentAuthorizationController controller, PKShippingMethod shippingMethod, Action completion); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("paymentAuthorizationController:didSelectShippingMethod:handler:")] void DidSelectShippingMethod (PKPaymentAuthorizationController controller, PKPaymentMethod paymentMethod, Action completion); @@ -1377,8 +1268,6 @@ interface PKPaymentAuthorizationControllerDelegate { [Export ("paymentAuthorizationController:didSelectShippingContact:completion:")] void DidSelectShippingContact (PKPaymentAuthorizationController controller, PKContact contact, Action completion); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("paymentAuthorizationController:didSelectShippingContact:handler:")] void DidSelectShippingContact (PKPaymentAuthorizationController controller, PKContact contact, Action completion); @@ -1391,8 +1280,6 @@ interface PKPaymentAuthorizationControllerDelegate { [Export ("paymentAuthorizationController:didSelectPaymentMethod:completion:")] void DidSelectPaymentMethod (PKPaymentAuthorizationController controller, PKPaymentMethod paymentMethod, Action completion); - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("paymentAuthorizationController:didSelectPaymentMethod:handler:")] void DidSelectPaymentMethod (PKPaymentAuthorizationController controller, PKPaymentMethod paymentMethod, Action completion); @@ -1419,7 +1306,6 @@ interface PKPaymentAuthorizationControllerDelegate { } [Mac (11, 0)] - [iOS (10, 1)] [NoWatch] // Radar: https://trello.com/c/MvaHEZlc [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -1484,7 +1370,6 @@ interface PKTransitPassProperties { } [Mac (11, 0)] - [Watch (3, 1), iOS (10, 1)] [MacCatalyst (13, 1)] #if NET || MONOMAC [DisableDefaultCtor] // hint: getter only props and a factory method. @@ -1530,8 +1415,6 @@ interface PKSuicaPassProperties { } [Mac (11, 0)] - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1552,8 +1435,6 @@ interface PKPaymentAuthorizationResult { } [Mac (11, 0)] - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1587,8 +1468,6 @@ interface PKPaymentRequestUpdate { } [Mac (11, 0)] - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (PKPaymentRequestUpdate))] [DisableDefaultCtor] @@ -1606,8 +1485,6 @@ interface PKPaymentRequestShippingContactUpdate { } [Mac (11, 0)] - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (PKPaymentRequestUpdate))] [DisableDefaultCtor] @@ -1620,8 +1497,6 @@ interface PKPaymentRequestShippingMethodUpdate { } [Mac (11, 0)] - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (PKPaymentRequestUpdate))] [DisableDefaultCtor] @@ -1649,14 +1524,10 @@ interface PKPaymentRequestPaymentMethodUpdate { [Static] // not to enum'ify - exposed as NSString inside NSError interface PKPaymentErrorKeys { - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("PKPaymentErrorContactFieldUserInfoKey")] NSString ContactFieldUserInfoKey { get; } - [Watch (4, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("PKPaymentErrorPostalAddressUserInfoKey")] NSString PostalAddressUserInfoKey { get; } diff --git a/src/pdfkit.cs b/src/pdfkit.cs index 722cfc21d53f..68c9e8d91382 100644 --- a/src/pdfkit.cs +++ b/src/pdfkit.cs @@ -66,8 +66,6 @@ namespace PdfKit { - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] enum PdfAnnotationKey { @@ -198,8 +196,6 @@ enum PdfAnnotationKey { WidgetValue, } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] enum PdfAnnotationSubtype { @@ -243,8 +239,6 @@ enum PdfAnnotationSubtype { Widget, } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] enum PdfAnnotationWidgetSubtype { @@ -261,8 +255,6 @@ enum PdfAnnotationWidgetSubtype { Text, } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] enum PdfAnnotationLineEndingStyle { @@ -285,8 +277,6 @@ enum PdfAnnotationLineEndingStyle { ClosedArrow, } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] enum PdfAnnotationTextIconType { @@ -312,8 +302,6 @@ enum PdfAnnotationTextIconType { Insert, } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] enum PdfAnnotationHighlightingMode { @@ -343,8 +331,6 @@ public enum PdfAccessPermissions : ulong { FormFieldEntry = (1uL << 7), } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] interface PdfAppearanceCharacteristicsKeys { @@ -368,8 +354,6 @@ interface PdfAppearanceCharacteristicsKeys { NSString DownCaptionKey { get; } } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Static] interface PdfBorderKeys { @@ -384,7 +368,6 @@ interface PdfBorderKeys { NSString DashPatternKey { get; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -440,7 +423,6 @@ interface PdfPageImageInitializationOptionKeys { NSString CompressionQualityKey { get; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("PdfDocumentAttributeKeys")] interface PdfDocumentAttributes { @@ -455,8 +437,6 @@ interface PdfDocumentAttributes { string [] Keywords { get; set; } } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -481,8 +461,6 @@ interface PdfDocumentWriteOptionKeys { NSString SaveTextFromOcrKey { get; } } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("PdfDocumentWriteOptionKeys")] interface PdfDocumentWriteOptions { @@ -494,8 +472,6 @@ interface PdfDocumentWriteOptions { string AccessPermissions { get; set; } } - [Mac (10, 13)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "PDFAppearanceCharacteristics")] interface PdfAppearanceCharacteristics : NSCopying { @@ -525,7 +501,6 @@ interface PdfAppearanceCharacteristics : NSCopying { NSDictionary WeakAppearanceCharacteristicsKeyValues { get; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "PDFAction")] [Abstract] @@ -538,7 +513,6 @@ interface PdfAction : NSCopying { string Type { get; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (PdfAction), Name = "PDFActionGoTo")] interface PdfActionGoTo { @@ -551,7 +525,6 @@ interface PdfActionGoTo { PdfDestination Destination { get; set; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (PdfAction), Name = "PDFActionNamed")] interface PdfActionNamed { @@ -564,7 +537,6 @@ interface PdfActionNamed { PdfActionNamedName Name { get; set; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (PdfAction), Name = "PDFActionRemoteGoTo")] interface PdfActionRemoteGoTo { @@ -583,7 +555,6 @@ interface PdfActionRemoteGoTo { NSUrl Url { get; set; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (PdfAction), Name = "PDFActionResetForm")] @@ -601,7 +572,6 @@ interface PdfActionResetForm { bool FieldsIncludedAreCleared { get; set; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (PdfAction), Name = "PDFActionURL")] interface PdfActionUrl { @@ -614,18 +584,15 @@ interface PdfActionUrl { NSUrl Url { get; set; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "PDFAnnotation")] interface PdfAnnotation : NSCoding, NSCopying { - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("initWithBounds:forType:withProperties:")] [DesignatedInitializer] NativeHandle Constructor (CGRect bounds, NSString annotationType, [NullAllowed] NSDictionary properties); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Wrap ("this (bounds, annotationType.GetConstant ()!, properties)")] NativeHandle Constructor (CGRect bounds, PdfAnnotationKey annotationType, [NullAllowed] NSDictionary properties); @@ -717,268 +684,219 @@ interface PdfAnnotation : NSCoding, NSCopying { [Export ("drawWithBox:")] void Draw (PdfDisplayBox box); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("action", ArgumentSemantic.Strong), NullAllowed] PdfAction Action { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("highlighted")] bool Highlighted { [Bind ("isHighlighted")] get; set; } - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("drawWithBox:inContext:")] void Draw (PdfDisplayBox box, CGContext context); [Internal] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("setValue:forAnnotationKey:")] bool _SetValue (IntPtr value, NSString key); [Internal] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("valueForAnnotationKey:")] [return: NullAllowed] IntPtr _GetValue (NSString key); [Protected] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("setBoolean:forAnnotationKey:")] bool SetValue (bool boolean, NSString key); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("SetValue (boolean, key.GetConstant ()!)")] bool SetValue (bool boolean, PdfAnnotationKey key); [Protected] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("setRect:forAnnotationKey:")] bool SetValue (CGRect rect, NSString key); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("SetValue (rect, key.GetConstant ()!)")] bool SetValue (CGRect rect, PdfAnnotationKey key); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("annotationKeyValues", ArgumentSemantic.Copy)] NSDictionary AnnotationKeyValues { get; } [Protected] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("removeValueForAnnotationKey:")] void RemoveValue (NSString key); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Wrap ("RemoveValue (key.GetConstant ()!)")] void RemoveValue (PdfAnnotationKey key); // PDFAnnotation (PDFAnnotationUtilities) Category - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("font", ArgumentSemantic.Copy)] NSFont Font { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fontColor", ArgumentSemantic.Copy)] NSColor FontColor { get; set; } - [Mac (10, 13, 2), iOS (11, 2)] + [iOS (11, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("interiorColor", ArgumentSemantic.Copy)] NSColor InteriorColor { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("alignment", ArgumentSemantic.Assign)] NSTextAlignment Alignment { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("startPoint", ArgumentSemantic.Assign)] CGPoint StartPoint { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("endPoint", ArgumentSemantic.Assign)] CGPoint EndPoint { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("startLineStyle", ArgumentSemantic.Assign)] PdfLineStyle StartLineStyle { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("endLineStyle", ArgumentSemantic.Assign)] PdfLineStyle EndLineStyle { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("lineStyleFromName:")] PdfLineStyle GetLineStyle (string fromName); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] [Export ("nameForLineStyle:")] string GetName (PdfLineStyle style); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("iconType", ArgumentSemantic.Assign)] PdfTextAnnotationIconType IconType { get; set; } [Internal] - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("quadrilateralPoints", ArgumentSemantic.Copy)] IntPtr _QuadrilateralPoints { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("markupType", ArgumentSemantic.Assign)] PdfMarkupType MarkupType { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("widgetFieldType")] string WidgetFieldType { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("widgetControlType", ArgumentSemantic.Assign)] PdfWidgetControlType WidgetControlType { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("multiline")] bool Multiline { [Bind ("isMultiline")] get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("isPasswordField")] bool IsPasswordField { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("comb")] bool Comb { [Bind ("hasComb")] get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("maximumLength")] nint MaximumLength { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("widgetStringValue")] string WidgetStringValue { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("widgetDefaultStringValue")] string WidgetDefaultStringValue { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("allowsToggleToOff")] bool AllowsToggleToOff { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("radiosInUnison")] bool RadiosInUnison { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("readOnly")] bool ReadOnly { [Bind ("isReadOnly")] get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("listChoice")] bool ListChoice { [Bind ("isListChoice")] get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("choices", ArgumentSemantic.Copy)] string [] Choices { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("values", ArgumentSemantic.Copy)] string [] Values { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("buttonWidgetState", ArgumentSemantic.Assign)] PdfWidgetCellState ButtonWidgetState { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("buttonWidgetStateString")] string ButtonWidgetStateString { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("open")] bool Open { [Bind ("isOpen")] get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("paths")] NSBezierPath [] Paths { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("addBezierPath:")] void AddBezierPath (NSBezierPath path); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("removeBezierPath:")] void RemoveBezierPath (NSBezierPath path); - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("destination", ArgumentSemantic.Strong)] PdfDestination Destination { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("URL", ArgumentSemantic.Copy)] NSUrl Url { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("fieldName")] string FieldName { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("caption")] string Caption { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("backgroundColor", ArgumentSemantic.Copy)] NSColor BackgroundColor { get; set; } - [Mac (10, 13, 2), iOS (11, 2)] + [iOS (11, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("stampName")] string StampName { get; set; } @@ -1215,7 +1133,6 @@ interface PdfAnnotationTextWidget { bool IsMultiline { get; set; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "PDFBorder")] interface PdfBorder : NSCoding, NSCopying { @@ -1228,7 +1145,6 @@ interface PdfBorder : NSCoding, NSCopying { [Export ("dashPattern", ArgumentSemantic.Assign), NullAllowed] NSArray WeakDashPattern { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("borderKeyValues", ArgumentSemantic.Copy)] NSDictionary WeakBorderKeyValues { get; } @@ -1237,12 +1153,10 @@ interface PdfBorder : NSCoding, NSCopying { void Draw (CGRect rect); } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "PDFDestination")] interface PdfDestination : NSCopying { - [Mac (10, 13)] // This used to be a calculated macro and promoted to an actual field in 10.13. [MacCatalyst (13, 1)] [Field ("kPDFDestinationUnspecifiedValue")] nfloat UnspecifiedValue { get; } @@ -1267,7 +1181,6 @@ interface PdfDestination : NSCopying { } //Add attributes for delegates/events - [iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject), Name = "PDFDocument", Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (PdfDocumentDelegate) })] @@ -1388,27 +1301,22 @@ interface PdfDocument : NSCopying { [Export ("allowsCopying")] bool AllowsCopying { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("allowsDocumentChanges")] bool AllowsDocumentChanges { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("allowsDocumentAssembly")] bool AllowsDocumentAssembly { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("allowsContentAccessibility")] bool AllowsContentAccessibility { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("allowsCommenting")] bool AllowsCommenting { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("allowsFormFieldEntry")] bool AllowsFormFieldEntry { get; } @@ -1441,7 +1349,6 @@ interface PdfDocument : NSCopying { [Export ("writeToFile:withOptions:")] bool Write (string path, [NullAllowed] NSDictionary options); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Wrap ("Write (path, options.GetDictionary ()!)")] bool Write (string path, PdfDocumentWriteOptions options); @@ -1452,7 +1359,6 @@ interface PdfDocument : NSCopying { [Export ("writeToURL:withOptions:")] bool Write (NSUrl url, [NullAllowed] NSDictionary options); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Wrap ("Write (url, options.GetDictionary ()!)")] bool Write (NSUrl url, PdfDocumentWriteOptions options); @@ -1559,7 +1465,6 @@ interface PdfDocument : NSCopying { #pragma warning restore } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "PDFDocumentDelegate")] #if IOS @@ -1582,7 +1487,6 @@ interface PdfDocumentDelegate { [Export ("classForPage"), IgnoredInDelegate] Class GetClassForPage (); - [Mac (10, 13)] [MacCatalyst (13, 1)] [DelegateName ("ClassForAnnotationTypeDelegate"), DefaultValue (null)] [Export ("classForAnnotationType:")] @@ -1611,7 +1515,6 @@ interface PdfDocumentDelegate { void MatchFound (NSNotification notification); } - [iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject), Name = "PDFOutline")] @@ -1655,13 +1558,11 @@ interface PdfOutline { [Export ("destination"), NullAllowed] PdfDestination Destination { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("action"), NullAllowed] PdfAction Action { get; set; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (NSObject), Name = "PDFPage")] @@ -1722,7 +1623,6 @@ interface PdfPage : NSCopying { [return: NullAllowed] PdfAnnotation GetAnnotation (CGPoint point); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("transformForBox:")] CGAffineTransform GetTransform (PdfDisplayBox box); @@ -1733,17 +1633,14 @@ interface PdfPage : NSCopying { [Export ("drawWithBox:")] void Draw (PdfDisplayBox box); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("drawWithBox:toContext:")] void Draw (PdfDisplayBox box, CGContext context); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("transformContext:forBox:")] void TransformContext (CGContext context, PdfDisplayBox box); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("thumbnailOfSize:forBox:")] NSImage GetThumbnail (CGSize size, PdfDisplayBox box); @@ -1795,7 +1692,6 @@ interface PdfPage : NSCopying { NSData DataRepresentation { get; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "PDFSelection")] [DisableDefaultCtor] // An uncaught exception was raised: init: not a valid initializer for PDFSelection @@ -1841,7 +1737,6 @@ interface PdfSelection : NSCopying { [Export ("extendSelectionAtStart:")] void ExtendSelectionAtStart (nint precede); - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("extendSelectionForLineBoundaries")] void ExtendSelectionForLineBoundaries (); @@ -1853,7 +1748,6 @@ interface PdfSelection : NSCopying { void Draw (PdfPage page, PdfDisplayBox box, bool active); } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSView), Name = "PDFThumbnailView")] interface PdfThumbnailView : NSCoding { @@ -1911,7 +1805,6 @@ interface PdfThumbnailView : NSCoding { PdfPage [] SelectedPages { get; } } - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSView), Name = "PDFView", Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (PdfViewDelegate) })] interface PdfView : @@ -1987,7 +1880,6 @@ interface PdfView : [Export ("displayMode")] PdfDisplayMode DisplayMode { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("displayDirection")] PdfDisplayDirection DisplayDirection { get; set; } @@ -1995,7 +1887,6 @@ interface PdfView : [Export ("displaysPageBreaks")] bool DisplaysPageBreaks { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("pageBreakMargins")] NSEdgeInsets PageBreakMargins { get; set; } @@ -2006,7 +1897,6 @@ interface PdfView : [Export ("displaysAsBook")] bool DisplaysAsBook { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("displaysRTL")] bool DisplaysRtl { get; set; } @@ -2035,7 +1925,7 @@ interface PdfView : [Export ("interpolationQuality", ArgumentSemantic.Assign)] PdfInterpolationQuality InterpolationQuality { get; set; } - [iOS (12, 0), Mac (10, 14)] + [iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("pageShadowsEnabled")] bool PageShadowsEnabled { get; [Bind ("enablePageShadows:")] set; } @@ -2060,12 +1950,10 @@ interface PdfView : [Export ("scaleFactor")] nfloat ScaleFactor { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("minScaleFactor")] nfloat MinScaleFactor { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("maxScaleFactor")] nfloat MaxScaleFactor { get; set; } @@ -2085,7 +1973,6 @@ interface PdfView : [Export ("autoScales")] bool AutoScales { get; set; } - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("scaleFactorForSizeToFit")] nfloat ScaleFactorForSizeToFit { get; } @@ -2093,7 +1980,6 @@ interface PdfView : [Export ("areaOfInterestForMouse:")] PdfAreaOfInterest GetAreaOfInterest (NSEvent mouseEvent); - [Mac (10, 10, 3)] [MacCatalyst (13, 1)] [Export ("areaOfInterestForPoint:")] PdfAreaOfInterest GetAreaOfInterest (CGPoint point); @@ -2138,12 +2024,10 @@ interface PdfView : [Export ("drawPage:")] void DrawPage (PdfPage page); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("drawPage:toContext:")] void DrawPage (PdfPage page, CGContext context); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("drawPagePost:toContext:")] void DrawPagePost (PdfPage page, CGContext context); @@ -2259,7 +2143,6 @@ interface PdfView : NSString VisiblePagesChangedNotification { get; } [NoiOS] - [Mac (10, 13)] [NoMacCatalyst] [Export ("acceptsDraggedFiles")] bool AcceptsDraggedFiles { get; set; } @@ -2290,7 +2173,6 @@ interface PdfViewAnnotationHitEventArgs { //Verify delegate methods. There are default actions (not just return null ) that should occur //if the delegate does not implement the method. - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "PDFViewDelegate")] #if IOS diff --git a/src/pencilkit.cs b/src/pencilkit.cs index 98dd6fb7460f..8df68cc436f0 100644 --- a/src/pencilkit.cs +++ b/src/pencilkit.cs @@ -130,7 +130,7 @@ interface PKCanvasView : PKToolPickerObserver { PKCanvasViewDrawingPolicy DrawingPolicy { get; set; } } - [iOS (13, 0), Mac (10, 15)] + [iOS (13, 0)] [Introduced (PlatformName.MacCatalyst, 14, 0)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] diff --git a/src/photos.cs b/src/photos.cs index 355f92faaa1a..73091b2800b9 100644 --- a/src/photos.cs +++ b/src/photos.cs @@ -21,9 +21,6 @@ #endif namespace Photos { - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHAdjustmentData : NSCoding, NSSecureCoding { @@ -41,9 +38,6 @@ interface PHAdjustmentData : NSCoding, NSSecureCoding { NSData Data { get; } } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] #if MONOMAC [DisableDefaultCtor] // Crashes mac introspection test @@ -91,23 +85,19 @@ interface PHAsset { [Export ("favorite")] bool Favorite { [Bind ("isFavorite")] get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("burstIdentifier", ArgumentSemantic.Strong)] [NullAllowed] string BurstIdentifier { get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("burstSelectionTypes")] PHAssetBurstSelectionType BurstSelectionTypes { get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("representsBurst")] bool RepresentsBurst { get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("canPerformEditOperation:")] bool CanPerformEditOperation (PHAssetEditOperation editOperation); @@ -116,7 +106,6 @@ interface PHAsset { [Export ("fetchAssetsInAssetCollection:options:")] PHFetchResult FetchAssets (PHAssetCollection assetCollection, [NullAllowed] PHFetchOptions options); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("fetchAssetsWithMediaType:options:")] @@ -131,13 +120,11 @@ interface PHAsset { [return: NullAllowed] PHFetchResult FetchKeyAssets (PHAssetCollection assetCollection, [NullAllowed] PHFetchOptions options); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("fetchAssetsWithBurstIdentifier:options:")] PHFetchResult FetchAssets (string burstIdentifier, [NullAllowed] PHFetchOptions options); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("fetchAssetsWithOptions:")] @@ -152,12 +139,10 @@ interface PHAsset { [Export ("fetchAssetsWithALAssetURLs:options:")] PHFetchResult FetchAssets (NSUrl [] assetUrls, [NullAllowed] PHFetchOptions options); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("sourceType", ArgumentSemantic.Assign)] PHAssetSourceType SourceType { get; } - [TV (11, 0), iOS (11, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("playbackStyle", ArgumentSemantic.Assign)] PHAssetPlaybackStyle PlaybackStyle { get; } @@ -179,9 +164,6 @@ interface PHAsset { bool HasAdjustments { get; } } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[PHAssetChangeRequest init]: unrecognized selector sent to instance 0x8165d150 [BaseType (typeof (PHChangeRequest))] @@ -236,9 +218,6 @@ interface PHAssetChangeRequest { } - [iOS (9, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (PHAssetChangeRequest))] [DisableDefaultCtor] @@ -262,9 +241,6 @@ interface PHAssetCreationRequest { [MacCatalyst (13, 1)] delegate void PHProgressHandler (double progress, ref bool stop); - [iOS (9, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // crashes: -[PHAssetResource init]: unrecognized selector sent to instance 0x7f9e15884e90 @@ -286,7 +262,6 @@ interface PHAssetResource { [Export ("assetResourcesForAsset:")] PHAssetResource [] GetAssetResources (PHAsset forAsset); - [iOS (9, 1)] [MacCatalyst (13, 1)] [Static] [Export ("assetResourcesForLivePhoto:")] @@ -303,9 +278,6 @@ interface PHAssetResource { nint PixelHeight { get; } } - [iOS (9, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHAssetResourceCreationOptions : NSCopying { @@ -319,9 +291,6 @@ interface PHAssetResourceCreationOptions : NSCopying { bool ShouldMoveFile { get; set; } } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHContentEditingInputRequestOptions { @@ -347,9 +316,6 @@ interface PHContentEditingInputRequestOptions { delegate void PHContentEditingHandler (PHContentEditingInput contentEditingInput, NSDictionary requestStatusInfo); - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (PHAsset))] @@ -362,9 +328,6 @@ interface PHAssetContentEditingInputExtensions { void CancelContentEditingInputRequest (nuint requestID); } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (PHChangeRequest))] [DisableDefaultCtor] // fails when calling ToString (see below) and there are (static) API to create them @@ -414,9 +377,6 @@ interface PHAssetCollectionChangeRequest { void MoveAssets (NSIndexSet fromIndexes, nuint toIndex); } - [iOS (9, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -436,9 +396,6 @@ interface PHAssetResourceManager { void CancelDataRequest (int requestID); } - [iOS (9, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHAssetResourceRequestOptions : NSCopying { @@ -449,9 +406,6 @@ interface PHAssetResourceRequestOptions : NSCopying { Action ProgressHandler { get; set; } } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHChange { @@ -465,9 +419,6 @@ interface PHChange { PHFetchResultChangeDetails GetFetchResultChangeDetails (PHFetchResult obj); } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHObjectChangeDetails { @@ -486,23 +437,17 @@ interface PHObjectChangeDetails { bool ObjectWasDeleted { get; } } - [iOS (8, 0)] // This class is introduced in iOS (13,0) but is decorated with iOS(8,0) since PHCollectionListChangeRequest - // supports iOS (8,0) and iOS (13,0) only supports 64 bits, not 32 bits + // supports iOS (8,0) and iOS (13,0) only supports 64 bits, not 32 bits [TV (13, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // include the availability attributes to any new member (and don't trust the type-level ones) interface PHChangeRequest { } - [Mac (10, 13)] [MacCatalyst (13, 1)] delegate void PHChangeDetailEnumerator (nuint fromIndex, nuint toIndex); - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHFetchResultChangeDetails { @@ -548,9 +493,6 @@ interface PHFetchResultChangeDetails { PHFetchResultChangeDetails ChangeDetails (PHFetchResult fromResult, PHFetchResult toResult, PHObject [] changedObjects); } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (PHObject))] [DisableDefaultCtor] // not user createable (calling description fails, see below) must be fetched by API @@ -566,7 +508,6 @@ interface PHCollection { [Export ("canContainCollections", ArgumentSemantic.Assign)] bool CanContainCollections { get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("localizedTitle", ArgumentSemantic.Strong)] [NullAllowed] @@ -584,9 +525,6 @@ interface PHCollection { PHFetchResult FetchTopLevelUserCollections ([NullAllowed] PHFetchOptions options); } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (PHCollection))] interface PHAssetCollection { @@ -662,9 +600,6 @@ interface PHAssetCollection { PHAssetCollection GetTransientAssetCollection (PHFetchResult fetchResult, [NullAllowed] string title); } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (PHCollection))] interface PHCollectionList { @@ -725,9 +660,6 @@ interface PHCollectionList { PHCollectionList CreateTransientCollectionList (PHFetchResult fetchResult, [NullAllowed] string title); } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (PHChangeRequest))] [DisableDefaultCtor] // sometimes crash when calling 'description' @@ -785,9 +717,6 @@ interface PHCollectionListChangeRequest { void MoveChildCollections (NSIndexSet indexes, nuint toIndex); } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHContentEditingInput { @@ -837,26 +766,19 @@ interface PHContentEditingInput { [NullAllowed, Export ("avAsset", ArgumentSemantic.Strong)] AVAsset AvAsset { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("audiovisualAsset", ArgumentSemantic.Strong)] AVAsset AudiovisualAsset { get; } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [NullAllowed, Export ("livePhoto", ArgumentSemantic.Strong)] PHLivePhoto LivePhoto { get; } - [TV (11, 0), iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("playbackStyle", ArgumentSemantic.Assign)] PHAssetPlaybackStyle PlaybackStyle { get; } } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHContentEditingOutput : NSCoding, NSSecureCoding { @@ -875,9 +797,6 @@ interface PHContentEditingOutput : NSCoding, NSSecureCoding { NSUrl RenderedContentUrl { get; } } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHFetchOptions : NSCopying { @@ -893,7 +812,6 @@ interface PHFetchOptions : NSCopying { [Export ("includeHiddenAssets")] bool IncludeHiddenAssets { get; set; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("includeAllBurstAssets", ArgumentSemantic.Assign)] bool IncludeAllBurstAssets { get; set; } @@ -901,24 +819,18 @@ interface PHFetchOptions : NSCopying { [Export ("wantsIncrementalChangeDetails", ArgumentSemantic.Assign)] bool WantsIncrementalChangeDetails { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("includeAssetSourceTypes", ArgumentSemantic.Assign)] PHAssetSourceType IncludeAssetSourceTypes { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("fetchLimit", ArgumentSemantic.Assign)] nuint FetchLimit { get; set; } } - [Mac (10, 13)] [MacCatalyst (13, 1)] delegate void PHFetchResultEnumerator (NSObject element, nuint elementIndex, out bool stop); - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // crash when calling 'description' and seems to be only returned from iOS (not user created) @@ -975,9 +887,6 @@ interface PHFetchResult : NSCopying { delegate void PHAssetImageProgressHandler (double progress, NSError error, out bool stop, NSDictionary info); - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHImageRequestOptions : NSCopying { @@ -1007,9 +916,6 @@ interface PHImageRequestOptions : NSCopying { delegate void PHAssetVideoProgressHandler (double progress, NSError error, out bool stop, NSDictionary info); - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHVideoRequestOptions { @@ -1028,9 +934,6 @@ interface PHVideoRequestOptions { PHAssetVideoProgressHandler ProgressHandler { get; set; } } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Static] interface PHImageKeys { @@ -1067,9 +970,6 @@ interface PHImageKeys { delegate void PHImageManagerRequestLivePhoto (PHLivePhoto livePhoto, NSDictionary info); delegate void PHImageManagerRequestImageDataHandler ([NullAllowed] NSData imageData, [NullAllowed] string dataUti, CGImagePropertyOrientation orientation, [NullAllowed] NSDictionary info); - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHImageManager { @@ -1092,17 +992,14 @@ interface PHImageManager { [Export ("requestImageDataForAsset:options:resultHandler:")] int /* PHImageRequestID = int32_t */ RequestImageData (PHAsset asset, [NullAllowed] PHImageRequestOptions options, PHImageDataHandler handler); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("requestPlayerItemForVideo:options:resultHandler:")] int /* PHImageRequestID = int32_t */ RequestPlayerItem (PHAsset asset, [NullAllowed] PHVideoRequestOptions options, PHImageManagerRequestPlayerHandler resultHandler); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("requestExportSessionForVideo:options:exportPreset:resultHandler:")] int /* PHImageRequestID = int32_t */ RequestExportSession (PHAsset asset, [NullAllowed] PHVideoRequestOptions options, string exportPreset, PHImageManagerRequestExportHandler resultHandler); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("requestAVAssetForVideo:options:resultHandler:")] #if NET @@ -1114,13 +1011,11 @@ interface PHImageManager { [Field ("PHImageManagerMaximumSize")] CGSize MaximumSize { get; } - [iOS (9, 1)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("requestLivePhotoForAsset:targetSize:contentMode:options:resultHandler:")] int /* PHImageRequestID = int32_t */ RequestLivePhoto (PHAsset asset, CGSize targetSize, PHImageContentMode contentMode, [NullAllowed] PHLivePhotoRequestOptions options, PHImageManagerRequestLivePhoto resultHandler); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("requestImageDataAndOrientationForAsset:options:resultHandler:")] int RequestImageDataAndOrientation (PHAsset asset, [NullAllowed] PHImageRequestOptions options, PHImageManagerRequestImageDataHandler resultHandler); @@ -1132,9 +1027,6 @@ interface PHImageManager { delegate void PHImageDataHandler (NSData data, NSString dataUti, UIImageOrientation orientation, NSDictionary info); #endif - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (PHImageManager))] interface PHCachingImageManager { @@ -1152,9 +1044,6 @@ interface PHCachingImageManager { void StopCaching (); } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // doc -> "abstract base class" @@ -1168,18 +1057,12 @@ interface PHObject : NSCopying { string LocalIdentifier { get; } } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (PHObject))] interface PHObjectPlaceholder { } - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Protocol] [Model] @@ -1193,7 +1076,7 @@ interface PHPhotoLibraryChangeObserver { interface IPHPhotoLibraryAvailabilityObserver { } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface PHPhotoLibraryAvailabilityObserver { @@ -1205,9 +1088,6 @@ interface PHPhotoLibraryAvailabilityObserver { delegate void PHPhotoLibraryCancellableChangeHandler (out bool cancel); - [iOS (8, 0)] - [TV (10, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInternalInconsistencyException Reason: -[PHPhotoLibrary init] unsupported @@ -1258,17 +1138,17 @@ interface PHPhotoLibrary { [Export ("unregisterChangeObserver:")] void UnregisterChangeObserver ([Protocolize] PHPhotoLibraryChangeObserver observer); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("unavailabilityReason", ArgumentSemantic.Strong)] NSError UnavailabilityReason { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("registerAvailabilityObserver:")] void Register (IPHPhotoLibraryAvailabilityObserver observer); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("unregisterAvailabilityObserver:")] void Unregister (IPHPhotoLibraryAvailabilityObserver observer); @@ -1289,7 +1169,6 @@ interface PHPhotoLibrary { PHPersistentChangeToken CurrentChangeToken { get; } } - [Mac (10, 13)] [TV (15, 0), iOS (15, 0), MacCatalyst (15, 0)] [Category] [BaseType (typeof (PHPhotoLibrary))] @@ -1327,12 +1206,9 @@ interface PHPhotoLibrary_CloudIdentifiers { NSString LocalIdentifierNotFound { get; } } - [iOS (9, 1)] - [TV (10, 0)] #if MONOMAC [DisableDefaultCtor] // NS_UNAVAILABLE #endif - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHLivePhoto : NSSecureCoding, NSCopying @@ -1343,22 +1219,17 @@ interface PHLivePhoto : NSSecureCoding, NSCopying [Export ("size")] CGSize Size { get; } - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("requestLivePhotoWithResourceFileURLs:placeholderImage:targetSize:contentMode:resultHandler:")] int RequestLivePhoto (NSUrl [] fileUrls, [NullAllowed] UIImage image, CGSize targetSize, PHImageContentMode contentMode, Action resultHandler); - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] [Export ("cancelLivePhotoRequestWithRequestID:")] void CancelLivePhotoRequest (int requestID); } - [iOS (9, 1)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface PHLivePhotoRequestOptions : NSCopying { @@ -1371,15 +1242,11 @@ interface PHLivePhotoRequestOptions : NSCopying { [NullAllowed, Export ("progressHandler", ArgumentSemantic.Copy)] PHAssetImageProgressHandler ProgressHandler { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("version", ArgumentSemantic.Assign)] PHImageRequestOptionsVersion Version { get; set; } } - [iOS (9, 1)] - [TV (10, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Static] interface PHLivePhotoInfo { @@ -1399,9 +1266,6 @@ interface PHLivePhotoInfo { delegate CIImage PHLivePhotoFrameProcessingBlock2 (IPHLivePhotoFrame frame, ref NSError error); #endif - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NS_UNAVAILABLE @@ -1445,8 +1309,6 @@ interface PHLivePhotoEditingContext { void PrepareLivePhotoForPlayback (CGSize targetSize, [NullAllowed] NSDictionary options, Action handler); // the API existed earlier but the key needed to create the strong dictionary did not work - [iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Async] [Wrap ("_PrepareLivePhotoForPlayback (targetSize, options.GetDictionary (), handler)")] @@ -1465,8 +1327,6 @@ interface PHLivePhotoEditingContext { void SaveLivePhoto (PHContentEditingOutput output, [NullAllowed] NSDictionary options, Action handler); // the API existed earlier but the key needed to create the strong dictionary did not work - [iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Async] [Wrap ("_SaveLivePhoto (output, options.GetDictionary (), handler)")] @@ -1478,9 +1338,6 @@ interface PHLivePhotoEditingContext { interface IPHLivePhotoFrame { } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Protocol] interface PHLivePhotoFrame { @@ -1501,9 +1358,6 @@ interface PHLivePhotoFrame { nfloat RenderScale { get; } } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Static] [Internal] @@ -1512,16 +1366,12 @@ interface PHLivePhotoEditingOptionKeys { NSString ShouldRenderAtPlaybackTimeKey { get; } } - [iOS (11, 0)] - [TV (11, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [StrongDictionary ("PHLivePhotoEditingOptionKeys")] interface PHLivePhotoEditingOption { bool ShouldRenderAtPlaybackTime { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -1531,12 +1381,10 @@ interface PHProject { [Export ("projectExtensionData")] NSData ProjectExtensionData { get; } - [Mac (10, 14)] [Export ("hasProjectPreview")] bool HasProjectPreview { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -1556,16 +1404,13 @@ interface PHProjectChangeRequest { [Export ("setKeyAsset:")] void SetKeyAsset ([NullAllowed] PHAsset keyAsset); - [Mac (10, 14)] [Export ("setProjectPreviewImage:")] void SetProjectPreviewImage (NSImage previewImage); - [Mac (10, 14)] [Export ("removeAssets:")] void RemoveAssets (PHAsset [] /*id*/ assets); //a collection of PHAsset objects } - [Mac (10, 13)] [TV (15, 0)] [iOS (15, 0)] [MacCatalyst (15, 0)] diff --git a/src/photosui.cs b/src/photosui.cs index bf9ad9888dd1..a74deeaa8f73 100644 --- a/src/photosui.cs +++ b/src/photosui.cs @@ -25,8 +25,6 @@ namespace PhotosUI { [NoTV] - [iOS (8, 0)] - [Mac (10, 13)] [MacCatalyst (14, 0)] [Protocol] #if !NET && !TVOS && !MONOMAC @@ -58,9 +56,6 @@ interface PHContentEditingController { bool ShouldShowCancelConfirmation { get; } } - [TV (10, 0)] - [iOS (9, 1)] - [Mac (10, 12)] [MacCatalyst (13, 1)] #if MONOMAC [BaseType (typeof (NSView))] @@ -129,9 +124,6 @@ interface PHLivePhotoView { NSView LivePhotoBadgeView { get; } } - [TV (10, 0)] - [iOS (9, 1)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -146,13 +138,12 @@ interface PHLivePhotoViewDelegate { [Export ("livePhotoView:didEndPlaybackWithStyle:")] void DidEndPlayback (PHLivePhotoView livePhotoView, PHLivePhotoViewPlaybackStyle playbackStyle); - [TV (10, 0), iOS (9, 1), NoMac] + [NoMac] [MacCatalyst (13, 1)] [Export ("livePhotoView:extraMinimumTouchDurationForTouch:withStyle:")] double GetExtraMinimumTouchDuration (PHLivePhotoView livePhotoView, UITouch touch, PHLivePhotoViewPlaybackStyle playbackStyle); } - [Mac (10, 13)] [NoiOS] [NoTV] [NoWatch] @@ -163,7 +154,6 @@ interface PHProjectType { NSString Undefined { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -177,18 +167,15 @@ interface PHProjectExtensionContext : NSSecureCoding, NSCopying { [Export ("project")] PHProject Project { get; } - [Mac (10, 14)] [NoMacCatalyst] [Export ("showEditorForAsset:")] void ShowEditor (PHAsset asset); - [Mac (10, 14)] [NoMacCatalyst] [Export ("updatedProjectInfoFromProjectInfo:completion:")] NSProgress UpdatedProjectInfo ([NullAllowed] PHProjectInfo existingProjectInfo, Action completionHandler); } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -206,7 +193,6 @@ interface PHProjectJournalEntryElement : NSSecureCoding { PHProjectTextElement TextElement { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -224,7 +210,6 @@ interface PHProjectTextElement : NSSecureCoding { PHProjectTextElementType TextElementType { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -248,7 +233,6 @@ interface PHProjectExtensionController { void FinishProject (Action completion); [Protected] - [Mac (10, 14)] [NoMacCatalyst] [Export ("typeDescriptionDataSourceForCategory:invalidator:")] IPHProjectTypeDescriptionDataSource GetTypeDescriptionDataSource (NSString category, IPHProjectTypeDescriptionInvalidator invalidator); @@ -257,7 +241,6 @@ interface PHProjectExtensionController { IPHProjectTypeDescriptionDataSource GetTypeDescriptionDataSource (PHProjectCategory category, IPHProjectTypeDescriptionInvalidator invalidator); } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -287,36 +270,30 @@ interface PHProjectTypeDescription : NSSecureCoding { [Export ("initWithProjectType:title:description:image:")] NativeHandle Constructor (NSString projectType, string localizedTitle, [NullAllowed] string localizedDescription, [NullAllowed] UIImage image); - [Mac (10, 14)] [NoMacCatalyst] [Export ("initWithProjectType:title:attributedDescription:image:subtypeDescriptions:")] [DesignatedInitializer] NativeHandle Constructor (NSString projectType, string localizedTitle, [NullAllowed] NSAttributedString localizedAttributedDescription, [NullAllowed] UIImage image, PHProjectTypeDescription [] subtypeDescriptions); - [Mac (10, 14)] [NoMacCatalyst] [Export ("initWithProjectType:title:attributedDescription:image:canProvideSubtypes:")] [DesignatedInitializer] NativeHandle Constructor (NSString projectType, string localizedTitle, [NullAllowed] NSAttributedString localizedAttributedDescription, [NullAllowed] UIImage image, bool canProvideSubtypes); - [Mac (10, 14)] [NoMacCatalyst] [Export ("initWithProjectType:title:description:image:canProvideSubtypes:")] [DesignatedInitializer] NativeHandle Constructor (NSString projectType, string localizedTitle, [NullAllowed] string localizedDescription, [NullAllowed] UIImage image, bool canProvideSubtypes); - [Mac (10, 14)] [NoMacCatalyst] [Export ("canProvideSubtypes")] bool CanProvideSubtypes { get; } - [Mac (10, 14)] [NoMacCatalyst] [NullAllowed, Export ("localizedAttributedDescription", ArgumentSemantic.Copy)] NSAttributedString LocalizedAttributedDescription { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -333,13 +310,11 @@ interface PHProjectRegionOfInterest : NSSecureCoding { [Export ("identifier")] string Identifier { get; } - [Mac (10, 14)] [NoMacCatalyst] [Export ("quality")] double Quality { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -354,7 +329,6 @@ interface PHProjectElement : NSSecureCoding { CGRect Placement { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -374,18 +348,15 @@ interface PHProjectAssetElement : NSSecureCoding { [Export ("regionsOfInterest")] PHProjectRegionOfInterest [] RegionsOfInterest { get; } - [Mac (10, 14)] [NoMacCatalyst] [Export ("horizontallyFlipped")] bool HorizontallyFlipped { get; } - [Mac (10, 14)] [NoMacCatalyst] [Export ("verticallyFlipped")] bool VerticallyFlipped { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -402,28 +373,23 @@ interface PHProjectInfo : NSSecureCoding { [Export ("sections")] PHProjectSection [] Sections { get; } - [Mac (10, 14)] [NoMacCatalyst] [Export ("brandingEnabled")] bool BrandingEnabled { get; } - [Mac (10, 14)] [NoMacCatalyst] [Export ("pageNumbersEnabled")] bool PageNumbersEnabled { get; } - [Mac (10, 14)] [NoMacCatalyst] [NullAllowed, Export ("productIdentifier")] string ProductIdentifier { get; } - [Mac (10, 14)] [NoMacCatalyst] [NullAllowed, Export ("themeIdentifier")] string ThemeIdentifier { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -441,7 +407,6 @@ interface PHProjectSection : NSSecureCoding { string Title { get; } } - [Mac (10, 13)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -461,13 +426,11 @@ interface PHProjectSectionContent : NSSecureCoding { [Export ("cloudAssetIdentifiers")] PHCloudIdentifier [] CloudAssetIdentifiers { get; } - [Mac (10, 14)] [NoMacCatalyst] [NullAllowed, Export ("backgroundColor")] UIColor BackgroundColor { get; } } - [Mac (10, 14)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -494,7 +457,6 @@ interface PHProjectMapElement : NSSecureCoding { } interface IPHProjectTypeDescriptionDataSource { } - [Mac (10, 14)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -520,7 +482,6 @@ interface PHProjectTypeDescriptionDataSource { } interface IPHProjectTypeDescriptionInvalidator { } - [Mac (10, 14)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -535,7 +496,6 @@ interface PHProjectTypeDescriptionInvalidator { void InvalidateFooterTextForSubtypes (NSString projectType); } - [iOS (8, 0)] [NoMac] [NoTV] [DisableDefaultCtor] diff --git a/src/pushkit.cs b/src/pushkit.cs index f759c511a847..4ffcb5e5b3b7 100644 --- a/src/pushkit.cs +++ b/src/pushkit.cs @@ -9,8 +9,6 @@ namespace PushKit { [Watch (6, 0)] - [Mac (10, 15)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -23,8 +21,6 @@ interface PKPushCredentials { } [Watch (6, 0)] - [Mac (10, 15)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -37,8 +33,6 @@ interface PKPushPayload { } [Watch (6, 0)] - [Mac (10, 15)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -64,7 +58,6 @@ interface PKPushRegistry { NativeHandle Constructor ([NullAllowed] DispatchQueue queue); } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface PKPushType { @@ -75,7 +68,6 @@ interface PKPushType { [Field ("PKPushTypeVoIP")] NSString Voip { get; } - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 13, 0, message: "Use directly from watchOS instead.")] [Watch (6, 0)] [NoMac] @@ -84,17 +76,13 @@ interface PKPushType { [Field ("PKPushTypeComplication")] NSString Complication { get; } - [iOS (11, 0)] [NoWatch] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("PKPushTypeFileProvider")] NSString FileProvider { get; } } - [iOS (8, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Model] [Protocol] @@ -115,8 +103,7 @@ interface PKPushRegistryDelegate { [Export ("pushRegistry:didReceiveIncomingPushWithPayload:forType:"), EventArgs ("PKPushRegistryRecieved"), EventName ("IncomingPushReceived")] void DidReceiveIncomingPush (PKPushRegistry registry, PKPushPayload payload, string type); - [iOS (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("pushRegistry:didReceiveIncomingPushWithPayload:forType:withCompletionHandler:")] void DidReceiveIncomingPush (PKPushRegistry registry, PKPushPayload payload, string type, Action completion); diff --git a/src/quicklook.cs b/src/quicklook.cs index d548504478f3..11b491eb4bb0 100644 --- a/src/quicklook.cs +++ b/src/quicklook.cs @@ -139,7 +139,6 @@ interface QLPreviewControllerDelegate { [return: NullAllowed] UIImage TransitionImageForPreviewItem (QLPreviewController controller, [Protocolize] QLPreviewItem item, CGRect contentRect); - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("previewController:transitionViewForPreviewItem:"), DelegateName ("QLTransitionView"), DefaultValue (null)] [return: NullAllowed] @@ -277,7 +276,6 @@ interface QLPreviewSceneActivationConfiguration { } [NoMac] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface QLPreviewingController { diff --git a/src/quicklookUI.cs b/src/quicklookUI.cs index c20a702ac5c2..a3a4956931b5 100644 --- a/src/quicklookUI.cs +++ b/src/quicklookUI.cs @@ -169,7 +169,6 @@ interface QLPreviewView { bool Autostarts { get; set; } } - [Mac (10, 13)] [Protocol] interface QLPreviewingController { #if !NET @@ -178,7 +177,6 @@ interface QLPreviewingController { [Export ("preparePreviewOfSearchableItemWithIdentifier:queryString:completionHandler:")] void PreparePreviewOfSearchableItem (string identifier, string queryString, Action ItemLoadingHandler); - [Mac (10, 15)] [Export ("preparePreviewOfFileAtURL:completionHandler:")] void PreparePreviewOfFile (NSUrl url, Action completionHandler); diff --git a/src/quicklookthumbnailing.cs b/src/quicklookthumbnailing.cs index 6d207401d410..cb319a7a4c5c 100644 --- a/src/quicklookthumbnailing.cs +++ b/src/quicklookthumbnailing.cs @@ -21,7 +21,7 @@ namespace QuickLookThumbnailing { - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Native] [ErrorDomain ("QLThumbnailErrorDomain")] @@ -34,7 +34,7 @@ enum QLThumbnailError : long { RequestCancelled, } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Flags] [Native] @@ -46,7 +46,7 @@ enum QLThumbnailGenerationRequestRepresentationTypes : ulong { All = UInt64.MaxValue, } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Native] public enum QLThumbnailRepresentationType : long { @@ -55,7 +55,7 @@ public enum QLThumbnailRepresentationType : long { Thumbnail = 2, } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -81,7 +81,7 @@ interface QLThumbnailGenerator { void SaveBestRepresentation (QLThumbnailGenerationRequest request, NSUrl fileUrl, string contentType, Action completionHandler); } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -112,7 +112,7 @@ interface QLThumbnailGenerationRequest : NSCopying, NSSecureCoding { UTType ContentType { get; set; } } - [Mac (10, 15), iOS (13, 0), MacCatalyst (13, 0)] + [iOS (13, 0), MacCatalyst (13, 0)] [BaseType (typeof (NSObject))] interface QLThumbnailRepresentation { @@ -144,8 +144,6 @@ namespace QuickLook { namespace QuickLookThumbnailing { #endif - [Mac (10, 15)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface QLThumbnailProvider { @@ -154,8 +152,6 @@ interface QLThumbnailProvider { } [ThreadSafe] // Members get called inside 'QLThumbnailProvider.ProvideThumbnail' which runs on a background thread. - [iOS (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -179,8 +175,6 @@ interface QLThumbnailReply { } [ThreadSafe] - [iOS (11, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface QLFileThumbnailRequest { diff --git a/src/replaykit.cs b/src/replaykit.cs index eca3f52ad26c..98dd47859b6c 100644 --- a/src/replaykit.cs +++ b/src/replaykit.cs @@ -29,8 +29,6 @@ namespace ReplayKit { - [iOS (9, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] @@ -52,8 +50,6 @@ interface RPPreviewViewController { interface IRPPreviewViewControllerDelegate { } - [iOS (9, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] @@ -69,8 +65,6 @@ interface RPPreviewViewControllerDelegate { void DidFinish (RPPreviewViewController previewController, NSSet activityTypes); } - [iOS (9, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -93,7 +87,6 @@ interface RPScreenRecorder { [Export ("startRecordingWithMicrophoneEnabled:handler:")] void StartRecording (bool microphoneEnabled, [NullAllowed] Action handler); - [iOS (10, 0)] [MacCatalyst (13, 1)] [Async] [Export ("startRecordingWithHandler:")] @@ -120,7 +113,6 @@ interface RPScreenRecorder { bool MicrophoneEnabled { [Bind ("isMicrophoneEnabled")] get; - [iOS (10, 0)] [MacCatalyst (13, 1)] set; } @@ -128,30 +120,26 @@ bool MicrophoneEnabled { [Export ("available", ArgumentSemantic.Assign)] bool Available { [Bind ("isAvailable")] get; } - [NoTV, iOS (10, 0)] + [NoTV] [MacCatalyst (13, 1)] [Export ("cameraEnabled")] bool CameraEnabled { [Bind ("isCameraEnabled")] get; set; } - [NoTV, iOS (10, 0)] + [NoTV] [MacCatalyst (13, 1)] [NullAllowed, Export ("cameraPreviewView")] UIView CameraPreviewView { get; } [NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("cameraPosition", ArgumentSemantic.Assign)] RPCameraPosition CameraPosition { get; set; } - [TV (11, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Async] [Export ("startCaptureWithHandler:completionHandler:")] void StartCapture ([NullAllowed] Action captureHandler, [NullAllowed] Action completionHandler); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Async] [Export ("stopCaptureWithHandler:")] @@ -181,8 +169,6 @@ bool MicrophoneEnabled { interface IRPScreenRecorderDelegate { } - [iOS (9, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] @@ -197,8 +183,6 @@ interface RPScreenRecorderDelegate { [Export ("screenRecorder:didStopRecordingWithError:previewViewController:")] void DidStopRecording (RPScreenRecorder screenRecorder, NSError error, [NullAllowed] RPPreviewViewController previewViewController); - [TV (11, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("screenRecorder:didStopRecordingWithPreviewViewController:error:")] void DidStopRecording (RPScreenRecorder screenRecorder, [NullAllowed] RPPreviewViewController previewViewController, [NullAllowed] NSError error); @@ -207,8 +191,6 @@ interface RPScreenRecorderDelegate { void DidChangeAvailability (RPScreenRecorder screenRecorder); } - [iOS (10, 0)] - [TV (10, 0)] [NoMac] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] @@ -226,7 +208,6 @@ interface RPBroadcastActivityViewController { [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] IRPBroadcastActivityViewControllerDelegate Delegate { get; set; } - [iOS (11, 0)] [NoTV] [MacCatalyst (13, 1)] [Static] @@ -237,8 +218,6 @@ interface RPBroadcastActivityViewController { interface IRPBroadcastActivityViewControllerDelegate { } - [iOS (10, 0)] - [TV (10, 0)] [NoMac] [MacCatalyst (13, 1)] [Protocol, Model] @@ -249,8 +228,6 @@ interface RPBroadcastActivityViewControllerDelegate { void DidFinish (RPBroadcastActivityViewController broadcastActivityViewController, [NullAllowed] RPBroadcastController broadcastController, [NullAllowed] NSError error); } - [iOS (10, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -296,8 +273,6 @@ interface RPBroadcastController { interface IRPBroadcastControllerDelegate { } - [iOS (10, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -308,14 +283,11 @@ interface RPBroadcastControllerDelegate { [Export ("broadcastController:didUpdateServiceInfo:")] void DidUpdateServiceInfo (RPBroadcastController broadcastController, NSDictionary serviceInfo); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("broadcastController:didUpdateBroadcastURL:")] void DidUpdateBroadcastUrl (RPBroadcastController broadcastController, NSUrl broadcastUrl); } - [iOS (10, 0)] - [TV (10, 0)] [Deprecated (PlatformName.TvOS, 11, 0)] [Deprecated (PlatformName.iOS, 11, 0)] [NoMac] @@ -332,8 +304,6 @@ interface RPBroadcastConfiguration : NSCoding, NSSecureCoding { delegate void LoadBroadcastingHandler (string bundleID, string displayName, UIImage appIcon); - [iOS (10, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [Category] @@ -350,15 +320,11 @@ interface NSExtensionContext_RPBroadcastExtension { [Export ("completeRequestWithBroadcastURL:broadcastConfiguration:setupInfo:")] void CompleteRequest (NSUrl broadcastURL, RPBroadcastConfiguration broadcastConfiguration, [NullAllowed] NSDictionary setupInfo); - [TV (11, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("completeRequestWithBroadcastURL:setupInfo:")] void CompleteRequest (NSUrl broadcastURL, [NullAllowed] NSDictionary setupInfo); } - [iOS (10, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -368,13 +334,11 @@ interface RPBroadcastHandler : NSExtensionRequestHandling { // NSInvalidArgumentException -[RPBroadcastHandler updateBroadcastURL:]: unrecognized selector sent to instance 0x608001a4b160 // https://trello.com/c/eA440suj/91-33875315-rpbroadcasthandler-updatebroadcasturl-unrecognized-selector - //[TV (11,0)][iOS (11,0)] + // //[Export ("updateBroadcastURL:")] //void UpdateBroadcastUrl (NSUrl broadcastUrl); } - [iOS (10, 0)] - [TV (10, 0)] [NoMac] [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'RPBroadcastSampleHandler' instead.")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'RPBroadcastSampleHandler' instead.")] @@ -389,8 +353,6 @@ interface RPBroadcastMP4ClipHandler { void FinishedProcessingMP4Clip ([NullAllowed] RPBroadcastConfiguration broadcastConfiguration, [NullAllowed] NSError error); } - [iOS (10, 0)] - [TV (10, 0)] [Mac (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (RPBroadcastHandler))] @@ -426,8 +388,6 @@ interface RPBroadcastSampleHandler { [Export ("processSampleBuffer:withType:")] void ProcessSampleBuffer (CMSampleBuffer sampleBuffer, RPSampleBufferType sampleBufferType); - [iOS (10, 2)] - [TV (10, 1)] [MacCatalyst (13, 1)] [Export ("finishBroadcastWithError:")] void FinishBroadcast (NSError error); diff --git a/src/safariservices.cs b/src/safariservices.cs index fb588a805580..c49ade59a3b0 100644 --- a/src/safariservices.cs +++ b/src/safariservices.cs @@ -34,8 +34,6 @@ namespace SafariServices { delegate void SFExtensionValidationHandler (bool shouldHide, NSString text); - [Mac (10, 12)] - [iOS (10, 0)] [Introduced (PlatformName.MacCatalyst, 13, 4)] [BaseType (typeof (NSObject))] interface SFContentBlockerState { @@ -43,8 +41,6 @@ interface SFContentBlockerState { bool Enabled { [Bind ("isEnabled")] get; } } - [iOS (9, 0)] - [Mac (10, 12)] [Introduced (PlatformName.MacCatalyst, 13, 4)] [BaseType (typeof (NSObject))] interface SFContentBlockerManager { @@ -52,7 +48,6 @@ interface SFContentBlockerManager { [Static, Export ("reloadContentBlockerWithIdentifier:completionHandler:")] void ReloadContentBlocker (string identifier, [NullAllowed] Action completionHandler); - [iOS (10, 0)] [MacCatalyst (13, 4)] [Static] [Async] @@ -85,7 +80,6 @@ partial interface SSReadingList { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] [DisableDefaultCtor] // NSGenericException Reason: Misuse of SFSafariViewController interface. Use initWithURL:entersReaderIfAvailable: @@ -94,7 +88,6 @@ interface SFSafariViewController { [PostGet ("NibBundle")] NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithURL:configuration:")] [DesignatedInitializer] @@ -117,24 +110,20 @@ interface SFSafariViewController { [Protocolize] SFSafariViewControllerDelegate Delegate { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("preferredBarTintColor", ArgumentSemantic.Assign)] UIColor PreferredBarTintColor { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("preferredControlTintColor", ArgumentSemantic.Assign)] UIColor PreferredControlTintColor { get; set; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("configuration", ArgumentSemantic.Copy)] SFSafariViewControllerConfiguration Configuration { get; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dismissButtonStyle", ArgumentSemantic.Assign)] SFSafariViewControllerDismissButtonStyle DismissButtonStyle { get; set; } @@ -146,7 +135,6 @@ interface SFSafariViewController { } [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Model] [BaseType (typeof (NSObject))] @@ -161,12 +149,10 @@ partial interface SFSafariViewControllerDelegate { [Export ("safariViewController:didCompleteInitialLoad:")] void DidCompleteInitialLoad (SFSafariViewController controller, bool didLoadSuccessfully); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("safariViewController:excludedActivityTypesForURL:title:")] string [] GetExcludedActivityTypes (SFSafariViewController controller, NSUrl url, [NullAllowed] string title); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("safariViewController:initialLoadDidRedirectToURL:")] void InitialLoadDidRedirectToUrl (SFSafariViewController controller, NSUrl url); @@ -178,7 +164,6 @@ partial interface SFSafariViewControllerDelegate { } [NoMac] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SFSafariViewControllerConfiguration : NSCopying { @@ -200,12 +185,10 @@ interface SFSafariViewControllerConfiguration : NSCopying { } [NoMac] - [iOS (11, 0)] [MacCatalyst (13, 1)] delegate void SFAuthenticationCompletionHandler ([NullAllowed] NSUrl callbackUrl, [NullAllowed] NSError error); [NoMac] - [iOS (11, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] [Deprecated (PlatformName.iOS, 12, 0, message: "Use 'ASWebAuthenticationSession' instead.")] @@ -226,7 +209,6 @@ interface SFAuthenticationSession { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 12)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface SFSafariApplication { @@ -237,7 +219,6 @@ interface SFSafariApplication { [Static] [Async] - [Mac (10, 14, 4)] [Export ("getAllWindowsWithCompletionHandler:")] void GetAllWindows (Action completionHandler); @@ -254,14 +235,12 @@ interface SFSafariApplication { [Export ("showPreferencesForExtensionWithIdentifier:completionHandler:")] void ShowPreferencesForExtension (string identifier, [NullAllowed] Action completionHandler); - [Mac (10, 12, 4)] [Advice ("Unavailable to extensions.")] [Static] [Async] [Export ("dispatchMessageWithName:toExtensionWithIdentifier:userInfo:completionHandler:")] void DispatchMessage (string messageName, string identifier, [NullAllowed] NSDictionary userInfo, [NullAllowed] Action completionHandler); - [Mac (10, 13)] [Static] [Async] [Export ("getHostApplicationWithCompletionHandler:")] @@ -272,7 +251,6 @@ interface SFSafariApplication { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 12)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface SFSafariPage : NSSecureCoding, NSCopying { @@ -286,12 +264,10 @@ interface SFSafariPage : NSSecureCoding, NSCopying { [Export ("getPagePropertiesWithCompletionHandler:")] void GetPageProperties (Action completionHandler); - [Mac (10, 14, 4)] [Async] [Export ("getContainingTabWithCompletionHandler:")] void GetContainingTab (Action completionHandler); - [Mac (10, 14, 4)] [Async] [Export ("getScreenshotOfVisibleAreaWithCompletionHandler:")] void GetScreenshotOfVisibleArea (Action completionHandler); @@ -301,7 +277,6 @@ interface SFSafariPage : NSSecureCoding, NSCopying { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 12)] [Protocol] interface SFSafariExtensionHandling { [Export ("messageReceivedWithName:fromPage:userInfo:")] @@ -326,24 +301,19 @@ interface SFSafariExtensionHandling { [Export ("popoverViewController")] SFSafariExtensionViewController PopoverViewController { get; } - [Mac (10, 12, 4)] [Async (ResultTypeName = "SFExtensionValidationResult")] [Export ("validateContextMenuItemWithCommand:inPage:userInfo:validationHandler:")] void ValidateContextMenuItem (string command, SFSafariPage page, [NullAllowed] NSDictionary userInfo, SFExtensionValidationHandler validationHandler); - [Mac (10, 12, 4)] [Export ("messageReceivedFromContainingAppWithName:userInfo:")] void MessageReceivedFromContainingApp (string messageName, [NullAllowed] NSDictionary userInfo); - [Mac (10, 13, 4)] [Export ("additionalRequestHeadersForURL:completionHandler:")] void AdditionalRequestHeaders (NSUrl url, Action> completionHandler); - [Mac (10, 15)] [Export ("contentBlockerWithIdentifier:blockedResourcesWithURLs:onPage:")] void ContentBlocker (string contentBlockerIdentifier, NSUrl [] urls, SFSafariPage page); - [Mac (10, 15)] [Export ("page:willNavigateToURL:")] void WillNavigate (SFSafariPage page, [NullAllowed] NSUrl url); } @@ -352,7 +322,6 @@ interface SFSafariExtensionHandling { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 14, 4)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface SFSafariExtension { @@ -367,7 +336,6 @@ interface SFSafariExtension { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 12)] [BaseType (typeof (NSObject))] interface SFSafariPageProperties { [NullAllowed] @@ -389,7 +357,6 @@ interface SFSafariPageProperties { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 12)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface SFSafariTab : NSSecureCoding, NSCopying { @@ -401,7 +368,6 @@ interface SFSafariTab : NSSecureCoding, NSCopying { [Export ("getPagesWithCompletionHandler:")] void GetPages (Action completionHandler); - [Mac (10, 14, 4)] [Async] [Export ("getContainingWindowWithCompletionHandler:")] void GetContainingWindow (Action completionHandler); @@ -410,11 +376,9 @@ interface SFSafariTab : NSSecureCoding, NSCopying { [Export ("activateWithCompletionHandler:")] void Activate ([NullAllowed] Action completionHandler); - [Mac (10, 14, 4)] [Export ("navigateToURL:")] void NavigateTo (NSUrl url); - [Mac (10, 14, 4)] [Export ("close")] void Close (); } @@ -423,7 +387,6 @@ interface SFSafariTab : NSSecureCoding, NSCopying { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 12)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface SFSafariToolbarItem : NSSecureCoding, NSCopying { @@ -431,23 +394,18 @@ interface SFSafariToolbarItem : NSSecureCoding, NSCopying { [Export ("setEnabled:withBadgeText:")] void SetEnabled (bool enabled, [NullAllowed] string badgeText); - [Mac (10, 12, 4)] [Export ("setEnabled:")] void SetEnabled (bool enabled); - [Mac (10, 12, 4)] [Export ("setBadgeText:")] void SetBadgeText ([NullAllowed] string badgeText); - [Mac (10, 12, 4)] [Export ("setImage:")] void SetImage ([NullAllowed] NSImage image); - [Mac (10, 13)] [Export ("setLabel:")] void SetLabel ([NullAllowed] string label); - [Mac (10, 14, 4)] [Export ("showPopover")] void ShowPopover (); } @@ -456,7 +414,6 @@ interface SFSafariToolbarItem : NSSecureCoding, NSCopying { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 12)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface SFSafariWindow : NSSecureCoding, NSCopying { @@ -464,7 +421,6 @@ interface SFSafariWindow : NSSecureCoding, NSCopying { [Export ("getActiveTabWithCompletionHandler:")] void GetActiveTab (Action completionHandler); - [Mac (10, 14, 4)] [Async] [Export ("getAllTabsWithCompletionHandler:")] void GetAllTabs (Action completionHandler); @@ -477,7 +433,6 @@ interface SFSafariWindow : NSSecureCoding, NSCopying { [Export ("getToolbarItemWithCompletionHandler:")] void GetToolbarItem (Action completionHandler); - [Mac (10, 14, 4)] [Export ("close")] void Close (); } @@ -486,13 +441,11 @@ interface SFSafariWindow : NSSecureCoding, NSCopying { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 12)] [BaseType (typeof (NSViewController))] interface SFSafariExtensionViewController { [Export ("initWithNibName:bundle:")] NativeHandle Constructor ([NullAllowed] string nibNameOrNull, [NullAllowed] NSBundle nibBundleOrNull); - [Mac (10, 14, 4)] [Export ("dismissPopover")] void DismissPopover (); } @@ -501,13 +454,12 @@ interface SFSafariExtensionViewController { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 12)] [BaseType (typeof (NSObject))] interface SFSafariExtensionHandler : NSExtensionRequestHandling, SFSafariExtensionHandling { } // TODO - Needs Safari Extension support to test - // [Mac (10,12)] + // // [BaseType (typeof(NSObject))] // interface SFSafariExtensionManager // { @@ -516,7 +468,7 @@ interface SFSafariExtensionHandler : NSExtensionRequestHandling, SFSafariExtensi // void GetStateOfSafariExtension (string identifier, Action completionHandler); // } // - // [Mac (10,12)] + // // [BaseType (typeof(NSObject))] // interface SFSafariExtensionState // { @@ -528,7 +480,6 @@ interface SFSafariExtensionHandler : NSExtensionRequestHandling, SFSafariExtensi [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 15)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface SFUniversalLink { diff --git a/src/scenekit.cs b/src/scenekit.cs index cd2a735e7a0c..dcf052dc158b 100644 --- a/src/scenekit.cs +++ b/src/scenekit.cs @@ -128,7 +128,6 @@ interface IMTLRenderCommandEncoder {} interface MTLRenderPassDescriptor {} #endif - [iOS (8, 0)] [MacCatalyst (13, 1)] delegate void SCNSceneSourceStatusHandler (float /* float, not CGFloat */ totalProgress, SCNSceneSourceStatus status, NSError error, ref bool stopLoading); @@ -152,8 +151,6 @@ interface MTLRenderPassDescriptor {} interface ISCNAnimatable { } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Model, Protocol] [BaseType (typeof (NSObject))] @@ -171,7 +168,6 @@ interface SCNAnimatable { #if NET [Abstract] #endif - [iOS (11, 0), TV (11, 0), Watch (4, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("addAnimationPlayer:forKey:")] void AddAnimation (SCNAnimationPlayer player, [NullAllowed] NSString key); @@ -199,7 +195,6 @@ interface SCNAnimatable { [Abstract] #endif [return: NullAllowed] - [iOS (11, 0), TV (11, 0), Watch (4, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("animationPlayerForKey:")] SCNAnimationPlayer GetAnimationPlayer (NSString key); @@ -220,7 +215,6 @@ interface SCNAnimatable { [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'SCNAnimationPlayer.Paused' instead.")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'SCNAnimationPlayer.Paused' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'SCNAnimationPlayer.Paused' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'SCNAnimationPlayer.Paused' instead.")] [Export ("pauseAnimationForKey:")] @@ -231,7 +225,6 @@ interface SCNAnimatable { [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'SCNAnimationPlayer.Paused' instead.")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'SCNAnimationPlayer.Paused' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'SCNAnimationPlayer.Paused' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'SCNAnimationPlayer.Paused' instead.")] [Export ("resumeAnimationForKey:")] @@ -241,7 +234,6 @@ interface SCNAnimatable { [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'SCNAnimationPlayer.Paused' instead.")] [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'SCNAnimationPlayer.Paused' instead.")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'SCNAnimationPlayer.Paused' instead.")] - [Mac (10, 9)] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'SCNAnimationPlayer.Paused' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'SCNAnimationPlayer.Paused' instead.")] @@ -253,7 +245,6 @@ interface SCNAnimatable { [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'RemoveAnimationUsingBlendOutDuration' instead.")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'RemoveAnimationUsingBlendOutDuration' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'RemoveAnimationUsingBlendOutDuration' instead.")] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'RemoveAnimationUsingBlendOutDuration' instead.")] [Export ("removeAnimationForKey:fadeOutDuration:")] @@ -262,7 +253,6 @@ interface SCNAnimatable { #if NET [Abstract] #endif - [iOS (11, 0), TV (11, 0), Watch (4, 0), Mac (10, 13)] [MacCatalyst (13, 1)] [Export ("removeAnimationForKey:blendOutDuration:")] void RemoveAnimationUsingBlendOutDuration (NSString key, nfloat blendOutDuration); @@ -274,15 +264,12 @@ interface SCNAnimatable { [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'SCNAnimationPlayer.Speed' instead.")] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'SCNAnimationPlayer.Speed' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'SCNAnimationPlayer.Speed' instead.")] - [TV (10, 0), Mac (10, 12), iOS (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'SCNAnimationPlayer.Speed' instead.")] [Export ("setSpeed:forAnimationKey:")] void SetSpeed (nfloat speed, NSString key); } - [Watch (3, 0)] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -318,8 +305,6 @@ interface SCNAudioPlayer { SCNAudioSource AudioSource { get; } } - [Watch (3, 0)] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -360,8 +345,6 @@ interface SCNAudioSource : NSCopying, NSSecureCoding { } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Model, Protocol] [BaseType (typeof (NSObject))] @@ -370,7 +353,6 @@ interface SCNBoundingVolume { [Export ("getBoundingBoxMin:max:")] bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max); - [Mac (10, 9)] // Yep, Apple broke backwards compatibility in 10.9 by introducing a new required member. [MacCatalyst (13, 1)] [Abstract] [Export ("setBoundingBoxMin:max:")] @@ -381,8 +363,6 @@ interface SCNBoundingVolume { bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] interface SCNBox { @@ -414,8 +394,6 @@ interface SCNBox { SCNBox Create (nfloat width, nfloat height, nfloat length, nfloat chamferRadius); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNCamera : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCoding { @@ -451,17 +429,14 @@ interface SCNCamera : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCod [Static, Export ("camera")] SCNCamera Create (); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("projectionTransform")] SCNMatrix4 ProjectionTransform { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("automaticallyAdjustsZRange")] bool AutomaticallyAdjustsZRange { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("orthographicScale")] double OrthographicScale { get; set; } @@ -470,7 +445,6 @@ interface SCNCamera : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCod [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'FocusDistance' instead.")] [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'FocusDistance' instead.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'FocusDistance' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'FocusDistance' instead.")] [Export ("focalDistance")] @@ -480,7 +454,6 @@ interface SCNCamera : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCod [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'FocusDistance' instead.")] [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'FocusDistance' instead.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'FocusDistance' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'FocusDistance' instead.")] [Export ("focalSize")] @@ -490,7 +463,6 @@ interface SCNCamera : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCod [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'FStop' instead.")] [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'FStop' instead.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'FStop' instead.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'FStop' instead.")] [Export ("focalBlurRadius")] @@ -500,230 +472,193 @@ interface SCNCamera : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCod [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'FStop' instead with FStop = SensorHeight / Aperture.")] [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'FStop' instead with FStop = SensorHeight / Aperture.")] [Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'FStop' instead with FStop = SensorHeight / Aperture.")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'FStop' instead with FStop = SensorHeight / Aperture.")] [Export ("aperture")] nfloat Aperture { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("motionBlurIntensity")] nfloat MotionBlurIntensity { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("wantsHDR")] bool WantsHdr { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("exposureOffset")] nfloat ExposureOffset { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("averageGray")] nfloat AverageGray { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("whitePoint")] nfloat WhitePoint { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("wantsExposureAdaptation")] bool WantsExposureAdaptation { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("exposureAdaptationBrighteningSpeedFactor")] nfloat ExposureAdaptationBrighteningSpeedFactor { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("exposureAdaptationDarkeningSpeedFactor")] nfloat ExposureAdaptationDarkeningSpeedFactor { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("minimumExposure")] nfloat MinimumExposure { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("maximumExposure")] nfloat MaximumExposure { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("bloomThreshold")] nfloat BloomThreshold { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("bloomIntensity")] nfloat BloomIntensity { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("bloomBlurRadius")] nfloat BloomBlurRadius { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("vignettingPower")] nfloat VignettingPower { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("vignettingIntensity")] nfloat VignettingIntensity { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("colorFringeStrength")] nfloat ColorFringeStrength { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("colorFringeIntensity")] nfloat ColorFringeIntensity { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("saturation")] nfloat Saturation { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("contrast")] nfloat Contrast { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("colorGrading")] SCNMaterialProperty ColorGrading { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("categoryBitMask")] nuint CategoryBitMask { get; set; } [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("cameraWithMDLCamera:")] SCNCamera FromModelCamera (MDLCamera modelCamera); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("fieldOfView")] nfloat FieldOfView { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("projectionDirection", ArgumentSemantic.Assign)] SCNCameraProjectionDirection ProjectionDirection { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("focalLength")] nfloat FocalLength { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("sensorHeight")] nfloat SensorHeight { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("wantsDepthOfField")] bool WantsDepthOfField { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("focusDistance")] nfloat FocusDistance { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("focalBlurSampleCount")] nint FocalBlurSampleCount { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("fStop")] nfloat FStop { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("apertureBladeCount")] nint ApertureBladeCount { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("screenSpaceAmbientOcclusionIntensity")] nfloat ScreenSpaceAmbientOcclusionIntensity { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("screenSpaceAmbientOcclusionRadius")] nfloat ScreenSpaceAmbientOcclusionRadius { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("screenSpaceAmbientOcclusionBias")] nfloat ScreenSpaceAmbientOcclusionBias { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("screenSpaceAmbientOcclusionDepthThreshold")] nfloat ScreenSpaceAmbientOcclusionDepthThreshold { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("screenSpaceAmbientOcclusionNormalThreshold")] nfloat ScreenSpaceAmbientOcclusionNormalThreshold { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("projectionTransformWithViewportSize:")] SCNMatrix4 GetProjectionTransform (CGSize viewportSize); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("bloomIterationCount")] nint BloomIterationCount { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("bloomIterationSpread")] nfloat BloomIterationSpread { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("grainIntensity")] nfloat GrainIntensity { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("grainScale")] nfloat GrainScale { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("grainIsColored")] bool GrainIsColored { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("whiteBalanceTemperature")] nfloat WhiteBalanceTemperature { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("whiteBalanceTint")] nfloat WhiteBalanceTint { get; set; } @@ -732,7 +667,6 @@ interface SCNCamera : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCod interface ISCNCameraControlConfiguration { } [NoWatch] - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface SCNCameraControlConfiguration { @@ -763,7 +697,6 @@ interface SCNCameraControlConfiguration { interface ISCNCameraControllerDelegate { } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] [Model] // Figured I would keep the model for convenience, as all the methods here are optional @@ -776,7 +709,6 @@ interface SCNCameraControllerDelegate { void CameraInertiaDidEnd (SCNCameraController cameraController); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNCameraController { @@ -858,8 +790,6 @@ interface SCNCameraController { void EndInteraction (CGPoint location, CGSize viewport, CGPoint velocity); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] interface SCNCapsule { @@ -882,8 +812,6 @@ interface SCNCapsule { SCNCapsule Create (nfloat capRadius, nfloat height); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] interface SCNCone { @@ -906,8 +834,6 @@ interface SCNCone { SCNCone Create (nfloat topRadius, nfloat bottomRadius, nfloat height); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] interface SCNCylinder { @@ -927,8 +853,6 @@ interface SCNCylinder { SCNCylinder Create (nfloat radius, nfloat height); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] interface SCNFloor { @@ -941,22 +865,18 @@ interface SCNFloor { [Export ("reflectionFalloffEnd")] nfloat ReflectionFalloffEnd { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("reflectionCategoryBitMask")] nuint ReflectionCategoryBitMask { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("width")] nfloat Width { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("length")] nfloat Length { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("reflectionResolutionScaleFactor")] nfloat ReflectionResolutionScaleFactor { get; set; } @@ -965,8 +885,6 @@ interface SCNFloor { SCNFloor Create (); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -981,14 +899,10 @@ interface SCNGeometry : SCNAnimatable, SCNBoundingVolume, SCNShadable, NSCopying [NullAllowed] SCNMaterial FirstMaterial { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] // header mistake (10,10) as tests shows it does not exists [MacCatalyst (13, 1)] [Export ("geometryElements")] SCNGeometryElement [] GeometryElements { get; } - [iOS (9, 0)] - [Mac (10, 11)] // header mistake (10,10) as tests shows it does not exists [MacCatalyst (13, 1)] [Export ("geometrySources")] SCNGeometrySource [] GeometrySources { get; } @@ -1020,55 +934,46 @@ interface SCNGeometry : SCNAnimatable, SCNBoundingVolume, SCNShadable, NSCopying [Export ("geometryElementAtIndex:")] SCNGeometryElement GetGeometryElement (nint elementIndex); - [Mac (10, 9)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("levelsOfDetail", ArgumentSemantic.Copy)] SCNLevelOfDetail [] LevelsOfDetail { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("geometry")] SCNGeometry Create (); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("subdivisionLevel")] nuint SubdivisionLevel { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("edgeCreasesElement", ArgumentSemantic.Retain)] SCNGeometryElement EdgeCreasesElement { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("edgeCreasesSource", ArgumentSemantic.Retain)] SCNGeometrySource EdgeCreasesSource { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("wantsAdaptiveSubdivision")] bool WantsAdaptiveSubdivision { get; set; } [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("geometryWithMDLMesh:")] SCNGeometry FromMesh (MDLMesh mesh); - [NoWatch, Mac (10, 13), iOS (11, 0)] + [NoWatch] [TV (12, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("tessellator", ArgumentSemantic.Retain)] SCNGeometryTessellator Tessellator { get; set; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNGeometrySource : NSSecureCoding { @@ -1113,16 +1018,12 @@ interface SCNGeometrySource : NSSecureCoding { SCNGeometrySource FromTextureCoordinates (IntPtr texcoords, nint count); [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("geometrySourceWithBuffer:vertexFormat:semantic:vertexCount:dataOffset:dataStride:")] SCNGeometrySource FromMetalBuffer (IMTLBuffer mtlBuffer, MTLVertexFormat vertexFormat, NSString geometrySourceSemantic, nint vertexCount, nint offset, nint stride); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNGeometrySourceSemantic { @@ -1138,34 +1039,27 @@ interface SCNGeometrySourceSemantic { [Field ("SCNGeometrySourceSemanticTexcoord")] NSString Texcoord { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("SCNGeometrySourceSemanticTangent")] NSString Tangent { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNGeometrySourceSemanticVertexCrease")] NSString VertexCrease { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNGeometrySourceSemanticEdgeCrease")] NSString EdgeCrease { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNGeometrySourceSemanticBoneWeights")] NSString BoneWeights { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNGeometrySourceSemanticBoneIndices")] NSString BoneIndices { get; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNGeometryElement : NSSecureCoding { @@ -1185,28 +1079,23 @@ interface SCNGeometryElement : NSSecureCoding { [Export ("geometryElementWithData:primitiveType:primitiveCount:bytesPerIndex:")] SCNGeometryElement FromData ([NullAllowed] NSData data, SCNGeometryPrimitiveType primitiveType, nint primitiveCount, nint bytesPerIndex); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("primitiveRange", ArgumentSemantic.Assign)] NSRange PrimitiveRange { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("pointSize")] nfloat PointSize { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("minimumPointScreenSpaceRadius")] nfloat MinimumPointScreenSpaceRadius { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("maximumPointScreenSpaceRadius")] nfloat MaximumPointScreenSpaceRadius { get; set; } [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("geometryElementWithMDLSubmesh:")] @@ -1221,7 +1110,7 @@ interface SCNGeometryElement : NSSecureCoding { } #if !WATCH - [NoWatch, Mac (10, 13), iOS (11, 0)] + [NoWatch] [TV (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -1253,8 +1142,6 @@ interface SCNGeometryTessellator : NSCopying, NSSecureCoding { } #endif - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNHitTest { @@ -1279,36 +1166,30 @@ interface SCNHitTest { [Field ("SCNHitTestRootNodeKey")] NSString RootNodeKey { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("SCNHitTestIgnoreHiddenNodesKey")] NSString IgnoreHiddenNodesKey { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("SCNHitTestOptionCategoryBitMask")] NSString OptionCategoryBitMaskKey { get; } #if !NET - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [Obsolete ("Use 'SearchModeKey' instead.")] [Field ("SCNHitTestOptionSearchMode")] NSString OptionSearchModeKey { get; } #endif - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("SCNHitTestOptionSearchMode")] NSString SearchModeKey { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("SCNHitTestOptionIgnoreLightArea")] NSString IgnoreLightAreaKey { get; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] // quote: The SCNHitTestResult class is exposed as the return object from the hitTest:options: method, as an array of SCNHitTestResult objects. @@ -1335,7 +1216,6 @@ interface SCNHitTestResult { [Export ("modelTransform")] SCNMatrix4 ModelTransform { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("boneNode")] [NullAllowed] @@ -1360,8 +1240,6 @@ interface SCNLayer : SCNSceneRenderer, SCNTechniqueSupport { // SCNScene Scene { get; set; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNLight : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCoding { @@ -1374,12 +1252,10 @@ interface SCNLight : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCodi [Wrap ("WeakColor")] NSColor Color { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("temperature")] nfloat Temperature { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("intensity")] nfloat Intensity { get; set; } @@ -1397,7 +1273,6 @@ interface SCNLight : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCodi [Wrap ("WeakShadowColor")] NSColor ShadowColor { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("shadowBias")] nfloat ShadowBias { get; set; } @@ -1431,130 +1306,108 @@ interface SCNLight : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCodi [Export ("setAttribute:forKey:")] void SetAttribute ([NullAllowed] NSObject value, NSString attribuetKey); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("gobo")] [NullAllowed] SCNMaterialProperty Gobo { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("IESProfileURL", ArgumentSemantic.Retain)] NSUrl IesProfileUrl { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("shadowMapSize")] CGSize ShadowMapSize { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("shadowSampleCount")] nuint ShadowSampleCount { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("shadowMode")] SCNShadowMode ShadowMode { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("attenuationStartDistance")] nfloat AttenuationStartDistance { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("attenuationEndDistance")] nfloat AttenuationEndDistance { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("attenuationFalloffExponent")] nfloat AttenuationFalloffExponent { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("spotInnerAngle")] nfloat SpotInnerAngle { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("spotOuterAngle")] nfloat SpotOuterAngle { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("orthographicScale")] nfloat OrthographicScale { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("zNear")] nfloat ZNear { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("zFar")] nfloat ZFar { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("categoryBitMask")] nuint CategoryBitMask { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("automaticallyAdjustsShadowProjection")] bool AutomaticallyAdjustsShadowProjection { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("maximumShadowDistance")] nfloat MaximumShadowDistance { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("forcesBackFaceCasters")] bool ForcesBackFaceCasters { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("sampleDistributedShadowMaps")] bool SampleDistributedShadowMaps { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("shadowCascadeCount")] nuint ShadowCascadeCount { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("shadowCascadeSplittingFactor")] nfloat ShadowCascadeSplittingFactor { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("sphericalHarmonicsCoefficients", ArgumentSemantic.Copy)] NSData SphericalHarmonicsCoefficients { get; } [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("lightWithMDLLight:")] SCNLight FromModelLight (MDLLight mdllight); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("probeType", ArgumentSemantic.Assign)] SCNLightProbeType ProbeType { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("probeUpdateType", ArgumentSemantic.Assign)] SCNLightProbeUpdateType ProbeUpdateType { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("probeExtents", ArgumentSemantic.Assign)] Vector3 ProbeExtents { @@ -1564,7 +1417,7 @@ Vector3 ProbeExtents { set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("probeOffset", ArgumentSemantic.Assign)] Vector3 ProbeOffset { @@ -1574,12 +1427,12 @@ Vector3 ProbeOffset { set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("parallaxCorrectionEnabled")] bool ParallaxCorrectionEnabled { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("parallaxExtentsFactor", ArgumentSemantic.Assign)] Vector3 ParallaxExtentsFactor { @@ -1589,7 +1442,7 @@ Vector3 ParallaxExtentsFactor { set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("parallaxCenterOffset", ArgumentSemantic.Assign)] Vector3 ParallaxCenterOffset { @@ -1599,17 +1452,17 @@ Vector3 ParallaxCenterOffset { set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("probeEnvironment")] SCNMaterialProperty ProbeEnvironment { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("areaType", ArgumentSemantic.Assign)] SCNLightAreaType AreaType { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("areaExtents", ArgumentSemantic.Assign)] Vector3 AreaExtents { @@ -1619,24 +1472,22 @@ Vector3 AreaExtents { set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("areaPolygonVertices", ArgumentSemantic.Copy)] NSValue [] AreaPolygonVertices { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("drawsArea")] bool DrawsArea { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("doubleSided")] bool DoubleSided { get; set; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNLightType { @@ -1652,17 +1503,15 @@ interface SCNLightType { [Field ("SCNLightTypeSpot")] NSString Spot { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("SCNLightTypeIES")] NSString Ies { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("SCNLightTypeProbe")] NSString Probe { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("SCNLightTypeArea")] NSString Area { get; } @@ -1697,8 +1546,6 @@ interface SCNLightAttribute { NSString ShadowFarClippingKey { get; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNLightingModel { @@ -1714,19 +1561,16 @@ interface SCNLightingModel { [Field ("SCNLightingModelConstant")] NSString Constant { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("SCNLightingModelPhysicallyBased")] NSString PhysicallyBased { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("SCNLightingModelShadowOnly")] NSString ShadowOnly { get; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNMaterial : SCNAnimatable, SCNShadable, NSCopying, NSSecureCoding { @@ -1788,81 +1632,68 @@ interface SCNMaterial : SCNAnimatable, SCNShadable, NSCopying, NSSecureCoding { [Static, Export ("material")] SCNMaterial Create (); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("readsFromDepthBuffer")] bool ReadsFromDepthBuffer { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("fresnelExponent")] nfloat FresnelExponent { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("blendMode", ArgumentSemantic.Assign)] SCNBlendMode BlendMode { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("ambientOcclusion")] SCNMaterialProperty AmbientOcclusion { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("selfIllumination")] SCNMaterialProperty SelfIllumination { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("metalness")] SCNMaterialProperty Metalness { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("roughness")] SCNMaterialProperty Roughness { get; } [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("materialWithMDLMaterial:")] SCNMaterial FromMaterial (MDLMaterial material); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("displacement")] SCNMaterialProperty Displacement { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("fillMode", ArgumentSemantic.Assign)] SCNFillMode FillMode { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("colorBufferWriteMask", ArgumentSemantic.Assign)] SCNColorMask ColorBufferWriteMask { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("clearCoat")] SCNMaterialProperty ClearCoat { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("clearCoatRoughness")] SCNMaterialProperty ClearCoatRoughness { get; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("clearCoatNormal")] SCNMaterialProperty ClearCoatNormal { get; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // runtime -> [SCNKit ERROR] Do not instantiate SCNMaterialProperty objects directly @@ -1925,22 +1756,18 @@ interface SCNMaterialProperty : SCNAnimatable, NSSecureCoding { [Wrap ("Contents")] NSImage [] ContentImageCube { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("intensity")] nfloat Intensity { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("maxAnisotropy")] nfloat MaxAnisotropy { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("textureComponents", ArgumentSemantic.Assign)] SCNColorMask TextureComponents { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Static, Export ("materialPropertyWithContents:")] SCNMaterialProperty Create (NSObject contents); @@ -1955,7 +1782,6 @@ interface SCNProgramSemanticOptions { } #endif - [Watch (3, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("SCNHitTest")] interface SCNHitTestOptions { @@ -1968,12 +1794,11 @@ interface SCNHitTestOptions { [NullAllowed] SCNNode RootNode { get; set; } SCNHitTestSearchMode SearchMode { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] bool IgnoreLightArea { get; set; } } - [Watch (3, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("SCNSceneSourceLoading")] interface SCNSceneLoadingOptions { @@ -1985,7 +1810,6 @@ interface SCNSceneLoadingOptions { bool StrictConformance { get; set; } bool UseSafeMode { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("SCNSceneSourceLoading.OptionPreserveOriginalTopology")] bool PreserveOriginalTopology { get; set; } @@ -2004,16 +1828,12 @@ interface SCNSceneLoadingOptions { NSString _AnimationImportPolicyKey { get; set; } } - [iOS (8, 0)] [MacCatalyst (13, 1)] delegate bool SCNNodePredicate (SCNNode node, out bool stop); - [iOS (8, 0)] [MacCatalyst (13, 1)] delegate void SCNNodeHandler (SCNNode node, out bool stop); - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNNode : SCNAnimatable, SCNBoundingVolume, SCNActionable, NSCopying, NSSecureCoding @@ -2027,7 +1847,6 @@ interface SCNNode : SCNAnimatable, SCNBoundingVolume, SCNActionable, NSCopying, [Export ("position")] SCNVector3 Position { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("worldPosition", ArgumentSemantic.Assign)] SCNVector3 WorldPosition { get; set; } @@ -2044,7 +1863,6 @@ interface SCNNode : SCNAnimatable, SCNBoundingVolume, SCNActionable, NSCopying, [Export ("worldTransform")] SCNMatrix4 WorldTransform { get; [MacCatalyst (13, 1)] - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] set; } @@ -2123,76 +1941,63 @@ SCNMatrix4 WorldTransform { [Export ("clone")] SCNNode Clone (); - [Mac (10, 9)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("skinner", ArgumentSemantic.Retain)] SCNSkinner Skinner { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("morpher", ArgumentSemantic.Retain)] SCNMorpher Morpher { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("worldOrientation", ArgumentSemantic.Assign)] SCNQuaternion WorldOrientation { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("orientation")] SCNQuaternion Orientation { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("constraints", ArgumentSemantic.Copy)] [NullAllowed] SCNConstraint [] Constraints { get; set; } - [NoWatch, Mac (10, 9)] + [NoWatch] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("filters", ArgumentSemantic.Copy)] CIFilter [] Filters { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("flattenedClone")] SCNNode FlattenedClone (); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("convertPosition:toNode:")] SCNVector3 ConvertPositionToNode (SCNVector3 position, [NullAllowed] SCNNode node); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("convertPosition:fromNode:")] SCNVector3 ConvertPositionFromNode (SCNVector3 position, [NullAllowed] SCNNode node); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("convertVector:toNode:")] SCNVector3 ConvertVectorToNode (SCNVector3 vector, [NullAllowed] SCNNode node); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("convertVector:fromNode:")] SCNVector3 ConvertVectorFromNode (SCNVector3 vector, [NullAllowed] SCNNode node); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("convertTransform:fromNode:")] SCNMatrix4 ConvertTransformFromNode (SCNMatrix4 transform, [NullAllowed] SCNNode node); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("convertTransform:toNode:")] SCNMatrix4 ConvertTransformToNode (SCNMatrix4 transform, [NullAllowed] SCNNode node); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("hitTestWithSegmentFromPoint:toPoint:options:")] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -2201,76 +2006,62 @@ SCNMatrix4 WorldTransform { [Wrap ("HitTest (pointA, pointB, options.GetDictionary ())")] SCNHitTestResult [] HitTest (SCNVector3 pointA, SCNVector3 pointB, [NullAllowed] SCNHitTestOptions options); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("eulerAngles")] SCNVector3 EulerAngles { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("castsShadow")] bool CastsShadow { get; set; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("movabilityHint", ArgumentSemantic.Assign)] SCNMovabilityHint MovabilityHint { get; set; } - [Mac (10, 10)] // More broken 32-bit code, 17710842 [MacCatalyst (13, 1)] [Export ("physicsBody", ArgumentSemantic.Retain), NullAllowed] SCNPhysicsBody PhysicsBody { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("physicsField", ArgumentSemantic.Retain)] SCNPhysicsField PhysicsField { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("paused")] bool Paused { [Bind ("isPaused")] get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("categoryBitMask")] nuint CategoryBitMask { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("enumerateChildNodesUsingBlock:")] void EnumerateChildNodes (SCNNodeHandler handler); - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("enumerateHierarchyUsingBlock:")] void EnumerateHierarchy (SCNNodeHandler handler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("focusBehavior", ArgumentSemantic.Assign)] SCNNodeFocusBehavior FocusBehavior { get; set; } #region SCNParticleSystemSupport (SCNNode) category - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("particleSystems")] [NullAllowed] SCNParticleSystem [] ParticleSystems { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("addParticleSystem:")] void AddParticleSystem (SCNParticleSystem system); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("removeAllParticleSystems")] void RemoveAllParticleSystems (); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("removeParticleSystem:")] void RemoveParticleSystem (SCNParticleSystem system); @@ -2279,22 +2070,18 @@ SCNMatrix4 WorldTransform { #region SCNAudioSupport (SCNNode) category - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("audioPlayers")] SCNAudioPlayer [] AudioPlayers { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("addAudioPlayer:")] void AddAudioPlayer (SCNAudioPlayer player); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("removeAllAudioPlayers")] void RemoveAllAudioPlayers (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("removeAudioPlayer:")] void RemoveAudioPlayer (SCNAudioPlayer player); @@ -2302,7 +2089,6 @@ SCNMatrix4 WorldTransform { #endregion [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("nodeWithMDLObject:")] @@ -2310,60 +2096,49 @@ SCNMatrix4 WorldTransform { // From SCNNode (Transforms) Category - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("localUp")] SCNVector3 LocalUp { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("localRight")] SCNVector3 LocalRight { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("localFront")] SCNVector3 LocalFront { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("worldUp")] SCNVector3 WorldUp { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("worldRight")] SCNVector3 WorldRight { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("worldFront")] SCNVector3 WorldFront { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("lookAt:")] void Look (SCNVector3 worldTarget); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("lookAt:up:localFront:")] void Look (SCNVector3 worldTarget, SCNVector3 worldUp, SCNVector3 localFront); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("localTranslateBy:")] void LocalTranslate (SCNVector3 translation); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("localRotateBy:")] void LocalRotate (SCNQuaternion rotation); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("rotateBy:aroundTarget:")] void Rotate (SCNQuaternion worldRotation, SCNVector3 worldTarget); @@ -2437,7 +2212,7 @@ SCNMatrix4 WorldTransform { * End of bindings-generator.cs. */ - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdTransform", ArgumentSemantic.Assign)] //NMatrix4 SimdTransform { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2446,7 +2221,7 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdPosition", ArgumentSemantic.Assign)] //NVector3 SimdPosition { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2455,7 +2230,7 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdRotation", ArgumentSemantic.Assign)] //Vector4 SimdRotation { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2464,7 +2239,7 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdOrientation", ArgumentSemantic.Assign)] //Quaternion SimdOrientation { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2473,7 +2248,7 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdEulerAngles", ArgumentSemantic.Assign)] //NVector3 SimdEulerAngles { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2482,7 +2257,7 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdScale", ArgumentSemantic.Assign)] //NVector3 SimdScale { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2491,7 +2266,7 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdPivot", ArgumentSemantic.Assign)] //NMatrix4 SimdPivot { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2500,7 +2275,7 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdWorldPosition", ArgumentSemantic.Assign)] //NVector3 SimdWorldPosition { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2509,7 +2284,7 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdWorldOrientation", ArgumentSemantic.Assign)] //Quaternion SimdWorldOrientation { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2518,7 +2293,7 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdWorldTransform", ArgumentSemantic.Assign)] //NMatrix4 SimdWorldTransform { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2527,36 +2302,36 @@ SCNMatrix4 WorldTransform { // set; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdConvertPosition:toNode:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //NVector3 ConvertPositionToNode (NVector3 position, [NullAllowed] SCNNode node); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdConvertPosition:fromNode:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //NVector3 ConvertPositionFromNode (NVector3 position, [NullAllowed] SCNNode node); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdConvertVector:toNode:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //NVector3 ConvertVectorToNode (NVector3 vector, [NullAllowed] SCNNode node); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdConvertVector:fromNode:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //NVector3 ConvertVectorFromNode (NVector3 vector, [NullAllowed] SCNNode node); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdConvertTransform:toNode:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //NMatrix4 ConvertTransformToNode (NMatrix4 transform, [NullAllowed] SCNNode node); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdConvertTransform:fromNode:")] //NMatrix4 ConvertTransformFromNode (NMatrix4 transform, [NullAllowed] SCNNode node); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Static] //[Export ("simdLocalUp")] //NVector3 SimdLocalUp { @@ -2564,7 +2339,7 @@ SCNMatrix4 WorldTransform { // get; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Static] //[Export ("simdLocalRight")] //NVector3 SimdLocalRight { @@ -2572,7 +2347,7 @@ SCNMatrix4 WorldTransform { // get; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Static] //[Export ("simdLocalFront")] //NVector3 SimdLocalFront { @@ -2580,55 +2355,54 @@ SCNMatrix4 WorldTransform { // get; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdWorldUp")] //NVector3 SimdWorldUp { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] // get; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdWorldRight")] //NVector3 SimdWorldRight { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] // get; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdWorldFront")] //NVector3 SimdWorldFront { // [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] // get; //} - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdLookAt:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //void Look (NVector3 worldTarget); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdLookAt:up:localFront:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //void Look (NVector3 worldTarget, NVector3 worldUp, NVector3 localFront); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdLocalTranslateBy:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //void LocalTranslate (NVector3 translation); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdLocalRotateBy:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //void LocalRotate (Quaternion rotation); - //[Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] + // //[Export ("simdRotateBy:aroundTarget:")] //[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] //void Rotate (Quaternion worldRotation, NVector3 worldTarget); } [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model, Protocol] @@ -2637,8 +2411,6 @@ interface SCNNodeRendererDelegate { void Render (SCNNode node, SCNRenderer renderer, NSDictionary arguments); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] interface SCNPlane { @@ -2657,12 +2429,10 @@ interface SCNPlane { [Static, Export ("planeWithWidth:height:")] SCNPlane Create (nfloat width, nfloat height); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("cornerRadius")] nfloat CornerRadius { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("cornerSegmentCount")] nint CornerSegmentCount { get; set; } @@ -2677,7 +2447,7 @@ interface SCNPlane { delegate void SCNBufferBindingHandler2 (ISCNBufferStream buffer, SCNNode node, ISCNShadable shadable, SCNRenderer renderer); #endif // NET - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNProgram : NSCopying, NSSecureCoding { @@ -2689,35 +2459,26 @@ interface SCNProgram : NSCopying, NSSecureCoding { [Export ("fragmentShader", ArgumentSemantic.Copy)] string FragmentShader { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("vertexFunctionName")] string VertexFunctionName { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("fragmentFunctionName")] string FragmentFunctionName { get; set; } #if NET - [iOS (9,0)][Mac (10,11)] [MacCatalyst (13, 1)] [Export ("handleBindingOfBufferNamed:frequency:usingBlock:")] void HandleBinding (string name, SCNBufferFrequency frequency, SCNBufferBindingHandler handler); #else [Obsolete ("Use 'HandleBinding' overload with 'SCNBufferBindingHandler2' parameter instead.")] - [iOS (9, 0)] - [Mac (10, 11)] [Export ("handleBindingOfBufferNamed:frequency:usingBlock:")] void HandleBinding (string name, SCNBufferFrequency frequency, SCNBufferBindingHandler handler); [Sealed] - [iOS (9, 0)] - [Mac (10, 11)] [Export ("handleBindingOfBufferNamed:frequency:usingBlock:")] void HandleBinding (string name, SCNBufferFrequency frequency, SCNBufferBindingHandler2 handler); #endif // NET @@ -2757,21 +2518,18 @@ interface SCNProgram : NSCopying, NSSecureCoding { [EditorBrowsable (EditorBrowsableState.Advanced)] NSString MappingChannelKey { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("opaque")] bool Opaque { [Bind ("isOpaque")] get; set; } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("library", ArgumentSemantic.Retain)] IMTLLibrary Library { get; set; } } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model, Protocol] @@ -2802,8 +2560,6 @@ interface SCNProgramDelegate { bool IsProgramOpaque (SCNProgram program); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] interface SCNPyramid { @@ -2829,7 +2585,7 @@ interface SCNPyramid { SCNPyramid Create (nfloat width, nfloat height, nfloat length); } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: -[SCNRenderer init]: unrecognized selector sent to instance 0x7ce85a30 @@ -2859,55 +2615,43 @@ interface SCNRenderer : SCNSceneRenderer, SCNTechniqueSupport { [Deprecated (PlatformName.MacCatalyst, 13, 1)] void Render (); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("renderAtTime:")] void Render (double timeInSeconds); - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("snapshotAtTime:withSize:antialiasingMode:")] NSImage GetSnapshot (double time, CGSize size, SCNAntialiasingMode antialiasingMode); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("nextFrameTime")] double NextFrameTimeInSeconds { get; } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("rendererWithDevice:options:")] SCNRenderer FromDevice ([NullAllowed] IMTLDevice device, [NullAllowed] NSDictionary options); [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("renderAtTime:viewport:commandBuffer:passDescriptor:")] void Render (double timeInSeconds, CGRect viewport, IMTLCommandBuffer commandBuffer, MTLRenderPassDescriptor renderPassDescriptor); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("renderWithViewport:commandBuffer:passDescriptor:")] void Render (CGRect viewport, IMTLCommandBuffer commandBuffer, MTLRenderPassDescriptor renderPassDescriptor); - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("updateProbes:atTime:")] void Update (SCNNode [] lightProbes, double time); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("updateAtTime:")] void Update (double time); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNRenderingArguments { @@ -2930,12 +2674,9 @@ interface SCNRenderingArguments { NSString ModelViewProjectionTransform { get; } } - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] delegate void SCNSceneExportProgressHandler (float /* float, not CGFloat */ totalProgress, NSError error, out bool stop); - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNScene : @@ -2974,42 +2715,34 @@ interface SCNScene : [Field ("SCNSceneExportDestinationURL")] NSString ExportDestinationUrl { get; } - [Mac (10, 10)] // More 32-bit brokenness - 17710842 [MacCatalyst (13, 1)] [Export ("physicsWorld")] SCNPhysicsWorld PhysicsWorld { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("background")] SCNMaterialProperty Background { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("lightingEnvironment")] SCNMaterialProperty LightingEnvironment { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("fogStartDistance")] nfloat FogStartDistance { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("fogEndDistance")] nfloat FogEndDistance { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("fogDensityExponent")] nfloat FogDensityExponent { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("fogColor", ArgumentSemantic.Retain)] NSObject FogColor { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("paused")] bool Paused { [Bind ("isPaused")] get; set; } @@ -3018,14 +2751,12 @@ interface SCNScene : [return: NullAllowed] SCNScene FromFile (string name); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("sceneNamed:inDirectory:options:")] [EditorBrowsable (EditorBrowsableState.Advanced)] [return: NullAllowed] SCNScene FromFile (string name, [NullAllowed] string directory, [NullAllowed] NSDictionary options); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Wrap ("FromFile (name, directory, options.GetDictionary ())")] [return: NullAllowed] @@ -3033,7 +2764,7 @@ interface SCNScene : // Keeping here the same name WriteToUrl for iOS and friends because it is how it was bound // initialy for macOS and having it named diferently would hurt shared code - [TV (10, 0), NoWatch, iOS (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("writeToURL:options:delegate:progressHandler:")] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -3042,30 +2773,26 @@ bool WriteToUrl (NSUrl url, [NullAllowed] ISCNSceneExportDelegate aDelegate, [NullAllowed] SCNSceneExportProgressHandler exportProgressHandler); - [TV (10, 0), NoWatch, iOS (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Wrap ("WriteToUrl (url, options.GetDictionary (), handler, exportProgressHandler)")] bool WriteToUrl (NSUrl url, SCNSceneLoadingOptions options, ISCNSceneExportDelegate handler, SCNSceneExportProgressHandler exportProgressHandler); #region SCNParticleSystemSupport (SCNNode) category - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("particleSystems")] [NullAllowed] SCNParticleSystem [] ParticleSystems { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("addParticleSystem:withTransform:")] void AddParticleSystem (SCNParticleSystem system, SCNMatrix4 transform); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("removeAllParticleSystems")] void RemoveAllParticleSystems (); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("removeParticleSystem:")] void RemoveParticleSystem (SCNParticleSystem system); @@ -3081,34 +2808,32 @@ bool WriteToUrl (NSUrl url, [Field ("SCNSceneFrameRateAttributeKey")] NSString FrameRateAttributeKey { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNSceneUpAxisAttributeKey")] NSString UpAxisAttributeKey { get; } [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("sceneWithMDLAsset:")] SCNScene FromAsset (MDLAsset asset); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("wantsScreenSpaceReflection")] bool WantsScreenSpaceReflection { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("screenSpaceReflectionSampleCount")] nint ScreenSpaceReflectionSampleCount { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("screenSpaceReflectionMaximumDistance")] nfloat ScreenSpaceReflectionMaximumDistance { get; set; } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("screenSpaceReflectionStride")] nfloat ScreenSpaceReflectionStride { get; set; } @@ -3116,7 +2841,7 @@ bool WriteToUrl (NSUrl url, interface ISCNSceneExportDelegate { } - [TV (10, 0), NoWatch, Mac (10, 9), iOS (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -3127,8 +2852,6 @@ interface SCNSceneExportDelegate { NSUrl WriteImage (NSImage image, NSUrl documentUrl, [NullAllowed] NSUrl originalImageUrl); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3204,15 +2927,12 @@ interface SCNSceneSource { [Export ("identifiersOfEntriesWithClass:")] string [] GetIdentifiersOfEntries (Class entryClass); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("entriesPassingTest:")] NSObject [] EntriesPassingTest (SCNSceneSourceFilter predicate); } delegate bool SCNSceneSourceFilter (NSObject entry, NSString identifier, ref bool stop); - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNSceneSourceLoading { @@ -3242,53 +2962,41 @@ interface SCNSceneSourceLoading { [Field ("SCNSceneSourceUseSafeModeKey")] NSString UseSafeModeKey { get; } - [Mac (10, 10)] // header said NA and docs says "Available in iOS 8.0 through iOS 8.2." but it's back on iOS11 - [TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("SCNSceneSourceConvertUnitsToMetersKey")] NSString ConvertUnitsToMetersKey { get; } - [Mac (10, 10)] // header said NA and docs says "Available in iOS 8.0 through iOS 8.2." but it's back on iOS11 - [TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("SCNSceneSourceConvertToYUpKey")] NSString ConvertToYUpKey { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNSceneSourceAnimationImportPolicyKey")] NSString AnimationImportPolicyKey { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNSceneSourceAnimationImportPolicyPlay")] NSString AnimationImportPolicyPlay { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNSceneSourceAnimationImportPolicyPlayRepeatedly")] NSString AnimationImportPolicyPlayRepeatedly { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNSceneSourceAnimationImportPolicyDoNotPlay")] NSString AnimationImportPolicyDoNotPlay { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("SCNSceneSourceAnimationImportPolicyPlayUsingSceneTimeBase")] NSString AnimationImportPolicyPlayUsingSceneTimeBase { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("SCNSceneSourceLoadingOptionPreserveOriginalTopology")] NSString OptionPreserveOriginalTopology { get; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNSceneSourceLoadErrors { @@ -3305,8 +3013,6 @@ interface SCNSceneSourceLoadErrors { NSString DetailedErrorsKey { get; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNSceneSourceProperties { @@ -3340,10 +3046,7 @@ interface SCNSceneSourceProperties { interface ISCNSceneRenderer { } - [Watch (3, 0)] - [iOS (8, 0)] - [MacCatalyst (13, 0)] - [Mac (10, 8)] + [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] interface SCNSceneRenderer { @@ -3406,19 +3109,16 @@ interface SCNSceneRenderer { SCNHitTestResult [] HitTest (CGPoint thePoint, SCNHitTestOptions options); [Abstract] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("showsStatistics")] bool ShowsStatistics { get; set; } [Abstract] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("sceneTime")] double SceneTimeInSeconds { get; set; } [Abstract] - [Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("scene", ArgumentSemantic.Retain)] @@ -3429,37 +3129,31 @@ interface SCNSceneRenderer { // [0]: https://developer.apple.com/documentation/scenekit/scnscenerenderer/1524051-overlayskscene // [1]: https://github.com/xamarin/xamarin-macios/issues/3392 [NullAllowed] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("overlaySKScene", ArgumentSemantic.Retain)] SKScene OverlayScene { get; set; } [Abstract] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("isNodeInsideFrustum:withPointOfView:")] bool IsNodeInsideFrustum (SCNNode node, SCNNode pointOfView); [Abstract] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("projectPoint:")] SCNVector3 ProjectPoint (SCNVector3 point); [Abstract] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("unprojectPoint:")] SCNVector3 UnprojectPoint (SCNVector3 point); [Abstract] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("prepareObject:shouldAbortBlock:")] bool Prepare (NSObject obj, [NullAllowed] Func abortHandler); [Abstract] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Async] [Export ("prepareObjects:withCompletionHandler:")] @@ -3468,9 +3162,7 @@ interface SCNSceneRenderer { #if NET [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif - [iOS (9, 0)] - [Mac (10, 11)] // SKTransition -> SpriteKit -> only on 64 bits - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Async] [Export ("presentScene:withTransition:incomingPointOfView:completionHandler:")] void PresentScene (SCNScene scene, SKTransition transition, [NullAllowed] SCNNode pointOfView, [NullAllowed] Action completionHandler); @@ -3478,27 +3170,21 @@ interface SCNSceneRenderer { #if NET [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("nodesInsideFrustumWithPointOfView:")] SCNNode [] GetNodesInsideFrustum (SCNNode pointOfView); #if NET [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("debugOptions", ArgumentSemantic.Assign)] SCNDebugOptions DebugOptions { get; set; } #if NET [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("renderingAPI")] SCNRenderingApi RenderingApi { get; } @@ -3506,9 +3192,7 @@ interface SCNSceneRenderer { [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] // IMTLRenderCommandEncoder -> Metal -> only on 64 bits - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NullAllowed, Export ("currentRenderCommandEncoder")] IMTLRenderCommandEncoder CurrentRenderCommandEncoder { get; } @@ -3516,9 +3200,7 @@ interface SCNSceneRenderer { [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NullAllowed, Export ("device")] IMTLDevice Device { get; } @@ -3526,9 +3208,7 @@ interface SCNSceneRenderer { [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("colorPixelFormat")] MTLPixelFormat ColorPixelFormat { get; } @@ -3536,9 +3216,7 @@ interface SCNSceneRenderer { [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("depthPixelFormat")] MTLPixelFormat DepthPixelFormat { get; } @@ -3546,9 +3224,7 @@ interface SCNSceneRenderer { [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("stencilPixelFormat")] MTLPixelFormat StencilPixelFormat { get; } @@ -3556,18 +3232,14 @@ interface SCNSceneRenderer { [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NullAllowed, Export ("commandQueue")] IMTLCommandQueue CommandQueue { get; } #if NET [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("audioEngine")] AVAudioEngine AudioEngine { get; } @@ -3575,9 +3247,7 @@ interface SCNSceneRenderer { [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("audioEnvironmentNode")] [DebuggerBrowsable (DebuggerBrowsableState.Never)] AVAudioEnvironmentNode AudioEnvironmentNode { get; } @@ -3585,9 +3255,7 @@ interface SCNSceneRenderer { #if NET [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NullAllowed, Export ("audioListener", ArgumentSemantic.Retain)] [DebuggerBrowsable (DebuggerBrowsableState.Never)] SCNNode AudioListener { get; set; } @@ -3595,7 +3263,7 @@ interface SCNSceneRenderer { #if NET [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("temporalAntialiasingEnabled")] bool TemporalAntialiasingEnabled { [Bind ("isTemporalAntialiasingEnabled")] get; set; } @@ -3603,7 +3271,7 @@ interface SCNSceneRenderer { #if NET [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("currentViewport")] CGRect CurrentViewport { get; } @@ -3611,14 +3279,13 @@ interface SCNSceneRenderer { #if NET [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) #endif - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("usesReverseZ")] bool UsesReverseZ { get; set; } [NoWatch] [TV (14, 0)] - [Mac (10, 11)] [iOS (14, 0)] [MacCatalyst (14, 0)] #if NET @@ -3628,8 +3295,6 @@ interface SCNSceneRenderer { MTLRenderPassDescriptor CurrentRenderPassDescriptor { get; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -3641,30 +3306,24 @@ interface SCNSceneRendererDelegate { [Export ("renderer:didRenderScene:atTime:")] void DidRenderScene (ISCNSceneRenderer renderer, SCNScene scene, double timeInSeconds); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("renderer:updateAtTime:")] void Update (ISCNSceneRenderer renderer, double timeInSeconds); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("renderer:didApplyAnimationsAtTime:")] void DidApplyAnimations (ISCNSceneRenderer renderer, double timeInSeconds); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("renderer:didSimulatePhysicsAtTime:")] void DidSimulatePhysics (ISCNSceneRenderer renderer, double timeInSeconds); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("renderer:didApplyConstraintsAtTime:")] void DidApplyConstraints (ISCNSceneRenderer renderer, double atTime); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] [DisableDefaultCtor] @@ -3683,8 +3342,6 @@ interface SCNSphere { } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] [DisableDefaultCtor] @@ -3726,20 +3383,16 @@ interface SCNText { [Export ("wrapped")] bool Wrapped { [Bind ("isWrapped")] get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("chamferProfile", ArgumentSemantic.Copy)] [NullAllowed] NSBezierPath ChamferProfile { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("flatness")] nfloat Flatness { get; set; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] [DisableDefaultCtor] @@ -3760,8 +3413,6 @@ interface SCNTorus { SCNTorus Create (nfloat ringRadius, nfloat pipeRadius); } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNTransaction { @@ -3813,8 +3464,6 @@ interface SCNTransaction { bool DisableActions { get; set; } } - [Watch (3, 0)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] interface SCNTube { @@ -3838,8 +3487,6 @@ interface SCNTube { } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Internal] // we'll make it public if there's a need for them (beside the strong dictionary we provide) @@ -3858,8 +3505,6 @@ interface SCNRenderingOptionsKeys { #if !WATCH [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [StrongDictionary ("SCNRenderingOptionsKeys")] interface SCNRenderingOptions { @@ -3869,7 +3514,7 @@ interface SCNRenderingOptions { } #endif - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSView))] [DisableDefaultCtor] @@ -3917,8 +3562,6 @@ interface SCNView : SCNSceneRenderer, SCNTechniqueSupport { EAGLContext EAGLContext { get; set; } #if !WATCH - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Wrap ("this (frame, options.GetDictionary ())")] NativeHandle Constructor (CGRect frame, [NullAllowed] SCNRenderingOptions options); @@ -3939,50 +3582,41 @@ interface SCNView : SCNSceneRenderer, SCNTechniqueSupport { [Export ("stop:")] void Stop ([NullAllowed] NSObject sender); - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("snapshot")] NSImage Snapshot (); - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("preferredFramesPerSecond")] nint PreferredFramesPerSecond { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("antialiasingMode")] SCNAntialiasingMode AntialiasingMode { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("cameraControlConfiguration")] ISCNCameraControlConfiguration CameraControlConfiguration { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("defaultCameraController")] SCNCameraController DefaultCameraController { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("rendersContinuously")] bool RendersContinuously { get; set; } - [NoWatch, NoTV, Mac (10, 15), NoiOS] + [NoWatch, NoTV, NoiOS] [NoMacCatalyst] [Export ("drawableResizesAsynchronously")] bool DrawableResizesAsynchronously { get; set; } } #if NET - [Mac (10,9), iOS (8,0), Watch (4,0)] [MacCatalyst (13, 1)] delegate void SCNAnimationEventHandler (AnimationType animation, NSObject animatedObject, bool playingBackward); #endif - [Watch (4, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3998,8 +3632,6 @@ interface SCNAnimationEvent { #endif } - [Watch (3, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNGeometry))] partial interface SCNShape { @@ -4024,8 +3656,6 @@ partial interface SCNShape { SCNShape Create ([NullAllowed] NSBezierPath path, nfloat extrusionDepth); } - [Watch (3, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNMorpher : SCNAnimatable, NSSecureCoding { @@ -4036,12 +3666,10 @@ interface SCNMorpher : SCNAnimatable, NSSecureCoding { [Export ("calculationMode")] SCNMorpherCalculationMode CalculationMode { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("weights", ArgumentSemantic.Retain)] NSNumber [] Weights { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("unifiesNormals")] bool UnifiesNormals { get; set; } @@ -4049,7 +3677,6 @@ interface SCNMorpher : SCNAnimatable, NSSecureCoding { [Export ("setWeight:forTargetAtIndex:")] void SetWeight (nfloat weight, nuint targetIndex); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("setWeight:forTargetNamed:")] void SetWeight (nfloat weight, string targetName); @@ -4057,14 +3684,11 @@ interface SCNMorpher : SCNAnimatable, NSSecureCoding { [Export ("weightForTargetAtIndex:")] nfloat GetWeight (nuint targetIndex); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("weightForTargetNamed:")] nfloat GetWeight (string targetName); } - [Watch (3, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4077,66 +3701,51 @@ interface SCNSkinner : NSSecureCoding { [NullAllowed] SCNGeometry BaseGeometry { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("baseGeometryBindTransform")] SCNMatrix4 BaseGeometryBindTransform { get; set; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Internal, Export ("boneInverseBindTransforms")] [NullAllowed] NSArray _BoneInverseBindTransforms { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("bones")] SCNNode [] Bones { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("boneWeights")] SCNGeometrySource BoneWeights { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("boneIndices")] SCNGeometrySource BoneIndices { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Internal, Export ("skinnerWithBaseGeometry:bones:boneInverseBindTransforms:boneWeights:boneIndices:")] SCNSkinner _Create ([NullAllowed] SCNGeometry baseGeometry, SCNNode [] bones, [NullAllowed] NSArray boneInverseBindTransforms, SCNGeometrySource boneWeights, SCNGeometrySource boneIndices); } - [Watch (3, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] [DisableDefaultCtor] interface SCNConstraint : SCNAnimatable, NSCopying, NSSecureCoding { - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("influenceFactor")] nfloat InfluenceFactor { get; set; } - [Mac (10, 10)] - [TV (11, 0)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [Export ("enabled")] bool Enabled { [Bind ("isEnabled")] get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("incremental")] bool Incremental { [Bind ("isIncremental")] get; set; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNConstraint))] [DisableDefaultCtor] @@ -4157,16 +3766,12 @@ interface SCNIKConstraint { [Export ("maxAllowedRotationAngleForJoint:")] nfloat GetMaxAllowedRotationAngle (SCNNode node); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("initWithChainRootNode:")] NativeHandle Constructor (SCNNode chainRootNode); } - [Watch (3, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNConstraint))] [DisableDefaultCtor] @@ -4174,7 +3779,6 @@ interface SCNLookAtConstraint { [Export ("target", ArgumentSemantic.Retain), NullAllowed] SCNNode Target { get; [MacCatalyst (13, 1)] - [Mac (10, 12), iOS (10, 0), TV (10, 0)] set; } @@ -4184,28 +3788,22 @@ SCNNode Target { [Static, Export ("lookAtConstraintWithTarget:")] SCNLookAtConstraint Create ([NullAllowed] SCNNode target); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("targetOffset", ArgumentSemantic.Assign)] SCNVector3 TargetOffset { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("localFront", ArgumentSemantic.Assign)] SCNVector3 LocalFront { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("worldUp", ArgumentSemantic.Assign)] SCNVector3 WorldUp { get; set; } } - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] delegate SCNMatrix4 SCNTransformConstraintHandler (SCNNode node, SCNMatrix4 transform); - [Watch (3, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNConstraint))] [DisableDefaultCtor] @@ -4213,13 +3811,11 @@ interface SCNTransformConstraint { [Static, Export ("transformConstraintInWorldSpace:withBlock:")] SCNTransformConstraint Create (bool inWorldSpace, SCNTransformConstraintHandler transformHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("positionConstraintInWorldSpace:withBlock:")] SCNTransformConstraint CreatePositionConstraint (bool inWorldSpace, Func transformHandler); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("orientationConstraintInWorldSpace:withBlock:")] @@ -4227,8 +3823,6 @@ interface SCNTransformConstraint { } - [Watch (3, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4250,8 +3844,6 @@ interface SCNLevelOfDetail : NSCopying, NSSecureCoding { SCNLevelOfDetail CreateWithWorldSpaceDistance ([NullAllowed] SCNGeometry geometry, nfloat worldSpaceDistance); } - [Watch (3, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface _SCNShaderModifiers { @@ -4269,8 +3861,6 @@ interface _SCNShaderModifiers { } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -4311,18 +3901,14 @@ interface SCNActionable { #if NET [Abstract] #endif - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("actionKeys")] string [] ActionKeys { get; } } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] delegate void SCNActionNodeWithElapsedTimeHandler (SCNNode node, nfloat elapsedTime); - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNAction : NSCopying, NSSecureCoding { @@ -4421,27 +4007,22 @@ interface SCNAction : NSCopying, NSSecureCoding { [Static, Export ("customActionWithDuration:actionBlock:")] SCNAction CustomAction (double seconds, SCNActionNodeWithElapsedTimeHandler handler); - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] [Static, Export ("hide")] SCNAction Hide (); - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] [Static, Export ("unhide")] SCNAction Unhide (); - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] [Static, Export ("playAudioSource:waitForCompletion:")] SCNAction PlayAudioSource (SCNAudioSource source, bool wait); } - [iOS (8, 0)] [MacCatalyst (13, 1)] delegate void SCNBindingHandler (uint /* unsigned int */ programId, uint /* unsigned int */ location, SCNNode renderedNode, SCNRenderer renderer); - [Watch (3, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("_SCNShaderModifiers")] interface SCNShaderModifiers { @@ -4453,20 +4034,16 @@ interface SCNShaderModifiers { interface ISCNShadable { } - [Watch (3, 0)] - [Mac (10, 9), iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] interface SCNShadable { - [Mac (10, 9)] // Not marked, but crashes 32-bit - 17695192 [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("shaderModifiers", ArgumentSemantic.Copy)] NSDictionary WeakShaderModifiers { get; set; } - [Mac (10, 9)] // Not marked, but crashes 32-bit - 17695192 [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Wrap ("WeakShaderModifiers")] @@ -4484,19 +4061,17 @@ interface SCNShadable { [Export ("program", ArgumentSemantic.Retain)] SCNProgram Program { get; set; } - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("handleBindingOfSymbol:usingBlock:")] void HandleBinding (string symbol, [NullAllowed] SCNBindingHandler handler); - [Mac (10, 9), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("handleUnbindingOfSymbol:usingBlock:")] void HandleUnbinding (string symbol, [NullAllowed] SCNBindingHandler handler); } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4518,42 +4093,33 @@ interface SCNTechnique : SCNAnimatable, NSCopying, NSSecureCoding { [Export ("handleBindingOfSymbol:usingBlock:")] void HandleBinding (string symbol, [NullAllowed] SCNBindingHandler handler); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Internal, Export ("objectForKeyedSubscript:")] [return: NullAllowed] NSObject _GetObject (NSObject key); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Internal, Export ("setObject:forKeyedSubscript:")] void _SetObject ([NullAllowed] NSObject obj, INSCopying key); [NoWatch] - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("library", ArgumentSemantic.Strong)] IMTLLibrary Library { get; set; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] interface SCNTechniqueSupport { [Abstract] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("technique", ArgumentSemantic.Copy)] [NullAllowed] SCNTechnique Technique { get; set; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNPhysicsTestKeys { @@ -4568,8 +4134,6 @@ interface SCNPhysicsTestKeys { NSString BackfaceCullingKey { get; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Static] interface SCNPhysicsTestSearchModeKeys { @@ -4584,8 +4148,6 @@ interface SCNPhysicsTestSearchModeKeys { NSString All { get; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4670,58 +4232,51 @@ interface SCNPhysicsBody : NSCopying, NSSecureCoding { [Export ("resetTransform")] void ResetTransform (); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("momentOfInertia", ArgumentSemantic.Assign)] SCNVector3 MomentOfInertia { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("usesDefaultMomentOfInertia")] bool UsesDefaultMomentOfInertia { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("contactTestBitMask", ArgumentSemantic.Assign)] nuint ContactTestBitMask { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("affectedByGravity")] bool AffectedByGravity { [Bind ("isAffectedByGravity")] get; set; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("setResting:")] void SetResting (bool resting); - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("continuousCollisionDetectionThreshold")] nfloat ContinuousCollisionDetectionThreshold { get; set; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("centerOfMassOffset", ArgumentSemantic.Assign)] SCNVector3 CenterOfMassOffset { get; set; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("linearRestingThreshold")] nfloat LinearRestingThreshold { get; set; } - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("angularRestingThreshold")] nfloat AngularRestingThreshold { get; set; } } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] delegate SCNVector3 SCNFieldForceEvaluator (SCNVector3 position, SCNVector3 velocity, float /* float, not CGFloat */ mass, float /* float, not CGFloat */ charge, double timeInSeconds); - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4791,7 +4346,6 @@ interface SCNPhysicsField : NSCopying, NSSecureCoding { nuint CategoryBitMask { get; set; } } - [Watch (3, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("SCNPhysicsTestKeys")] interface SCNPhysicsTest { @@ -4803,8 +4357,6 @@ interface SCNPhysicsTest { NSString _SearchMode { get; set; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Delegates = new [] { "WeakContactDelegate" }, @@ -4874,8 +4426,6 @@ interface SCNPhysicsWorld : NSSecureCoding { void UpdateCollisionPairs (); } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4892,24 +4442,19 @@ interface SCNPhysicsShape : NSCopying, NSSecureCoding { [EditorBrowsable (EditorBrowsableState.Advanced)] SCNPhysicsShape Create (SCNNode node, [NullAllowed] NSDictionary options); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("options"), Internal] NSDictionary _Options { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("sourceObject")] NSObject SourceObject { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("transforms")] NSValue [] Transforms { get; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -4918,7 +4463,6 @@ interface SCNPhysicsShapeOptionsKeys { [Field ("SCNPhysicsShapeScaleKey")] NSString Scale { get; } - [TV (10, 0), Mac (10, 12), iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("SCNPhysicsShapeOptionCollisionMargin")] NSString CollisionMargin { get; } @@ -4930,8 +4474,6 @@ interface SCNPhysicsShapeOptionsKeys { NSString Type { get; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Static] [EditorBrowsable (EditorBrowsableState.Advanced)] @@ -4947,8 +4489,6 @@ interface SCNPhysicsShapeOptionsTypes { NSString ConcavePolyhedron { get; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4972,14 +4512,11 @@ interface SCNPhysicsContact { [Export ("penetrationDistance")] nfloat PenetrationDistance { get; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("sweepTestFraction")] nfloat SweepTestFraction { get; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -4995,8 +4532,6 @@ interface SCNPhysicsContactDelegate { void DidEndContact (SCNPhysicsWorld world, SCNPhysicsContact contact); } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] @@ -5005,8 +4540,6 @@ interface SCNPhysicsBehavior : NSSecureCoding { } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNPhysicsBehavior))] [DisableDefaultCtor] @@ -5039,8 +4572,6 @@ SCNPhysicsHingeJoint Create (SCNPhysicsBody bodyA, SCNVector3 axisA, SCNVector3 SCNVector3 AnchorB { get; set; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNPhysicsBehavior))] [DisableDefaultCtor] @@ -5066,8 +4597,6 @@ interface SCNPhysicsBallSocketJoint { SCNVector3 AnchorB { get; set; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNPhysicsBehavior))] [DisableDefaultCtor] @@ -5124,8 +4653,6 @@ SCNPhysicsSliderJoint Create (SCNPhysicsBody bodyA, SCNVector3 axisA, nfloat MotorMaximumTorque { get; set; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNPhysicsBehavior))] [DisableDefaultCtor] @@ -5153,8 +4680,6 @@ interface SCNPhysicsVehicle { void ApplyBrakingForce (nfloat value, nint index); } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -5200,8 +4725,6 @@ interface SCNPhysicsVehicleWheel : NSCopying, NSSecureCoding { nfloat SuspensionRestLength { get; set; } } - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -5420,117 +4943,93 @@ interface SCNParticleSystem : NSCopying, NSSecureCoding, SCNAnimatable { [Export ("removeAllModifiers")] void RemoveAllModifiers (); - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("orientationDirection", ArgumentSemantic.Assign)] SCNVector3 OrientationDirection { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("particleIntensity")] nfloat ParticleIntensity { get; set; } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("particleIntensityVariation")] nfloat ParticleIntensityVariation { get; set; } } - [Watch (3, 0)] [MacCatalyst (13, 1)] [Static] interface SCNParticleProperty { - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyPosition")] NSString Position { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyAngle")] NSString Angle { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyRotationAxis")] NSString RotationAxis { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyVelocity")] NSString Velocity { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyAngularVelocity")] NSString AngularVelocity { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyLife")] NSString Life { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyColor")] NSString Color { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyOpacity")] NSString Opacity { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertySize")] NSString Size { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyFrame")] NSString Frame { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyFrameRate")] NSString FrameRate { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyBounce")] NSString Bounce { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyCharge")] NSString Charge { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyFriction")] NSString Friction { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyContactPoint")] NSString ContactPoint { get; } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SCNParticlePropertyContactNormal")] NSString ContactNormal { get; } } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] delegate void SCNParticleEventHandler (IntPtr data, IntPtr dataStride, IntPtr indices, nint count); - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] delegate void SCNParticleModifierHandler (IntPtr data, IntPtr dataStride, nint start, nint end, float /* float, not CGFloat */ deltaTime); - [Watch (3, 0)] - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -5564,9 +5063,6 @@ interface SCNParticlePropertyController : NSSecureCoding, NSCopying { NSString InputProperty { get; set; } } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNConstraint))] interface SCNBillboardConstraint { @@ -5578,9 +5074,6 @@ interface SCNBillboardConstraint { SCNBillboardAxis FreeAxes { get; set; } } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNNode))] [DisableDefaultCtor] @@ -5612,9 +5105,6 @@ interface SCNReferenceNode : NSCoding { interface ISCNBufferStream { } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Protocol] interface SCNBufferStream { @@ -5623,7 +5113,6 @@ interface SCNBufferStream { unsafe void Length (IntPtr bytes, nuint length); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNTimingFunction : NSSecureCoding { @@ -5644,7 +5133,6 @@ interface SCNAnimationProtocol { interface ISCNAnimationProtocol { } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNAnimation : SCNAnimationProtocol, NSCopying, NSSecureCoding { @@ -5733,7 +5221,6 @@ interface SCNAnimation : SCNAnimationProtocol, NSCopying, NSSecureCoding { bool Cumulative { [Bind ("isCumulative")] get; set; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SCNAnimationPlayer : SCNAnimatable, NSCopying, NSSecureCoding { @@ -5763,7 +5250,6 @@ interface SCNAnimationPlayer : SCNAnimatable, NSCopying, NSSecureCoding { void StopWithBlendOutDuration (double seconds); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNConstraint))] interface SCNDistanceConstraint { @@ -5782,7 +5268,6 @@ interface SCNDistanceConstraint { nfloat MaximumDistance { get; set; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNConstraint))] interface SCNReplicatorConstraint { @@ -5813,7 +5298,6 @@ interface SCNReplicatorConstraint { SCNVector3 ScaleOffset { get; set; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNConstraint))] interface SCNAccelerationConstraint { @@ -5835,7 +5319,6 @@ interface SCNAccelerationConstraint { nfloat Damping { get; set; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNConstraint))] interface SCNSliderConstraint { @@ -5856,7 +5339,6 @@ interface SCNSliderConstraint { interface ISCNAvoidOccluderConstraintDelegate { } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -5869,7 +5351,6 @@ interface SCNAvoidOccluderConstraintDelegate { void DidAvoidOccluder (SCNAvoidOccluderConstraint constraint, SCNNode occluder, SCNNode node); } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNConstraint))] interface SCNAvoidOccluderConstraint { @@ -5891,7 +5372,6 @@ interface SCNAvoidOccluderConstraint { nfloat Bias { get; set; } } - [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SCNPhysicsBehavior))] interface SCNPhysicsConeTwistJoint { diff --git a/src/security.cs b/src/security.cs index 15161d6a64da..6ffaf0813ebc 100644 --- a/src/security.cs +++ b/src/security.cs @@ -52,7 +52,6 @@ interface SecPolicyIdentifier { [Field ("kSecPolicyAppleCodeSigning")] NSString AppleCodeSigning { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kSecPolicyMacAppStoreReceipt")] NSString MacAppStoreReceipt { get; } @@ -63,17 +62,14 @@ interface SecPolicyIdentifier { [Field ("kSecPolicyAppleTimeStamping")] NSString AppleTimeStamping { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecPolicyAppleRevocation")] NSString AppleRevocation { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecPolicyApplePassbookSigning")] NSString ApplePassbookSigning { get; } - [Mac (10, 11), iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("kSecPolicyApplePayIssuerEncryption")] NSString ApplePayIssuerEncryption { get; } @@ -90,19 +86,17 @@ interface SecPolicyPropertyKey { [Field ("kSecPolicyClient")] NSString Client { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecPolicyRevocationFlags")] NSString RevocationFlags { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecPolicyTeamIdentifier")] NSString TeamIdentifier { get; } } [Static] - [iOS (8, 0), NoWatch] + [NoWatch] [Mac (11, 0)] [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoTV] // removed in tvOS 10 @@ -122,7 +116,6 @@ interface SecTrustPropertyKey { } [Static] - [Mac (10, 9)] [MacCatalyst (13, 1)] interface SecTrustResultKey { [Field ("kSecTrustEvaluationDate")] @@ -143,19 +136,13 @@ interface SecTrustResultKey { [Field ("kSecTrustRevocationValidUntilDate")] NSString RevocationValidUntilDate { get; } - [iOS (9, 0)] - [Mac (10, 12)] // headers says 10.11 but it's not present in 10.11 [MacCatalyst (13, 1)] [Field ("kSecTrustCertificateTransparency")] NSString CertificateTransparency { get; } - [iOS (10, 0)] [Deprecated (PlatformName.iOS, 11, 0)] - [Mac (10, 12)] [Deprecated (PlatformName.MacOSX, 10, 13)] - [Watch (3, 0)] [Deprecated (PlatformName.WatchOS, 4, 0)] - [TV (10, 0)] [Deprecated (PlatformName.TvOS, 11, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1)] @@ -178,15 +165,10 @@ enum SecKeyType { [Field ("kSecAttrKeyTypeRSA")] RSA = 0, - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrKeyTypeEC")] EC = 1, - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kSecAttrKeyTypeECSECPrimeRandom")] ECSecPrimeRandom = 2, @@ -333,38 +315,30 @@ interface SecProtocolKeys { [Static] [Internal] interface KeysAccessible { - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessibleWhenUnlocked")] IntPtr WhenUnlocked { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessibleAfterFirstUnlock")] IntPtr AfterFirstUnlock { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessibleAlways")] IntPtr Always { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessibleWhenUnlockedThisDeviceOnly")] IntPtr WhenUnlockedThisDeviceOnly { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly")] IntPtr AfterFirstUnlockThisDeviceOnly { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessibleAlwaysThisDeviceOnly")] IntPtr AlwaysThisDeviceOnly { get; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly")] IntPtr WhenPasscodeSetThisDeviceOnly { get; } @@ -423,7 +397,6 @@ interface SecAttributeKeys { [Field ("kSecAttrEffectiveKeySize")] NSString EffectiveKeySizeKey { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessControl")] NSString AccessControlKey { get; } @@ -462,7 +435,6 @@ interface SecKeyGenerationAttributeKeys : SecAttributeKeys { [Field ("kSecPublicKeyAttrs")] NSString PublicKeyAttrsKey { get; } - [iOS (9, 0), Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kSecAttrTokenID")] NSString TokenIDKey { get; } @@ -532,28 +504,22 @@ interface SecKeyGenerationParameters { [Static] [Internal] interface SecAttributeKey { - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessible")] IntPtr Accessible { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrSynchronizableAny")] IntPtr SynchronizableAny { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrSynchronizable")] IntPtr Synchronizable { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kSecAttrSyncViewHint")] IntPtr SyncViewHint { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessGroup")] IntPtr AccessGroup { get; } @@ -642,25 +608,15 @@ interface SecAttributeKey { [Field ("kSecAttrIsExtractable")] IntPtr IsExtractable { get; } - [iOS (9, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Field ("kSecAttrTokenIDSecureEnclave")] IntPtr SecureEnclave { get; } - [iOS (10, 0)] - [Mac (10, 12)] - [Watch (3, 0)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Field ("kSecAttrAccessGroupToken")] IntPtr AccessGroupToken { get; } // note: 'kSecAttrPersistantReference' with the word "persistent" (correct) written with an 'a', so "persistant" (incorrect) was a typo in Xcode 9 beta 1 - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecAttrPersistentReference")] IntPtr PersistentReference { get; } @@ -771,7 +727,6 @@ interface SecItem { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] - [Mac (10, 15)] [MacCatalyst (13, 1)] [Field ("kSecUseDataProtectionKeychain")] IntPtr UseDataProtectionKeychain { get; } @@ -780,29 +735,23 @@ interface SecItem { [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'LAContext.InteractionNotAllowed' instead.")] [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'LAContext.InteractionNotAllowed' instead.")] [Deprecated (PlatformName.WatchOS, 7, 0, message: "Use 'LAContext.InteractionNotAllowed' instead.")] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'LAContext.InteractionNotAllowed' instead.")] [Field ("kSecUseOperationPrompt")] IntPtr UseOperationPrompt { get; } - [iOS (8, 0), Deprecated (PlatformName.iOS, 9, 0)] - [Mac (10, 10), Deprecated (PlatformName.MacOSX, 10, 11)] + [Deprecated (PlatformName.iOS, 9, 0)] + [Deprecated (PlatformName.MacOSX, 10, 11)] [Deprecated (PlatformName.TvOS, 9, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1)] [Field ("kSecUseNoAuthenticationUI")] IntPtr UseNoAuthenticationUI { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kSecUseAuthenticationUI")] IntPtr UseAuthenticationUI { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Field ("kSecUseAuthenticationContext")] IntPtr UseAuthenticationContext { get; } @@ -839,10 +788,6 @@ interface SecPropertyKey { IntPtr Value { get; } } - [Watch (3, 0)] - [TV (10, 0)] - [Mac (10, 12)] - [iOS (10, 0)] [MacCatalyst (13, 1)] enum SecKeyAlgorithm { [Field ("kSecKeyAlgorithmRSASignatureRaw")] @@ -1019,155 +964,79 @@ enum SecKeyAlgorithm { [Field ("kSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA512")] EcdhKeyExchangeCofactorX963Sha512, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureDigestPSSSHA1")] RsaSignatureDigestPssSha1, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureDigestPSSSHA224")] RsaSignatureDigestPssSha224, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureDigestPSSSHA256")] RsaSignatureDigestPssSha256, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureDigestPSSSHA384")] RsaSignatureDigestPssSha384, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureDigestPSSSHA512")] RsaSignatureDigestPssSha512, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureMessagePSSSHA1")] RsaSignatureMessagePssSha1, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureMessagePSSSHA224")] RsaSignatureMessagePssSha224, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureMessagePSSSHA256")] RsaSignatureMessagePssSha256, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureMessagePSSSHA384")] RsaSignatureMessagePssSha384, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmRSASignatureMessagePSSSHA512")] RsaSignatureMessagePssSha512, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmECIESEncryptionStandardVariableIVX963SHA224AESGCM")] EciesEncryptionStandardVariableIvx963Sha224AesGcm, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmECIESEncryptionStandardVariableIVX963SHA256AESGCM")] EciesEncryptionStandardVariableIvx963Sha256AesGcm, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmECIESEncryptionStandardVariableIVX963SHA384AESGCM")] EciesEncryptionStandardVariableIvx963Sha384AesGcm, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmECIESEncryptionStandardVariableIVX963SHA512AESGCM")] EciesEncryptionStandardVariableIvx963Sha512AesGcm, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmECIESEncryptionCofactorVariableIVX963SHA224AESGCM")] EciesEncryptionCofactorVariableIvx963Sha224AesGcm, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmECIESEncryptionCofactorVariableIVX963SHA256AESGCM")] EciesEncryptionCofactorVariableIvx963Sha256AesGcm, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmECIESEncryptionCofactorVariableIVX963SHA384AESGCM")] EciesEncryptionCofactorVariableIvx963Sha384AesGcm, - [iOS (11, 0)] - [TV (11, 0)] - [Watch (4, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("kSecKeyAlgorithmECIESEncryptionCofactorVariableIVX963SHA512AESGCM")] EciesEncryptionCofactorVariableIvx963Sha512AesGcm, } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] enum SslSessionConfig { [Deprecated (PlatformName.iOS, 11, 0)] @@ -1215,10 +1084,6 @@ enum SslSessionConfig { [Field ("kSSLSessionConfig_anonymous")] Anonymous, - [iOS (10, 2)] - [TV (10, 1)] - [Mac (10, 12, 2)] - [Watch (3, 2)] [Deprecated (PlatformName.iOS, 11, 0)] [Deprecated (PlatformName.MacOSX, 10, 13)] [Deprecated (PlatformName.WatchOS, 4, 0)] @@ -1228,10 +1093,6 @@ enum SslSessionConfig { [Field ("kSSLSessionConfig_3DES_fallback")] ThreeDesFallback, - [iOS (10, 2)] - [TV (10, 1)] - [Mac (10, 12, 2)] - [Watch (3, 2)] [Deprecated (PlatformName.iOS, 11, 0)] [Deprecated (PlatformName.MacOSX, 10, 13)] [Deprecated (PlatformName.WatchOS, 4, 0)] @@ -1242,10 +1103,6 @@ enum SslSessionConfig { Tls1ThreeDesFallback, } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -1257,10 +1114,6 @@ interface SecKeyKeyExchangeParameterKey { NSString SharedInfoKey { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [StrongDictionary ("SecKeyKeyExchangeParameterKey")] interface SecKeyKeyExchangeParameter { @@ -1270,7 +1123,6 @@ interface SecKeyKeyExchangeParameter { NSData SharedInfo { get; set; } } - [iOS (8, 0)] [NoTV] [NoWatch] [Mac (11, 0)] @@ -1292,7 +1144,6 @@ interface SecSharedCredentialKeys { NSString PortKey { get; } } - [iOS (8, 0)] [NoTV] [NoWatch] [Mac (11, 0)] diff --git a/src/social.cs b/src/social.cs index 52e738c34f6d..517f091b26b9 100644 --- a/src/social.cs +++ b/src/social.cs @@ -57,7 +57,6 @@ interface SLServiceType { [Deprecated (PlatformName.iOS, 11, 0, message: "Use Tencent Weibo SDK instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Tencent Weibo SDK instead.")] [Field ("SLServiceTypeTencentWeibo")] - [Mac (10, 9)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use Tencent Weibo SDK instead.")] NSString TencentWeibo { get; } @@ -66,7 +65,6 @@ interface SLServiceType { [Field ("SLServiceTypeLinkedIn")] [NoiOS] [NoMacCatalyst] - [Mac (10, 9)] NSString LinkedIn { get; } } @@ -150,8 +148,6 @@ interface SLComposeViewController { bool RemoveAllUrls (); } - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SocialViewController))] interface SLComposeServiceViewController : SocialTextViewDelegate { @@ -225,7 +221,6 @@ interface SLComposeServiceViewController : SocialTextViewDelegate { [NoMac] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // designated diff --git a/src/soundanalysis.cs b/src/soundanalysis.cs index 0644594f167d..96a897e05a45 100644 --- a/src/soundanalysis.cs +++ b/src/soundanalysis.cs @@ -21,7 +21,7 @@ namespace SoundAnalysis { [ErrorDomain ("SNErrorDomain")] - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum SNErrorCode : long { @@ -39,7 +39,7 @@ public enum SNTimeDurationConstraintType : long { Range = 2, } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -67,7 +67,7 @@ interface SNAudioStreamAnalyzer { delegate void SNAudioFileAnalyzerAnalyzeHandler (bool didReachEndOfFile); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -97,7 +97,7 @@ interface SNAudioFileAnalyzer { void CancelAnalysis (); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -110,7 +110,7 @@ interface SNClassification { double Confidence { get; } } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -128,7 +128,7 @@ interface SNClassificationResult : SNResult { SNClassification GetClassification (string identifier); } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -159,21 +159,21 @@ interface SNClassifySoundRequest : SNRequest { interface ISNRequest { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface SNRequest { } interface ISNResult { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface SNResult { } interface ISNResultsObserving { } - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface SNResultsObserving { diff --git a/src/speech.cs b/src/speech.cs index 5e869cce537f..cfe26297161c 100644 --- a/src/speech.cs +++ b/src/speech.cs @@ -22,7 +22,6 @@ namespace Speech { [Native] - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] public enum SFSpeechRecognitionTaskState : long { Starting = 0, @@ -33,7 +32,6 @@ public enum SFSpeechRecognitionTaskState : long { } [Native] - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] public enum SFSpeechRecognitionTaskHint : long { Unspecified = 0, @@ -43,7 +41,6 @@ public enum SFSpeechRecognitionTaskHint : long { } [Native] - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] public enum SFSpeechRecognizerAuthorizationStatus : long { NotDetermined, @@ -52,7 +49,6 @@ public enum SFSpeechRecognizerAuthorizationStatus : long { Authorized, } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [Abstract] // no docs (yet) but it has no means (init*) to create it, unlike its subclasses @@ -83,7 +79,6 @@ interface SFSpeechRecognitionRequest { bool AddsPunctuation { get; set; } } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (SFSpeechRecognitionRequest), Name = "SFSpeechURLRecognitionRequest")] [DisableDefaultCtor] @@ -97,7 +92,6 @@ interface SFSpeechUrlRecognitionRequest { NSUrl Url { get; } } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (SFSpeechRecognitionRequest))] interface SFSpeechAudioBufferRecognitionRequest { @@ -115,7 +109,6 @@ interface SFSpeechAudioBufferRecognitionRequest { void EndAudio (); } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SFSpeechRecognitionResult : NSCopying, NSSecureCoding { @@ -135,7 +128,6 @@ interface SFSpeechRecognitionResult : NSCopying, NSSecureCoding { SFSpeechRecognitionMetadata SpeechRecognitionMetadata { get; } } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SFSpeechRecognitionTask { @@ -161,7 +153,6 @@ interface SFSpeechRecognitionTask { interface ISFSpeechRecognitionTaskDelegate { } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -188,7 +179,6 @@ interface SFSpeechRecognitionTaskDelegate { interface ISFSpeechRecognizerDelegate { } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -198,7 +188,6 @@ interface SFSpeechRecognizerDelegate { void AvailabilityDidChange (SFSpeechRecognizer speechRecognizer, bool available); } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SFSpeechRecognizer { @@ -269,7 +258,6 @@ interface SFSpeechRecognitionMetadata : NSCopying, NSSecureCoding { SFVoiceAnalytics VoiceAnalytics { get; } } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SFTranscription : NSCopying, NSSecureCoding { @@ -297,7 +285,6 @@ interface SFTranscription : NSCopying, NSSecureCoding { double AveragePauseDuration { get; } } - [iOS (10, 0), Mac (10, 15)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SFTranscriptionSegment : NSCopying, NSSecureCoding { @@ -329,7 +316,7 @@ interface SFTranscriptionSegment : NSCopying, NSSecureCoding { SFVoiceAnalytics VoiceAnalytics { get; } } - [iOS (13, 0), Mac (10, 15)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -342,7 +329,7 @@ interface SFAcousticFeature : NSCopying, NSSecureCoding { double FrameDuration { get; } } - [iOS (13, 0), Mac (10, 15)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] diff --git a/src/spritekit.cs b/src/spritekit.cs index ae7e1fdf73f8..e2bef55a0971 100644 --- a/src/spritekit.cs +++ b/src/spritekit.cs @@ -95,8 +95,6 @@ interface MTLRenderPassDescriptor {} delegate void SKNodeChildEnumeratorHandler (SKNode node, out bool stop); delegate float SKActionTimingFunction2 (float /* float, not CGFloat */ time); - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] interface SK3DNode { @@ -150,8 +148,6 @@ interface SK3DNode { [DisableDefaultCtor] // DesignatedInitializer below - [Mac (10, 9)] - [Watch (3, 0)] [MacCatalyst (13, 1)] #if MONOMAC [BaseType (typeof (NSResponder))] @@ -170,15 +166,13 @@ partial interface SKNode : NSSecureCoding, NSCopying { [Static, Export ("node")] SKNode Create (); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static] [Export ("nodeWithFileNamed:")] [return: NullAllowed] SKNode Create (string filename); - [Watch (5, 0), TV (12, 0), Mac (10, 14), iOS (12, 0)] + [Watch (5, 0), TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -227,7 +221,7 @@ partial interface SKNode : NSSecureCoding, NSCopying { bool UserInteractionEnabled { [Bind ("isUserInteractionEnabled")] get; set; } [NoMac] - [TV (11, 0), iOS (11, 0), Watch (9, 0)] + [Watch (9, 0)] [MacCatalyst (13, 1)] [Export ("focusBehavior", ArgumentSemantic.Assign)] SKNodeFocusBehavior FocusBehavior { get; set; } @@ -324,8 +318,6 @@ partial interface SKNode : NSSecureCoding, NSCopying { [Export ("intersectsNode:")] bool IntersectsNode (SKNode node); - [iOS (8, 3)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("isEqualToNode:")] bool IsEqual (SKNode node); @@ -333,31 +325,26 @@ partial interface SKNode : NSSecureCoding, NSCopying { [Export ("inParentHierarchy:")] bool InParentHierarchy (SKNode node); - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("reachConstraints", ArgumentSemantic.Copy)] SKReachConstraints ReachConstraints { get; set; } - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("constraints", ArgumentSemantic.Copy)] SKConstraint [] Constraints { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("objectForKeyedSubscript:")] SKNode GetObjectsMatching (string nameExpression); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("moveToParent:")] void MoveToParent (SKNode parent); // Moved from SpriteKit to GameplayKit header in iOS 10 beta 1 [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("obstaclesFromNodeBounds:")] @@ -365,7 +352,6 @@ partial interface SKNode : NSSecureCoding, NSCopying { // Moved from SpriteKit to GameplayKit header in iOS 10 beta 1 [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("obstaclesFromNodePhysicsBodies:")] @@ -373,7 +359,6 @@ partial interface SKNode : NSSecureCoding, NSCopying { // Moved from SpriteKit to GameplayKit header in iOS 10 beta 1 [NoWatch] - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("obstaclesFromSpriteTextures:accuracy:")] @@ -383,14 +368,12 @@ partial interface SKNode : NSSecureCoding, NSCopying { [Deprecated (PlatformName.iOS, 10, 0, message: "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")] [Deprecated (PlatformName.WatchOS, 3, 0, message: "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")] - [iOS (9, 0), Mac (10, 11)] [Export ("attributeValues", ArgumentSemantic.Copy)] NSDictionary AttributeValues { get; set; } [Deprecated (PlatformName.iOS, 10, 0, message: "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")] [Deprecated (PlatformName.WatchOS, 3, 0, message: "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")] - [iOS (9, 0), Mac (10, 11)] [Export ("valueForAttributeNamed:")] [return: NullAllowed] SKAttributeValue GetValue (string key); @@ -398,26 +381,25 @@ partial interface SKNode : NSSecureCoding, NSCopying { [Deprecated (PlatformName.iOS, 10, 0, message: "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")] [Deprecated (PlatformName.WatchOS, 3, 0, message: "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")] - [iOS (9, 0), Mac (10, 11)] [Export ("setValue:forAttributeNamed:")] void SetValue (SKAttributeValue value, string key); #endif #if !WATCH // Extensions from GameplayKit, inlined to avoid ugly static extension syntax - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("obstaclesFromSpriteTextures:accuracy:")] GKPolygonObstacle [] GetObstaclesFromSpriteTextures (SKNode [] sprites, float accuracy); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("obstaclesFromNodeBounds:")] GKPolygonObstacle [] GetObstaclesFromNodeBounds (SKNode [] nodes); - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("obstaclesFromNodePhysicsBodies:")] @@ -429,7 +411,6 @@ partial interface SKNode : NSSecureCoding, NSCopying { [NoTV] [NoWatch] [NoMacCatalyst] - [Mac (10, 9)] [Category, BaseType (typeof (NSEvent))] partial interface SKNodeEvent_NSEvent { @@ -450,8 +431,6 @@ partial interface SKNodeTouches_UITouch { CGPoint PreviousLocationInNode (SKNode node); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] partial interface SKEffectNode : SKWarpable { @@ -474,24 +453,20 @@ partial interface SKEffectNode : SKWarpable { [Export ("blendMode")] SKBlendMode BlendMode { get; set; } - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("shader", ArgumentSemantic.Retain)] SKShader Shader { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("attributeValues", ArgumentSemantic.Copy)] NSDictionary AttributeValues { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("valueForAttributeNamed:")] [return: NullAllowed] SKAttributeValue GetValue (string key); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("setValue:forAttributeNamed:")] void SetValue (SKAttributeValue value, string key); @@ -499,8 +474,6 @@ partial interface SKEffectNode : SKWarpable { delegate Vector3 SKFieldForceEvaluator (/* vector_float3 */ Vector4 position, /* vector_float3 */ Vector4 velocity, float /* float, not CGFloat */ mass, float /* float, not CGFloat */ charge, double time); - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] interface SKFieldNode { @@ -585,8 +558,6 @@ Vector4 Direction { SKFieldNode CreateCustomField (SKFieldForceEvaluator evaluator); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKEffectNode))] interface SKScene @@ -600,9 +571,6 @@ interface SKScene [Static, Export ("sceneWithSize:")] SKScene FromSize (CGSize size); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("sceneDidLoad")] void SceneDidLoad (); @@ -660,45 +628,36 @@ interface SKScene [Export ("didChangeSize:")] void DidChangeSize (CGSize oldSize); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("didApplyConstraints")] void DidApplyConstraints (); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("didFinishUpdate")] void DidFinishUpdate (); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("delegate", ArgumentSemantic.Weak), NullAllowed] NSObject WeakDelegate { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Wrap ("WeakDelegate")] [Protocolize] SKSceneDelegate Delegate { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("audioEngine", ArgumentSemantic.Retain)] AVAudioEngine AudioEngine { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("camera", ArgumentSemantic.Weak)] SKCameraNode Camera { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed, Export ("listener", ArgumentSemantic.Weak)] SKNode Listener { get; set; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -719,9 +678,6 @@ interface SKSceneDelegate { void DidFinishUpdate (SKScene scene); } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKShader : NSCopying, NSSecureCoding { @@ -762,15 +718,11 @@ interface SKShader : NSCopying, NSSecureCoding { [Export ("removeUniformNamed:")] void RemoveUniform (string uniforName); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("attributes", ArgumentSemantic.Copy)] SKAttribute [] Attributes { get; set; } } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] partial interface SKSpriteNode : SKWarpable { @@ -829,67 +781,53 @@ partial interface SKSpriteNode : SKWarpable { // - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [Static, Export ("spriteNodeWithTexture:normalMap:")] SKSpriteNode Create ([NullAllowed] SKTexture texture, [NullAllowed] SKTexture normalMap); - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [Static, Export ("spriteNodeWithImageNamed:normalMapped:")] SKSpriteNode Create (string imageName, bool generateNormalMap); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("normalTexture", ArgumentSemantic.Retain)] SKTexture NormalTexture { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("lightingBitMask")] uint LightingBitMask { get; set; } /* uint32_t */ - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("shadowCastBitMask")] uint ShadowCastBitMask { get; set; } /* uint32_t */ - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("shadowedBitMask")] uint ShadowedBitMask { get; set; } /* uint32_t */ - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("shader", ArgumentSemantic.Retain), NullAllowed] SKShader Shader { get; set; } - [iOS (10, 0), Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("scaleToSize:")] void ScaleTo (CGSize size); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("attributeValues", ArgumentSemantic.Copy)] NSDictionary AttributeValues { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("valueForAttributeNamed:")] [return: NullAllowed] SKAttributeValue GetValue (string key); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("setValue:forAttributeNamed:")] void SetValue (SKAttributeValue value, string key); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface SKKeyframeSequence : NSSecureCoding, NSCopying { @@ -940,8 +878,6 @@ partial interface SKKeyframeSequence : NSSecureCoding, NSCopying { SKRepeatMode RepeatMode { get; set; } } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] partial interface SKEmitterNode { @@ -1098,7 +1034,6 @@ partial interface SKEmitterNode { // // iOS 8 // - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("fieldBitMask")] uint FieldBitMask { get; set; } /* uint32_t */ @@ -1110,37 +1045,29 @@ partial interface SKEmitterNode { [Export ("particleZPositionSpeed")] nfloat ParticleZPositionSpeed { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("shader", ArgumentSemantic.Retain)] SKShader Shader { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("particleRenderOrder", ArgumentSemantic.Assign)] SKParticleRenderOrder ParticleRenderOrder { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("attributeValues", ArgumentSemantic.Copy)] NSDictionary AttributeValues { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("valueForAttributeNamed:")] [return: NullAllowed] SKAttributeValue GetValue (string key); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("setValue:forAttributeNamed:")] void SetValue (SKAttributeValue value, string key); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] partial interface SKShapeNode { @@ -1170,71 +1097,58 @@ partial interface SKShapeNode { // // iOS 8 // - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("fillTexture", ArgumentSemantic.Retain)] SKTexture FillTexture { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("fillShader", ArgumentSemantic.Retain)] SKShader FillShader { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("strokeTexture", ArgumentSemantic.Retain)] SKTexture StrokeTexture { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("strokeShader", ArgumentSemantic.Retain)] SKShader StrokeShader { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithPath:")] SKShapeNode FromPath (CGPath path); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithPath:centered:")] SKShapeNode FromPath (CGPath path, bool centered); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithRect:")] SKShapeNode FromRect (CGRect rect); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithRectOfSize:")] SKShapeNode FromRect (CGSize size); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithRect:cornerRadius:")] SKShapeNode FromRect (CGRect rect, nfloat cornerRadius); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithRectOfSize:cornerRadius:")] SKShapeNode FromRect (CGSize size, nfloat cornerRadius); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithCircleOfRadius:")] SKShapeNode FromCircle (nfloat radius); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithEllipseInRect:")] SKShapeNode FromEllipse (CGRect rect); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithEllipseOfSize:")] SKShapeNode FromEllipse (CGSize size); @@ -1242,7 +1156,6 @@ partial interface SKShapeNode { #if XAMCORE_3_0 // Hide this ugly api fixes https://bugzilla.xamarin.com/show_bug.cgi?id=39706 [Internal] #endif - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithPoints:count:")] SKShapeNode FromPoints (ref CGPoint points, nuint numPoints); @@ -1250,50 +1163,40 @@ partial interface SKShapeNode { #if XAMCORE_3_0 // Hide this ugly api fixes https://bugzilla.xamarin.com/show_bug.cgi?id=39706 [Internal] #endif - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("shapeNodeWithSplinePoints:count:")] SKShapeNode FromSplinePoints (ref CGPoint points, nuint numPoints); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("lineCap")] CGLineCap LineCap { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("lineJoin")] CGLineJoin LineJoin { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("miterLimit")] nfloat MiterLimit { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("lineLength")] nfloat LineLength { get; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("attributeValues", ArgumentSemantic.Copy)] NSDictionary AttributeValues { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("valueForAttributeNamed:")] [return: NullAllowed] SKAttributeValue GetValue (string key); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("setValue:forAttributeNamed:")] void SetValue (SKAttributeValue value, string key); } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKReachConstraints : NSSecureCoding { @@ -1308,8 +1211,6 @@ interface SKReachConstraints : NSSecureCoding { nfloat UpperAngleLimit { get; set; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKRegion : NSCopying, NSSecureCoding { @@ -1345,8 +1246,6 @@ interface SKRegion : NSCopying, NSSecureCoding { bool ContainsPoint (CGPoint point); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] partial interface SKLabelNode { @@ -1357,12 +1256,10 @@ partial interface SKLabelNode { [Export ("initWithFontNamed:")] NativeHandle Constructor ([NullAllowed] string fontName); - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [Static, Export ("labelNodeWithText:")] SKLabelNode FromText ([NullAllowed] string text); - [TV (11, 0), Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("labelNodeWithAttributedText:")] @@ -1374,17 +1271,14 @@ partial interface SKLabelNode { [Export ("horizontalAlignmentMode")] SKLabelHorizontalAlignmentMode HorizontalAlignmentMode { get; set; } - [TV (11, 0), Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("numberOfLines")] nint NumberOfLines { get; set; } - [TV (11, 0), Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("lineBreakMode", ArgumentSemantic.Assign)] NSLineBreakMode LineBreakMode { get; set; } - [TV (11, 0), Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("preferredMaxLayoutWidth")] nfloat PreferredMaxLayoutWidth { get; set; } @@ -1397,7 +1291,6 @@ partial interface SKLabelNode { [NullAllowed] // nullable in Xcode7 headers and caught by introspection tests string Text { get; set; } - [TV (11, 0), Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("attributedText", ArgumentSemantic.Copy)] NSAttributedString AttributedText { get; set; } @@ -1420,8 +1313,6 @@ partial interface SKLabelNode { SKBlendMode BlendMode { get; set; } } - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] interface SKLightNode { @@ -1444,8 +1335,6 @@ interface SKLightNode { uint CategoryBitMask { get; set; } /* uint32_t */ } - [Watch (4, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] partial interface SKVideoNode { @@ -1510,9 +1399,6 @@ partial interface SKVideoNode { CGPoint AnchorPoint { get; set; } } - [Watch (3, 0)] - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKConstraint : NSSecureCoding, NSCopying { @@ -1554,8 +1440,6 @@ interface SKConstraint : NSSecureCoding, NSCopying { SKConstraint CreateOrientToPoint (CGPoint point, SKNode node, SKRange radians); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] partial interface SKCropNode { @@ -1566,7 +1450,6 @@ partial interface SKCropNode { } [NoWatch] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (UIView))] #if XAMCORE_3_0 @@ -1592,7 +1475,6 @@ partial interface SKView { [Export ("showsNodeCount")] bool ShowsNodeCount { get; set; } - [iOS (7, 1), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("showsPhysics")] bool ShowsPhysics { get; set; } @@ -1633,42 +1515,31 @@ partial interface SKView { // // iOS 8 // - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("allowsTransparency")] bool AllowsTransparency { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("shouldCullNonVisibleNodes")] bool ShouldCullNonVisibleNodes { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("showsFields")] bool ShowsFields { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("showsQuadCount")] bool ShowsQuadCount { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("textureFromNode:crop:")] [return: NullAllowed] SKTexture TextureFromNode (SKNode node, CGRect crop); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("preferredFramesPerSecond")] nint PreferredFramesPerSecond { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] ISKViewDelegate Delegate { get; set; } @@ -1684,8 +1555,6 @@ partial interface SKView { interface ISKViewDelegate { } [NoWatch] - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -1694,8 +1563,6 @@ interface SKViewDelegate { bool ShouldRender (SKView view, double time); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1752,8 +1619,6 @@ partial interface SKTransition : NSCopying { bool PausesOutgoingScene { get; set; } } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1805,39 +1670,33 @@ partial interface SKTexture : NSSecureCoding, NSCopying { // note: unlike SKTextureAtlas completion can't be null (or it crash) void Preload (Action completion); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("textureByGeneratingNormalMap")] SKTexture CreateTextureByGeneratingNormalMap (); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("textureByGeneratingNormalMapWithSmoothness:contrast:")] SKTexture CreateTextureByGeneratingNormalMap (nfloat smoothness, nfloat contrast); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("textureVectorNoiseWithSmoothness:size:")] SKTexture FromTextureVectorNoise (nfloat smoothness, CGSize size); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("textureNoiseWithSmoothness:size:grayscale:")] SKTexture FromTextureNoise (nfloat smoothness, CGSize size, bool grayscale); - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [Static, Export ("textureWithData:size:flipped:")] SKTexture FromData (NSData pixelData, CGSize size, bool flipped); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("CGImage")] CGImage CGImage { get; } #if !WATCH // Static Category from GameplayKit - [iOS (10, 0), TV (10, 0), NoWatch, Mac (10, 12)] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("textureWithNoiseMap:")] @@ -1847,8 +1706,6 @@ partial interface SKTexture : NSSecureCoding, NSCopying { delegate void SKTextureModify (IntPtr pixelData, nuint lengthInBytes); - [Watch (3, 0)] - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [BaseType (typeof (SKTexture))] [DisableDefaultCtor] // cannot be created (like SKTexture) by calling `init` @@ -1868,8 +1725,6 @@ interface SKMutableTexture { delegate void SKTextureAtlasLoadCallback (NSError error, SKTextureAtlas foundAtlases); - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface SKTextureAtlas : NSSecureCoding { @@ -1889,7 +1744,6 @@ partial interface SKTextureAtlas : NSSecureCoding { // Unfortunate name, should have been PreloadTextureAtlases void PreloadTextures (SKTextureAtlas [] textures, Action completion); - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("preloadTextureAtlasesNamed:withCompletionHandler:")] @@ -1900,16 +1754,12 @@ partial interface SKTextureAtlas : NSSecureCoding { [Async] void Preload (Action completion); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("atlasWithDictionary:")] SKTextureAtlas FromDictionary (NSDictionary properties); } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKUniform : NSCopying, NSSecureCoding { @@ -1932,9 +1782,6 @@ interface SKUniform : NSCopying, NSSecureCoding { [Export ("initWithName:floatVector2:")] IntPtr InitWithNameFloatVector2 (string name, Vector2 value); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithName:vectorFloat2:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -1956,9 +1803,6 @@ interface SKUniform : NSCopying, NSSecureCoding { [Export ("initWithName:floatVector3:")] IntPtr InitWithNameFloatVector3 (string name, Vector3 value); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithName:vectorFloat3:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -1979,9 +1823,6 @@ interface SKUniform : NSCopying, NSSecureCoding { [Export ("initWithName:floatVector4:")] IntPtr InitWithNameFloatVector4 (string name, Vector4 value); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithName:vectorFloat4:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2004,9 +1845,6 @@ interface SKUniform : NSCopying, NSSecureCoding { #if !NET [Obsolete ("Use the '(string, MatrixFloat2x2)' overload instead.")] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Sealed] [Export ("initWithName:matrixFloat2x2:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2018,9 +1856,6 @@ interface SKUniform : NSCopying, NSSecureCoding { #endif // WATCH #endif // !NET - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithName:matrixFloat2x2:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2036,9 +1871,6 @@ interface SKUniform : NSCopying, NSSecureCoding { IntPtr InitWithNameFloatMatrix3 (string name, Matrix3 value); [Obsolete ("Use the '(string, MatrixFloat3x3)' overload instead.")] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Sealed] [Export ("initWithName:matrixFloat3x3:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2050,9 +1882,6 @@ interface SKUniform : NSCopying, NSSecureCoding { #endif // WATCH #endif // !NET - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithName:matrixFloat3x3:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2070,9 +1899,6 @@ interface SKUniform : NSCopying, NSSecureCoding { #if !NET [Obsolete ("Use the '(string, MatrixFloat4x4)' overload instead.")] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Export ("initWithName:matrixFloat4x4:")] [Sealed] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2084,9 +1910,6 @@ interface SKUniform : NSCopying, NSSecureCoding { #endif // WATCH #endif // !NET - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("initWithName:matrixFloat4x4:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] @@ -2115,9 +1938,6 @@ interface SKUniform : NSCopying, NSSecureCoding { [Export ("floatVector2Value")] Vector2 _FloatVector2Value { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("vectorFloat2Value", ArgumentSemantic.Assign)] #if WATCH @@ -2142,9 +1962,6 @@ Vector2 _VectorFloat2Value { [Export ("floatVector3Value")] Vector3 _FloatVector3Value { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("vectorFloat3Value", ArgumentSemantic.Assign)] #if WATCH @@ -2169,9 +1986,6 @@ Vector3 _VectorFloat3Value { [Export ("floatVector4Value")] Vector4 _FloatVector4Value { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("vectorFloat4Value", ArgumentSemantic.Assign)] #if WATCH @@ -2198,8 +2012,6 @@ Vector4 _VectorFloat4Value { #if !NET && WATCH [Obsolete ("Use 'MatrixFloat2x2Value' instead.")] - [iOS (10,0)][Mac (10,12)] - [TV (10,0)] [Export ("matrixFloat2x2Value", ArgumentSemantic.Assign)] Matrix2 FloatMatrix2x2Value { [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; @@ -2210,9 +2022,6 @@ Matrix2 FloatMatrix2x2Value { #if !NET && WATCH [Sealed] // The selector is already used in the 'FloatMatrix2x2Value' property. #endif - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("matrixFloat2x2Value", ArgumentSemantic.Assign)] MatrixFloat2x2 MatrixFloat2x2Value { @@ -2234,8 +2043,6 @@ MatrixFloat2x2 MatrixFloat2x2Value { #if !NET && WATCH [Obsolete ("Use 'MatrixFloat3x3Value' instead.")] - [iOS (10,0)][Mac (10,12)] - [TV (10,0)] [Export ("matrixFloat3x3Value", ArgumentSemantic.Assign)] Matrix3 FloatMatrix3x3Value { [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; @@ -2246,9 +2053,6 @@ Matrix3 FloatMatrix3x3Value { #if !NET && WATCH [Sealed] // The selector is already used in the 'FloatMatrix3x3Value' property. #endif - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("matrixFloat3x3Value", ArgumentSemantic.Assign)] MatrixFloat3x3 MatrixFloat3x3Value { @@ -2270,8 +2074,6 @@ MatrixFloat3x3 MatrixFloat3x3Value { #if !NET && WATCH [Obsolete ("Use 'MatrixFloat4x4Value' instead.")] - [iOS (10,0)][Mac (10,12)] - [TV (10,0)] [Export ("matrixFloat4x4Value", ArgumentSemantic.Assign)] Matrix4 FloatMatrix4x4Value { [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] get; @@ -2282,9 +2084,6 @@ Matrix4 FloatMatrix4x4Value { #if !NET && WATCH [Sealed] // The selector is already used in the 'FloatMatrix4x4Value' property. #endif - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("matrixFloat4x4Value", ArgumentSemantic.Assign)] MatrixFloat4x4 MatrixFloat4x4Value { @@ -2303,9 +2102,6 @@ MatrixFloat4x4 MatrixFloat4x4Value { [Static, Export ("uniformWithName:float:")] SKUniform Create (string name, float /* float, not CGFloat */ value); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("uniformWithName:vectorFloat2:")] @@ -2313,18 +2109,12 @@ MatrixFloat4x4 MatrixFloat4x4Value { [MarshalNativeExceptions] SKUniform Create (string name, Vector2 value); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("uniformWithName:vectorFloat3:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] SKUniform Create (string name, Vector3 value); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("uniformWithName:vectorFloat4:")] @@ -2333,18 +2123,12 @@ MatrixFloat4x4 MatrixFloat4x4Value { #if !NET [Obsolete ("Use the '(string, MatrixFloat2x2)' overload instead.")] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Static] [Export ("uniformWithName:matrixFloat2x2:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] SKUniform Create (string name, Matrix2 value); #endif // !NET - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("uniformWithName:matrixFloat2x2:")] @@ -2353,18 +2137,12 @@ MatrixFloat4x4 MatrixFloat4x4Value { #if !NET [Obsolete ("Use the '(string, MatrixFloat3x3)' overload instead.")] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Static] [Export ("uniformWithName:matrixFloat3x3:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] SKUniform Create (string name, Matrix3 value); #endif - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("uniformWithName:matrixFloat3x3:")] @@ -2373,18 +2151,12 @@ MatrixFloat4x4 MatrixFloat4x4Value { #if !NET [Obsolete ("Use 'the '(string, MatrixFloat4x4)' overload instead.")] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [Static] [Export ("uniformWithName:matrixFloat4x4:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] SKUniform Create (string name, Matrix4 value); #endif // !NET - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("uniformWithName:matrixFloat4x4:")] @@ -2394,8 +2166,6 @@ MatrixFloat4x4 MatrixFloat4x4Value { delegate void SKActionDurationHandler (SKNode node, nfloat elapsedTime); - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // To create an action, call the class method for the action you are interested in. @@ -2468,9 +2238,6 @@ partial interface SKAction : NSSecureCoding, NSCopying { [Static, Export ("scaleYTo:duration:")] SKAction ScaleYTo (nfloat scale, double sec); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("scaleToSize:duration:")] @@ -2500,12 +2267,10 @@ partial interface SKAction : NSSecureCoding, NSCopying { [Static, Export ("fadeAlphaTo:duration:")] SKAction FadeAlphaTo (nfloat alpha, double sec); - [iOS (7, 1), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("setTexture:")] SKAction SetTexture (SKTexture texture); - [iOS (7, 1), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [Static, Export ("setTexture:resize:")] SKAction SetTexture (SKTexture texture, bool resize); @@ -2531,12 +2296,10 @@ partial interface SKAction : NSSecureCoding, NSCopying { [Static, Export ("followPath:asOffset:orientToPath:duration:")] SKAction FollowPath (CGPath path, bool offset, bool orient, double sec); - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [Static, Export ("followPath:speed:")] SKAction FollowPath (CGPath path, nfloat speed); - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [Static, Export ("followPath:asOffset:orientToPath:speed:")] SKAction FollowPath (CGPath path, bool offset, bool orient, nfloat speed); @@ -2574,237 +2337,176 @@ partial interface SKAction : NSSecureCoding, NSCopying { // // iOS 8 cluster (a few more are above, as part of their family // - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("hide")] SKAction Hide (); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("unhide")] SKAction Unhide (); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("reachTo:rootNode:duration:")] SKAction ReachTo (CGPoint position, SKNode rootNode, double secs); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("reachTo:rootNode:velocity:")] SKAction ReachTo (CGPoint position, SKNode rootNode, nfloat velocity); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("reachToNode:rootNode:duration:")] SKAction ReachToNode (SKNode node, SKNode rootNode, double sec); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("reachToNode:rootNode:velocity:")] SKAction ReachToNode (SKNode node, SKNode rootNode, nfloat velocity); - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [Static, Export ("strengthTo:duration:")] SKAction StrengthTo (float /* float, not CGFloat */ strength, double sec); - [iOS (8, 0), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk. [MacCatalyst (13, 1)] [Static, Export ("strengthBy:duration:")] SKAction StrengthBy (float /* float, not CGFloat */ strength, double sec); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [NullAllowed, Export ("timingFunction", ArgumentSemantic.Assign)] SKActionTimingFunction2 TimingFunction2 { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("falloffBy:duration:")] SKAction FalloffBy (float /* float, not CGFloat */ to, double duration); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static] [Export ("falloffTo:duration:")] SKAction FalloffTo (float falloff, double sec); // iOS 9 cluster - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("actionNamed:")] [return: NullAllowed] SKAction Create (string name); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("actionNamed:duration:")] [return: NullAllowed] SKAction Create (string name, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("actionNamed:fromURL:")] [return: NullAllowed] SKAction Create (string name, NSUrl url); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("actionNamed:fromURL:duration:")] [return: NullAllowed] SKAction Create (string name, NSUrl url, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("setNormalTexture:")] SKAction SetNormalTexture (SKTexture texture); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("setNormalTexture:resize:")] SKAction SetNormalTexture (SKTexture texture, bool resize); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("animateWithNormalTextures:timePerFrame:")] SKAction AnimateWithNormalTextures (SKTexture [] textures, double secondsPerFrame); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("animateWithNormalTextures:timePerFrame:resize:restore:")] SKAction AnimateWithNormalTextures (SKTexture [] textures, double secondsPerFrame, bool resize, bool restore); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("play")] SKAction CreatePlay (); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("pause")] SKAction CreatePause (); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("stop")] SKAction CreateStop (); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changePlaybackRateTo:duration:")] SKAction CreateChangePlaybackRate (float playbackRate, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changePlaybackRateBy:duration:")] SKAction CreateChangePlaybackRateBy (float playbackRate, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeVolumeTo:duration:")] SKAction CreateChangeVolume (float newVolume, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeVolumeBy:duration:")] SKAction CreateChangeVolumeBy (float by, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeChargeTo:duration:")] SKAction CreateChangeChargeTo (float newCharge, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeChargeBy:duration:")] SKAction CreateChangeChargeBy (float by, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeMassTo:duration:")] SKAction CreateChangeMassTo (float newMass, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeMassBy:duration:")] SKAction CreateChangeMassBy (float by, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("applyForce:duration:")] SKAction CreateApplyForce (CGVector force, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("applyForce:atPoint:duration:")] SKAction CreateApplyForce (CGVector force, CGPoint point, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("applyTorque:duration:")] SKAction CreateApplyTorque (nfloat torque, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("applyImpulse:duration:")] SKAction CreateApplyImpulse (CGVector impulse, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("applyImpulse:atPoint:duration:")] SKAction CreateApplyImpulse (CGVector impulse, CGPoint point, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("applyAngularImpulse:duration:")] @@ -2812,57 +2514,41 @@ partial interface SKAction : NSSecureCoding, NSCopying { // SKAction_SKAudioNode inlined - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("stereoPanTo:duration:")] SKAction CreateStereoPanTo (float target, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("stereoPanBy:duration:")] SKAction CreateStereoPanBy (float by, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeReverbTo:duration:")] SKAction CreateChangeReverbTo (float target, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeReverbBy:duration:")] SKAction CreateChangeReverbBy (float by, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeObstructionTo:duration:")] SKAction CreateChangeObstructionTo (float target, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeObstructionBy:duration:")] SKAction CreateChangeObstructionBy (float by, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeOcclusionTo:duration:")] SKAction CreateChangeOcclusionTo (float target, double duration); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("changeOcclusionBy:duration:")] @@ -2870,27 +2556,18 @@ partial interface SKAction : NSSecureCoding, NSCopying { // SKAction_SKWarpable - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("warpTo:duration:")] [return: NullAllowed] SKAction WarpTo (SKWarpGeometry warp, double duration); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("animateWithWarps:times:")] [return: NullAllowed] SKAction Animate (SKWarpGeometry [] warps, NSNumber [] times); - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("animateWithWarps:times:restore:")] @@ -2898,14 +2575,11 @@ partial interface SKAction : NSSecureCoding, NSCopying { SKAction Animate (SKWarpGeometry [] warps, NSNumber [] times, bool restore); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // see https://bugzilla.xamarin.com/show_bug.cgi?id=14502 [BaseType (typeof (NSObject))] partial interface SKPhysicsBody : NSSecureCoding, NSCopying { - [iOS (7, 1), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk.] [MacCatalyst (13, 1)] [Static, Export ("bodyWithBodies:")] SKPhysicsBody FromBodies (SKPhysicsBody [] bodies); @@ -2913,7 +2587,6 @@ partial interface SKPhysicsBody : NSSecureCoding, NSCopying { [Static, Export ("bodyWithCircleOfRadius:")] SKPhysicsBody CreateCircularBody (nfloat radius); - [iOS (7, 1), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk.] [MacCatalyst (13, 1)] [Static, Export ("bodyWithCircleOfRadius:center:")] SKPhysicsBody CreateCircularBody (nfloat radius, CGPoint center); @@ -2921,7 +2594,6 @@ partial interface SKPhysicsBody : NSSecureCoding, NSCopying { [Static, Export ("bodyWithRectangleOfSize:")] SKPhysicsBody CreateRectangularBody (CGSize size); - [iOS (7, 1), Mac (10, 10)] // this method is missing the NS_AVAILABLE macro, but it shows up in the 10.10 sdk, but not the 10.9 sdk.] [MacCatalyst (13, 1)] [Static, Export ("bodyWithRectangleOfSize:center:")] SKPhysicsBody CreateRectangularBody (CGSize size, CGPoint center); @@ -3023,34 +2695,27 @@ partial interface SKPhysicsBody : NSSecureCoding, NSCopying { // // iOS 8 // - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("bodyWithTexture:size:")] SKPhysicsBody Create (SKTexture texture, CGSize size); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("bodyWithTexture:alphaThreshold:size:")] SKPhysicsBody Create (SKTexture texture, float /* float, not CGFloat */ alphaThreshold, CGSize size); - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("charge")] nfloat Charge { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("fieldBitMask")] uint FieldBitMask { get; set; } /* uint32_t */ - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("pinned")] bool Pinned { get; set; } } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // An SKPhysicsContact object is created automatically by Scene Kit @@ -3068,15 +2733,12 @@ partial interface SKPhysicsContact { [Export ("collisionImpulse")] nfloat CollisionImpulse { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("contactNormal")] CGVector ContactNormal { get; } } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -3093,8 +2755,6 @@ partial interface SKPhysicsContactDelegate { delegate void SKPhysicsWorldBodiesEnumeratorHandler (SKPhysicsBody body, out bool stop); delegate void SKPhysicsWorldBodiesAlongRayStartEnumeratorHandler (SKPhysicsBody body, CGPoint point, CGVector normal, out bool stop); - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Delegates = new string [] { "WeakContactDelegate" }, @@ -3148,15 +2808,12 @@ partial interface SKPhysicsWorld : NSSecureCoding { // // iOS 8 // - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("sampleFieldsAt:")] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] Vector3 SampleFields (/* vector_float3 */ Vector3 position); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] // You never instantiate objects of this class directly @@ -3168,19 +2825,15 @@ partial interface SKPhysicsJoint : NSSecureCoding { [Export ("bodyB", ArgumentSemantic.Retain)] SKPhysicsBody BodyB { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("reactionForce")] CGVector ReactionForce { get; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("reactionTorque")] nfloat ReactionTorque { get; } } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKPhysicsJoint))] [DisableDefaultCtor] // impossible to set the `anchor` using the default ctor (see #14511) @@ -3201,14 +2854,11 @@ partial interface SKPhysicsJointPin { [Export ("frictionTorque")] nfloat FrictionTorque { get; set; } - [iOS (8, 0), Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("rotationSpeed")] nfloat RotationSpeed { get; set; } } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKPhysicsJoint))] [DisableDefaultCtor] // impossible to set the `anchorA` and `anchorB` using the default ctor (see #14511) @@ -3224,8 +2874,6 @@ partial interface SKPhysicsJointSpring { nfloat Frequency { get; set; } } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKPhysicsJoint))] [DisableDefaultCtor] // https://bugzilla.xamarin.com/show_bug.cgi?id=14511 @@ -3235,8 +2883,6 @@ partial interface SKPhysicsJointFixed { SKPhysicsJointFixed Create (SKPhysicsBody bodyA, SKPhysicsBody bodyB, CGPoint anchor); } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKPhysicsJoint))] [DisableDefaultCtor] // impossible to set the `anchor` and `axis` using the default ctor (see #14511) @@ -3255,8 +2901,6 @@ partial interface SKPhysicsJointSliding { nfloat UpperDistanceLimit { get; set; } } - [Watch (3, 0)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKPhysicsJoint))] [DisableDefaultCtor] // impossible to set the `anchorA` and `anchorB` using the default ctor (see #14511) @@ -3269,9 +2913,6 @@ partial interface SKPhysicsJointLimit { SKPhysicsJointLimit Create (SKPhysicsBody bodyA, SKPhysicsBody bodyB, CGPoint anchorA, CGPoint anchorB); } - [Watch (3, 0)] - [Mac (10, 10)] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKRange : NSSecureCoding, NSCopying { @@ -3304,9 +2945,6 @@ interface SKRange : NSSecureCoding, NSCopying { SKRange CreateUnlimited (); } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] [DisableDefaultCtor] @@ -3331,9 +2969,6 @@ interface SKAudioNode : NSSecureCoding { bool Positional { [Bind ("isPositional")] get; set; } } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] interface SKCameraNode { @@ -3344,9 +2979,6 @@ interface SKCameraNode { NSSet ContainedNodeSet { get; } } - [Watch (3, 0)] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] [DisableDefaultCtor] @@ -3374,8 +3006,6 @@ interface SKReferenceNode { void Resolve (); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3395,8 +3025,6 @@ interface SKAttribute : NSSecureCoding { SKAttributeType Type { get; } } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // DesignatedInitializer below @@ -3452,10 +3080,6 @@ Vector4 VectorFloat4Value { } } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3526,10 +3150,6 @@ interface SKTileDefinition : NSCopying, NSSecureCoding { bool FlipHorizontally { get; set; } } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] interface SKTileMapNode : NSCopying, NSSecureCoding { @@ -3636,10 +3256,6 @@ interface SKTileMapNode : NSCopying, NSSecureCoding { void SetValue (SKAttributeValue value, string key); } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKTileSet : NSCopying, NSSecureCoding { @@ -3683,10 +3299,6 @@ interface SKTileSet : NSCopying, NSSecureCoding { CGSize DefaultTileSize { get; set; } } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKTileGroup : NSCopying, NSSecureCoding { @@ -3715,10 +3327,6 @@ interface SKTileGroup : NSCopying, NSSecureCoding { string Name { get; set; } } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKTileGroupRule : NSCopying, NSSecureCoding { @@ -3739,18 +3347,10 @@ interface SKTileGroupRule : NSCopying, NSSecureCoding { string Name { get; set; } } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKWarpGeometry : NSCopying, NSSecureCoding { } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [Protocol] interface SKWarpable { @@ -3763,10 +3363,6 @@ interface SKWarpable { nint SubdivisionLevels { get; set; } } - [Watch (3, 0)] - [iOS (10, 0)] - [Mac (10, 12)] - [TV (10, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SKWarpGeometry))] [DisableDefaultCtor] @@ -3817,7 +3413,6 @@ interface SKWarpGeometryGrid : NSSecureCoding { // SKRenderer is not available for WatchKit apps and the iOS simulator [NoWatch] - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -3860,7 +3455,6 @@ interface SKRenderer { bool ShowsFields { get; set; } } - [TV (11, 0), Watch (4, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (SKNode))] interface SKTransformNode { diff --git a/src/storekit.cs b/src/storekit.cs index 96d19e1e1c11..61e4e7f8987b 100644 --- a/src/storekit.cs +++ b/src/storekit.cs @@ -95,7 +95,7 @@ partial interface SKDownload { long ContentLength { get; } #endif - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("expectedContentLength")] long ExpectedContentLength { get; } @@ -123,7 +123,7 @@ partial interface SKDownload { [NoWatch] [NoTV] [NoiOS] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [return: NullAllowed] [Export ("contentURLForProductID:")] [Static] @@ -132,17 +132,15 @@ partial interface SKDownload { [NoWatch] [NoTV] [NoiOS] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("deleteContentForProductID:")] [Static] void DeleteContentForProduct (string productId); - [Mac (10, 14)] [MacCatalyst (13, 1)] [Field ("SKDownloadTimeRemainingUnknown")] double TimeRemainingUnknown { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("transaction")] SKPaymentTransaction Transaction { get; } @@ -179,20 +177,17 @@ partial interface SKPayment : NSMutableCopying { [Export ("quantity")] nint Quantity { get; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("applicationUsername", ArgumentSemantic.Copy)] string ApplicationUsername { get; } - [iOS (8, 3), Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("simulatesAskToBuyInSandbox")] bool SimulatesAskToBuyInSandbox { get; [NotImplemented ("Not available on SKPayment, only available on SKMutablePayment")] set; } [iOS (12, 2)] [TV (12, 2)] - [Mac (10, 14, 4)] [MacCatalyst (13, 1)] [NullAllowed, Export ("paymentDiscount", ArgumentSemantic.Copy)] SKPaymentDiscount PaymentDiscount { get; [NotImplemented ("Not available on SKPayment, only available on SKMutablePayment")] set; } @@ -230,21 +225,18 @@ interface SKMutablePayment { [Override] NSData RequestData { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("applicationUsername", ArgumentSemantic.Copy)] [New] string ApplicationUsername { get; set; } - [iOS (8, 3), Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("simulatesAskToBuyInSandbox")] bool SimulatesAskToBuyInSandbox { get; set; } [iOS (12, 2)] [TV (12, 2)] - [Mac (10, 14, 4)] [MacCatalyst (13, 1)] [NullAllowed, Export ("paymentDiscount", ArgumentSemantic.Copy)] SKPaymentDiscount PaymentDiscount { get; set; } @@ -268,7 +260,6 @@ interface SKPaymentQueue { [Export ("restoreCompletedTransactions")] void RestoreCompletedTransactions (); - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("restoreCompletedTransactionsWithApplicationUsername:")] void RestoreCompletedTransactions ([NullAllowed] string username); @@ -320,19 +311,19 @@ interface SKPaymentQueue { [Export ("cancelDownloads:")] void CancelDownloads (SKDownload [] downloads); - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Wrap ("WeakDelegate")] [NullAllowed] ISKPaymentQueueDelegate Delegate { get; set; } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] NSObject WeakDelegate { get; set; } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("storefront")] @@ -387,7 +378,6 @@ bool Downloadable { } #endif - [Mac (10, 15)] [MacCatalyst (13, 1)] [Export ("isDownloadable")] bool IsDownloadable { get; } @@ -404,7 +394,6 @@ bool Downloadable { [Export ("contentLengths")] NSNumber [] ContentLengths { get; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("downloadContentLengths")] NSNumber [] DownloadContentLengths { get; } @@ -416,29 +405,27 @@ bool Downloadable { [Export ("contentVersion")] string ContentVersion { get; } - [Mac (10, 14)] [MacCatalyst (13, 1)] [Export ("downloadContentVersion")] string DownloadContentVersion { get; } - [iOS (11, 2), TV (11, 2), Mac (10, 13, 2)] + [iOS (11, 2), TV (11, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("subscriptionPeriod")] SKProductSubscriptionPeriod SubscriptionPeriod { get; } - [iOS (11, 2), TV (11, 2), Mac (10, 13, 2)] + [iOS (11, 2), TV (11, 2)] [MacCatalyst (13, 1)] [NullAllowed, Export ("introductoryPrice")] SKProductDiscount IntroductoryPrice { get; } - [iOS (12, 0), TV (12, 0), Mac (10, 14)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("subscriptionGroupIdentifier")] string SubscriptionGroupIdentifier { get; } [iOS (12, 2)] [TV (12, 2)] - [Mac (10, 14, 4)] [MacCatalyst (13, 1)] [Export ("discounts")] SKProductDiscount [] Discounts { get; } @@ -479,15 +466,12 @@ interface SKPaymentTransactionObserver { [Export ("paymentQueue:updatedDownloads:")] void UpdatedDownloads (SKPaymentQueue queue, SKDownload [] downloads); - [iOS (11, 0)] - [TV (11, 0)] [Mac (11, 0)] [NoWatch] [MacCatalyst (13, 1)] [Export ("paymentQueue:shouldAddStorePayment:forProduct:")] bool ShouldAddStorePayment (SKPaymentQueue queue, SKPayment payment, SKProduct product); - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [MacCatalyst (13, 1)] @@ -578,7 +562,6 @@ interface SKRequestDelegate { } [Watch (6, 2)] - [Mac (10, 9)] [MacCatalyst (13, 1)] [BaseType (typeof (SKRequest))] interface SKReceiptRefreshRequest { @@ -597,7 +580,6 @@ interface SKReceiptRefreshRequest { SKReceiptProperties ReceiptProperties { get; } } - [Mac (10, 9)] [Watch (6, 2)] [MacCatalyst (13, 1)] [Static, Internal] @@ -711,13 +693,10 @@ interface SKStoreProductViewControllerDelegate { [StrongDictionary ("SKStoreProductParameterKey")] interface StoreProductParameters { - [iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Export ("ProductIdentifier")] string ProductIdentifier { get; set; } - [iOS (8, 3)] [MacCatalyst (13, 1)] [Export ("ProviderToken")] string ProviderToken { get; set; } @@ -766,29 +745,22 @@ interface SKStoreProductParameterKey { [Field ("SKStoreProductParameterITunesItemIdentifier")] NSString ITunesItemIdentifier { get; } - [iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("SKStoreProductParameterProductIdentifier")] NSString ProductIdentifier { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SKStoreProductParameterAffiliateToken")] NSString AffiliateToken { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("SKStoreProductParameterCampaignToken")] NSString CampaignToken { get; } - [iOS (8, 3)] [MacCatalyst (13, 1)] [Field ("SKStoreProductParameterProviderToken")] NSString ProviderToken { get; } - [iOS (9, 3)] - [TV (9, 2)] [MacCatalyst (13, 1)] [Field ("SKStoreProductParameterAdvertisingPartnerToken")] NSString AdvertisingPartnerToken { get; } @@ -837,7 +809,6 @@ interface SKStoreProductParameterKey { NSString CustomProductPageIdentifier { get; } } - [iOS (10, 1)] [NoMac] [NoWatch] [NoTV] // __TVOS_PROHIBITED @@ -860,7 +831,6 @@ interface SKCloudServiceSetupViewController { [MacCatalyst (13, 1)] interface ISKCloudServiceSetupViewControllerDelegate { } - [iOS (10, 1)] [NoMac] [NoWatch] [NoTV] // __TVOS_PROHIBITED on the only member + SKCloudServiceSetupViewController is not in tvOS @@ -873,7 +843,7 @@ interface SKCloudServiceSetupViewControllerDelegate { } [NoMac] - [NoWatch, NoTV, iOS (10, 1)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [StrongDictionary ("SKCloudServiceSetupOptionsKeys")] interface SKCloudServiceSetupOptions { @@ -887,21 +857,18 @@ interface SKCloudServiceSetupOptions { // Headers comment: Identifier of the iTunes Store item the user is trying to access which requires cloud service setup (NSNumber). nint ITunesItemIdentifier { get; set; } - [iOS (10, 3)] [MacCatalyst (13, 1)] string AffiliateToken { get; set; } - [iOS (10, 3)] [MacCatalyst (13, 1)] string CampaignToken { get; set; } - [iOS (11, 0)] [MacCatalyst (13, 1)] string MessageIdentifier { get; set; } } [NoMac] - [NoWatch, NoTV, iOS (10, 1)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Internal, Static] interface SKCloudServiceSetupOptionsKeys { @@ -911,24 +878,21 @@ interface SKCloudServiceSetupOptionsKeys { [Field ("SKCloudServiceSetupOptionsITunesItemIdentifierKey")] NSString ITunesItemIdentifierKey { get; } - [iOS (10, 3)] [MacCatalyst (13, 1)] [Field ("SKCloudServiceSetupOptionsAffiliateTokenKey")] NSString AffiliateTokenKey { get; } - [iOS (10, 3)] [MacCatalyst (13, 1)] [Field ("SKCloudServiceSetupOptionsCampaignTokenKey")] NSString CampaignTokenKey { get; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("SKCloudServiceSetupOptionsMessageIdentifierKey")] NSString MessageIdentifierKey { get; } } [NoMac] - [NoWatch, NoTV, iOS (10, 1)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] enum SKCloudServiceSetupAction { [Field ("SKCloudServiceSetupActionSubscribe")] @@ -936,7 +900,7 @@ enum SKCloudServiceSetupAction { } [NoMac] - [NoWatch, iOS (11, 0), TV (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] enum SKCloudServiceSetupMessageIdentifier { [Field ("SKCloudServiceSetupMessageIdentifierJoin")] @@ -949,7 +913,7 @@ enum SKCloudServiceSetupMessageIdentifier { PlayMusic, } - [Mac (11, 0), Watch (7, 0), iOS (9, 3), TV (9, 2)] + [Mac (11, 0), Watch (7, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] #if XAMCORE_3_0 // Avoid breaking change in iOS @@ -969,8 +933,6 @@ interface SKCloudServiceController { [Export ("requestStorefrontIdentifierWithCompletionHandler:")] void RequestStorefrontIdentifier (Action completionHandler); - [iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Async] [Export ("requestStorefrontCountryCodeWithCompletionHandler:")] @@ -980,7 +942,6 @@ interface SKCloudServiceController { [Export ("requestCapabilitiesWithCompletionHandler:")] void RequestCapabilities (Action completionHandler); - [iOS (10, 3), TV (10, 2)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'RequestUserToken' instead.")] [Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'RequestUserToken' instead.")] [MacCatalyst (13, 1)] @@ -989,8 +950,6 @@ interface SKCloudServiceController { [Export ("requestPersonalizationTokenForClientToken:withCompletionHandler:")] void RequestPersonalizationToken (string clientToken, Action completionHandler); - [iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Async] [Export ("requestUserTokenForDeveloperToken:completionHandler:")] @@ -1004,8 +963,6 @@ interface SKCloudServiceController { [Field ("SKCloudServiceCapabilitiesDidChangeNotification")] NSString CloudServiceCapabilitiesDidChangeNotification { get; } - [iOS (11, 0)] - [TV (11, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("SKStorefrontCountryCodeDidChangeNotification")] @@ -1014,7 +971,7 @@ interface SKCloudServiceController { [Introduced (PlatformName.MacCatalyst, 14, 0)] - [NoWatch, iOS (11, 0), TV (11, 0), Mac (11, 0)] + [NoWatch, Mac (11, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // static Default property is the only documented way to get the controller interface SKProductStorePromotionController { @@ -1039,7 +996,6 @@ interface SKProductStorePromotionController { void Update (SKProduct [] storePromotionOrder, [NullAllowed] Action completionHandler); } - [iOS (10, 3), Mac (10, 14)] [NoTV] [NoWatch] [MacCatalyst (13, 1)] @@ -1060,7 +1016,7 @@ interface SKStoreReviewController { void RequestReview (UIWindowScene windowScene); } - [Watch (6, 2), iOS (11, 2), TV (11, 2), Mac (10, 13, 2)] + [Watch (6, 2), iOS (11, 2), TV (11, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKProductSubscriptionPeriod { @@ -1072,7 +1028,7 @@ interface SKProductSubscriptionPeriod { SKProductPeriodUnit Unit { get; } } - [Watch (6, 2), iOS (11, 2), TV (11, 2), Mac (10, 13, 2)] + [Watch (6, 2), iOS (11, 2), TV (11, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface SKProductDiscount { @@ -1085,7 +1041,6 @@ interface SKProductDiscount { [iOS (12, 2)] [TV (12, 2)] - [Mac (10, 14, 4)] [MacCatalyst (13, 1)] [NullAllowed, Export ("identifier")] string Identifier { get; } @@ -1101,7 +1056,6 @@ interface SKProductDiscount { [iOS (12, 2)] [TV (12, 2)] - [Mac (10, 14, 4)] [MacCatalyst (13, 1)] [Export ("type")] SKProductDiscountType Type { get; } @@ -1164,7 +1118,6 @@ interface SKAdNetwork { [iOS (12, 2)] [TV (12, 2)] - [Mac (10, 14, 4)] [Watch (6, 2)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -1192,7 +1145,6 @@ interface SKPaymentDiscount { [Watch (6, 2)] [iOS (12, 2)] [TV (12, 2)] - [Mac (10, 14, 4)] [MacCatalyst (13, 1)] [Native] public enum SKProductDiscountType : long { @@ -1200,7 +1152,6 @@ public enum SKProductDiscountType : long { Subscription, } - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [Watch (6, 2)] @@ -1218,7 +1169,7 @@ interface SKStorefront { interface ISKPaymentQueueDelegate { } - [Watch (6, 2), Mac (10, 15), iOS (13, 0)] + [Watch (6, 2), iOS (13, 0)] [MacCatalyst (13, 1)] #if NET [Protocol, Model] @@ -1244,18 +1195,15 @@ interface SKPaymentQueueDelegate { [NoWatch] [NoiOS] [NoTV] - [Mac (10, 15)] [NoMacCatalyst] delegate void SKArcadeServiceRegisterHandler (NSData randomFromFP, uint /* uint32_t */ randomFromFPLength, NSData cmacOfAppPid, uint /* uint32_t */ cmacOfAppPidLength, NSError error); [NoWatch] [NoiOS] [NoTV] - [Mac (10, 15)] [NoMacCatalyst] delegate void SKArcadeServiceSubscriptionHandler (NSData subscriptionStatus, uint /* uint32_t */ subscriptionStatusLength, NSData cmacOfNonce, uint /* uint32_t */ cmacOfNonceLength, NSError error); - [Mac (10, 15)] [iOS (13, 0)] [TV (13, 0)] [NoWatch] diff --git a/src/tvmlkit.cs b/src/tvmlkit.cs index 421a6421fde5..39b9945bf17b 100644 --- a/src/tvmlkit.cs +++ b/src/tvmlkit.cs @@ -29,9 +29,7 @@ public enum TVElementAlignment : long { Left, Center, Right, - [TV (11, 0)] Leading, - [TV (11, 0)] Trailing, } @@ -57,17 +55,11 @@ public enum TVElementPosition : long { BottomRight, Header, Footer, - [TV (11, 0)] Leading, - [TV (11, 0)] Trailing, - [TV (11, 0)] TopLeading, - [TV (11, 0)] TopTrailing, - [TV (11, 0)] BottomLeading, - [TV (11, 0)] BottomTrailing, } @@ -85,14 +77,12 @@ public enum TVElementUpdateType : long { None, Subtree, #if NET - [TV (10,0)] Styles, Children, Self, #else Children, Self, - [TV (10, 0)] Styles, #endif } @@ -723,7 +713,6 @@ interface TVViewElementStyle : NSCopying { [Export ("margin")] UIEdgeInsets Margin { get; } - [TV (10, 0)] [Export ("focusMargin")] UIEdgeInsets FocusMargin { get; } @@ -862,12 +851,10 @@ interface TVInterfaceCreating { [return: NullAllowed] NSUrl GetUrlForResource (string resourceName); - [TV (9, 2)] [Export ("imageForResource:")] [return: NullAllowed] UIImage GetImageForResource (string resourceName); - [TV (10, 0)] [Export ("collectionViewCellClassForElement:")] [return: NullAllowed] Class GetCollectionViewCellClass (TVViewElement element); diff --git a/src/tvservices.cs b/src/tvservices.cs index 46c4791e0352..39facc15825b 100644 --- a/src/tvservices.cs +++ b/src/tvservices.cs @@ -78,12 +78,10 @@ interface TVContentItem : NSCopying, NSSecureCoding { [DesignatedInitializer] NativeHandle Constructor (TVContentIdentifier ident); - [TV (11, 0)] [Export ("imageURLForTraits:")] [return: NullAllowed] NSUrl GetImageUrl (TVContentItemImageTrait traits); - [TV (11, 0)] [Export ("setImageURL:forTraits:")] void SetImageUrl ([NullAllowed] NSUrl aUrl, TVContentItemImageTrait traits); } diff --git a/src/uikit.cs b/src/uikit.cs index acfaeccbcec0..a11108cd73c6 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -134,7 +134,6 @@ namespace UIKit { [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -154,13 +153,11 @@ public enum UIFocusHeading : ulong { [Native] // NSInteger -> UIApplication.h [NoWatch] - [TV (11, 0)] [MacCatalyst (13, 1)] public enum UIBackgroundRefreshStatus : long { Restricted, Denied, Available } - [TV (10, 0)] [NoWatch] [MacCatalyst (13, 1)] [Native] // NSUInteger -> UIApplication.h @@ -170,7 +167,6 @@ public enum UIBackgroundFetchResult : ulong { [NoTV] [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Native] public enum UIApplicationShortcutIconType : long { @@ -206,7 +202,7 @@ public enum UIApplicationShortcutIconType : long { Update } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UIImpactFeedbackStyle : long { @@ -221,7 +217,7 @@ public enum UIImpactFeedbackStyle : long { Rigid, } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UINotificationFeedbackType : long { @@ -314,7 +310,7 @@ interface NSAttributedStringAttachmentConveniences { } #endif - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [DisableDefaultCtor] [Abstract] // abstract class that should not be used directly @@ -325,7 +321,7 @@ interface UIFeedbackGenerator { void Prepare (); } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (UIFeedbackGenerator))] @@ -343,7 +339,7 @@ interface UIImpactFeedbackGenerator { void ImpactOccurred (nfloat intensity); } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (UIFeedbackGenerator))] interface UINotificationFeedbackGenerator { @@ -352,7 +348,7 @@ interface UINotificationFeedbackGenerator { void NotificationOccurred (UINotificationFeedbackType notificationType); } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (UIFeedbackGenerator))] interface UISelectionFeedbackGenerator { @@ -431,7 +427,7 @@ interface UISheetPresentationController { interface IUICloudSharingControllerDelegate { } - [iOS (10, 0), NoTV, NoWatch] + [NoTV, NoWatch] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -460,15 +456,15 @@ interface UICloudSharingControllerDelegate { void DidStopSharing (UICloudSharingController csc); } - [iOS (10, 0), NoTV, NoWatch] + [NoTV, NoWatch] [MacCatalyst (13, 1)] delegate void UICloudSharingControllerPreparationHandler (UICloudSharingController controller, [BlockCallback] UICloudSharingControllerPreparationCompletionHandler completion); - [iOS (10, 0), NoTV, NoWatch] + [NoTV, NoWatch] [MacCatalyst (13, 1)] delegate void UICloudSharingControllerPreparationCompletionHandler ([NullAllowed] CKShare share, [NullAllowed] CKContainer container, [NullAllowed] NSError error); - [iOS (10, 0), NoTV, NoWatch] + [NoTV, NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] interface UICloudSharingController { @@ -501,7 +497,6 @@ interface UICloudSharingController { [Category] [BaseType (typeof (NSAttributedString))] interface NSAttributedString_NSAttributedStringKitAdditions { - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("containsAttachmentsInRange:")] bool ContainsAttachments (NSRange range); @@ -530,7 +525,6 @@ interface NSCoder_UIGeometryKeyedCoding { [Export ("encodeCGPoint:forKey:")] void Encode (CGPoint point, string forKey); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("encodeCGVector:forKey:")] void Encode (CGVector vector, string forKey); @@ -547,7 +541,6 @@ interface NSCoder_UIGeometryKeyedCoding { [Export ("encodeUIEdgeInsets:forKey:")] void Encode (UIEdgeInsets edgeInsets, string forKey); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("encodeDirectionalEdgeInsets:forKey:")] void Encode (NSDirectionalEdgeInsets directionalEdgeInsets, string forKey); @@ -558,7 +551,6 @@ interface NSCoder_UIGeometryKeyedCoding { [Export ("decodeCGPointForKey:")] CGPoint DecodeCGPoint (string key); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("decodeCGVectorForKey:")] CGVector DecodeCGVector (string key); @@ -575,7 +567,6 @@ interface NSCoder_UIGeometryKeyedCoding { [Export ("decodeUIEdgeInsetsForKey:")] UIEdgeInsets DecodeUIEdgeInsets (string key); - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("decodeDirectionalEdgeInsetsForKey:")] NSDirectionalEdgeInsets DecodeDirectionalEdgeInsets (string key); @@ -646,7 +637,6 @@ interface UIAccessibility { string AccessibilityLabel { get; set; } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("accessibilityAttributedLabel", ArgumentSemantic.Copy)] NSAttributedString AccessibilityAttributedLabel { get; set; } @@ -656,7 +646,6 @@ interface UIAccessibility { string AccessibilityHint { get; set; } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("accessibilityAttributedHint", ArgumentSemantic.Copy)] NSAttributedString AccessibilityAttributedHint { get; set; } @@ -666,7 +655,6 @@ interface UIAccessibility { string AccessibilityValue { get; set; } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("accessibilityAttributedValue", ArgumentSemantic.Copy)] NSAttributedString AccessibilityAttributedValue { get; set; } @@ -693,7 +681,6 @@ interface UIAccessibility { [Export ("shouldGroupAccessibilityChildren")] bool ShouldGroupAccessibilityChildren { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("accessibilityNavigationStyle")] UIAccessibilityNavigationStyle AccessibilityNavigationStyle { get; set; } @@ -769,7 +756,6 @@ interface UIAccessibility { [Field ("UIAccessibilityTraitCausesPageTurn")] long TraitCausesPageTurn { get; } - [iOS (10, 0), TV (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Field ("UIAccessibilityTraitTabBar")] long TraitTabBar { get; } @@ -785,7 +771,6 @@ interface UIAccessibility { [Field ("UIAccessibilityVoiceOverStatusChanged")] NSString VoiceOverStatusChanged { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("UIAccessibilityVoiceOverStatusDidChangeNotification")] [Notification] @@ -837,7 +822,6 @@ interface UIAccessibility { NSString SpeechAttributePitch { get; } #if !WATCH - [iOS (8, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityBoldTextStatusDidChangeNotification")] @@ -849,19 +833,16 @@ interface UIAccessibility { [Field ("UIAccessibilityButtonShapesEnabledStatusDidChangeNotification")] NSString ButtonShapesEnabledStatusDidChangeNotification { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityDarkerSystemColorsStatusDidChangeNotification")] NSString DarkerSystemColorsStatusDidChangeNotification { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityGrayscaleStatusDidChangeNotification")] NSString GrayscaleStatusDidChangeNotification { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityReduceMotionStatusDidChangeNotification")] @@ -879,20 +860,17 @@ interface UIAccessibility { [Field ("UIAccessibilityVideoAutoplayStatusDidChangeNotification")] NSString VideoAutoplayStatusDidChangeNotification { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityReduceTransparencyStatusDidChangeNotification")] NSString ReduceTransparencyStatusDidChangeNotification { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilitySwitchControlStatusDidChangeNotification")] NSString SwitchControlStatusDidChangeNotification { get; } #endif - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("UIAccessibilityNotificationSwitchControlIdentifier")] NSString NotificationSwitchControlIdentifier { get; } @@ -900,7 +878,6 @@ interface UIAccessibility { // Chose int because this should be UIAccessibilityNotifications type // just like UIAccessibilityAnnouncementNotification field - [iOS (8, 0)] [MacCatalyst (13, 1)] //[Notification] // int ScreenChangedNotification doesn't use this attr either [Field ("UIAccessibilityPauseAssistiveTechnologyNotification")] @@ -908,26 +885,22 @@ interface UIAccessibility { // Chose int because this should be UIAccessibilityNotifications type // just like UIAccessibilityAnnouncementNotification field - [iOS (8, 0)] [MacCatalyst (13, 1)] //[Notification] // int ScreenChangedNotification doesn't use this attr either [Field ("UIAccessibilityResumeAssistiveTechnologyNotification")] int ResumeAssistiveTechnologyNotification { get; } // UIAccessibilityNotifications => uint32_t #if !WATCH - [iOS (8, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilitySpeakScreenStatusDidChangeNotification")] NSString SpeakScreenStatusDidChangeNotification { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilitySpeakSelectionStatusDidChangeNotification")] NSString SpeakSelectionStatusDidChangeNotification { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityShakeToUndoDidChangeNotification")] @@ -941,44 +914,37 @@ interface UIAccessibility { [NullAllowed, Export ("accessibilityHeaderElements", ArgumentSemantic.Copy)] NSObject [] AccessibilityHeaderElements { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityElementFocusedNotification")] NSString ElementFocusedNotification { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityFocusedElementKey")] NSString FocusedElementKey { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityUnfocusedElementKey")] NSString UnfocusedElementKey { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityAssistiveTechnologyKey")] NSString AssistiveTechnologyKey { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("UIAccessibilityNotificationVoiceOverIdentifier")] NSString NotificationVoiceOverIdentifier { get; } #if !WATCH [NoTV] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityHearingDevicePairedEarDidChangeNotification")] NSString HearingDevicePairedEarDidChangeNotification { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIAccessibilityAssistiveTouchStatusDidChangeNotification")] @@ -997,22 +963,18 @@ interface UIAccessibility { NSString OnOffSwitchLabelsDidChangeNotification { get; } #endif - [iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("UIAccessibilitySpeechAttributeQueueAnnouncement")] NSString SpeechAttributeQueueAnnouncement { get; } - [iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("UIAccessibilitySpeechAttributeIPANotation")] NSString SpeechAttributeIpaNotation { get; } - [iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("UIAccessibilityTextAttributeHeadingLevel")] NSString TextAttributeHeadingLevel { get; } - [iOS (11, 0), TV (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Field ("UIAccessibilityTextAttributeCustom")] NSString TextAttributeCustom { get; } @@ -1050,16 +1012,13 @@ interface UIAccessibilityContainer { nint GetIndexOfAccessibilityElement (NSObject element); [Export ("accessibilityElements")] - [iOS (8, 0)] [MacCatalyst (13, 1)] NSObject GetAccessibilityElements (); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("setAccessibilityElements:")] void SetAccessibilityElements ([NullAllowed] NSObject elements); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("accessibilityContainerType", ArgumentSemantic.Assign)] UIAccessibilityContainerType AccessibilityContainerType { get; set; } @@ -1067,7 +1026,7 @@ interface UIAccessibilityContainer { interface IUIAccessibilityContainerDataTableCell { } - [iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UIAccessibilityContainerDataTableCell { @@ -1080,7 +1039,7 @@ interface UIAccessibilityContainerDataTableCell { NSRange GetAccessibilityColumnRange (); } - [iOS (11, 0), TV (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -1111,7 +1070,7 @@ interface UIAccessibilityContainerDataTable { [MacCatalyst (13, 1)] delegate bool UIAccessibilityCustomActionHandler (UIAccessibilityCustomAction customAction); - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException Please use the designated initializer @@ -1119,7 +1078,6 @@ partial interface UIAccessibilityCustomAction { [Export ("initWithName:target:selector:")] NativeHandle Constructor (string name, NSObject target, Selector selector); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithAttributedName:target:selector:")] NativeHandle Constructor (NSAttributedString attributedName, [NullAllowed] NSObject target, Selector selector); @@ -1158,7 +1116,6 @@ partial interface UIAccessibilityCustomAction { [Export ("name")] string Name { get; set; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("attributedName", ArgumentSemantic.Copy)] NSAttributedString AttributedName { get; set; } @@ -1184,7 +1141,7 @@ partial interface UIAccessibilityCustomAction { delegate UIAccessibilityCustomRotorItemResult UIAccessibilityCustomRotorSearch (UIAccessibilityCustomRotorSearchPredicate predicate); - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIAccessibilityCustomRotor { @@ -1192,12 +1149,10 @@ interface UIAccessibilityCustomRotor { [Export ("initWithName:itemSearchBlock:")] NativeHandle Constructor (string name, UIAccessibilityCustomRotorSearch itemSearchHandler); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithAttributedName:itemSearchBlock:")] NativeHandle Constructor (NSAttributedString attributedName, UIAccessibilityCustomRotorSearch itemSearchBlock); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("initWithSystemType:itemSearchBlock:")] NativeHandle Constructor (UIAccessibilityCustomSystemRotorType type, UIAccessibilityCustomRotorSearch itemSearchBlock); @@ -1205,7 +1160,6 @@ interface UIAccessibilityCustomRotor { [Export ("name")] string Name { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("attributedName", ArgumentSemantic.Copy)] NSAttributedString AttributedName { get; set; } @@ -1213,13 +1167,12 @@ interface UIAccessibilityCustomRotor { [Export ("itemSearchBlock", ArgumentSemantic.Copy)] UIAccessibilityCustomRotorSearch ItemSearchHandler { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("systemRotorType")] UIAccessibilityCustomSystemRotorType SystemRotorType { get; } } - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (NSObject))] @@ -1233,7 +1186,7 @@ interface NSObject_UIAccessibilityCustomRotor { void SetAccessibilityCustomRotors ([NullAllowed] UIAccessibilityCustomRotor [] customRotors); } - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIAccessibilityCustomRotorItemResult { @@ -1248,7 +1201,7 @@ interface UIAccessibilityCustomRotorItemResult { UITextRange TargetRange { get; set; } } - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIAccessibilityCustomRotorSearchPredicate { @@ -1294,7 +1247,6 @@ interface UIAccessibilityElement : UIAccessibilityIdentification { [Export ("accessibilityTraits", ArgumentSemantic.UnsafeUnretained)] ulong AccessibilityTraits { get; set; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("accessibilityFrameInContainerSpace", ArgumentSemantic.Assign)] CGRect AccessibilityFrameInContainerSpace { get; set; } @@ -1312,7 +1264,6 @@ interface UIAccessibilityFocus { [Export ("accessibilityElementIsFocused")] bool AccessibilityElementIsFocused (); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("accessibilityAssistiveTechnologyFocusedIdentifiers")] NSSet AccessibilityAssistiveTechnologyFocusedIdentifiers { get; } @@ -1337,14 +1288,12 @@ interface UIAccessibilityAction { [Export ("accessibilityPerformMagicTap")] bool AccessibilityPerformMagicTap (); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("accessibilityCustomActions"), NullAllowed] UIAccessibilityCustomAction [] AccessibilityCustomActions { get; set; } } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] // NSObject category inlined in UIResponder interface UIAccessibilityDragging { @@ -1356,7 +1305,6 @@ interface UIAccessibilityDragging { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1384,7 +1332,6 @@ interface UIAccessibilityLocationDescriptor { NSAttributedString AttributedName { get; } } - [TV (11, 0), iOS (11, 0)] [NoMac] [NoWatch] [MacCatalyst (13, 1)] @@ -1625,12 +1572,10 @@ interface UIActivityType { [Field ("UIActivityTypeAirDrop")] NSString AirDrop { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("UIActivityTypeOpenInIBooks")] NSString OpenInIBooks { get; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("UIActivityTypeMarkupAsPDF")] NSString MarkupAsPdf { get; } @@ -1736,7 +1681,6 @@ interface UIActivityViewController { [NullAllowed] NSString [] ExcludedActivityTypes { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("completionWithItemsHandler", ArgumentSemantic.Copy)] UIActivityViewControllerCompletion CompletionWithItemsHandler { get; set; } @@ -1753,7 +1697,7 @@ interface UIActivityViewController { NativeHandle Constructor (IUIActivityItemsConfigurationReading activityItemsConfiguration); } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface UIAlertAction : NSCopying, UIAccessibilityIdentification { @@ -1770,7 +1714,7 @@ partial interface UIAlertAction : NSCopying, UIAccessibilityIdentification { UIAlertAction Create (string title, UIAlertActionStyle style, [NullAllowed] Action handler); } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] partial interface UIAlertController @@ -1806,7 +1750,6 @@ partial interface UIAlertController [Export ("addTextFieldWithConfigurationHandler:")] void AddTextField (Action configurationHandler); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("preferredAction")] [NullAllowed] @@ -1938,7 +1881,7 @@ interface UIAlertViewDelegate { interface UIAppearance { } - [iOS (9, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIView))] interface UIStackView { @@ -1979,12 +1922,10 @@ interface UIStackView { [Export ("insertArrangedSubview:atIndex:")] void InsertArrangedSubview (UIView view, nuint stackIndex); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("setCustomSpacing:afterView:")] void SetCustomSpacing (nfloat spacing, UIView arrangedSubview); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("customSpacingAfterView:")] nfloat GetCustomSpacing (UIView arrangedSubview); @@ -2038,7 +1979,7 @@ interface UIObjectRestoration { interface IUIViewAnimating { } - [iOS (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UIViewAnimating { @@ -2080,7 +2021,7 @@ interface UIViewAnimating { } interface IUIViewImplicitlyAnimating { } - [iOS (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UIViewImplicitlyAnimating : UIViewAnimating { @@ -2097,7 +2038,7 @@ interface UIViewImplicitlyAnimating : UIViewAnimating { void ContinueAnimation ([NullAllowed] IUITimingCurveProvider parameters, nfloat durationFactor); } - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIViewPropertyAnimator : UIViewImplicitlyAnimating, NSCopying { @@ -2119,12 +2060,10 @@ interface UIViewPropertyAnimator : UIViewImplicitlyAnimating, NSCopying { [Export ("interruptible")] bool Interruptible { [Bind ("isInterruptible")] get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("scrubsLinearly")] bool ScrubsLinearly { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("pausesOnCompletion")] bool PausesOnCompletion { get; set; } @@ -2150,7 +2089,7 @@ interface UIViewPropertyAnimator : UIViewImplicitlyAnimating, NSCopying { interface IUIViewControllerPreviewing { } [Protocol] - [iOS (9, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] interface UIViewControllerPreviewing { @@ -2196,7 +2135,7 @@ interface IUIViewControllerPreviewingDelegate { } [Protocol] [Model] - [iOS (9, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIViewControllerPreviewingDelegate { @@ -2273,12 +2212,11 @@ interface UIApplicationOpenUrlOptions { string SourceApplication { get; set; } bool OpenInPlace { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] bool UniversalLinksOnly { get; set; } } - [iOS (9, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Internal] // we'll make it public if there's a need for them (beside the strong dictionary we provide) @@ -2297,7 +2235,6 @@ interface UIApplicationOpenUrlOptionKeys { [Field ("UIApplicationOpenURLOptionsEventAttributionKey")] NSString OpenUrlOptionsEventAttributionKey { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Field ("UIApplicationOpenURLOptionUniversalLinksOnly")] NSString UniversalLinksOnlyKey { get; } @@ -2351,12 +2288,10 @@ interface UIApplication { [Export ("openURL:")] bool OpenUrl (NSUrl url); - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("openURL:options:completionHandler:")] void OpenUrl (NSUrl url, NSDictionary options, [NullAllowed] Action completion); - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Wrap ("OpenUrl (url, options.GetDictionary ()!, completion)")] [Async] @@ -2457,7 +2392,6 @@ interface UIApplication { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use the 'StatusBarManager' property of the window scene instead.")] CGRect StatusBarFrame { get; } - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("applicationIconBadgeNumber")] nint ApplicationIconBadgeNumber { get; set; } @@ -2711,7 +2645,6 @@ interface UIApplication { NSString LaunchOptionsBluetoothPeripheralsKey { get; } [NoTV] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("UIApplicationLaunchOptionsShortcutItemKey")] NSString LaunchOptionsShortcutItemKey { get; } @@ -2760,17 +2693,14 @@ interface UIApplication { [Export ("beginBackgroundTaskWithName:expirationHandler:")] nint BeginBackgroundTask (string taskName, Action expirationHandler); - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("UIApplicationBackgroundFetchIntervalMinimum")] double BackgroundFetchIntervalMinimum { get; } - [TV (11, 0)] [MacCatalyst (13, 1)] [Field ("UIApplicationBackgroundFetchIntervalNever")] double BackgroundFetchIntervalNever { get; } - [TV (11, 0)] [Export ("setMinimumBackgroundFetchInterval:")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use a 'BGAppRefreshTask' from 'BackgroundTasks' framework.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use a 'BGAppRefreshTask' from 'BackgroundTasks' framework.")] @@ -2830,12 +2760,10 @@ interface UIApplication { [Field ("UIApplicationStateRestorationSystemVersionKey")] NSString StateRestorationSystemVersionKey { get; } - [TV (11, 0)] [MacCatalyst (13, 1)] [Export ("backgroundRefreshStatus")] UIBackgroundRefreshStatus BackgroundRefreshStatus { get; } - [TV (11, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIApplicationBackgroundRefreshStatusDidChangeNotification")] @@ -2848,7 +2776,6 @@ interface UIApplication { // // 8.0 // - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("UIApplicationOpenSettingsURLString")] NSString OpenSettingsUrlString { get; } @@ -2859,7 +2786,6 @@ interface UIApplication { // from @interface UIApplication (UIUserNotificationSettings) [NoTV] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNUserNotificationCenter.GetNotificationSettings' and 'UNUserNotificationCenter.GetNotificationCategories' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNUserNotificationCenter.GetNotificationSettings' and 'UNUserNotificationCenter.GetNotificationCategories' instead.")] @@ -2867,43 +2793,37 @@ interface UIApplication { UIUserNotificationSettings CurrentUserNotificationSettings { get; } // from @interface UIApplication (UIRemoteNotifications) - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("isRegisteredForRemoteNotifications")] bool IsRegisteredForRemoteNotifications { get; } // from @interface UIApplication (UIRemoteNotifications) - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("registerForRemoteNotifications")] void RegisterForRemoteNotifications (); // from @interface UIApplication (UIUserNotificationSettings) [NoTV] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNUserNotificationCenter.RequestAuthorization' and 'UNUserNotificationCenter.SetNotificationCategories' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNUserNotificationCenter.RequestAuthorization' and 'UNUserNotificationCenter.SetNotificationCategories' instead.")] [Export ("registerUserNotificationSettings:")] void RegisterUserNotificationSettings (UIUserNotificationSettings notificationSettings); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("UIApplicationLaunchOptionsUserActivityDictionaryKey")] NSString LaunchOptionsUserActivityDictionaryKey { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("UIApplicationLaunchOptionsUserActivityTypeKey")] NSString LaunchOptionsUserActivityTypeKey { get; } - [iOS (10, 0), NoTV, NoWatch] + [NoTV, NoWatch] [MacCatalyst (13, 1)] [Field ("UIApplicationLaunchOptionsCloudKitShareMetadataKey")] NSString LaunchOptionsCloudKitShareMetadataKey { get; } [NoTV] - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("shortcutItems", ArgumentSemantic.Copy)] UIApplicationShortcutItem [] ShortcutItems { get; set; } @@ -2913,28 +2833,21 @@ interface UIApplication { // // from @interface UIApplication (UIAlternateApplicationIcons) - [iOS (10, 3)] - [TV (10, 2)] [MacCatalyst (13, 1)] [Export ("supportsAlternateIcons")] bool SupportsAlternateIcons { get; } - [iOS (10, 3)] - [TV (10, 2)] [MacCatalyst (13, 1)] [Async] [Export ("setAlternateIconName:completionHandler:")] void SetAlternateIconName ([NullAllowed] string alternateIconName, [NullAllowed] Action completionHandler); - [iOS (10, 3)] - [TV (10, 2)] [MacCatalyst (13, 1)] [Export ("alternateIconName"), NullAllowed] string AlternateIconName { get; } } [NoTV, NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIApplicationShortcutIcon : NSCopying { @@ -2962,7 +2875,6 @@ interface UIApplicationShortcutIcon : NSCopying { } [NoTV, NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2996,7 +2908,6 @@ interface UIApplicationShortcutItem : NSMutableCopying { } [NoTV, NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIApplicationShortcutItem))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: Don't call -[UIApplicationShortcutItem init]. @@ -3073,53 +2984,45 @@ interface UIAttachmentBehavior { NativeHandle Constructor (IUIDynamicItem item, UIOffset offsetFromCenter, IUIDynamicItem attachedToItem, UIOffset attachOffsetFromCenter); [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("slidingAttachmentWithItem:attachedToItem:attachmentAnchor:axisOfTranslation:")] UIAttachmentBehavior CreateSlidingAttachment (IUIDynamicItem item1, IUIDynamicItem item2, CGPoint attachmentAnchor, CGVector translationAxis); [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("slidingAttachmentWithItem:attachmentAnchor:axisOfTranslation:")] UIAttachmentBehavior CreateSlidingAttachment (IUIDynamicItem item, CGPoint attachmentAnchor, CGVector translationAxis); // +(instancetype __nonnull)limitAttachmentWithItem:(id __nonnull)item1 offsetFromCenter:(UIOffset)offset1 attachedToItem:(id __nonnull)item2 offsetFromCenter:(UIOffset)offset2; [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("limitAttachmentWithItem:offsetFromCenter:attachedToItem:offsetFromCenter:")] UIAttachmentBehavior CreateLimitAttachment (IUIDynamicItem item1, UIOffset offsetFromCenter, IUIDynamicItem item2, UIOffset offsetFromCenter2); [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("fixedAttachmentWithItem:attachedToItem:attachmentAnchor:")] UIAttachmentBehavior CreateFixedAttachment (IUIDynamicItem item1, IUIDynamicItem item2, CGPoint attachmentAnchor); [Static] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("pinAttachmentWithItem:attachedToItem:attachmentAnchor:")] UIAttachmentBehavior CreatePinAttachment (IUIDynamicItem item1, IUIDynamicItem item2, CGPoint attachmentAnchor); [Export ("attachmentRange")] - [iOS (9, 0)] [MacCatalyst (13, 1)] UIFloatRange AttachmentRange { get; set; } [Export ("frictionTorque")] - [iOS (9, 0)] [MacCatalyst (13, 1)] nfloat FrictionTorque { get; set; } } - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UIContentSizeCategoryAdjusting { [Abstract] - [iOS (10, 0), TV (10, 0)] // Repeated because of generator bug [MacCatalyst (13, 1)] [Export ("adjustsFontForContentSizeCategory")] bool AdjustsFontForContentSizeCategory { get; set; } @@ -3136,7 +3039,6 @@ interface UIContentSizeCategoryChangedEventArgs { [NoWatch] [MacCatalyst (13, 1)] public enum UIContentSizeCategory { - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Field ("UIContentSizeCategoryUnspecified")] Unspecified, @@ -3451,7 +3353,7 @@ interface IUICoordinateSpace { } [Model] [BaseType (typeof (NSObject))] [Abstract] - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] interface UICoordinateSpace { [Abstract] @@ -3576,12 +3478,10 @@ interface UIApplicationDelegate { [Export ("application:openURL:sourceApplication:annotation:")] bool OpenUrl (UIApplication application, NSUrl url, string sourceApplication, NSObject annotation); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("application:openURL:options:")] bool OpenUrl (UIApplication app, NSUrl url, NSDictionary options); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Wrap ("OpenUrl(app, url, options.GetDictionary ())")] bool OpenUrl (UIApplication app, NSUrl url, UIApplicationOpenUrlOptions options); @@ -3642,7 +3542,6 @@ interface UIApplicationDelegate { [Export ("accessibilityPerformMagicTap")] bool AccessibilityPerformMagicTap (); - [TV (10, 0)] [MacCatalyst (13, 1)] [Export ("application:didReceiveRemoteNotification:fetchCompletionHandler:")] void DidReceiveRemoteNotification (UIApplication application, NSDictionary userInfo, Action completionHandler); @@ -3650,7 +3549,6 @@ interface UIApplicationDelegate { [Export ("application:handleEventsForBackgroundURLSession:completionHandler:")] void HandleEventsForBackgroundUrl (UIApplication application, string sessionIdentifier, Action completionHandler); - [TV (11, 0)] [Deprecated (PlatformName.iOS, 13, 0, message: "Use a 'BGAppRefreshTask' from 'BackgroundTasks' framework.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use a 'BGAppRefreshTask' from 'BackgroundTasks' framework.")] [MacCatalyst (13, 1)] @@ -3661,12 +3559,10 @@ interface UIApplicationDelegate { // // 8.0 // - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("application:continueUserActivity:restorationHandler:")] bool ContinueUserActivity (UIApplication application, NSUserActivity userActivity, UIApplicationRestorationHandler completionHandler); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("application:didFailToContinueUserActivityWithType:error:")] #if NET @@ -3676,7 +3572,6 @@ interface UIApplicationDelegate { #endif [NoTV] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNUserNotificationCenter.RequestAuthorization' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNUserNotificationCenter.RequestAuthorization' instead.")] @@ -3684,7 +3579,6 @@ interface UIApplicationDelegate { void DidRegisterUserNotificationSettings (UIApplication application, UIUserNotificationSettings notificationSettings); [NoTV] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] @@ -3692,7 +3586,6 @@ interface UIApplicationDelegate { void HandleAction (UIApplication application, string actionIdentifier, UILocalNotification localNotification, Action completionHandler); [NoTV] - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] @@ -3700,7 +3593,6 @@ interface UIApplicationDelegate { void HandleAction (UIApplication application, string actionIdentifier, UILocalNotification localNotification, NSDictionary responseInfo, Action completionHandler); [NoTV] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] @@ -3708,7 +3600,6 @@ interface UIApplicationDelegate { void HandleAction (UIApplication application, string actionIdentifier, NSDictionary remoteNotificationInfo, Action completionHandler); [NoTV] - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] @@ -3716,37 +3607,31 @@ interface UIApplicationDelegate { void HandleAction (UIApplication application, string actionIdentifier, NSDictionary remoteNotificationInfo, NSDictionary responseInfo, Action completionHandler); [NoTV] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("application:performActionForShortcutItem:completionHandler:")] void PerformActionForShortcutItem (UIApplication application, UIApplicationShortcutItem shortcutItem, UIOperationHandler completionHandler); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("application:willContinueUserActivityWithType:")] bool WillContinueUserActivity (UIApplication application, string userActivityType); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("application:didUpdateUserActivity:")] void UserActivityUpdated (UIApplication application, NSUserActivity userActivity); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("application:shouldAllowExtensionPointIdentifier:")] bool ShouldAllowExtensionPointIdentifier (UIApplication application, NSString extensionPointIdentifier); - [iOS (8, 2)] [MacCatalyst (13, 1)] [Export ("application:handleWatchKitExtensionRequest:reply:")] void HandleWatchKitExtensionRequest (UIApplication application, NSDictionary userInfo, Action reply); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("applicationShouldRequestHealthAuthorization:")] void ShouldRequestHealthAuthorization (UIApplication application); - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("application:userDidAcceptCloudKitShareWithMetadata:")] void UserDidAcceptCloudKitShare (UIApplication application, CKShareMetadata cloudKitShareMetadata); @@ -3754,7 +3639,6 @@ interface UIApplicationDelegate { [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'GetHandlerForIntent' instead.")] [Deprecated (PlatformName.WatchOS, 7, 0, message: "Use 'GetHandlerForIntent' instead.")] [NoTV] - [iOS (11, 0), Watch (4, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'GetHandlerForIntent' instead.")] [Export ("application:handleIntent:completionHandler:")] @@ -3785,7 +3669,6 @@ interface UIApplicationDelegate { [MacCatalyst (13, 1)] [Static] interface UIExtensionPointIdentifier { - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("UIApplicationKeyboardExtensionPointIdentifier")] NSString Keyboard { get; } @@ -3837,12 +3720,10 @@ interface UIBarItem : NSCoding, UIAppearance, UIAccessibility, UIAccessibilityId [Appearance] NSDictionary _GetTitleTextAttributes (UIControlState state); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("largeContentSizeImage", ArgumentSemantic.Strong)] UIImage LargeContentSizeImage { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("largeContentSizeImageInsets", ArgumentSemantic.Assign)] UIEdgeInsets LargeContentSizeImageInsets { get; set; } @@ -4065,7 +3946,6 @@ interface UIBarButtonItem : NSCoding [Export ("backgroundImageForState:style:barMetrics:")] UIImage GetBackgroundImage (UIControlState state, UIBarButtonItemStyle style, UIBarMetrics barMetrics); - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("buttonGroup", ArgumentSemantic.Weak)] UIBarButtonItemGroup ButtonGroup { get; } @@ -4097,7 +3977,7 @@ interface UIBarButtonItem : NSCoding } - [iOS (9, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIBarButtonItemGroup : NSCoding { @@ -4166,7 +4046,6 @@ interface UICollectionReusableView { [Export ("didTransitionFromLayout:toLayout:")] void DidTransition (UICollectionViewLayout oldLayout, UICollectionViewLayout newLayout); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("preferredLayoutAttributesFittingAttributes:")] UICollectionViewLayoutAttributes PreferredLayoutAttributesFittingAttributes (UICollectionViewLayoutAttributes layoutAttributes); @@ -4342,44 +4221,36 @@ UICollectionViewTransitionLayout StartInteractiveTransition (UICollectionViewLay [Export ("cancelInteractiveTransition")] void CancelInteractiveTransition (); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("beginInteractiveMovementForItemAtIndexPath:")] bool BeginInteractiveMovementForItem (NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("updateInteractiveMovementTargetPosition:")] void UpdateInteractiveMovement (CGPoint targetPosition); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("endInteractiveMovement")] void EndInteractiveMovement (); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("cancelInteractiveMovement")] void CancelInteractiveMovement (); - [iOS (9, 0)] [MacCatalyst (13, 1)] [return: NullAllowed] [Export ("supplementaryViewForElementKind:atIndexPath:")] UICollectionReusableView GetSupplementaryView (NSString elementKind, NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("visibleSupplementaryViewsOfKind:")] UICollectionReusableView [] GetVisibleSupplementaryViews (NSString elementKind); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("indexPathsForVisibleSupplementaryElementsOfKind:")] NSIndexPath [] GetIndexPathsForVisibleSupplementaryElements (NSString elementKind); - [iOS (9, 0)] // added in Xcode 7.1 / iOS 9.1 SDK [MacCatalyst (13, 1)] [Export ("remembersLastFocusedIndexPath")] bool RemembersLastFocusedIndexPath { get; set; } @@ -4397,30 +4268,25 @@ UICollectionViewTransitionLayout StartInteractiveTransition (UICollectionViewLay [Export ("allowsFocusDuringEditing")] bool AllowsFocusDuringEditing { get; set; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("prefetchDataSource", ArgumentSemantic.Weak)] IUICollectionViewDataSourcePrefetching PrefetchDataSource { get; set; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("prefetchingEnabled")] bool PrefetchingEnabled { [Bind ("isPrefetchingEnabled")] get; set; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("dragDelegate", ArgumentSemantic.Weak)] IUICollectionViewDragDelegate DragDelegate { get; set; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("dropDelegate", ArgumentSemantic.Weak)] IUICollectionViewDropDelegate DropDelegate { get; set; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dragInteractionEnabled")] bool DragInteractionEnabled { get; set; } @@ -4430,25 +4296,21 @@ UICollectionViewTransitionLayout StartInteractiveTransition (UICollectionViewLay UIContextMenuInteraction ContextMenuInteraction { get; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("reorderingCadence", ArgumentSemantic.Assign)] UICollectionViewReorderingCadence ReorderingCadence { get; set; } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("hasUncommittedUpdates")] bool HasUncommittedUpdates { get; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("hasActiveDrag")] bool HasActiveDrag { get; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("hasActiveDrop")] bool HasActiveDrop { get; } @@ -4477,7 +4339,7 @@ UICollectionViewTransitionLayout StartInteractiveTransition (UICollectionViewLay interface IUICollectionViewDataSourcePrefetching { } [Protocol] - [iOS (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] interface UICollectionViewDataSourcePrefetching { @@ -4521,23 +4383,19 @@ interface UICollectionViewDataSource { [Export ("collectionView:viewForSupplementaryElementOfKind:atIndexPath:")] UICollectionReusableView GetViewForSupplementaryElement (UICollectionView collectionView, NSString elementKind, NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("collectionView:canMoveItemAtIndexPath:")] bool CanMoveItem (UICollectionView collectionView, NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("collectionView:moveItemAtIndexPath:toIndexPath:")] void MoveItem (UICollectionView collectionView, NSIndexPath sourceIndexPath, NSIndexPath destinationIndexPath); - [iOS (10, 3), TV (10, 2)] [MacCatalyst (13, 1)] [return: NullAllowed] [Export ("indexTitlesForCollectionView:")] string [] GetIndexTitles (UICollectionView collectionView); - [iOS (10, 3), TV (10, 2)] [MacCatalyst (13, 1)] [return: NullAllowed] [Export ("collectionView:indexPathForIndexTitle:atIndex:")] @@ -4578,12 +4436,10 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { [Export ("collectionView:didDeselectItemAtIndexPath:")] void ItemDeselected (UICollectionView collectionView, NSIndexPath indexPath); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("collectionView:willDisplayCell:forItemAtIndexPath:")] void WillDisplayCell (UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:")] void WillDisplaySupplementaryView (UICollectionView collectionView, UICollectionReusableView view, string elementKind, NSIndexPath indexPath); @@ -4617,13 +4473,11 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")] [Export ("collectionView:targetIndexPathForMoveFromItemAtIndexPath:toProposedIndexPath:")] NSIndexPath GetTargetIndexPathForMove (UICollectionView collectionView, NSIndexPath originalIndexPath, NSIndexPath proposedIndexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("collectionView:targetContentOffsetForProposedContentOffset:")] CGPoint GetTargetContentOffset (UICollectionView collectionView, CGPoint proposedContentOffset); @@ -4633,22 +4487,18 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { [Export ("collectionView:canEditItemAtIndexPath:")] bool CanEditItem (UICollectionView collectionView, NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("collectionView:canFocusItemAtIndexPath:")] bool CanFocusItem (UICollectionView collectionView, NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("collectionView:shouldUpdateFocusInContext:")] bool ShouldUpdateFocus (UICollectionView collectionView, UICollectionViewFocusUpdateContext context); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("collectionView:didUpdateFocusInContext:withAnimationCoordinator:")] void DidUpdateFocus (UICollectionView collectionView, UICollectionViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("indexPathForPreferredFocusedViewInCollectionView:")] [return: NullAllowed] @@ -4663,7 +4513,6 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { NSIndexPath GetTargetIndexPathForMoveOfItemFromOriginalIndexPath (UICollectionView collectionView, NSIndexPath originalIndexPath, NSIndexPath currentIndexPath, NSIndexPath proposedIndexPath); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("collectionView:shouldSpringLoadItemAtIndexPath:withContext:")] bool ShouldSpringLoadItem (UICollectionView collectionView, NSIndexPath indexPath, IUISpringLoadedInteractionContext context); @@ -4808,7 +4657,6 @@ interface UICollectionViewCell { UIView SelectedBackgroundView { get; set; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dragStateDidChange:")] void DragStateDidChange (UICollectionViewCellDragState dragState); @@ -4856,7 +4704,6 @@ interface UICollectionViewController : UICollectionViewSource, NSCoding { [Export ("useLayoutToLayoutNavigationTransitions", ArgumentSemantic.Assign)] bool UseLayoutToLayoutNavigationTransitions { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("installsStandardGestureForInteractiveMovement")] bool InstallsStandardGestureForInteractiveMovement { get; set; } @@ -4901,7 +4748,6 @@ interface UICollectionViewFlowLayout { CGSize ItemSize { get; set; } // Default value of this property is CGSize.Zero, setting to any other value causes each cell to be queried - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("estimatedItemSize")] CGSize EstimatedItemSize { get; set; } @@ -4919,22 +4765,18 @@ interface UICollectionViewFlowLayout { UIEdgeInsets SectionInset { get; set; } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("sectionInsetReference", ArgumentSemantic.Assign)] UICollectionViewFlowLayoutSectionInsetReference SectionInsetReference { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("sectionHeadersPinToVisibleBounds")] bool SectionHeadersPinToVisibleBounds { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("sectionFootersPinToVisibleBounds")] bool SectionFootersPinToVisibleBounds { get; set; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Field ("UICollectionViewFlowLayoutAutomaticSize")] CGSize AutomaticSize { get; } @@ -4993,12 +4835,10 @@ interface UICollectionViewLayout : NSCoding { [Export ("prepareForAnimatedBoundsChange:")] void PrepareForAnimatedBoundsChange (CGRect oldBounds); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("invalidationContextForPreferredLayoutAttributes:withOriginalAttributes:")] UICollectionViewLayoutInvalidationContext GetInvalidationContext (UICollectionViewLayoutAttributes preferredAttributes, UICollectionViewLayoutAttributes originalAttributes); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("shouldInvalidateLayoutForPreferredLayoutAttributes:withOriginalAttributes:")] bool ShouldInvalidateLayout (UICollectionViewLayoutAttributes preferredAttributes, UICollectionViewLayoutAttributes originalAttributes); @@ -5070,34 +4910,28 @@ interface UICollectionViewLayout : NSCoding { [Export ("targetContentOffsetForProposedContentOffset:")] CGPoint TargetContentOffsetForProposedContentOffset (CGPoint proposedContentOffset); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("targetIndexPathForInteractivelyMovingItem:withPosition:")] NSIndexPath GetTargetIndexPathForInteractivelyMovingItem (NSIndexPath previousIndexPath, CGPoint position); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("layoutAttributesForInteractivelyMovingItemAtIndexPath:withTargetPosition:")] UICollectionViewLayoutAttributes GetLayoutAttributesForInteractivelyMovingItem (NSIndexPath indexPath, CGPoint targetPosition); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("invalidationContextForInteractivelyMovingItems:withTargetPosition:previousIndexPaths:previousPosition:")] UICollectionViewLayoutInvalidationContext GetInvalidationContextForInteractivelyMovingItems (NSIndexPath [] targetIndexPaths, CGPoint targetPosition, NSIndexPath [] previousIndexPaths, CGPoint previousPosition); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("invalidationContextForEndingInteractiveMovementOfItemsToFinalIndexPaths:previousIndexPaths:movementCancelled:")] UICollectionViewLayoutInvalidationContext GetInvalidationContextForEndingInteractiveMovementOfItems (NSIndexPath [] finalIndexPaths, NSIndexPath [] previousIndexPaths, bool movementCancelled); [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("developmentLayoutDirection")] UIUserInterfaceLayoutDirection DevelopmentLayoutDirection { get; } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("flipsHorizontallyInOppositeLayoutDirection")] bool FlipsHorizontallyInOppositeLayoutDirection { get; } @@ -5167,57 +5001,46 @@ interface UICollectionViewLayoutInvalidationContext { [Export ("invalidateEverything")] bool InvalidateEverything { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("invalidatedItemIndexPaths")] NSIndexPath [] InvalidatedItemIndexPaths { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("invalidatedSupplementaryIndexPaths")] NSDictionary InvalidatedSupplementaryIndexPaths { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("invalidatedDecorationIndexPaths")] NSDictionary InvalidatedDecorationIndexPaths { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("contentOffsetAdjustment")] CGPoint ContentOffsetAdjustment { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("contentSizeAdjustment")] CGSize ContentSizeAdjustment { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("invalidateItemsAtIndexPaths:")] void InvalidateItems (NSIndexPath [] indexPaths); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("invalidateSupplementaryElementsOfKind:atIndexPaths:")] void InvalidateSupplementaryElements (NSString elementKind, NSIndexPath [] indexPaths); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("invalidateDecorationElementsOfKind:atIndexPaths:")] void InvalidateDecorationElements (NSString elementKind, NSIndexPath [] indexPaths); - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("previousIndexPathsForInteractivelyMovingItems")] NSIndexPath [] PreviousIndexPathsForInteractivelyMovingItems { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("targetIndexPathsForInteractivelyMovingItems")] NSIndexPath [] TargetIndexPathsForInteractivelyMovingItems { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("interactiveMovementTarget")] CGPoint InteractiveMovementTarget { get; } @@ -5314,22 +5137,19 @@ interface UIColor : NSSecureCoding, NSCopying [Static] UIColor FromCGColor (CGColor color); - [iOS (11, 0), TV (11, 0)] - [Watch (4, 0)] [MacCatalyst (13, 1)] [Static] [Export ("colorNamed:")] [return: NullAllowed] UIColor FromName (string name); - [NoWatch, iOS (11, 0), TV (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("colorNamed:inBundle:compatibleWithTraitCollection:")] [return: NullAllowed] UIColor FromName (string name, [NullAllowed] NSBundle inBundle, [NullAllowed] UITraitCollection compatibleWithTraitCollection); - [iOS (10, 0), TV (10, 0), Watch (3, 0)] [MacCatalyst (13, 1)] [Static] [Export ("colorWithDisplayP3Red:green:blue:alpha:")] @@ -5568,7 +5388,7 @@ interface UIColor : NSSecureCoding, NSCopying // From the NSItemProviderReading protocol, a static method. [Static] - [iOS (11, 0), NoWatch, NoTV] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("readableTypeIdentifiersForItemProvider", ArgumentSemantic.Copy)] #if !WATCH && !TVOS @@ -5577,7 +5397,7 @@ interface UIColor : NSSecureCoding, NSCopying string [] ReadableTypeIdentifiers { get; } // From the NSItemProviderReading protocol, a static method. - [iOS (11, 0), NoWatch, NoTV] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Static] [Export ("objectWithItemProviderData:typeIdentifier:error:")] @@ -5589,7 +5409,7 @@ interface UIColor : NSSecureCoding, NSCopying // From the NSItemProviderWriting protocol, a static method. // NSItemProviderWriting doesn't seem to be implemented for tvOS/watchOS, even though the headers say otherwise. - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Static] [Export ("writableTypeIdentifiersForItemProvider", ArgumentSemantic.Copy)] @@ -5707,13 +5527,13 @@ interface UIColor : NSSecureCoding, NSCopying #if !NET [Obsolete ("Use 'SystemPurple' instead.")] - [NoWatch, iOS (9, 0)] + [NoWatch] [Static] [Export ("systemPurpleColor")] UIColor SystemPurpleColor { get; } #endif - [NoWatch, iOS (9, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("systemPurpleColor")] @@ -6332,17 +6152,14 @@ interface UIDocument : NSFilePresenter, NSProgressReporting, UIUserActivityResto NSString StateChangedNotification { get; } // ActivityContinuation Category - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("userActivity", ArgumentSemantic.Retain)] NSUserActivity UserActivity { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("updateUserActivityState:")] void UpdateUserActivityState (NSUserActivity userActivity); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("NSUserActivityDocumentURLKey")] NSString UserActivityDocumentUrlKey { get; } @@ -6479,12 +6296,10 @@ interface UIDynamicItemBehavior { [Export ("angularVelocityForItem:")] nfloat GetAngularVelocityForItem (IUIDynamicItem dynamicItem); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("charge", ArgumentSemantic.Assign)] nfloat Charge { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("anchored")] bool Anchored { [Bind ("isAnchored")] get; set; } @@ -6508,18 +6323,16 @@ interface UIDynamicItem { [Export ("transform")] CGAffineTransform Transform { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("collisionBoundsType")] UIDynamicItemCollisionBoundsType CollisionBoundsType { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("collisionBoundingPath")] UIBezierPath CollisionBoundingPath { get; } } - [NoWatch, iOS (9, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIDynamicItemGroup : UIDynamicItem { @@ -6559,7 +6372,7 @@ interface UIDynamicBehavior { void WillMoveToAnimator ([NullAllowed] UIDynamicAnimator targetAnimator); } - [NoWatch, iOS (9, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIDynamicBehavior))] [DisableDefaultCtor] @@ -6645,7 +6458,6 @@ interface UIFieldBehavior { delegate CGVector UIFieldCustomEvaluator (UIFieldBehavior field, CGPoint position, CGVector velocity, nfloat mass, nfloat charge, double deltaTime); [Static] - [iOS (8, 2)] [MacCatalyst (13, 1)] interface UIFontWeightConstants { [Field ("UIFontWeightUltraLight")] @@ -6678,7 +6490,6 @@ interface UIFont : NSCopying, NSSecureCoding { [Internal] // bug 25511 IntPtr _SystemFontOfSize (nfloat size); - [iOS (8, 2)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] // we prefer to show the one using the enum [Internal] // bug 25511 @@ -6686,7 +6497,6 @@ interface UIFont : NSCopying, NSSecureCoding { [Export ("systemFontOfSize:weight:")] IntPtr _SystemFontOfSize (nfloat size, nfloat weight); - [iOS (9, 0)] [MacCatalyst (13, 1)] [EditorBrowsable (EditorBrowsableState.Advanced)] // we prefer to show the one using the enum [Internal] // bug 25511 @@ -6800,8 +6610,8 @@ interface UIFont : NSCopying, NSSecureCoding { [Internal] // bug 25511 IntPtr _GetPreferredFontForTextStyle (NSString uiFontTextStyle); - // FIXME [Watch (3,0)] the API is present but UITraitCollection is not exposed / rdar 27785753 - [NoWatch, iOS (10, 0), TV (10, 0)] + // FIXME the API is present but UITraitCollection is not exposed / rdar 27785753 + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("preferredFontForTextStyle:compatibleWithTraitCollection:")] @@ -6835,28 +6645,24 @@ public enum UIFontTextStyle { [Field ("UIFontTextStyleCaption2")] Caption2, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("UIFontTextStyleTitle1")] Title1, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("UIFontTextStyleTitle2")] Title2, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("UIFontTextStyleTitle3")] Title3, - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("UIFontTextStyleCallout")] Callout, [NoTV] - [iOS (11, 0), Watch (5, 0)] + [Watch (5, 0)] [MacCatalyst (13, 1)] [Field ("UIFontTextStyleLargeTitle")] LargeTitle, @@ -6909,14 +6715,14 @@ partial interface UIFontDescriptor : NSSecureCoding, NSCopying { [Wrap ("GetPreferredDescriptorForTextStyle (uiFontTextStyle.GetConstant ()!)")] UIFontDescriptor GetPreferredDescriptorForTextStyle (UIFontTextStyle uiFontTextStyle); - // FIXME [Watch (3,0)] the API is present but UITraitCollection is not exposed / rdar #27785753 - [NoWatch, iOS (10, 0), TV (10, 0)] + // FIXME the API is present but UITraitCollection is not exposed / rdar #27785753 + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("preferredFontDescriptorWithTextStyle:compatibleWithTraitCollection:")] UIFontDescriptor GetPreferredDescriptorForTextStyle (NSString uiFontTextStyle, [NullAllowed] UITraitCollection traitCollection); - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Wrap ("GetPreferredDescriptorForTextStyle (uiFontTextStyle.GetConstant ()!, traitCollection)")] @@ -7094,7 +6900,6 @@ interface UIGestureRecognizer { [Export ("requireGestureRecognizerToFail:")] void RequireGestureRecognizerToFail (UIGestureRecognizer otherGestureRecognizer); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("name")] string Name { get; set; } @@ -7117,7 +6922,6 @@ interface UIGestureRecognizer { [Export ("ignoreTouch:forEvent:")] void IgnoreTouch (UITouch touch, UIEvent forEvent); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Sealed] // Docs: This method is intended to be called, not overridden. [Export ("ignorePress:forEvent:")] @@ -7155,45 +6959,36 @@ interface UIGestureRecognizer { [Export ("shouldReceiveEvent:")] bool ShouldReceive (UIEvent @event); - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("touchesEstimatedPropertiesUpdated:")] void TouchesEstimatedPropertiesUpdated (NSSet touches); // FIXME: likely an array of UITouchType - [iOS (9, 0)] // added in Xcode 7.1 / iOS 9.1 SDK [MacCatalyst (13, 1)] [Export ("allowedTouchTypes", ArgumentSemantic.Copy)] NSNumber [] AllowedTouchTypes { get; set; } // FIXME: likely an array of UIPressType - [iOS (9, 0)] // added in Xcode 7.1 / iOS 9.1 SDK [MacCatalyst (13, 1)] [Export ("allowedPressTypes", ArgumentSemantic.Copy)] NSNumber [] AllowedPressTypes { get; set; } - [iOS (9, 2)] - [TV (9, 1)] [MacCatalyst (13, 1)] [Export ("requiresExclusiveTouchType")] bool RequiresExclusiveTouchType { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("pressesBegan:withEvent:")] void PressesBegan (NSSet presses, UIPressesEvent evt); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("pressesChanged:withEvent:")] void PressesChanged (NSSet presses, UIPressesEvent evt); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("pressesEnded:withEvent:")] void PressesEnded (NSSet presses, UIPressesEvent evt); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("pressesCancelled:withEvent:")] void PressesCancelled (NSSet presses, UIPressesEvent evt); @@ -7221,7 +7016,6 @@ interface UIGestureRecognizerDelegate { [Export ("gestureRecognizer:shouldRequireFailureOfGestureRecognizer:"), DelegateName ("UIGesturesProbe"), DefaultValue (false)] bool ShouldRequireFailureOf (UIGestureRecognizer gestureRecognizer, UIGestureRecognizer otherGestureRecognizer); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("gestureRecognizer:shouldReceivePress:"), DelegateName ("UIGesturesPress"), DefaultValue (false)] bool ShouldReceivePress (UIGestureRecognizer gestureRecognizer, UIPress press); @@ -7232,7 +7026,7 @@ interface UIGestureRecognizerDelegate { bool ShouldReceiveEvent (UIGestureRecognizer gestureRecognizer, UIEvent @event); } - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIGraphicsRendererFormat : NSCopying { @@ -7244,14 +7038,13 @@ interface UIGraphicsRendererFormat : NSCopying { [Export ("bounds")] CGRect Bounds { get; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("preferredFormat")] UIGraphicsRendererFormat PreferredFormat { get; } } - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIGraphicsRendererContext { @@ -7277,7 +7070,7 @@ interface UIGraphicsRendererContext { void ClipToRect (CGRect rect); } - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] // quote form headers "An abstract base class for creating graphics renderers. Do not use this class directly." @@ -7317,7 +7110,7 @@ interface UIGraphicsRenderer { // Not worth it, Action conveys more data //delegate void UIGraphicsImageDrawingActions (UIGraphicsImageRendererContext context); - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIGraphicsRendererFormat))] interface UIGraphicsImageRendererFormat { @@ -7338,7 +7131,6 @@ interface UIGraphicsImageRendererFormat { [Export ("defaultFormat")] UIGraphicsImageRendererFormat DefaultFormat { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("formatForTraitCollection:")] @@ -7350,7 +7142,7 @@ interface UIGraphicsImageRendererFormat { UIGraphicsImageRendererFormatRange PreferredRange { get; set; } } - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIGraphicsRendererContext))] interface UIGraphicsImageRendererContext { @@ -7358,7 +7150,7 @@ interface UIGraphicsImageRendererContext { UIImage CurrentImage { get; } } - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIGraphicsRenderer))] interface UIGraphicsImageRenderer { @@ -7387,7 +7179,7 @@ interface UIGraphicsImageRenderer { //delegate void UIGraphicsPdfDrawingActions (UIGraphicsPdfRendererContext context); // Action - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIGraphicsRendererFormat), Name = "UIGraphicsPDFRendererFormat")] interface UIGraphicsPdfRendererFormat { @@ -7401,7 +7193,7 @@ interface UIGraphicsPdfRendererFormat { UIGraphicsPdfRendererFormat DefaultFormat { get; } } - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIGraphicsRendererContext), Name = "UIGraphicsPDFRendererContext")] interface UIGraphicsPdfRendererContext { @@ -7425,7 +7217,7 @@ interface UIGraphicsPdfRendererContext { } - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIGraphicsRenderer), Name = "UIGraphicsPDFRenderer")] interface UIGraphicsPdfRenderer { @@ -7530,22 +7322,18 @@ interface UITextInputTraits { [Export ("spellCheckingType")] UITextSpellCheckingType SpellCheckingType { get; set; } - [iOS (10, 0)] // Did not add abstract here breaking change, anyways this is optional in objc [MacCatalyst (13, 1)] [Export ("textContentType")] NSString TextContentType { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("smartQuotesType", ArgumentSemantic.Assign)] UITextSmartQuotesType SmartQuotesType { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("smartDashesType", ArgumentSemantic.Assign)] UITextSmartDashesType SmartDashesType { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("smartInsertDeleteType", ArgumentSemantic.Assign)] UITextSmartInsertDeleteType SmartInsertDeleteType { get; set; } @@ -7668,7 +7456,6 @@ interface UIKeyboard { NSString FrameBeginUserInfoKey { get; } [NoTV] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Field ("UIKeyboardIsLocalUserInfoKey")] NSString IsLocalUserInfoKey { get; } @@ -7842,7 +7629,6 @@ interface UIKeyCommand { [Field ("UIKeyInputDelete")] NSString Delete { get; } - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'UIKeyCommand.Create (NSString, UIKeyModifierFlags, Selector)' overload instead.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'UIKeyCommand.Create (NSString, UIKeyModifierFlags, Selector)' overload instead.")] [MacCatalyst (13, 1)] @@ -7851,7 +7637,6 @@ interface UIKeyCommand { [Export ("keyCommandWithInput:modifierFlags:action:discoverabilityTitle:")] UIKeyCommand Create (NSString keyCommandInput, UIKeyModifierFlags modifierFlags, Selector action, NSString discoverabilityTitle); - [iOS (9, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("discoverabilityTitle")] @@ -8080,17 +7865,14 @@ interface UITextInput : UIKeyInput { [Export ("removeDictationResultPlaceholder:willInsertResult:")] void RemoveDictationResultPlaceholder (NSObject placeholder, bool willInsertResult); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("beginFloatingCursorAtPoint:")] void BeginFloatingCursor (CGPoint point); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("updateFloatingCursorAtPoint:")] void UpdateFloatingCursor (CGPoint point); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("endFloatingCursor")] void EndFloatingCursor (); @@ -8131,7 +7913,6 @@ interface UITextInput : UIKeyInput { } [NoWatch, NoTV] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UITextInputAssistantItem { @@ -8221,7 +8002,6 @@ interface UITextSelectionRect { } [NoWatch, NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface UILexicon : NSCopying { @@ -8231,7 +8011,6 @@ partial interface UILexicon : NSCopying { } [NoWatch, NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface UILexiconEntry : NSCopying { @@ -8325,24 +8104,20 @@ interface UILocalNotification : NSCoding, NSCopying { [Field ("UILocalNotificationDefaultSoundName")] NSString DefaultSoundName { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("region", ArgumentSemantic.Copy)] CLRegion Region { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("regionTriggersOnce", ArgumentSemantic.UnsafeUnretained)] bool RegionTriggersOnce { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("category")] string Category { get; set; } - [iOS (8, 2)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("alertTitle")] @@ -8460,7 +8235,7 @@ interface UIRefreshControl : UIAppearance { void EndRefreshing (); } - [NoWatch, iOS (9, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIRegion : NSCopying, NSCoding { @@ -8567,7 +8342,6 @@ interface UIActivityIndicatorView : NSCoding { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UIItemProviderPresentationSizeProviding { @@ -8617,7 +8391,6 @@ interface UIImage : NSSecureCoding [Advice ("This API is thread-safe only on 9.0 and later.")] #endif [ThreadSafe] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Static, Export ("imageNamed:inBundle:compatibleWithTraitCollection:")] [return: NullAllowed] @@ -8660,7 +8433,7 @@ interface UIImage : NSSecureCoding // From the NSItemProviderReading protocol, a static method. [Static] - [iOS (11, 0), NoWatch, NoTV] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("readableTypeIdentifiersForItemProvider", ArgumentSemantic.Copy)] #if !WATCH && !TVOS @@ -8671,7 +8444,7 @@ interface UIImage : NSSecureCoding // From the NSItemProviderReading protocol, a static method. [Static] [Export ("objectWithItemProviderData:typeIdentifier:error:")] - [iOS (11, 0), NoWatch, NoTV] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [return: NullAllowed] #if !WATCH && !TVOS @@ -8844,43 +8617,39 @@ interface UIImage : NSSecureCoding [ThreadSafe] UIImageResizingMode ResizingMode { get; } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("traitCollection")] [ThreadSafe] UITraitCollection TraitCollection { get; } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("imageAsset")] [ThreadSafe] [NullAllowed] UIImageAsset ImageAsset { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("imageFlippedForRightToLeftLayoutDirection")] UIImage GetImageFlippedForRightToLeftLayoutDirection (); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("flipsForRightToLeftLayoutDirection")] bool FlipsForRightToLeftLayoutDirection { get; } - [NoWatch, iOS (10, 0), TV (10, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("imageRendererFormat")] UIGraphicsImageRendererFormat ImageRendererFormat { get; } - [Watch (3, 0)] - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("imageWithHorizontallyFlippedOrientation")] UIImage GetImageWithHorizontallyFlippedOrientation (); // From the NSItemProviderWriting protocol, a static method. // NSItemProviderWriting doesn't seem to be implemented for tvOS/watchOS, even though the headers say otherwise. - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Static] [Export ("writableTypeIdentifiersForItemProvider", ArgumentSemantic.Copy)] @@ -9275,7 +9044,7 @@ interface UITargetedPreview : NSCopying { UITargetedPreview GetRetargetedPreview (UIPreviewTarget newTarget); } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] @@ -9342,13 +9111,11 @@ interface UIEvent { [Export ("touchesForGestureRecognizer:")] NSSet TouchesForGestureRecognizer (UIGestureRecognizer window); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("coalescedTouchesForTouch:")] [return: NullAllowed] UITouch [] GetCoalescedTouches (UITouch touch); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("predictedTouchesForTouch:")] [return: NullAllowed] @@ -9504,7 +9271,6 @@ interface UIControl UIControlContentHorizontalAlignment HorizontalAlignment { get; set; } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("effectiveContentHorizontalAlignment")] UIControlContentHorizontalAlignment EffectiveContentHorizontalAlignment { get; } @@ -10150,7 +9916,6 @@ interface UILabel : UIContentSizeCategoryAdjusting { [Export ("preferredMaxLayoutWidth")] nfloat PreferredMaxLayoutWidth { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("allowsDefaultTighteningForTruncation")] bool AllowsDefaultTighteningForTruncation { get; set; } @@ -10234,12 +9999,12 @@ interface UIImageView [Export ("focusedFrameGuide")] UILayoutGuide FocusedFrameGuide { get; } - [TV (11, 0), NoWatch, NoiOS] + [NoWatch, NoiOS] [NoMacCatalyst] [Export ("overlayContentView", ArgumentSemantic.Strong)] UIView OverlayContentView { get; } - [TV (11, 0), NoWatch, NoiOS] + [NoWatch, NoiOS] [NoMacCatalyst] [Export ("masksFocusEffectToContents")] bool MasksFocusEffectToContents { get; set; } @@ -10615,14 +10380,12 @@ interface UIImagePickerController { bool IsFlashAvailableForCameraDevice (UIImagePickerControllerCameraDevice cameraDevice); [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'PHPicker' instead.")] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'PHPicker' instead.")] [Export ("imageExportPreset", ArgumentSemantic.Assign)] UIImagePickerControllerImageUrlExportPreset ImageExportPreset { get; set; } [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'PHPicker' instead.")] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'PHPicker' instead.")] [Export ("videoExportPreset")] @@ -10653,19 +10416,16 @@ interface UIImagePickerController { [Field ("UIImagePickerControllerMediaMetadata")] NSString MediaMetadata { get; } - [iOS (9, 1)] [MacCatalyst (13, 1)] [Field ("UIImagePickerControllerLivePhoto")] NSString LivePhoto { get; } [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'PHPicker' instead.")] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use 'PHPicker' instead.")] [Field ("UIImagePickerControllerPHAsset")] NSString PHAsset { get; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Field ("UIImagePickerControllerImageURL")] NSString ImageUrl { get; } @@ -10967,20 +10727,17 @@ interface UINavigationBar : UIBarPositioning, NSCoding { [Appearance] [NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("prefersLargeTitles")] bool PrefersLargeTitles { get; set; } [NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Internal, NullAllowed, Export ("largeTitleTextAttributes", ArgumentSemantic.Copy)] [Appearance] NSDictionary _LargeTitleTextAttributes { get; set; } [NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Wrap ("_LargeTitleTextAttributes")] [NullAllowed] @@ -11041,7 +10798,6 @@ interface UINavigationItem : NSCoding { [Export ("backBarButtonItem", ArgumentSemantic.Retain)] UIBarButtonItem BackBarButtonItem { get; set; } - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("backButtonTitle")] string BackButtonTitle { get; set; } @@ -11119,19 +10875,16 @@ UIBarButtonItem RightBarButtonItem { void SetRightBarButtonItems (UIBarButtonItem [] items, bool animated); [NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("largeTitleDisplayMode", ArgumentSemantic.Assign)] UINavigationItemLargeTitleDisplayMode LargeTitleDisplayMode { get; set; } [NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("searchController", ArgumentSemantic.Retain)] UISearchController SearchController { get; set; } [NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("hidesSearchBarWhenScrolling")] bool HidesSearchBarWhenScrolling { get; set; } @@ -11316,42 +11069,35 @@ interface UINavigationController { UIGestureRecognizer InteractivePopGestureRecognizer { get; } [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("hidesBarsWhenVerticallyCompact", ArgumentSemantic.UnsafeUnretained)] bool HidesBarsWhenVerticallyCompact { get; set; } [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("hidesBarsOnTap", ArgumentSemantic.UnsafeUnretained)] bool HidesBarsOnTap { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("showViewController:sender:")] void ShowViewController (UIViewController vc, [NullAllowed] NSObject sender); [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("hidesBarsWhenKeyboardAppears", ArgumentSemantic.UnsafeUnretained)] bool HidesBarsWhenKeyboardAppears { get; set; } [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("hidesBarsOnSwipe", ArgumentSemantic.UnsafeUnretained)] bool HidesBarsOnSwipe { get; set; } [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("barHideOnSwipeGestureRecognizer", ArgumentSemantic.Retain)] UIPanGestureRecognizer BarHideOnSwipeGestureRecognizer { get; } [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("barHideOnTapGestureRecognizer", ArgumentSemantic.UnsafeUnretained)] UITapGestureRecognizer BarHideOnTapGestureRecognizer { get; } @@ -11740,7 +11486,7 @@ bool Persistent { [Field ("UIPasteboardTypeListColor")] NSArray TypeListColor { get; } - [iOS (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Field ("UIPasteboardTypeAutomatic")] NSString Automatic { get; } @@ -11775,33 +11521,31 @@ bool Persistent { [Export ("colors", ArgumentSemantic.Copy)] UIColor [] Colors { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("setItems:options:")] void SetItems (NSDictionary [] items, NSDictionary options); [NoTV] - [iOS (10, 0)] [MacCatalyst (13, 1)] [Wrap ("SetItems (items, pasteboardOptions.GetDictionary ()!)")] void SetItems (NSDictionary [] items, UIPasteboardOptions pasteboardOptions); - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("hasStrings")] bool HasStrings { get; } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("hasURLs")] bool HasUrls { get; } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("hasImages")] bool HasImages { get; } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("hasColors")] bool HasColors { get; } @@ -11830,22 +11574,22 @@ bool Persistent { [Export ("detectValuesForPatterns:inItemSet:completionHandler:")] void DetectValues (NSSet patterns, [NullAllowed] NSIndexSet itemSet, Action [], NSError> completionHandler); - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("itemProviders", ArgumentSemantic.Copy)] NSItemProvider [] ItemProviders { get; set; } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("setItemProviders:localOnly:expirationDate:")] void SetItemProviders (NSItemProvider [] itemProviders, bool localOnly, [NullAllowed] NSDate expirationDate); - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("setObjects:")] void SetObjects (INSItemProviderWriting [] objects); - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("setObjects:localOnly:expirationDate:")] void SetObjects (INSItemProviderWriting [] objects, bool localOnly, [NullAllowed] NSDate expirationDate); @@ -11864,7 +11608,7 @@ interface UIPasteboardNames { NSString Find { get; } } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [StrongDictionary ("UIPasteboardOptionKeys")] interface UIPasteboardOptions { @@ -11872,7 +11616,7 @@ interface UIPasteboardOptions { bool LocalOnly { get; set; } } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Static] interface UIPasteboardOptionKeys { @@ -11993,13 +11737,11 @@ interface UIPickerViewAccessibilityDelegate { [Export ("pickerView:accessibilityHintForComponent:")] string GetAccessibilityHint (UIPickerView pickerView, nint component); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("pickerView:accessibilityAttributedLabelForComponent:")] [return: NullAllowed] NSAttributedString GetAccessibilityAttributedLabel (UIPickerView pickerView, nint component); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("pickerView:accessibilityAttributedHintForComponent:")] [return: NullAllowed] @@ -12041,7 +11783,7 @@ interface IUIPickerViewDataSource { } interface UIPickerViewModel : UIPickerViewDataSource, UIPickerViewDelegate { } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Model] @@ -12072,13 +11814,13 @@ partial interface UIContentContainer { void WillTransitionToTraitCollection (UITraitCollection traitCollection, [NullAllowed] IUIViewControllerTransitionCoordinator coordinator); } - [NoWatch, iOS (8, 0), Protocol, Model] + [NoWatch, Protocol, Model] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface UIAppearanceContainer { } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSInvalidArgumentException Reason: Don't call -[UIPresentationController init]. @@ -12112,7 +11854,6 @@ partial interface UIPresentationController : UIAppearanceContainer, UITraitEnvir [Export ("adaptivePresentationStyle")] UIModalPresentationStyle AdaptivePresentationStyle (); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Export ("adaptivePresentationStyleForTraitCollection:")] UIModalPresentationStyle AdaptivePresentationStyle (UITraitCollection traitCollection); @@ -12152,7 +11893,7 @@ partial interface UIPresentationController : UIAppearanceContainer, UITraitEnvir [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] - [iOS (9, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Replaced by 'UIContextMenuInteraction'.")] [BaseType (typeof (NSObject))] @@ -12168,7 +11909,7 @@ interface UIPreviewAction : UIPreviewActionItem, NSCopying { [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] - [iOS (9, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Replaced by 'UIContextMenuInteraction'.")] [BaseType (typeof (NSObject))] @@ -12179,7 +11920,7 @@ interface UIPreviewActionGroup : UIPreviewActionItem, NSCopying { interface IUIPreviewActionItem { } - [iOS (9, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UIPreviewActionItem { @@ -12228,7 +11969,6 @@ interface UIProgressView : NSCoding { [Export ("setProgress:animated:")] void SetProgress (float progress /* this is float, not nfloat */, bool animated); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("observedProgress")] [NullAllowed] @@ -12292,7 +12032,6 @@ partial interface UISnapBehavior { [Export ("damping", ArgumentSemantic.Assign)] nfloat Damping { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("snapPoint", ArgumentSemantic.Assign)] CGPoint SnapPoint { get; set; } @@ -12425,42 +12164,34 @@ interface UIResponder : UIAccessibilityAction, UIAccessibilityFocus, UIUserActiv [Export ("textInputMode")] UITextInputMode TextInputMode { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("inputViewController")] UIInputViewController InputViewController { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("inputAccessoryViewController")] UIInputViewController InputAccessoryViewController { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("userActivity"), NullAllowed] NSUserActivity UserActivity { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("updateUserActivityState:")] void UpdateUserActivityState (NSUserActivity activity); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("pressesBegan:withEvent:")] void PressesBegan (NSSet presses, UIPressesEvent evt); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("pressesChanged:withEvent:")] void PressesChanged (NSSet presses, UIPressesEvent evt); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("pressesEnded:withEvent:")] void PressesEnded (NSSet presses, UIPressesEvent evt); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("pressesCancelled:withEvent:")] void PressesCancelled (NSSet presses, UIPressesEvent evt); @@ -12468,12 +12199,10 @@ interface UIResponder : UIAccessibilityAction, UIAccessibilityFocus, UIUserActiv // from UIResponderInputViewAdditions (UIResponder) - other members already inlined [NoTV] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("inputAssistantItem", ArgumentSemantic.Strong)] UITextInputAssistantItem InputAssistantItem { get; } - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("touchesEstimatedPropertiesUpdated:")] void TouchesEstimatedPropertiesUpdated (NSSet touches); @@ -12492,14 +12221,14 @@ interface UIResponder : UIAccessibilityAction, UIAccessibilityFocus, UIUserActiv [Export ("captureTextFromCamera:")] void CaptureTextFromCamera ([NullAllowed] NSObject sender); - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NoWatch, NoTV, NoiOS] [Export ("makeTouchBar")] [return: NullAllowed] NSTouchBar CreateTouchBar (); #pragma warning disable 0108 // warning CS0108: 'NSFontAssetRequest.Progress' hides inherited member 'NSProgressReporting.Progress'. Use the new keyword if hiding was intended. - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NoWatch, NoTV, NoiOS] [Export ("touchBar", ArgumentSemantic.Strong)] [NullAllowed] @@ -12670,7 +12399,6 @@ UIScreenMode CurrentMode { [Export ("displayLinkWithTarget:selector:")] CADisplayLink CreateDisplayLink (NSObject target, Selector sel); - [iOS (10, 3), TV (10, 2)] [MacCatalyst (13, 1)] [Export ("maximumFramesPerSecond")] nint MaximumFramesPerSecond { get; } @@ -12714,7 +12442,6 @@ UIScreenMode CurrentMode { [Field ("UIScreenReferenceDisplayModeStatusDidChangeNotification")] NSString ReferenceDisplayModeStatusDidChangeNotification { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("UIScreenCapturedDidChangeNotification")] [Notification] @@ -12724,27 +12451,22 @@ UIScreenMode CurrentMode { [Export ("snapshotViewAfterScreenUpdates:")] UIView SnapshotView (bool afterScreenUpdates); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("nativeBounds")] CGRect NativeBounds { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("nativeScale")] nfloat NativeScale { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("coordinateSpace")] IUICoordinateSpace CoordinateSpace { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("fixedCoordinateSpace")] IUICoordinateSpace FixedCoordinateSpace { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("overscanCompensationInsets")] UIEdgeInsets OverscanCompensationInsets { get; } @@ -12752,7 +12474,6 @@ UIScreenMode CurrentMode { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'UIWindowScene.FocusSystem.FocusedItem' instead.")] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'UIWindowScene.FocusSystem.FocusedItem' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'UIWindowScene.FocusSystem.FocusedItem' instead.")] - [iOS (9, 0)] // added in Xcode 7.1 / iOS 9.1 SDK [MacCatalyst (13, 1)] [NullAllowed, Export ("focusedView", ArgumentSemantic.Weak)] UIView FocusedView { get; } @@ -12760,7 +12481,6 @@ UIScreenMode CurrentMode { [Deprecated (PlatformName.iOS, 15, 0, message: "Check for 'UIWindowScene.FocusSystem != null' instead.")] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Check for 'UIWindowScene.FocusSystem != null' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Check for 'UIWindowScene.FocusSystem != null' instead.")] - [iOS (9, 0)] // added in Xcode 7.1 / iOS 9.1 SDK [MacCatalyst (13, 1)] [Export ("supportsFocus")] bool SupportsFocus { get; } @@ -12768,12 +12488,10 @@ UIScreenMode CurrentMode { [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'UIWindowScene.FocusSystem.FocusedItem' instead.")] [Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use 'UIWindowScene.FocusSystem.FocusedItem' instead.")] [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'UIWindowScene.FocusSystem.FocusedItem' instead.")] - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("focusedItem", ArgumentSemantic.Weak)] IUIFocusItem FocusedItem { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("captured")] bool Captured { [Bind ("isCaptured")] get; } @@ -12808,12 +12526,10 @@ interface UIScrollView : UIFocusItemScrollableContainer { [Export ("contentInset")] UIEdgeInsets ContentInset { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("adjustedContentInset")] UIEdgeInsets AdjustedContentInset { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("adjustedContentInsetDidChange")] [RequiresSuper] @@ -12824,17 +12540,14 @@ interface UIScrollView : UIFocusItemScrollableContainer { [Export ("automaticallyAdjustsScrollIndicatorInsets")] bool AutomaticallyAdjustsScrollIndicatorInsets { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("contentInsetAdjustmentBehavior", ArgumentSemantic.Assign)] UIScrollViewContentInsetAdjustmentBehavior ContentInsetAdjustmentBehavior { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("contentLayoutGuide", ArgumentSemantic.Strong)] UILayoutGuide ContentLayoutGuide { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("frameLayoutGuide", ArgumentSemantic.Strong)] UILayoutGuide FrameLayoutGuide { get; } @@ -12887,7 +12600,7 @@ UIEdgeInsets ScrollIndicatorInsets { [Export ("decelerationRate")] nfloat DecelerationRate { get; set; } - [iOS (10, 3), TV (10, 2), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Export ("indexDisplayMode")] UIScrollViewIndexDisplayMode IndexDisplayMode { get; set; } @@ -12980,14 +12693,12 @@ UIEdgeInsets ScrollIndicatorInsets { UIScrollViewKeyboardDismissMode KeyboardDismissMode { get; set; } [NoWatch] - [iOS (11, 0)] [Deprecated (PlatformName.TvOS, 11, 0, message: "Configuring the 'PanGestureRecognizer' for indirect scrolling automatically supports directional presses now, so this property is no longer useful.")] [MacCatalyst (13, 1)] [Export ("directionalPressGestureRecognizer")] UIGestureRecognizer DirectionalPressGestureRecognizer { get; } [NoTV] - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("refreshControl", ArgumentSemantic.Strong)] UIRefreshControl RefreshControl { get; set; } @@ -13039,7 +12750,6 @@ interface UIScrollViewDelegate { [Export ("scrollViewWillEndDragging:withVelocity:targetContentOffset:"), EventArgs ("WillEndDragging")] void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("scrollViewDidChangeAdjustedContentInset:")] void DidChangeAdjustedContentInset (UIScrollView scrollView); @@ -13053,7 +12763,6 @@ interface UIScrollViewAccessibilityDelegate { [Export ("accessibilityScrollStatusForScrollView:")] string GetAccessibilityScrollStatus (UIScrollView scrollView); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("accessibilityAttributedScrollStatusForScrollView:")] [return: NullAllowed] @@ -13234,7 +12943,6 @@ interface UISearchBar : UIBarPositioning, UITextInputTraits UISearchBarStyle SearchBarStyle { get; set; } [NoTV] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("inputAssistantItem", ArgumentSemantic.Strong)] UITextInputAssistantItem InputAssistantItem { get; } @@ -13295,7 +13003,7 @@ interface UISearchBarDelegate { void ListButtonClicked (UISearchBar searchBar); } - [NoWatch, iOS (9, 1)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] interface UISearchContainerViewController { @@ -13311,7 +13019,7 @@ interface UISearchContainerViewController { NativeHandle Constructor (UISearchController searchController); } - [NoWatch, iOS (8, 0)] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] [DisableDefaultCtor] // designated @@ -13364,7 +13072,6 @@ partial interface UISearchController : UIViewControllerTransitioningDelegate, UI [Export ("searchBar", ArgumentSemantic.Retain)] UISearchBar SearchBar { get; } - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("obscuresBackgroundDuringPresentation")] bool ObscuresBackgroundDuringPresentation { get; set; } @@ -14085,7 +13792,6 @@ interface UITabBar bool Translucent { [Bind ("isTranslucent")] get; set; } [Appearance] - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("unselectedItemTintColor", ArgumentSemantic.Copy)] UIColor UnselectedItemTintColor { get; set; } @@ -14327,32 +14033,27 @@ interface UITabBarItem : NSCoding UIImage SelectedImage { get; set; } [Appearance] - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("badgeColor", ArgumentSemantic.Copy)] UIColor BadgeColor { get; set; } [Appearance] - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("setBadgeTextAttributes:forState:")] [Internal] void SetBadgeTextAttributes ([NullAllowed] NSDictionary textAttributes, UIControlState state); - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Wrap ("SetBadgeTextAttributes (textAttributes.GetDictionary (), state)")] void SetBadgeTextAttributes (UIStringAttributes textAttributes, UIControlState state); [Appearance] - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("badgeTextAttributesForState:")] [EditorBrowsable (EditorBrowsableState.Advanced)] [return: NullAllowed] NSDictionary GetBadgeTextAttributesDictionary (UIControlState state); - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Wrap ("new UIStringAttributes (GetBadgeTextAttributesDictionary(state))")] UIStringAttributes GetBadgeTextAttributes (UIControlState state); @@ -14642,24 +14343,20 @@ interface UITableView : NSCoding, UIDataSourceTranslating UIEdgeInsets SeparatorInset { get; set; } [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("separatorEffect", ArgumentSemantic.Copy)] [Appearance] UIVisualEffect SeparatorEffect { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("cellLayoutMarginsFollowReadableWidth")] bool CellLayoutMarginsFollowReadableWidth { get; set; } - [iOS (9, 0)] // added in Xcode 7.1 / iOS 9.1 SDK [MacCatalyst (13, 1)] [Export ("remembersLastFocusedIndexPath")] bool RemembersLastFocusedIndexPath { get; set; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("prefetchDataSource", ArgumentSemantic.Weak)] IUITableViewDataSourcePrefetching PrefetchDataSource { get; set; } @@ -14669,56 +14366,47 @@ interface UITableView : NSCoding, UIDataSourceTranslating bool PrefetchingEnabled { [Bind ("isPrefetchingEnabled")] get; set; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("dragDelegate", ArgumentSemantic.Weak)] IUITableViewDragDelegate DragDelegate { get; set; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("dropDelegate", ArgumentSemantic.Weak)] IUITableViewDropDelegate DropDelegate { get; set; } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("separatorInsetReference", ArgumentSemantic.Assign)] UITableViewSeparatorInsetReference SeparatorInsetReference { get; set; } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Async] [Export ("performBatchUpdates:completion:")] void PerformBatchUpdates ([NullAllowed] Action updates, [NullAllowed] Action completion); [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("hasUncommittedUpdates")] bool HasUncommittedUpdates { get; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dragInteractionEnabled")] bool DragInteractionEnabled { get; set; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("hasActiveDrag")] bool HasActiveDrag { get; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("hasActiveDrop")] bool HasActiveDrop { get; } [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("insetsContentViewsToSafeArea")] bool InsetsContentViewsToSafeArea { get; set; } @@ -14756,7 +14444,7 @@ interface UITableView : NSCoding, UIDataSourceTranslating } interface IUITableViewDataSourcePrefetching { } - [iOS (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UITableViewDataSourcePrefetching { @@ -14804,12 +14492,10 @@ interface UITableViewSource { [Export ("tableView:canMoveRowAtIndexPath:")] bool CanMoveRow (UITableView tableView, NSIndexPath indexPath); - [TV (10, 2)] [MacCatalyst (13, 1)] [Export ("sectionIndexTitlesForTableView:")] string [] SectionIndexTitles (UITableView tableView); - [TV (10, 2)] // <- Header removed __TVOS_PROHIBITED; [MacCatalyst (13, 1)] [Export ("tableView:sectionForSectionIndexTitle:atIndex:")] nint SectionFor (UITableView tableView, string title, nint atIndex); @@ -14940,29 +14626,24 @@ interface UITableViewSource { nfloat EstimatedHeightForFooter (UITableView tableView, nint section); [NoTV] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GetTrailingSwipeActionsConfiguration' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GetTrailingSwipeActionsConfiguration' instead.")] [Export ("tableView:editActionsForRowAtIndexPath:")] UITableViewRowAction [] EditActionsForRow (UITableView tableView, NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("tableView:canFocusRowAtIndexPath:")] bool CanFocusRow (UITableView tableView, NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("tableView:shouldUpdateFocusInContext:")] bool ShouldUpdateFocus (UITableView tableView, UITableViewFocusUpdateContext context); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("tableView:didUpdateFocusInContext:withAnimationCoordinator:")] void DidUpdateFocus (UITableView tableView, UITableViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("indexPathForPreferredFocusedViewInTableView:")] [return: NullAllowed] @@ -14973,21 +14654,18 @@ interface UITableViewSource { bool GetSelectionFollowsFocusForRow (UITableView tableView, NSIndexPath indexPath); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("tableView:leadingSwipeActionsConfigurationForRowAtIndexPath:")] [return: NullAllowed] UISwipeActionsConfiguration GetLeadingSwipeActionsConfiguration (UITableView tableView, NSIndexPath indexPath); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("tableView:trailingSwipeActionsConfigurationForRowAtIndexPath:")] [return: NullAllowed] UISwipeActionsConfiguration GetTrailingSwipeActionsConfiguration (UITableView tableView, NSIndexPath indexPath); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("tableView:shouldSpringLoadRowAtIndexPath:withContext:")] bool ShouldSpringLoadRow (UITableView tableView, NSIndexPath indexPath, IUISpringLoadedInteractionContext context); @@ -15212,19 +14890,16 @@ interface UITableViewCell : NSCoding, UIGestureRecognizerDelegate { UIEdgeInsets SeparatorInset { get; set; } [Appearance] - [iOS (9, 0)] // introduced in Xcode 7.1 SDK (iOS 9.1 but hidden in 9.0) [MacCatalyst (13, 1)] [Export ("focusStyle", ArgumentSemantic.Assign)] UITableViewCellFocusStyle FocusStyle { get; set; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("dragStateDidChange:")] void DragStateDidChange (UITableViewCellDragState dragState); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("userInteractionEnabledWhileDragging")] bool UserInteractionEnabledWhileDragging { get; set; } @@ -15294,12 +14969,10 @@ interface UITableViewDataSource { [Export ("tableView:canMoveRowAtIndexPath:")] bool CanMoveRow (UITableView tableView, NSIndexPath indexPath); - [TV (10, 2)] [MacCatalyst (13, 1)] [Export ("sectionIndexTitlesForTableView:")] string [] SectionIndexTitles (UITableView tableView); - [TV (10, 2)] [MacCatalyst (13, 1)] [Export ("tableView:sectionForSectionIndexTitle:atIndex:")] nint SectionFor (UITableView tableView, string title, nint atIndex); @@ -15438,29 +15111,24 @@ interface UITableViewDelegate { nfloat EstimatedHeightForFooter (UITableView tableView, nint section); [NoTV] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GetTrailingSwipeActionsConfiguration' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GetTrailingSwipeActionsConfiguration' instead.")] [Export ("tableView:editActionsForRowAtIndexPath:")] UITableViewRowAction [] EditActionsForRow (UITableView tableView, NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("tableView:canFocusRowAtIndexPath:")] bool CanFocusRow (UITableView tableView, NSIndexPath indexPath); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("tableView:shouldUpdateFocusInContext:")] bool ShouldUpdateFocus (UITableView tableView, UITableViewFocusUpdateContext context); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("tableView:didUpdateFocusInContext:withAnimationCoordinator:")] void DidUpdateFocus (UITableView tableView, UITableViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("indexPathForPreferredFocusedViewInTableView:")] [return: NullAllowed] @@ -15471,21 +15139,18 @@ interface UITableViewDelegate { bool GetSelectionFollowsFocusForRow (UITableView tableView, NSIndexPath indexPath); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("tableView:leadingSwipeActionsConfigurationForRowAtIndexPath:")] [return: NullAllowed] UISwipeActionsConfiguration GetLeadingSwipeActionsConfiguration (UITableView tableView, NSIndexPath indexPath); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("tableView:trailingSwipeActionsConfigurationForRowAtIndexPath:")] [return: NullAllowed] UISwipeActionsConfiguration GetTrailingSwipeActionsConfiguration (UITableView tableView, NSIndexPath indexPath); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("tableView:shouldSpringLoadRowAtIndexPath:withContext:")] bool ShouldSpringLoadRow (UITableView tableView, NSIndexPath indexPath, IUISpringLoadedInteractionContext context); @@ -15639,7 +15304,6 @@ interface UITableViewHeaderFooterView : UIAppearance, NSCoding { } [NoTV, NoWatch] - [iOS (8, 0)] [BaseType (typeof (NSObject))] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'UIContextualAction' and corresponding APIs instead.")] [MacCatalyst (13, 1)] @@ -15794,7 +15458,6 @@ interface UITextField : UITextInput, UIContentSizeCategoryAdjusting [Notification] NSString TextFieldTextDidChangeNotification { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Field ("UITextFieldDidEndEditingReasonKey")] NSString DidEndEditingReasonKey { get; } @@ -15850,7 +15513,6 @@ interface UITextFieldDelegate { [Export ("textFieldDidEndEditing:"), EventArgs ("UITextField"), EventName ("Ended")] void EditingEnded (UITextField textField); - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("textFieldDidEndEditing:reason:"), EventArgs ("UITextFieldEditingEnded"), EventName ("EndedWithReason")] void EditingEnded (UITextField textField, UITextFieldDidEndEditingReason reason); @@ -16074,12 +15736,10 @@ interface UITextViewDelegate { [Export ("textView:shouldInteractWithTextAttachment:inRange:"), DelegateName ("Func"), DefaultValue ("true")] bool ShouldInteractWithTextAttachment (UITextView textView, NSTextAttachment textAttachment, NSRange characterRange); - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("textView:shouldInteractWithURL:inRange:interaction:"), DelegateApiName ("AllowUrlInteraction"), DelegateName ("UITextViewDelegateShouldInteractUrlDelegate"), DefaultValue ("true")] bool ShouldInteractWithUrl (UITextView textView, NSUrl url, NSRange characterRange, UITextItemInteraction interaction); - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("textView:shouldInteractWithTextAttachment:inRange:interaction:"), DelegateApiName ("AllowTextAttachmentInteraction"), DelegateName ("UITextViewDelegateShouldInteractTextDelegate"), DefaultValue ("true")] bool ShouldInteractWithTextAttachment (UITextView textView, NSTextAttachment textAttachment, NSRange characterRange, UITextItemInteraction interaction); @@ -16178,7 +15838,7 @@ interface UIToolbar : UIBarPositioning { interface IUITimingCurveProvider { } - [iOS (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UITimingCurveProvider : NSCoding, NSCopying { @@ -16233,75 +15893,62 @@ interface UITouch { [Export ("gestureRecognizers", ArgumentSemantic.Copy)] UIGestureRecognizer [] GestureRecognizers { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("majorRadius")] nfloat MajorRadius { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("majorRadiusTolerance")] nfloat MajorRadiusTolerance { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("force")] nfloat Force { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("maximumPossibleForce")] nfloat MaximumPossibleForce { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("type")] UITouchType Type { get; } [NoTV] - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("preciseLocationInView:")] CGPoint GetPreciseLocation ([NullAllowed] UIView view); [NoTV] - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("precisePreviousLocationInView:")] CGPoint GetPrecisePreviousLocation ([NullAllowed] UIView view); [NoTV] // stylus only, header unclear but not part of web documentation for tvOS - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("azimuthAngleInView:")] nfloat GetAzimuthAngle ([NullAllowed] UIView view); [NoTV] // stylus only, header unclear but not part of web documentation for tvOS - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("azimuthUnitVectorInView:")] CGVector GetAzimuthUnitVector ([NullAllowed] UIView view); [NoTV] // stylus only, header unclear but not part of web documentation for tvOS - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("altitudeAngle")] nfloat AltitudeAngle { get; } [NoTV] // header unclear but not part of web documentation for tvOS - [iOS (9, 1)] [MacCatalyst (13, 1)] [NullAllowed, Export ("estimationUpdateIndex")] NSNumber EstimationUpdateIndex { get; } [NoTV] // header unclear but not part of web documentation for tvOS - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("estimatedProperties")] UITouchProperties EstimatedProperties { get; } [NoTV] // header unclear but not part of web documentation for tvOS - [iOS (9, 1)] [MacCatalyst (13, 1)] [Export ("estimatedPropertiesExpectingUpdates")] UITouchProperties EstimatedPropertiesExpectingUpdates { get; } @@ -16723,12 +16370,10 @@ interface UIView : UIAppearance, UIAppearanceContainer, UIAccessibility, UIDynam [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Override 'ViewForFirstBaselineLayout' or 'ViewForLastBaselineLayout'.")] UIView ViewForBaselineLayout { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("viewForFirstBaselineLayout")] UIView ViewForFirstBaselineLayout { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("viewForLastBaselineLayout")] UIView ViewForLastBaselineLayout { get; } @@ -16855,86 +16500,70 @@ interface UIView : UIAppearance, UIAppearanceContainer, UIAccessibility, UIDynam void AnimateNotify (double duration, double delay, nfloat springWithDampingRatio, nfloat initialSpringVelocity, UIViewAnimationOptions options, Action animations, [NullAllowed] UICompletionHandler completion); - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] // by default this property is null [Export ("maskView", ArgumentSemantic.Retain)] UIView MaskView { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:")] // float, not CGFloat / nfloat, but we can't use an enum in the signature CGSize SystemLayoutSizeFittingSize (CGSize targetSize, /* UILayoutPriority */ float horizontalFittingPriority, /* UILayoutPriority */ float verticalFittingPriority); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("layoutMargins")] UIEdgeInsets LayoutMargins { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("directionalLayoutMargins", ArgumentSemantic.Assign)] NSDirectionalEdgeInsets DirectionalLayoutMargins { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("preservesSuperviewLayoutMargins")] bool PreservesSuperviewLayoutMargins { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("insetsLayoutMarginsFromSafeArea")] bool InsetsLayoutMarginsFromSafeArea { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("layoutMarginsDidChange")] void LayoutMarginsDidChange (); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("safeAreaInsets")] UIEdgeInsets SafeAreaInsets { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("safeAreaInsetsDidChange")] void SafeAreaInsetsDidChange (); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static] [Export ("userInterfaceLayoutDirectionForSemanticContentAttribute:")] UIUserInterfaceLayoutDirection GetUserInterfaceLayoutDirection (UISemanticContentAttribute attribute); - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("userInterfaceLayoutDirectionForSemanticContentAttribute:relativeToLayoutDirection:")] UIUserInterfaceLayoutDirection GetUserInterfaceLayoutDirection (UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection); - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("effectiveUserInterfaceLayoutDirection")] UIUserInterfaceLayoutDirection EffectiveUserInterfaceLayoutDirection { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("semanticContentAttribute", ArgumentSemantic.Assign)] UISemanticContentAttribute SemanticContentAttribute { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("layoutMarginsGuide", ArgumentSemantic.Strong)] UILayoutGuide LayoutMarginsGuide { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("readableContentGuide", ArgumentSemantic.Strong)] UILayoutGuide ReadableContentGuide { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("safeAreaLayoutGuide", ArgumentSemantic.Strong)] UILayoutGuide SafeAreaLayoutGuide { get; } @@ -16943,88 +16572,71 @@ interface UIView : UIAppearance, UIAppearanceContainer, UIAccessibility, UIDynam [Export ("keyboardLayoutGuide")] UIKeyboardLayoutGuide KeyboardLayoutGuide { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("inheritedAnimationDuration")] [Static] double InheritedAnimationDuration { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("leadingAnchor")] NSLayoutXAxisAnchor LeadingAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("trailingAnchor")] NSLayoutXAxisAnchor TrailingAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("leftAnchor")] NSLayoutXAxisAnchor LeftAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("rightAnchor")] NSLayoutXAxisAnchor RightAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("topAnchor")] NSLayoutYAxisAnchor TopAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("bottomAnchor")] NSLayoutYAxisAnchor BottomAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("widthAnchor")] NSLayoutDimension WidthAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("heightAnchor")] NSLayoutDimension HeightAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("centerXAnchor")] NSLayoutXAxisAnchor CenterXAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("centerYAnchor")] NSLayoutYAxisAnchor CenterYAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("firstBaselineAnchor")] NSLayoutYAxisAnchor FirstBaselineAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("lastBaselineAnchor")] NSLayoutYAxisAnchor LastBaselineAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("layoutGuides")] UILayoutGuide [] LayoutGuides { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("addLayoutGuide:")] void AddLayoutGuide (UILayoutGuide guide); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("removeLayoutGuide:")] void RemoveLayoutGuide (UILayoutGuide guide); - [iOS (9, 0)] // added in Xcode 7.1 / iOS 9.1 SDK [MacCatalyst (13, 1)] [Export ("focused")] bool Focused { [Bind ("isFocused")] get; } @@ -17043,29 +16655,27 @@ interface UIView : UIAppearance, UIAppearanceContainer, UIAccessibility, UIDynam [NullAllowed, Export ("focusEffect", ArgumentSemantic.Copy)] new UIFocusEffect FocusEffect { get; set; } - [iOS (9, 0)] // added in Xcode 7.1 / iOS 9.1 SDK [MacCatalyst (13, 1)] [Export ("canBecomeFocused")] new bool CanBecomeFocused { get; } - [Watch (5, 0), TV (13, 0), iOS (11, 0)] // Headers state Watch 5.0 + [Watch (5, 0), TV (13, 0)] // Headers state Watch 5.0 [MacCatalyst (13, 1)] [Export ("addInteraction:")] void AddInteraction (IUIInteraction interaction); - [Watch (5, 0), TV (13, 0), iOS (11, 0)] // Headers state Watch 5.0 + [Watch (5, 0), TV (13, 0)] // Headers state Watch 5.0 [MacCatalyst (13, 1)] [Export ("removeInteraction:")] void RemoveInteraction (IUIInteraction interaction); - [Watch (5, 0), TV (13, 0), iOS (11, 0)] // Headers state Watch 5.0 + [Watch (5, 0), TV (13, 0)] // Headers state Watch 5.0 [MacCatalyst (13, 1)] [Export ("interactions", ArgumentSemantic.Copy)] IUIInteraction [] Interactions { get; set; } // UIAccessibilityInvertColors category [NoWatch] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("accessibilityIgnoresInvertColors")] bool AccessibilityIgnoresInvertColors { get; set; } @@ -17144,7 +16754,7 @@ interface UIView_UITextField { bool EndEditing (bool force); } - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Category] [BaseType (typeof (UILayoutGuide))] @@ -17705,46 +17315,38 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer // iOS 8 // - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("targetViewControllerForAction:sender:")] [return: NullAllowed] UIViewController GetTargetViewControllerForAction (Selector action, [NullAllowed] NSObject sender); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("showViewController:sender:")] void ShowViewController (UIViewController vc, [NullAllowed] NSObject sender); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("showDetailViewController:sender:")] void ShowDetailViewController (UIViewController vc, [NullAllowed] NSObject sender); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("setOverrideTraitCollection:forChildViewController:")] void SetOverrideTraitCollection (UITraitCollection collection, UIViewController childViewController); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("overrideTraitCollectionForChildViewController:")] UITraitCollection GetOverrideTraitCollectionForChildViewController (UIViewController childViewController); - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("extensionContext")] NSExtensionContext ExtensionContext { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("presentationController")] UIPresentationController PresentationController { get; } [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("popoverPresentationController")] @@ -17754,51 +17356,42 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [NullAllowed, Export ("sheetPresentationController")] UISheetPresentationController SheetPresentationController { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("UIViewControllerShowDetailTargetDidChangeNotification")] [Notification] NSString ShowDetailTargetDidChangeNotification { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("loadViewIfNeeded")] void LoadViewIfNeeded (); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("viewIfLoaded", ArgumentSemantic.Strong), NullAllowed] UIView ViewIfLoaded { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("allowedChildViewControllersForUnwindingFromSource:")] UIViewController [] GetAllowedChildViewControllersForUnwinding (UIStoryboardUnwindSegueSource segueSource); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("childViewControllerContainingSegueSource:")] [return: NullAllowed] UIViewController GetChildViewControllerContainingSegueSource (UIStoryboardUnwindSegueSource segueSource); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("unwindForSegue:towardsViewController:")] void Unwind (UIStoryboardSegue unwindSegue, UIViewController subsequentVC); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("addKeyCommand:")] void AddKeyCommand (UIKeyCommand command); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("removeKeyCommand:")] void RemoveKeyCommand (UIKeyCommand command); [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Replaced by 'UIContextMenuInteraction'.")] [Export ("registerForPreviewingWithDelegate:sourceView:")] @@ -17806,7 +17399,6 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Replaced by 'UIContextMenuInteraction'.")] [Export ("unregisterForPreviewingWithContext:")] @@ -17814,7 +17406,6 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Replaced by 'UIContextMenuInteraction'.")] [Export ("previewActionItems")] @@ -17823,7 +17414,6 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [Field ("UIViewControllerHierarchyInconsistencyException")] NSString HierarchyInconsistencyException { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("restoresFocusAfterTransition")] bool RestoresFocusAfterTransition { get; set; } @@ -17833,64 +17423,53 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer new string FocusGroupIdentifier { get; set; } [NoWatch, NoiOS] - [TV (11, 0)] [NoMacCatalyst] [Export ("preferredUserInterfaceStyle")] UIUserInterfaceStyle PreferredUserInterfaceStyle { get; } [NoWatch, NoiOS] - [TV (11, 0)] [NoMacCatalyst] [Export ("setNeedsUserInterfaceAppearanceUpdate")] void SetNeedsUserInterfaceAppearanceUpdate (); [NoWatch, NoiOS] - [TV (11, 0)] [NoMacCatalyst] [NullAllowed, Export ("childViewControllerForUserInterfaceStyle")] UIViewController ChildViewControllerForUserInterfaceStyle { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("additionalSafeAreaInsets", ArgumentSemantic.Assign)] UIEdgeInsets AdditionalSafeAreaInsets { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("systemMinimumLayoutMargins")] NSDirectionalEdgeInsets SystemMinimumLayoutMargins { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("viewRespectsSystemMinimumLayoutMargins")] bool ViewRespectsSystemMinimumLayoutMargins { get; set; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("viewLayoutMarginsDidChange")] [RequiresSuper] void ViewLayoutMarginsDidChange (); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("viewSafeAreaInsetsDidChange")] [RequiresSuper] void ViewSafeAreaInsetsDidChange (); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("childViewControllerForScreenEdgesDeferringSystemGestures")] UIViewController ChildViewControllerForScreenEdgesDeferringSystemGestures { get; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("preferredScreenEdgesDeferringSystemGestures")] UIRectEdge PreferredScreenEdgesDeferringSystemGestures { get; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("setNeedsUpdateOfScreenEdgesDeferringSystemGestures")] void SetNeedsUpdateOfScreenEdgesDeferringSystemGestures (); @@ -17898,19 +17477,16 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer // UIHomeIndicatorAutoHidden (UIViewController) category [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("childViewControllerForHomeIndicatorAutoHidden")] UIViewController ChildViewControllerForHomeIndicatorAutoHidden { get; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("prefersHomeIndicatorAutoHidden")] bool PrefersHomeIndicatorAutoHidden { get; } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("setNeedsUpdateOfHomeIndicatorAutoHidden")] void SetNeedsUpdateOfHomeIndicatorAutoHidden (); @@ -17952,14 +17528,14 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [NoiOS] [NoTV] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("setNeedsTouchBarUpdate")] void SetNeedsTouchBarUpdate (); [NoiOS] [NoTV] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NullAllowed] [Export ("childViewControllerForTouchBar")] UIViewController ChildViewControllerForTouchBar { get; } @@ -18043,7 +17619,6 @@ partial interface UIViewControllerContextTransitioning { #if NET // Can't break the world right now [Abstract] #endif - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("pauseInteractiveTransition")] void PauseInteractiveTransition (); @@ -18056,7 +17631,7 @@ interface IUITraitEnvironment { } [BaseType (typeof (NSObject))] [Model] [Protocol] - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] partial interface UITraitEnvironment { [Abstract] @@ -18068,7 +17643,7 @@ partial interface UITraitEnvironment { void TraitCollectionDidChange ([NullAllowed] UITraitCollection previousTraitCollection); } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] @@ -18077,7 +17652,7 @@ partial interface UITraitCollection : NSCopying, NSSecureCoding { [Export ("userInterfaceIdiom")] UIUserInterfaceIdiom UserInterfaceIdiom { get; } - [TV (10, 0), NoWatch, iOS (12, 0)] + [NoWatch, iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("userInterfaceStyle")] UIUserInterfaceStyle UserInterfaceStyle { get; } @@ -18109,52 +17684,44 @@ partial interface UITraitCollection : NSCopying, NSSecureCoding { [Static, Export ("traitCollectionWithVerticalSizeClass:")] UITraitCollection FromVerticalSizeClass (UIUserInterfaceSizeClass verticalSizeClass); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Static, Export ("traitCollectionWithForceTouchCapability:")] UITraitCollection FromForceTouchCapability (UIForceTouchCapability capability); - [TV (10, 0), NoWatch, iOS (12, 0)] + [NoWatch, iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("traitCollectionWithUserInterfaceStyle:")] UITraitCollection FromUserInterfaceStyle (UIUserInterfaceStyle userInterfaceStyle); - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("traitCollectionWithDisplayGamut:")] UITraitCollection FromDisplayGamut (UIDisplayGamut displayGamut); - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("traitCollectionWithLayoutDirection:")] UITraitCollection FromLayoutDirection (UITraitEnvironmentLayoutDirection layoutDirection); - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Static] [Export ("traitCollectionWithPreferredContentSizeCategory:")] [Internal] UITraitCollection FromPreferredContentSizeCategory (NSString preferredContentSizeCategory); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("forceTouchCapability")] UIForceTouchCapability ForceTouchCapability { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("displayGamut")] UIDisplayGamut DisplayGamut { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("preferredContentSizeCategory")] string PreferredContentSizeCategory { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("layoutDirection")] UITraitEnvironmentLayoutDirection LayoutDirection { get; } @@ -18253,12 +17820,10 @@ partial interface UITransitionContext { [Field ("UITransitionContextToViewControllerKey")] NSString ToViewControllerKey { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("UITransitionContextFromViewKey")] NSString FromViewKey { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("UITransitionContextToViewKey")] NSString ToViewKey { get; } @@ -18277,7 +17842,6 @@ partial interface UIViewControllerAnimatedTransitioning { [Export ("animateTransition:")] void AnimateTransition (IUIViewControllerContextTransitioning transitionContext); - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("interruptibleAnimatorForTransition:")] IUIViewImplicitlyAnimating GetInterruptibleAnimator (IUIViewControllerContextTransitioning transitionContext); @@ -18302,7 +17866,6 @@ partial interface UIViewControllerInteractiveTransitioning { [Export ("completionCurve")] UIViewAnimationCurve CompletionCurve { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("wantsInteractiveStart")] bool WantsInteractiveStart { get; } @@ -18326,7 +17889,6 @@ partial interface UIViewControllerTransitioningDelegate { [Export ("interactionControllerForDismissal:")] IUIViewControllerInteractiveTransitioning GetInteractionControllerForDismissal (IUIViewControllerAnimatedTransitioning animator); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("presentationControllerForPresentedViewController:presentingViewController:sourceViewController:")] UIPresentationController GetPresentationControllerForPresentedViewController (UIViewController presentedViewController, [NullAllowed] UIViewController presentingViewController, UIViewController sourceViewController); @@ -18348,19 +17910,16 @@ partial interface UIPercentDrivenInteractiveTransition : UIViewControllerInterac [Export ("completionCurve", ArgumentSemantic.Assign)] new UIViewAnimationCurve CompletionCurve { get; set; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("timingCurve", ArgumentSemantic.Strong)] IUITimingCurveProvider TimingCurve { get; set; } // getter comes from UIViewControllerInteractiveTransitioning but // headers declares a setter here - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("wantsInteractiveStart")] new bool WantsInteractiveStart { get; set; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("pauseInteractiveTransition")] void PauseInteractiveTransition (); @@ -18428,13 +17987,11 @@ partial interface UIViewControllerTransitionCoordinatorContext { UIView ContainerView { get; } [Abstract] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("targetTransform")] CGAffineTransform TargetTransform (); [Abstract] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("viewForKey:")] [EditorBrowsable (EditorBrowsableState.Advanced)] // this is not the one we want to be seen (compat only) @@ -18443,7 +18000,6 @@ partial interface UIViewControllerTransitionCoordinatorContext { #if NET // This is abstract in headers but is a breaking change [Abstract] #endif - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("isInterruptible")] bool IsInterruptible { get; } @@ -18477,7 +18033,6 @@ bool AnimateAlongsideTransition (Action handler); @@ -18585,11 +18140,9 @@ interface UIWebView : UIScrollViewDelegate { [Export ("pageCount")] nint PageCount { get; } - [iOS (9, 0)] [Export ("allowsPictureInPictureMediaPlayback")] bool AllowsPictureInPictureMediaPlayback { get; set; } - [iOS (9, 0), Mac (10, 11)] [Export ("allowsLinkPreview")] bool AllowsLinkPreview { get; set; } } @@ -18653,7 +18206,7 @@ interface UITextChecker { } [Static] - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] interface UITextContentType { [Field ("UITextContentTypeName")] @@ -18725,12 +18278,10 @@ interface UITextContentType { [Field ("UITextContentTypeCreditCardNumber")] NSString CreditCardNumber { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("UITextContentTypeUsername")] NSString Username { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("UITextContentTypePassword")] NSString Password { get; } @@ -18832,22 +18383,18 @@ interface UISplitViewController { // // iOS 8 // - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("collapsed")] bool Collapsed { [Bind ("isCollapsed")] get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("preferredDisplayMode")] UISplitViewControllerDisplayMode PreferredDisplayMode { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("displayMode")] UISplitViewControllerDisplayMode DisplayMode { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("preferredPrimaryColumnWidthFraction", ArgumentSemantic.UnsafeUnretained)] nfloat PreferredPrimaryColumnWidthFraction { get; set; } @@ -18857,17 +18404,14 @@ interface UISplitViewController { [Export ("preferredPrimaryColumnWidth")] nfloat PreferredPrimaryColumnWidth { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("minimumPrimaryColumnWidth", ArgumentSemantic.UnsafeUnretained)] nfloat MinimumPrimaryColumnWidth { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("maximumPrimaryColumnWidth", ArgumentSemantic.UnsafeUnretained)] nfloat MaximumPrimaryColumnWidth { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("primaryColumnWidth")] nfloat PrimaryColumnWidth { get; } @@ -18897,7 +18441,6 @@ interface UISplitViewController { [Export ("supplementaryColumnWidth")] nfloat SupplementaryColumnWidth { get; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("displayModeButtonItem")] UIBarButtonItem DisplayModeButtonItem { get; } @@ -18907,22 +18450,18 @@ interface UISplitViewController { [Export ("displayModeButtonVisibility", ArgumentSemantic.Assign)] UISplitViewControllerDisplayModeButtonVisibility DisplayModeButtonVisibility { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("showViewController:sender:")] void ShowViewController (UIViewController vc, [NullAllowed] NSObject sender); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("showDetailViewController:sender:")] void ShowDetailViewController (UIViewController vc, [NullAllowed] NSObject sender); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Field ("UISplitViewControllerAutomaticDimension")] nfloat AutomaticDimension { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("primaryEdge", ArgumentSemantic.Assign)] UISplitViewControllerPrimaryEdge PrimaryEdge { get; set; } @@ -18977,42 +18516,34 @@ interface UISplitViewControllerDelegate { [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UISearchController' instead.")] bool ShouldHideViewController (UISplitViewController svc, UIViewController viewController, UIInterfaceOrientation inOrientation); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("splitViewController:willChangeToDisplayMode:"), EventArgs ("UISplitViewControllerDisplayMode")] void WillChangeDisplayMode (UISplitViewController svc, UISplitViewControllerDisplayMode displayMode); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("targetDisplayModeForActionInSplitViewController:"), DelegateName ("UISplitViewControllerFetchTargetForActionHandler"), DefaultValue (UISplitViewControllerDisplayMode.Automatic)] UISplitViewControllerDisplayMode GetTargetDisplayModeForAction (UISplitViewController svc); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("splitViewController:showViewController:sender:"), DelegateName ("UISplitViewControllerDisplayEvent"), DefaultValue (false)] bool EventShowViewController (UISplitViewController splitViewController, UIViewController vc, NSObject sender); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("splitViewController:showDetailViewController:sender:"), DelegateName ("UISplitViewControllerDisplayEvent"), DefaultValue (false)] bool EventShowDetailViewController (UISplitViewController splitViewController, UIViewController vc, NSObject sender); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("primaryViewControllerForCollapsingSplitViewController:"), DelegateName ("UISplitViewControllerGetViewController"), DefaultValue (null)] UIViewController GetPrimaryViewControllerForCollapsingSplitViewController (UISplitViewController splitViewController); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("primaryViewControllerForExpandingSplitViewController:"), DelegateName ("UISplitViewControllerGetViewController"), DefaultValue (null)] UIViewController GetPrimaryViewControllerForExpandingSplitViewController (UISplitViewController splitViewController); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("splitViewController:collapseSecondaryViewController:ontoPrimaryViewController:"), DelegateName ("UISplitViewControllerCanCollapsePredicate"), DefaultValue (true)] bool CollapseSecondViewController (UISplitViewController splitViewController, UIViewController secondaryViewController, UIViewController primaryViewController); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("splitViewController:separateSecondaryViewControllerFromPrimaryViewController:"), DelegateName ("UISplitViewControllerGetSecondaryViewController"), DefaultValue (null)] UIViewController SeparateSecondaryViewController (UISplitViewController splitViewController, UIViewController primaryViewController); @@ -19063,18 +18594,15 @@ interface UISplitViewControllerDelegate { [Category] [BaseType (typeof (UIViewController))] partial interface UISplitViewController_UIViewController { - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("splitViewController", ArgumentSemantic.Retain)] [return: NullAllowed] UISplitViewController GetSplitViewController (); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("collapseSecondaryViewController:forSplitViewController:")] void CollapseSecondaryViewController (UIViewController secondaryViewController, UISplitViewController splitViewController); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("separateSecondaryViewControllerForSplitViewController:")] UIViewController SeparateSecondaryViewControllerForSplitViewController (UISplitViewController splitViewController); @@ -19216,7 +18744,7 @@ interface UIStoryboardSegue { UIStoryboardSegue Create ([NullAllowed] string identifier, UIViewController source, UIViewController destination, Action performHandler); } - [iOS (9, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -19233,7 +18761,7 @@ interface UIStoryboardUnwindSegueSource { NSObject Sender { get; } } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UIPopoverBackgroundViewMethods { @@ -19360,7 +18888,6 @@ interface UIPopoverControllerDelegate { } [NoTV, NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIPresentationController), Delegates = new string [] { "WeakDelegate" }, @@ -19389,7 +18916,6 @@ partial interface UIPopoverPresentationController { [Export ("sourceRect", ArgumentSemantic.UnsafeUnretained)] CGRect SourceRect { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("canOverlapSourceViewRect")] bool CanOverlapSourceViewRect { get; set; } @@ -19438,7 +18964,6 @@ partial interface UIAdaptivePresentationControllerDelegate { DelegateName ("UIAdaptivePresentationWithStyleRequested"), DefaultValue (null)] UIViewController GetViewControllerForAdaptivePresentation (UIPresentationController controller, UIModalPresentationStyle style); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Export ("adaptivePresentationStyleForPresentationController:traitCollection:"), DelegateName ("UIAdaptivePresentationStyleWithTraitsRequested"), DefaultValue (UIModalPresentationStyle.None)] @@ -19449,7 +18974,6 @@ partial interface UIAdaptivePresentationControllerDelegate { EventName ("PrepareAdaptive"), EventArgs ("UIPrepareAdaptivePresentationArgs")] void PrepareAdaptivePresentationController (UIPresentationController presentationController, UIPresentationController adaptivePresentationController); - [iOS (8, 3)] [MacCatalyst (13, 1)] [Export ("presentationController:willPresentWithAdaptiveStyle:transitionCoordinator:"), EventName ("WillPresentController"), EventArgs ("UIWillPresentAdaptiveStyle")] @@ -19539,7 +19063,6 @@ interface UITextInputMode : NSSecureCoding { } [NoTV, NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSGenericException Reason: -[UIPrinter init] not allowed @@ -19574,7 +19097,6 @@ partial interface UIPrinter { } [NoTV, NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSGenericException Reason: -[UIPrinterPickerController init] not allowed @@ -19739,7 +19261,6 @@ interface UIPrintInteractionControllerDelegate { [DelegateName ("Func")] nfloat CutLengthForPaper (UIPrintInteractionController printInteractionController, UIPrintPaper paper); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("printInteractionController:chooseCutterBehavior:"), DefaultValue ("UIPrinterCutterBehavior.NoCut"), DelegateName ("UIPrintInteractionCutterBehavior")] UIPrinterCutterBehavior ChooseCutterBehavior (UIPrintInteractionController printInteractionController, NSNumber [] availableBehaviors); @@ -19823,7 +19344,6 @@ interface UIPrintInteractionController { bool ShowsNumberOfCopies { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("showsPaperSelectionForLoadedPapers")] bool ShowsPaperSelectionForLoadedPapers { get; set; } @@ -19832,7 +19352,6 @@ interface UIPrintInteractionController { [Export ("showsPaperOrientation")] bool ShowsPaperOrientation { get; set; } - [iOS (8, 0)] [MacCatalyst (13, 1)] [Async (ResultTypeName = "UIPrintInteractionCompletionResult")] [Export ("printToPrinter:completionHandler:")] @@ -19889,13 +19408,13 @@ interface UIViewPrintFormatter { UIView View { get; } } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface UIVisualEffect : NSCopying, NSSecureCoding { } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIVisualEffect))] partial interface UIBlurEffect { @@ -19903,7 +19422,7 @@ partial interface UIBlurEffect { UIBlurEffect FromStyle (UIBlurEffectStyle style); } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIVisualEffect))] partial interface UIVibrancyEffect { @@ -19919,7 +19438,7 @@ partial interface UIVibrancyEffect { UIVibrancyEffect FromBlurEffect (UIBlurEffect blurEffect, UIVibrancyEffectStyle style); } - [iOS (8, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (UIView))] partial interface UIVisualEffectView : NSSecureCoding { @@ -20003,7 +19522,6 @@ interface UIPrintFormatter : NSCopying { [Export ("removeFromPrintPageRenderer")] void RemoveFromPrintPageRenderer (); - [iOS (8, 0)] [MacCatalyst (13, 1)] [Export ("perPageContentInsets")] UIEdgeInsets PerPageContentInsets { get; set; } @@ -20067,7 +19585,7 @@ interface UIMotionEffectGroup { UIMotionEffect [] MotionEffects { get; set; } } - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // designated @@ -20214,7 +19732,6 @@ interface UIInputView : NSCoding { [Export ("inputViewStyle")] UIInputViewStyle InputViewStyle { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("allowsSelfSizing")] bool AllowsSelfSizing { get; set; } @@ -20225,7 +19742,6 @@ interface IUITextInputDelegate { } interface IUITextDocumentProxy { } [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] partial interface UIInputViewController : UITextInputDelegate { @@ -20261,23 +19777,20 @@ partial interface UIInputViewController : UITextInputDelegate { [Export ("hasDictationKey")] bool HasDictationKey { get; set; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("handleInputModeListFromView:withEvent:")] void HandleInputModeList (UIView fromView, UIEvent withEvent); - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("hasFullAccess")] bool HasFullAccess { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("needsInputModeSwitchKey")] bool NeedsInputModeSwitchKey { get; } } - [NoWatch, TV (13, 0), iOS (11, 0)] + [NoWatch, TV (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface UIInteraction { @@ -20295,7 +19808,6 @@ interface UIInteraction { } [NoWatch] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -20333,7 +19845,6 @@ partial interface UITextDocumentProxy : UIKeyInput { #if NET [Abstract] #endif - [iOS (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("documentInputMode")] UITextInputMode DocumentInputMode { get; } @@ -20343,7 +19854,6 @@ partial interface UITextDocumentProxy : UIKeyInput { #if NET [Abstract] #endif - [iOS (11, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("selectedText")] string SelectedText { get; } @@ -20353,14 +19863,12 @@ partial interface UITextDocumentProxy : UIKeyInput { #if NET [Abstract] #endif - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("documentIdentifier", ArgumentSemantic.Copy)] NSUuid DocumentIdentifier { get; } } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UILayoutGuide : NSCoding @@ -20418,7 +19926,6 @@ interface UILayoutSupport { [Abstract] nfloat Length { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("topAnchor", ArgumentSemantic.Strong)] #if NET @@ -20427,7 +19934,6 @@ interface UILayoutSupport { #endif NSLayoutYAxisAnchor TopAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("bottomAnchor", ArgumentSemantic.Strong)] #if NET @@ -20436,7 +19942,6 @@ interface UILayoutSupport { #endif NSLayoutYAxisAnchor BottomAnchor { get; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("heightAnchor", ArgumentSemantic.Strong)] #if NET @@ -20466,7 +19971,6 @@ interface IUIAccessibilityIdentification { } [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UserNotifications.UNNotificationSettings' instead.")] [NoWatch] [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UserNotifications.UNNotificationSettings' instead.")] [BaseType (typeof (NSObject))] @@ -20484,7 +19988,6 @@ partial interface UIUserNotificationSettings : NSCoding, NSSecureCoding, NSCopyi [NoWatch] [NoTV] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UserNotifications.UNNotificationCategory' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UserNotifications.UNNotificationCategory' instead.")] @@ -20502,7 +20005,6 @@ partial interface UIUserNotificationCategory : NSCopying, NSMutableCopying, NSSe [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UserNotifications.UNNotificationCategory' instead.")] [NoWatch] [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UserNotifications.UNNotificationCategory' instead.")] [BaseType (typeof (UIUserNotificationCategory))] @@ -20521,7 +20023,6 @@ partial interface UIMutableUserNotificationCategory { [Static] #else [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UserNotifications.UNNotificationAction' instead.")] [BaseType (typeof (NSObject))] @@ -20559,19 +20060,16 @@ partial interface UIUserNotificationAction bool Destructive { [Bind ("isDestructive")] get; } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("parameters", ArgumentSemantic.Copy)] NSDictionary Parameters { get; [NotImplemented] set; } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("behavior", ArgumentSemantic.Assign)] UIUserNotificationActionBehavior Behavior { get; [NotImplemented] set; } [NoWatch] - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNTextInputNotificationAction.TextInputButtonTitle' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNTextInputNotificationAction.TextInputButtonTitle' instead.")] @@ -20580,7 +20078,6 @@ partial interface UIUserNotificationAction #if !WATCH // note: defined twice, where watchOS is defined it says it's not in iOS, the other one (for iOS 9) says it's not in tvOS - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNTextInputNotificationResponse.UserText' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UNTextInputNotificationResponse.UserText' instead.")] @@ -20598,7 +20095,6 @@ partial interface UIUserNotificationAction [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UserNotifications.UNNotificationAction' instead.")] [NoWatch] [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UserNotifications.UNNotificationAction' instead.")] [BaseType (typeof (UIUserNotificationAction))] @@ -20621,12 +20117,10 @@ partial interface UIMutableUserNotificationAction { [Export ("destructive", ArgumentSemantic.Assign)] bool Destructive { [Bind ("isDestructive")] get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("behavior", ArgumentSemantic.Assign)] UIUserNotificationActionBehavior Behavior { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("parameters", ArgumentSemantic.Copy), NullAllowed] NSDictionary Parameters { get; set; } @@ -20634,7 +20128,6 @@ partial interface UIMutableUserNotificationAction { [NoWatch] [NoTV] - [iOS (8, 0)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'UIDocumentPickerViewController' instead.")] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'UIDocumentPickerViewController' instead.")] @@ -20664,7 +20157,6 @@ partial interface UIDocumentMenuViewController : NSCoding { [NoWatch] [NoTV] - [iOS (8, 0)] [Protocol, Model] [BaseType (typeof (NSObject))] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'UIDocumentPickerViewController' instead.")] @@ -20684,7 +20176,6 @@ partial interface UIDocumentMenuDelegate { [NoWatch] [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController), Delegates = new string [] { "Delegate" }, Events = new Type [] { typeof (UIDocumentPickerDelegate) })] [DisableDefaultCtor] // NSInvalidArgumentException Reason: You cannot initialize a UIDocumentPickerViewController except by the initWithDocumentTypes:inMode: and initWithURL:inMode: initializers @@ -20715,7 +20206,6 @@ partial interface UIDocumentPickerViewController : NSCoding { NativeHandle Constructor (NSUrl url, UIDocumentPickerMode mode); [Deprecated (PlatformName.iOS, 14, 0)] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0)] [Export ("initWithURLs:inMode:")] @@ -20745,7 +20235,6 @@ partial interface UIDocumentPickerViewController : NSCoding { [Export ("documentPickerMode", ArgumentSemantic.Assign)] UIDocumentPickerMode DocumentPickerMode { get; } - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("allowsMultipleSelection")] bool AllowsMultipleSelection { get; set; } @@ -20763,7 +20252,6 @@ partial interface UIDocumentPickerViewController : NSCoding { [NoWatch] [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -20776,7 +20264,6 @@ partial interface UIDocumentPickerDelegate { [Export ("documentPicker:didPickDocumentAtURL:"), EventArgs ("UIDocumentPicked")] void DidPickDocument (UIDocumentPickerViewController controller, NSUrl url); - [iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("documentPicker:didPickDocumentsAtURLs:"), EventArgs ("UIDocumentPickedAtUrls"), EventName ("DidPickDocumentAtUrls")] void DidPickDocument (UIDocumentPickerViewController controller, NSUrl [] urls); @@ -20788,7 +20275,6 @@ partial interface UIDocumentPickerDelegate { [Deprecated (PlatformName.iOS, 14, 0, message: "Use enumeration based 'NSFileProviderExtension' instead.")] [NoWatch] [NoTV] - [iOS (8, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 14, 0, message: "Use enumeration based 'NSFileProviderExtension' instead.")] [BaseType (typeof (UIViewController))] @@ -20856,13 +20342,11 @@ interface UIAccessibilityReadingContent { [Export ("accessibilityPageContent")] string GetAccessibilityPageContent (); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("accessibilityAttributedContentForLineNumber:")] [return: NullAllowed] NSAttributedString GetAccessibilityAttributedContent (nint lineNumber); - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("accessibilityAttributedPageContent")] [return: NullAllowed] @@ -20893,7 +20377,7 @@ interface UIGuidedAccessRestrictionDelegate { [DisableDefaultCtor] // [Assert] -init is not a useful initializer for this class. Use one of the designated initializers instead [NoWatch] - [iOS (9, 0), NoWatch] // added in Xcode 7.1 / iOS 9.1 SDK + [NoWatch] // added in Xcode 7.1 / iOS 9.1 SDK [MacCatalyst (13, 1)] [BaseType (typeof (UIFocusUpdateContext))] interface UICollectionViewFocusUpdateContext { @@ -20905,7 +20389,7 @@ interface UICollectionViewFocusUpdateContext { NSIndexPath NextFocusedIndexPath { [return: NullAllowed] get; } } - [iOS (10, 0), TV (10, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] @@ -20930,7 +20414,7 @@ interface UICubicTimingParameters : UITimingCurveProvider { interface IUIFocusAnimationContext { } - [iOS (11, 0), NoWatch] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UIFocusAnimationContext { @@ -20940,7 +20424,6 @@ interface UIFocusAnimationContext { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIFocusAnimationCoordinator { @@ -20949,20 +20432,17 @@ interface UIFocusAnimationCoordinator { void AddCoordinatedAnimations ([NullAllowed] Action animations, [NullAllowed] Action completion); [Async] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("addCoordinatedFocusingAnimations:completion:")] void AddCoordinatedFocusingAnimations ([NullAllowed] Action animations, [NullAllowed] Action completion); [Async] - [TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("addCoordinatedUnfocusingAnimations:completion:")] void AddCoordinatedUnfocusingAnimations ([NullAllowed] Action animations, [NullAllowed] Action completion); } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UILayoutGuide))] interface UIFocusGuide { @@ -20975,7 +20455,6 @@ interface UIFocusGuide { [NullAllowed, Export ("preferredFocusedView", ArgumentSemantic.Weak)] UIView PreferredFocusedView { get; set; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("preferredFocusEnvironments", ArgumentSemantic.Copy), NullAllowed] // null_resettable IUIFocusEnvironment [] PreferredFocusEnvironments { get; set; } @@ -21004,7 +20483,7 @@ interface UIFocusMovementHint : NSCopying { interface IUIFocusItem { } - [iOS (10, 0), NoWatch] + [NoWatch] [NoMac] [MacCatalyst (13, 1)] [Protocol] @@ -21043,7 +20522,6 @@ interface UIFocusItem : UIFocusEnvironment { [DisableDefaultCtor] // [Assert] -init is not a useful initializer for this class. Use one of the designated initializers instead [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIFocusUpdateContext { @@ -21056,41 +20534,34 @@ interface UIFocusUpdateContext { [Export ("focusHeading", ArgumentSemantic.Assign)] UIFocusHeading FocusHeading { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("previouslyFocusedItem", ArgumentSemantic.Weak)] IUIFocusItem PreviouslyFocusedItem { get; } - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("nextFocusedItem", ArgumentSemantic.Weak)] IUIFocusItem NextFocusedItem { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIFocusDidUpdateNotification")] NSString DidUpdateNotification { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Notification] [Field ("UIFocusMovementDidFailNotification")] NSString MovementDidFailNotification { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("UIFocusUpdateContextKey")] NSString Key { get; } - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("UIFocusUpdateAnimationCoordinatorKey")] NSString AnimationCoordinatorKey { get; } } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -21135,13 +20606,11 @@ interface UIFocusSystem { interface IUIFocusDebuggerOutput { } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UIFocusDebuggerOutput { } [NoWatch] - [iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIFocusDebugger { @@ -21180,7 +20649,6 @@ interface UIFocusDebugger { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UIPress { @@ -21212,7 +20680,6 @@ interface UIPress { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIEvent))] interface UIPressesEvent { @@ -21223,7 +20690,7 @@ interface UIPressesEvent { NSSet GetPresses (UIGestureRecognizer gesture); } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Delegates = new string [] { "Delegate" }, Events = new Type [] { typeof (UIPreviewInteractionDelegate) })] [DisableDefaultCtor] @@ -21248,7 +20715,7 @@ interface UIPreviewInteraction { interface IUIPreviewInteractionDelegate { } - [NoWatch, NoTV, iOS (10, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -21273,7 +20740,6 @@ interface UIPreviewInteractionDelegate { } [NoWatch] - [iOS (9, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIFocusUpdateContext))] interface UITableViewFocusUpdateContext { @@ -21286,7 +20752,6 @@ interface UITableViewFocusUpdateContext { } [NoWatch, NoiOS] - [TV (11, 0)] [NoMacCatalyst] public enum UIFocusSoundIdentifier { @@ -21301,7 +20766,6 @@ interface IUIFocusEnvironment { } [NoWatch] [NoMac] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Protocol] interface UIFocusEnvironment { @@ -21309,7 +20773,6 @@ interface UIFocusEnvironment { [Abstract] #endif [NullAllowed, Export ("preferredFocusedView", ArgumentSemantic.Weak)] - [iOS (9, 0)] // duplicated so it's inlined properly [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'PreferredFocusEnvironments' instead.")] [Deprecated (PlatformName.TvOS, 10, 0, message: "Use 'PreferredFocusEnvironments' instead.")] [MacCatalyst (13, 1)] @@ -21339,13 +20802,11 @@ interface UIFocusEnvironment { #if NET [Abstract] #endif - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("preferredFocusEnvironments", ArgumentSemantic.Copy)] IUIFocusEnvironment [] PreferredFocusEnvironments { get; } [NoiOS] - [TV (11, 0)] [NoMacCatalyst] [Export ("soundIdentifierForFocusUpdateInContext:")] [return: NullAllowed] @@ -21431,7 +20892,7 @@ interface IUITextDroppable { } interface IUITextDropDelegate { } interface IUITextDropRequest { } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Protocol] interface UIDragAnimating { @@ -21444,7 +20905,7 @@ interface UIDragAnimating { void AddCompletion (Action completion); } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Protocol] interface UIDragDropSession { @@ -21473,7 +20934,7 @@ interface UIDragDropSession { bool CanLoadObjects (Class itemProviderReadingClass); } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -21492,7 +20953,7 @@ interface UIDragItem { Func PreviewProvider { get; set; } } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -21521,7 +20982,7 @@ interface UIDragPreview : NSCopying { UIDragPreview GetPreview (NSUrl url, [NullAllowed] string title); } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (UIPreviewParameters))] [DesignatedDefaultCtor] @@ -21539,7 +21000,7 @@ interface UIDragPreviewParameters : NSCopying { // UIColor BackgroundColor { get; set; } } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (UIPreviewTarget))] [DisableDefaultCtor] @@ -21552,7 +21013,7 @@ interface UIDragPreviewTarget : NSCopying { NativeHandle Constructor (UIView container, CGPoint center); } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Protocol] interface UIDragSession : UIDragDropSession { @@ -21562,7 +21023,6 @@ interface UIDragSession : UIDragDropSession { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -21586,7 +21046,6 @@ interface UIDragInteraction : UIInteraction { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -21644,7 +21103,7 @@ interface UIDragInteractionDelegate { void WillAnimateCancel (UIDragInteraction interaction, UIDragItem item, IUIDragAnimating animator); } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] // If Apple adds a delegate setter: Delegates=new string [] {"Delegate"}, Events=new Type [] { typeof (UIDropInteractionDelegate)})] [DisableDefaultCtor] @@ -21661,7 +21120,7 @@ interface UIDropInteraction : UIInteraction { bool AllowsSimultaneousDropSessions { get; set; } } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -21696,7 +21155,7 @@ interface UIDropInteractionDelegate { void WillAnimateDrop (UIDropInteraction interaction, UIDragItem item, IUIDragAnimating animator); } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -21715,7 +21174,7 @@ interface UIDropProposal : NSCopying { bool PrefersFullSizePreview { get; set; } } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Protocol] interface UIDropSession : UIDragDropSession, NSProgressReporting { @@ -21732,7 +21191,7 @@ interface UIDropSession : UIDragDropSession, NSProgressReporting { NSProgress LoadObjects (Class itemProviderReadingClass, Action completion); } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [BaseType (typeof (UITargetedPreview))] [DisableDefaultCtor] @@ -21774,7 +21233,6 @@ interface UITargetedDragPreview : NSCopying { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -21804,7 +21262,6 @@ interface UICollectionViewDragDelegate { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -21834,7 +21291,6 @@ interface UICollectionViewDropDelegate { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIDropProposal))] [DisableDefaultCtor] // NSInternalInconsistencyException Reason: Not implemented @@ -21853,7 +21309,6 @@ interface UICollectionViewDropProposal { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UICollectionViewDropCoordinator { @@ -21891,7 +21346,6 @@ interface UICollectionViewDropCoordinator { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -21905,7 +21359,6 @@ interface UICollectionViewPlaceholder { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UICollectionViewPlaceholder))] interface UICollectionViewDropPlaceholder { @@ -21918,7 +21371,6 @@ interface UICollectionViewDropPlaceholder { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UICollectionViewDropItem { @@ -21936,7 +21388,6 @@ interface UICollectionViewDropItem { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UICollectionViewDropPlaceholderContext : UIDragAnimating { @@ -21958,7 +21409,6 @@ interface UICollectionViewDropPlaceholderContext : UIDragAnimating { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -21988,7 +21438,6 @@ interface UITableViewDragDelegate { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -22018,7 +21467,6 @@ interface UITableViewDropDelegate { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIDropProposal))] [DisableDefaultCtor] // NSInternalInconsistencyException Reason: Not implemented @@ -22037,7 +21485,6 @@ interface UITableViewDropProposal { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UITableViewDropCoordinator { @@ -22075,7 +21522,6 @@ interface UITableViewDropCoordinator { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -22089,7 +21535,6 @@ interface UITableViewPlaceholder { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UITableViewPlaceholder))] interface UITableViewDropPlaceholder { @@ -22101,7 +21546,7 @@ interface UITableViewDropPlaceholder { Func PreviewParametersProvider { get; set; } } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Protocol] interface UITableViewDropItem { @@ -22118,7 +21563,7 @@ interface UITableViewDropItem { CGSize PreviewSize { get; } } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Protocol] interface UITableViewDropPlaceholderContext : UIDragAnimating { @@ -22136,7 +21581,6 @@ interface UITableViewDropPlaceholderContext : UIDragAnimating { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -22168,7 +21612,6 @@ interface UITextDragPreviewRenderer { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UITextDraggable : UITextInput { @@ -22190,7 +21633,6 @@ interface UITextDraggable : UITextInput { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -22213,7 +21655,6 @@ interface UITextDragDelegate { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UITextDragRequest { @@ -22239,7 +21680,6 @@ interface UITextDragRequest { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIDropProposal))] [DisableDefaultCtor] @@ -22262,7 +21702,6 @@ interface UITextDropProposal : NSCopying { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UITextDroppable : UITextInput, UITextPasteConfigurationSupporting { @@ -22280,7 +21719,6 @@ interface UITextDroppable : UITextInput, UITextPasteConfigurationSupporting { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -22312,7 +21750,6 @@ interface UITextDropDelegate { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UITextDropRequest { @@ -22333,7 +21770,7 @@ interface UITextDropRequest { IUIDropSession DropSession { get; } } - [NoWatch, TV (11, 0), iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Protocol] interface UIDataSourceTranslating { @@ -22361,7 +21798,6 @@ interface UIDataSourceTranslating { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -22383,7 +21819,6 @@ interface UISpringLoadedInteraction : UIInteraction { interface IUISpringLoadedInteractionBehavior { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UISpringLoadedInteractionBehavior { @@ -22398,7 +21833,6 @@ interface UISpringLoadedInteractionBehavior { interface IUISpringLoadedInteractionEffect { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UISpringLoadedInteractionEffect { @@ -22410,7 +21844,6 @@ interface UISpringLoadedInteractionEffect { interface IUISpringLoadedInteractionContext { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UISpringLoadedInteractionContext { @@ -22432,7 +21865,6 @@ interface UISpringLoadedInteractionContext { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UISpringLoadedInteractionSupporting { @@ -22444,17 +21876,14 @@ interface UISpringLoadedInteractionSupporting { // https://bugzilla.xamarin.com/show_bug.cgi?id=58282, we should be able to write one delegate with a 'Action'. See original signature: // typedef void (^UIContextualActionHandler)(UIContextualAction * _Nonnull, __kindof UIView * _Nonnull, void (^ _Nonnull)(BOOL)); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] delegate void UIContextualActionHandler (UIContextualAction action, UIView sourceView, [BlockCallback] UIContextualActionCompletionHandler completionHandler); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] delegate void UIContextualActionCompletionHandler (bool finished); [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -22480,7 +21909,6 @@ interface UIContextualAction { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -22499,7 +21927,6 @@ interface UISwipeActionsConfiguration { interface IUITextPasteConfigurationSupporting { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UITextPasteConfigurationSupporting : UIPasteConfigurationSupporting { @@ -22511,7 +21938,6 @@ interface UITextPasteConfigurationSupporting : UIPasteConfigurationSupporting { interface IUITextPasteDelegate { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -22532,7 +21958,6 @@ interface UITextPasteDelegate { interface IUITextPasteItem { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface UITextPasteItem { @@ -22570,7 +21995,6 @@ interface UITextPasteItem { } [NoWatch, NoTV] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] @@ -22600,7 +22024,7 @@ interface UIPasteConfiguration : NSSecureCoding, NSCopying { interface IUIPasteConfigurationSupporting { } [NoWatch, NoTV] - [iOS (11, 0), MacCatalyst (16, 0)] + [MacCatalyst (16, 0)] [Protocol] interface UIPasteConfigurationSupporting { [Abstract] @@ -22615,7 +22039,6 @@ interface UIPasteConfigurationSupporting { } [NoTV, NoWatch] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIViewController))] interface UIDocumentBrowserViewController : NSCoding { @@ -22712,7 +22135,6 @@ interface UIDocumentBrowserViewController : NSCoding { interface IUIDocumentBrowserViewControllerDelegate { } [NoTV, NoWatch] - [iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -22744,7 +22166,6 @@ interface UIDocumentBrowserViewControllerDelegate { } [NoTV, NoWatch] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -22757,7 +22178,6 @@ interface UIDocumentBrowserTransitionController : UIViewControllerAnimatedTransi } [NoTV, NoWatch] - [iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -22816,7 +22236,7 @@ interface UIFocusItemScrollableContainer : UIFocusItemContainer { CGSize VisibleSize { get; } } - [iOS (8, 0), NoWatch] // it was added on 8,0, but was not binded and the method was added in 12,0 + [NoWatch] // it was added on 8,0, but was not binded and the method was added in 12,0 [MacCatalyst (13, 1)] [Protocol] interface UIUserActivityRestoring { @@ -22827,7 +22247,6 @@ interface UIUserActivityRestoring { void RestoreUserActivityState (NSUserActivity activity); } - [Watch (4, 0), TV (11, 0), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -24162,7 +23581,7 @@ interface UIWindowScene { [NoWatch] [NoTV] [NoiOS] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("titlebar")] [NullAllowed] UITitlebar Titlebar { get; } @@ -26511,7 +25930,7 @@ interface UIPointerAccessory : NSCopying { [NoiOS] [NoTV] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum UITitlebarTitleVisibility : long { Visible, @@ -26534,7 +25953,7 @@ public enum UITitlebarToolbarStyle : long { [NoiOS] [NoTV] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface UITitlebar { [Export ("titleVisibility", ArgumentSemantic.Assign)] diff --git a/src/usernotifications.cs b/src/usernotifications.cs index 0142e5adf527..3f03ab1e0266 100644 --- a/src/usernotifications.cs +++ b/src/usernotifications.cs @@ -25,10 +25,6 @@ namespace UserNotifications { - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [ErrorDomain ("UNErrorDomain")] [Native] @@ -47,9 +43,6 @@ public enum UNErrorCode : long { BadgeInputInvalid = 1600, } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [Native] @@ -61,9 +54,6 @@ public enum UNNotificationActionOptions : ulong { Foreground = (1 << 2) } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [Native] @@ -83,10 +73,6 @@ public enum UNNotificationCategoryOptions : ulong { AllowAnnouncement = (1 << 4), } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Native] public enum UNAuthorizationStatus : long { @@ -102,10 +88,6 @@ public enum UNAuthorizationStatus : long { Ephemeral, } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Native] public enum UNNotificationSetting : long { @@ -114,8 +96,6 @@ public enum UNNotificationSetting : long { Enabled } - [iOS (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [Unavailable (PlatformName.WatchOS)] [MacCatalyst (13, 1)] @@ -126,10 +106,6 @@ public enum UNAlertStyle : long { Alert } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -162,10 +138,6 @@ public enum UNAuthorizationOptions : ulong { TimeSensitive = (1 << 8), } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Native] [Flags] @@ -193,8 +165,7 @@ public enum UNNotificationPresentationOptions : ulong { Banner = (1 << 4), } - [NoWatch, NoTV, iOS (11, 0)] - [Mac (10, 14)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Native] public enum UNShowPreviewsSetting : long { @@ -233,10 +204,6 @@ public enum UNNotificationInterruptionLevel : long { #endif // !XAMCORE_5_0 } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // as per docs (not user created) @@ -249,9 +216,6 @@ interface UNNotification : NSCopying, NSSecureCoding { UNNotificationRequest Request { get; } } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -281,9 +245,6 @@ interface UNNotificationAction : NSCopying, NSSecureCoding { UNNotificationActionIcon Icon { get; } } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [BaseType (typeof (UNNotificationAction))] @@ -306,9 +267,6 @@ interface UNTextInputNotificationAction { string TextInputPlaceholder { get; } } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -330,9 +288,6 @@ interface UNNotificationAttachment : NSCopying, NSSecureCoding { UNNotificationAttachment FromIdentifier (string identifier, NSUrl url, [NullAllowed] NSDictionary options, [NullAllowed] out NSError error); } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [Static] @@ -352,8 +307,6 @@ interface UNNotificationAttachmentOptionsKeys { NSString ThumbnailTime { get; } } - [iOS (10, 0)] - [Watch (3, 0)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [StrongDictionary ("UNNotificationAttachmentOptionsKeys")] @@ -380,9 +333,6 @@ interface UNNotificationAttachmentOptions { double ThumbnailTimeInSeconds { get; set; } } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -401,7 +351,7 @@ interface UNNotificationCategory : NSCopying, NSSecureCoding { [Export ("options")] UNNotificationCategoryOptions Options { get; } - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Export ("hiddenPreviewsBodyPlaceholder")] string HiddenPreviewsBodyPlaceholder { get; } @@ -410,7 +360,7 @@ interface UNNotificationCategory : NSCopying, NSSecureCoding { [Export ("categoryWithIdentifier:actions:intentIdentifiers:options:")] UNNotificationCategory FromIdentifier (string identifier, UNNotificationAction [] actions, string [] intentIdentifiers, UNNotificationCategoryOptions options); - [NoWatch, iOS (11, 0)] + [NoWatch] [MacCatalyst (13, 1)] [Static] [Export ("categoryWithIdentifier:actions:intentIdentifiers:hiddenPreviewsBodyPlaceholder:options:")] @@ -429,10 +379,6 @@ interface UNNotificationCategory : NSCopying, NSSecureCoding { } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // as per docs @@ -495,7 +441,6 @@ interface UNNotificationContent : NSCopying, NSMutableCopying, NSSecureCoding { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] // no direct mention in headers - [Mac (10, 15)] [MacCatalyst (13, 1)] [NullAllowed, Export ("targetContentIdentifier")] string TargetContentIdentifier { get; [NotImplemented] set; } @@ -519,10 +464,6 @@ interface UNNotificationContent : NSCopying, NSMutableCopying, NSSecureCoding { string FilterCriteria { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (UNNotificationContent))] interface UNMutableNotificationContent { @@ -583,7 +524,6 @@ interface UNMutableNotificationContent { [iOS (13, 0)] [TV (13, 0)] [Watch (6, 0)] // no direct mention in headers - [Mac (10, 15)] [MacCatalyst (13, 1)] [NullAllowed, Export ("targetContentIdentifier")] string TargetContentIdentifier { get; set; } @@ -601,10 +541,6 @@ interface UNMutableNotificationContent { string FilterCriteria { get; set; } } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -624,9 +560,6 @@ interface UNNotificationRequest : NSCopying, NSSecureCoding { UNNotificationRequest FromIdentifier (string identifier, UNNotificationContent content, [NullAllowed] UNNotificationTrigger trigger); } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [Static] @@ -640,9 +573,6 @@ interface UNNotificationActionIdentifier { NSString Dismiss { get; } } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -670,9 +600,6 @@ interface UNNotificationResponse : NSCopying, NSSecureCoding { UIScene TargetScene { get; } } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [BaseType (typeof (UNNotificationResponse))] @@ -683,8 +610,6 @@ interface UNTextInputNotificationResponse { string UserText { get; } } - [iOS (10, 0)] - [Mac (10, 14)] [Watch (6, 0)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] @@ -700,10 +625,6 @@ interface UNNotificationServiceExtension { void TimeWillExpire (); } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // as per docs @@ -743,7 +664,7 @@ interface UNNotificationSettings : NSCopying, NSSecureCoding { [Export ("alertStyle")] UNAlertStyle AlertStyle { get; } - [NoWatch, NoTV, iOS (11, 0)] + [NoWatch, NoTV] [MacCatalyst (13, 1)] [Export ("showPreviewsSetting")] UNShowPreviewsSetting ShowPreviewsSetting { get; } @@ -776,9 +697,6 @@ interface UNNotificationSettings : NSCopying, NSSecureCoding { UNNotificationSetting DirectMessagesSetting { get; } } - [iOS (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.TvOS)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -829,10 +747,6 @@ interface UNNotificationSound : NSCopying, NSSecureCoding { UNNotificationSound GetCriticalSound (string name, float volume); } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [Abstract] // as per docs @@ -843,10 +757,6 @@ interface UNNotificationTrigger : NSCopying, NSSecureCoding { bool Repeats { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (UNNotificationTrigger))] [DisableDefaultCtor] // as per docs (system created) @@ -854,10 +764,6 @@ interface UNPushNotificationTrigger { } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (UNNotificationTrigger))] [DisableDefaultCtor] // as per doc, use supplied method (CreateTrigger) @@ -874,10 +780,6 @@ interface UNTimeIntervalNotificationTrigger { NSDate NextTriggerDate { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [DisableDefaultCtor] // as per doc, use supplied method (CreateTrigger) [BaseType (typeof (UNNotificationTrigger))] @@ -894,8 +796,6 @@ interface UNCalendarNotificationTrigger { NSDate NextTriggerDate { get; } } - [iOS (10, 0)] - [Watch (3, 0)] [NoMac] [NoMacCatalyst] [Unavailable (PlatformName.TvOS)] @@ -914,10 +814,6 @@ interface UNLocationNotificationTrigger { interface IUNUserNotificationCenterDelegate { } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -930,16 +826,12 @@ interface UNUserNotificationCenterDelegate { [Export ("userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:")] void DidReceiveNotificationResponse (UNUserNotificationCenter center, UNNotificationResponse response, Action completionHandler); - [NoWatch, NoTV, Mac (10, 14), iOS (12, 0)] + [NoWatch, NoTV, iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("userNotificationCenter:openSettingsForNotification:")] void OpenSettings (UNUserNotificationCenter center, [NullAllowed] UNNotification notification); } - [iOS (10, 0)] - [TV (10, 0)] - [Watch (3, 0)] - [Mac (10, 14)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] diff --git a/src/usernotificationsui.cs b/src/usernotificationsui.cs index 468b2f87f1d1..43609b3282ab 100644 --- a/src/usernotificationsui.cs +++ b/src/usernotificationsui.cs @@ -21,7 +21,6 @@ namespace UserNotificationsUI { - [iOS (10, 0)] [Mac (11, 0)] [Introduced (PlatformName.MacCatalyst, 14, 0)] [Unavailable (PlatformName.WatchOS)] @@ -33,7 +32,6 @@ public enum UNNotificationContentExtensionMediaPlayPauseButtonType : ulong { Overlay } - [iOS (10, 0)] [Mac (11, 0)] [Introduced (PlatformName.MacCatalyst, 14, 0)] [Unavailable (PlatformName.WatchOS)] @@ -47,7 +45,6 @@ public enum UNNotificationContentExtensionResponseOption : ulong { interface IUNNotificationContentExtension { } - [iOS (10, 0)] [Mac (11, 0)] [Introduced (PlatformName.MacCatalyst, 14, 0)] [Unavailable (PlatformName.WatchOS)] @@ -78,7 +75,6 @@ interface UNNotificationContentExtension { void PauseMedia (); } - [iOS (10, 0)] [Mac (11, 0)] [Introduced (PlatformName.MacCatalyst, 14, 0)] [Unavailable (PlatformName.WatchOS)] diff --git a/src/videosubscriberaccount.cs b/src/videosubscriberaccount.cs index 384307f38565..61636ac2d1bf 100644 --- a/src/videosubscriberaccount.cs +++ b/src/videosubscriberaccount.cs @@ -24,9 +24,6 @@ namespace VideoSubscriberAccount { [Native] - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.WatchOS)] [NoMacCatalyst] [ErrorDomain ("VSErrorDomain")] @@ -42,9 +39,6 @@ public enum VSErrorCode : long { } [Native] - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.WatchOS)] [NoMacCatalyst] public enum VSAccountAccessStatus : long { @@ -84,9 +78,6 @@ public enum VSOriginatingDeviceCategory : long { } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.WatchOS)] [NoMacCatalyst] [Static] @@ -102,15 +93,10 @@ interface VSErrorInfoKeys { [Field ("VSErrorInfoKeyUnsupportedProviderIdentifier")] NSString UnsupportedProviderIdentifierKey { get; } - [TV (10, 1)] - [iOS (10, 2)] [Field ("VSErrorInfoKeyAccountProviderResponse")] NSString AccountProviderResponseKey { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [NoMacCatalyst] [Unavailable (PlatformName.WatchOS)] [StrongDictionary ("VSErrorInfoKeys")] @@ -122,17 +108,12 @@ interface VSErrorInfo { string UnsupportedProviderIdentifier { get; } - [TV (10, 1)] - [iOS (10, 2)] string AccountProviderResponse { get; } } interface IVSAccountManagerDelegate { } [Protocol, Model] - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.WatchOS)] [NoMacCatalyst] [BaseType (typeof (NSObject))] @@ -156,15 +137,10 @@ interface VSAccountManagerDelegate { [Export ("accountManager:dismissViewController:")] void DismissViewController (VSAccountManager accountManager, UIViewController viewController); - [iOS (11, 0)] - [TV (11, 0)] [Export ("accountManager:shouldAuthenticateAccountProviderWithIdentifier:")] bool ShouldAuthenticateAccountProvider (VSAccountManager accountManager, string accountProviderIdentifier); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.WatchOS)] [NoMacCatalyst] [BaseType (typeof (NSObject))] @@ -190,9 +166,6 @@ interface VSAccountManager { NSString OpenTVProviderSettingsUrl { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.WatchOS)] [Static] [Internal] @@ -203,9 +176,6 @@ interface VSCheckAccessOptionKeys { NSString CheckAccessOptionPrompt { get; } } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.WatchOS)] [NoMacCatalyst] [StrongDictionary ("VSCheckAccessOptionKeys")] @@ -215,9 +185,6 @@ interface VSAccountManagerAccessOptions { bool CheckAccessOptionPrompt { get; set; } } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.WatchOS)] [NoMacCatalyst] [BaseType (typeof (NSObject))] @@ -228,9 +195,6 @@ interface VSAccountManagerResult { void Cancel (); } - [iOS (10, 0)] - [TV (10, 0)] - [Mac (10, 14)] [Unavailable (PlatformName.WatchOS)] [NoMacCatalyst] [BaseType (typeof (NSObject))] @@ -248,15 +212,10 @@ interface VSAccountMetadata { [NullAllowed, Export ("SAMLAttributeQueryResponse")] string SamlAttributeQueryResponse { get; } - [TV (10, 1)] - [iOS (10, 2)] [NullAllowed, Export ("accountProviderResponse", ArgumentSemantic.Strong)] VSAccountProviderResponse AccountProviderResponse { get; } } - [iOS (10, 0)] - [Mac (10, 14)] - [TV (10, 0)] [Unavailable (PlatformName.WatchOS)] [NoMacCatalyst] [BaseType (typeof (NSObject))] @@ -268,8 +227,6 @@ interface VSAccountMetadataRequest { [Export ("supportedAccountProviderIdentifiers", ArgumentSemantic.Copy)] string [] SupportedAccountProviderIdentifiers { get; set; } - [TV (11, 0)] - [iOS (11, 0)] [Export ("featuredAccountProviderIdentifiers", ArgumentSemantic.Copy)] string [] FeaturedAccountProviderIdentifiers { get; set; } @@ -295,14 +252,11 @@ interface VSAccountMetadataRequest { string [] AttributeNames { get; set; } [Protected] - [TV (10, 1)] - [iOS (10, 2)] [Export ("supportedAuthenticationSchemes", ArgumentSemantic.Copy)] NSString [] SupportedAuthenticationSchemesString { get; set; } [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [NullAllowed, Export ("accountProviderAuthenticationToken")] string AccountProviderAuthenticationToken { get; set; } @@ -311,9 +265,6 @@ interface VSAccountMetadataRequest { VSAccountApplicationProvider [] ApplicationAccountProviders { get; set; } } - [iOS (10, 2)] - [TV (10, 1)] - [Mac (10, 14)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface VSAccountProviderResponse { @@ -332,9 +283,6 @@ interface VSAccountProviderResponse { string Body { get; } } - [iOS (10, 2)] - [TV (10, 1)] - [Mac (10, 14)] [NoMacCatalyst] enum VSAccountProviderAuthenticationScheme { [Field ("VSAccountProviderAuthenticationSchemeSAML")] @@ -342,14 +290,10 @@ enum VSAccountProviderAuthenticationScheme { [iOS (13, 0)] [TV (13, 0)] - [Mac (10, 15)] [Field ("VSAccountProviderAuthenticationSchemeAPI")] Api, } - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 14)] [NoMacCatalyst] [Native] public enum VSSubscriptionAccessLevel : long { @@ -358,9 +302,6 @@ public enum VSSubscriptionAccessLevel : long { Paid, } - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 14)] [NoMacCatalyst] [BaseType (typeof (NSObject))] interface VSSubscription { @@ -380,9 +321,6 @@ interface VSSubscription { string BillingIdentifier { get; set; } } - [TV (11, 0)] - [iOS (11, 0)] - [Mac (10, 14)] [NoMacCatalyst] [BaseType (typeof (NSObject))] [DisableDefaultCtor] diff --git a/src/videotoolbox.cs b/src/videotoolbox.cs index 15204dfdb8d9..3668fbde5b9d 100644 --- a/src/videotoolbox.cs +++ b/src/videotoolbox.cs @@ -14,7 +14,6 @@ namespace VideoToolbox { - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTCompressionPropertyKey { @@ -43,7 +42,7 @@ interface VTCompressionPropertyKey { [Field ("kVTCompressionPropertyKey_AllowFrameReordering")] NSString AllowFrameReordering { get; } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Field ("kVTCompressionPropertyKey_AllowOpenGOP")] NSString AllowOpenGop { get; } @@ -59,7 +58,7 @@ interface VTCompressionPropertyKey { [Field ("kVTCompressionPropertyKey_Quality")] NSString Quality { get; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTCompressionPropertyKey_TargetQualityForAlpha")] NSString TargetQualityForAlpha { get; } @@ -76,7 +75,6 @@ interface VTCompressionPropertyKey { NSString ProfileLevel { get; } [Field ("kVTCompressionPropertyKey_H264EntropyMode")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264EntropyMode { get; } @@ -96,12 +94,11 @@ interface VTCompressionPropertyKey { NSString MaxH264SliceBytes { get; } [Field ("kVTCompressionPropertyKey_RealTime")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString RealTime { get; } [Field ("kVTCompressionPropertyKey_MaximizePowerEfficiency")] - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] NSString MaximizePowerEfficiency { get; } @@ -123,7 +120,6 @@ interface VTCompressionPropertyKey { [Field ("kVTCompressionPropertyKey_ExpectedDuration")] NSString ExpectedDuration { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kVTCompressionPropertyKey_BaseLayerFrameRate")] NSString BaseLayerFrameRate { get; } @@ -174,22 +170,20 @@ interface VTCompressionPropertyKey { // AlphaChannelMode - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTCompressionPropertyKey_AlphaChannelMode")] NSString AlphaChannelMode { get; } - [Mac (10, 9), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTCompressionPropertyKey_GammaLevel")] NSString GammaLevel { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kVTCompressionPropertyKey_MasteringDisplayColorVolume")] NSString MasteringDisplayColorVolume { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kVTCompressionPropertyKey_ContentLightLevelInfo")] NSString ContentLightLevelInfo { get; } @@ -202,18 +196,16 @@ interface VTCompressionPropertyKey { // Multi-pass [Field ("kVTCompressionPropertyKey_MultiPassStorage")] - [Mac (10, 10)] [MacCatalyst (13, 1)] NSString MultiPassStorage { get; } // Encoder information [Field ("kVTCompressionPropertyKey_EncoderID")] - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] NSString EncoderId { get; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTCompressionPropertyKey_UsingGPURegistryID")] NSString UsingGpuRegistryId { get; } @@ -275,7 +267,7 @@ interface VTCompressionPropertyKey { NSString OutputBitDepth { get; } } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] enum VTAlphaChannelMode { [Field ("kVTAlphaChannelMode_StraightAlpha")] @@ -285,7 +277,6 @@ enum VTAlphaChannelMode { PremultipliedAlpha, } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [StrongDictionary ("VTCompressionPropertyKey")] interface VTCompressionProperties { @@ -311,7 +302,7 @@ interface VTCompressionProperties { [Export ("AllowFrameReordering")] bool AllowFrameReordering { get; set; } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Export ("AllowOpenGop")] bool AllowOpenGop { get; set; } @@ -341,12 +332,11 @@ interface VTCompressionProperties { [Export ("MaxH264SliceBytes")] int MaxH264SliceBytes { get; set; } - [Mac (10, 9)] [MacCatalyst (13, 1)] [Export ("RealTime")] bool RealTime { get; set; } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Export ("MaximizePowerEfficiency")] bool MaximizePowerEfficiency { get; set; } @@ -360,7 +350,6 @@ interface VTCompressionProperties { [Export ("ExpectedDuration")] double ExpectedDuration { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("BaseLayerFrameRate")] double BaseLayerFrameRate { get; set; } @@ -390,12 +379,10 @@ interface VTCompressionProperties { [Export ("ICCProfile")] NSData ICCProfile { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("MasteringDisplayColorVolume")] NSData MasteringDisplayColorVolume { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("ContentLightLevelInfo")] NSData ContentLightLevelInfo { get; set; } @@ -403,22 +390,21 @@ interface VTCompressionProperties { [Export ("PixelTransferProperties")] NSDictionary PixelTransferProperties { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("EncoderId")] string EncoderId { get; set; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("TargetQualityForAlpha")] float TargetQualityForAlpha { get; set; } - [Mac (10, 9), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("GammaLevel")] double GammaLevel { get; set; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("UsingGpuRegistryId")] uint UsingGpuRegistryId { get; } @@ -471,18 +457,15 @@ interface VTCompressionProperties { bool OutputBitDepth { get; set; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTProfileLevelKeys { // HEVC - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kVTProfileLevel_HEVC_Main_AutoLevel")] NSString Hevc_Main_AutoLevel { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kVTProfileLevel_HEVC_Main10_AutoLevel")] NSString Hevc_Main10_AutoLevel { get; } @@ -506,7 +489,6 @@ interface VTProfileLevelKeys { NSString H264_Baseline_3_2 { get; } [Field ("kVTProfileLevel_H264_Baseline_4_0")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Baseline_4_0 { get; } @@ -514,27 +496,22 @@ interface VTProfileLevelKeys { NSString H264_Baseline_4_1 { get; } [Field ("kVTProfileLevel_H264_Baseline_4_2")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Baseline_4_2 { get; } [Field ("kVTProfileLevel_H264_Baseline_5_0")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Baseline_5_0 { get; } [Field ("kVTProfileLevel_H264_Baseline_5_1")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Baseline_5_1 { get; } [Field ("kVTProfileLevel_H264_Baseline_5_2")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Baseline_5_2 { get; } [Field ("kVTProfileLevel_H264_Baseline_AutoLevel")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Baseline_AutoLevel { get; } @@ -554,7 +531,6 @@ interface VTProfileLevelKeys { NSString H264_Main_4_1 { get; } [Field ("kVTProfileLevel_H264_Main_4_2")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Main_4_2 { get; } @@ -562,17 +538,14 @@ interface VTProfileLevelKeys { NSString H264_Main_5_0 { get; } [Field ("kVTProfileLevel_H264_Main_5_1")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Main_5_1 { get; } [Field ("kVTProfileLevel_H264_Main_5_2")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Main_5_2 { get; } [Field ("kVTProfileLevel_H264_Main_AutoLevel")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Main_AutoLevel { get; } @@ -580,37 +553,30 @@ interface VTProfileLevelKeys { NSString H264_Extended_5_0 { get; } [Field ("kVTProfileLevel_H264_Extended_AutoLevel")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_Extended_AutoLevel { get; } [Field ("kVTProfileLevel_H264_High_3_0")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_High_3_0 { get; } [Field ("kVTProfileLevel_H264_High_3_1")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_High_3_1 { get; } [Field ("kVTProfileLevel_H264_High_3_2")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_High_3_2 { get; } [Field ("kVTProfileLevel_H264_High_4_0")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_High_4_0 { get; } [Field ("kVTProfileLevel_H264_High_4_1")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_High_4_1 { get; } [Field ("kVTProfileLevel_H264_High_4_2")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_High_4_2 { get; } @@ -618,17 +584,14 @@ interface VTProfileLevelKeys { NSString H264_High_5_0 { get; } [Field ("kVTProfileLevel_H264_High_5_1")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_High_5_1 { get; } [Field ("kVTProfileLevel_H264_High_5_2")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_High_5_2 { get; } [Field ("kVTProfileLevel_H264_High_AutoLevel")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString H264_High_AutoLevel { get; } @@ -691,7 +654,6 @@ interface VTProfileLevelKeys { } [Static] - [Mac (10, 9), iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] interface VTH264EntropyModeKeys { [Field ("kVTH264EntropyMode_CAVLC")] @@ -701,17 +663,16 @@ interface VTH264EntropyModeKeys { NSString CABAC { get; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [StrongDictionary ("VTVideoEncoderSpecificationKeys")] interface VTVideoEncoderSpecification { - [Mac (10, 9), NoiOS, NoTV] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("EnableHardwareAcceleratedVideoEncoder")] bool EnableHardwareAcceleratedVideoEncoder { get; set; } - [Mac (10, 9), NoiOS, NoTV] + [NoiOS, NoTV] [NoMacCatalyst] [Export ("RequireHardwareAcceleratedVideoEncoder")] bool RequireHardwareAcceleratedVideoEncoder { get; set; } @@ -719,47 +680,45 @@ interface VTVideoEncoderSpecification { [Export ("EncoderID")] string EncoderID { get; set; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("RequiredEncoderGpuRegistryId")] uint RequiredEncoderGpuRegistryId { get; set; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("PreferredEncoderGpuRegistryId")] uint PreferredEncoderGpuRegistryId { get; set; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTVideoEncoderSpecificationKeys { [Field ("kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder")] - [Mac (10, 9), NoiOS, NoTV] + [NoiOS, NoTV] [NoMacCatalyst] NSString EnableHardwareAcceleratedVideoEncoder { get; } [Field ("kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder")] - [Mac (10, 9), NoiOS, NoTV] + [NoiOS, NoTV] [NoMacCatalyst] NSString RequireHardwareAcceleratedVideoEncoder { get; } [Field ("kVTVideoEncoderSpecification_EncoderID")] NSString EncoderID { get; } - [Mac (10, 14, 6), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTVideoEncoderSpecification_RequiredEncoderGPURegistryID")] NSString RequiredEncoderGpuRegistryId { get; } - [Mac (10, 14, 6), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTVideoEncoderSpecification_PreferredEncoderGPURegistryID")] NSString PreferredEncoderGpuRegistryId { get; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [StrongDictionary ("VTEncodeFrameOptionKey")] interface VTEncodeFrameOptions { @@ -768,7 +727,6 @@ interface VTEncodeFrameOptions { bool ForceKeyFrame { get; set; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTEncodeFrameOptionKey { @@ -794,7 +752,6 @@ interface VTEncodeFrameOptionKey { NSString RequireLtrAcknowledgementToken { get; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTDecompressionPropertyKey { @@ -807,7 +764,6 @@ interface VTDecompressionPropertyKey { NSString PixelBufferPoolIsShared { get; } [Field ("kVTDecompressionPropertyKey_OutputPoolRequestedMinimumBufferCount")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString OutputPoolRequestedMinimumBufferCount { get; } @@ -831,19 +787,17 @@ interface VTDecompressionPropertyKey { // hardware acceleration is default behavior on iOS. no opt-in required. [Field ("kVTDecompressionPropertyKey_UsingHardwareAcceleratedVideoDecoder")] - [Mac (10, 9)] [MacCatalyst (13, 1)] NSString UsingHardwareAcceleratedVideoDecoder { get; } // Decoder behavior [Field ("kVTDecompressionPropertyKey_RealTime")] - [Mac (10, 10)] [MacCatalyst (13, 1)] NSString RealTime { get; } [Field ("kVTDecompressionPropertyKey_MaximizePowerEfficiency")] - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] NSString MaximizePowerEfficiency { get; } @@ -901,7 +855,6 @@ interface VTDecompressionPropertyKey { [Field ("kVTDecompressionProperty_OnlyTheseFrames_KeyFrames")] NSString OnlyTheseFrames_KeyFrames { get; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Field ("kVTDecompressionProperty_TemporalLevelLimit")] NSString TemporalLevelLimit { get; } @@ -918,7 +871,7 @@ interface VTDecompressionPropertyKey { [Field ("kVTDecompressionPropertyKey_PixelFormatsWithReducedResolutionSupport")] NSString PixelFormatsWithReducedResolutionSupport { get; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTDecompressionPropertyKey_UsingGPURegistryID")] NSString UsingGpuRegistryId { get; } @@ -936,7 +889,6 @@ interface VTDecompressionPropertyKey { NSString PropagatePerFrameHdrDisplayMetadata { get; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [StrongDictionary ("VTDecompressionPropertyKey")] interface VTDecompressionProperties { @@ -963,16 +915,14 @@ interface VTDecompressionProperties { // hardware acceleration is default behavior on iOS. no opt-in required. [Export ("UsingHardwareAcceleratedVideoDecoder")] - [Mac (10, 9)] [MacCatalyst (13, 1)] bool UsingHardwareAcceleratedVideoDecoder { get; } - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("RealTime")] bool RealTime { get; set; } - [Mac (10, 14), iOS (12, 0), TV (12, 0)] + [iOS (12, 0), TV (12, 0)] [MacCatalyst (13, 1)] [Export ("MaximizePowerEfficiency")] bool MaximizePowerEfficiency { get; set; } @@ -990,7 +940,6 @@ interface VTDecompressionProperties { [Export ("ReducedFrameDelivery")] float ReducedFrameDelivery { get; set; } - [Mac (10, 13), iOS (11, 0), TV (11, 0)] [MacCatalyst (13, 1)] [Export ("TemporalLevelLimit")] int TemporalLevelLimit { get; set; } @@ -1013,12 +962,11 @@ interface VTDecompressionProperties { // VTPixelTransferProperties are available in iOS 9 radar://22614931 https://trello.com/c/bTl6hRu9 [StrongDictionary] - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("PixelTransferProperties")] VTPixelTransferProperties PixelTransferSettings { get; set; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("UsingGpuRegistryId")] uint UsingGpuRegistryId { get; } @@ -1031,7 +979,6 @@ interface VTDecompressionProperties { bool PropagatePerFrameHhrDisplayMetadata { get; set; } } - [Mac (10, 9), iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [StrongDictionary ("VTVideoDecoderSpecificationKeys")] interface VTVideoDecoderSpecification { @@ -1041,14 +988,12 @@ interface VTVideoDecoderSpecification { [Export ("RequireHardwareAcceleratedVideoDecoder")] bool RequireHardwareAcceleratedVideoDecoder { get; set; } - [Mac (10, 13, 4)] [NoiOS] [NoTV] [NoMacCatalyst] [Export ("RequiredDecoderGpuRegistryId")] NSNumber RequiredDecoderGpuRegistryId { get; } - [Mac (10, 13, 4)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -1056,7 +1001,6 @@ interface VTVideoDecoderSpecification { NSNumber PreferredDecoderGpuRegistryId { get; } } - [Mac (10, 9), iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTVideoDecoderSpecificationKeys { @@ -1066,14 +1010,12 @@ interface VTVideoDecoderSpecificationKeys { [Field ("kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder")] NSString RequireHardwareAcceleratedVideoDecoder { get; } - [Mac (10, 13, 4)] [NoiOS] [NoTV] [NoMacCatalyst] [Field ("kVTVideoDecoderSpecification_RequiredDecoderGPURegistryID")] NSString RequiredDecoderGpuRegistryId { get; } - [Mac (10, 13, 4)] [NoiOS] [NoTV] [NoMacCatalyst] @@ -1081,7 +1023,6 @@ interface VTVideoDecoderSpecificationKeys { NSString PreferredDecoderGpuRegistryId { get; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [StrongDictionary ("VTDecompressionResolutionKeys")] interface VTDecompressionResolutionOptions { @@ -1092,7 +1033,6 @@ interface VTDecompressionResolutionOptions { float Height { get; set; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTDecompressionResolutionKeys { @@ -1104,7 +1044,6 @@ interface VTDecompressionResolutionKeys { } // VTSession.h - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [StrongDictionary ("VTPropertyKeys")] interface VTPropertyOptions { @@ -1124,7 +1063,6 @@ interface VTPropertyOptions { NSString Documentation { get; set; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTPropertyKeys { @@ -1150,7 +1088,6 @@ interface VTPropertyKeys { NSString DocumentationKey { get; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTPropertyTypeKeys { @@ -1164,7 +1101,6 @@ interface VTPropertyTypeKeys { NSString Number { get; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] interface VTPropertyReadWriteStatusKeys { @@ -1176,7 +1112,6 @@ interface VTPropertyReadWriteStatusKeys { } // VTVideoEncoderList.h - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] [Internal] @@ -1196,32 +1131,32 @@ interface VTVideoEncoderList { [Field ("kVTVideoEncoderList_EncoderName")] NSString EncoderName { get; } - [Mac (10, 14, 6), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTVideoEncoderList_GPURegistryID")] NSString GpuRegistryId { get; } - [Mac (10, 14, 6), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTVideoEncoderList_SupportedSelectionProperties")] NSString SupportedSelectionProperties { get; } - [Mac (10, 14, 6), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTVideoEncoderList_PerformanceRating")] NSString PerformanceRating { get; } - [Mac (10, 14, 6), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTVideoEncoderList_QualityRating")] NSString QualityRating { get; } - [Mac (10, 14, 6), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTVideoEncoderList_InstanceLimit")] NSString InstanceLimit { get; } - [Mac (10, 14, 6), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTVideoEncoderList_IsHardwareAccelerated")] NSString IsHardwareAccelerated { get; } @@ -1242,7 +1177,6 @@ interface VTVideoEncoderList { } // VTMultiPassStorage.h - [Mac (10, 10), iOS (8, 0), TV (10, 2)] // not decorated in the header files - but all other definitions are 10.10 & 8.0 [MacCatalyst (13, 1)] [Static] interface VTMultiPassStorageCreationOptionKeys { @@ -1250,7 +1184,6 @@ interface VTMultiPassStorageCreationOptionKeys { NSString DoNotDelete { get; } } - [iOS (8, 0), TV (10, 2)] [MacCatalyst (13, 1)] [StrongDictionary ("VTMultiPassStorageCreationOptionKeys")] interface VTMultiPassStorageCreationOptions { @@ -1259,7 +1192,6 @@ interface VTMultiPassStorageCreationOptions { } // VTPixelTransferProperties are available in iOS 9 radar://22614931 https://trello.com/c/bTl6hRu9 - [iOS (9, 0), TV (10, 2)] [MacCatalyst (13, 1)] [StrongDictionary ("VTPixelTransferPropertyKeys")] interface VTPixelTransferProperties { @@ -1271,19 +1203,17 @@ interface VTPixelTransferProperties { [Export ("DestinationPixelAspectRatio")] AVVideoPixelAspectRatioSettings DestinationPixelAspectRatio { get; set; } - [iOS (10, 0)] [MacCatalyst (13, 1)] [Export ("DestinationICCProfile")] NSData DestinationICCProfile { get; set; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("RealTime")] bool RealTime { get; set; } } // VTPixelTransferProperties are available in iOS 9 radar://22614931 https://trello.com/c/bTl6hRu9 - [iOS (9, 0), TV (10, 2)] [MacCatalyst (13, 1)] [Static] [AdvancedAttribute] @@ -1329,21 +1259,18 @@ interface VTPixelTransferPropertyKeys { // DestinationColorPrimaries - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kVTPixelTransferPropertyKey_DestinationColorPrimaries")] NSString DestinationColorPrimaries { get; } // DestinationColorPrimaries - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kVTPixelTransferPropertyKey_DestinationTransferFunction")] NSString DestinationTransferFunction { get; } // DestinationICCProfile - [iOS (10, 0)] [MacCatalyst (13, 1)] [Field ("kVTPixelTransferPropertyKey_DestinationICCProfile")] NSString DestinationICCProfile { get; } @@ -1353,7 +1280,7 @@ interface VTPixelTransferPropertyKeys { [Field ("kVTPixelTransferPropertyKey_DestinationYCbCrMatrix")] NSString DestinationYCbCrMatrix { get; } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] + [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Field ("kVTPixelTransferPropertyKey_RealTime")] NSString RealTime { get; } diff --git a/src/vision.cs b/src/vision.cs index 0d038bbca550..878cd4d63c1c 100644 --- a/src/vision.cs +++ b/src/vision.cs @@ -36,7 +36,6 @@ namespace Vision { [ErrorDomain ("VNErrorDomain")] - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] enum VNErrorCode : long { @@ -64,7 +63,6 @@ enum VNErrorCode : long { Timeout, } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] enum VNRequestTrackingLevel : ulong { @@ -72,7 +70,6 @@ enum VNRequestTrackingLevel : ulong { Fast, } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Native] enum VNImageCropAndScaleOption : ulong { @@ -85,7 +82,6 @@ enum VNImageCropAndScaleOption : ulong { ScaleFillRotate90Ccw = 256 + ScaleFill, } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] enum VNBarcodeSymbology { [Field ("VNBarcodeSymbologyAztec")] @@ -172,7 +168,7 @@ public enum VNChirality : long { Right = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNRequestRevision : ulong { @@ -181,7 +177,7 @@ enum VNRequestRevision : ulong { Two = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNCoreMLRequestRevision : ulong { @@ -189,7 +185,7 @@ enum VNCoreMLRequestRevision : ulong { One = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0), MacCatalyst (15, 0)] + [TV (12, 0), iOS (12, 0), MacCatalyst (15, 0)] [Native] enum VNDetectBarcodesRequestRevision : ulong { Unspecified = 0, @@ -199,19 +195,19 @@ enum VNDetectBarcodesRequestRevision : ulong { Two = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNDetectFaceLandmarksRequestRevision : ulong { Unspecified = 0, One = 1, Two = 2, - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] Three = 3, } - [TV (12, 0), Mac (10, 14), iOS (12, 0), MacCatalyst (15, 0)] + [TV (12, 0), iOS (12, 0), MacCatalyst (15, 0)] [Native] enum VNDetectFaceRectanglesRequestRevision : ulong { Unspecified = 0, @@ -222,7 +218,7 @@ enum VNDetectFaceRectanglesRequestRevision : ulong { Three = 3, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNDetectHorizonRequestRevision : ulong { @@ -230,7 +226,7 @@ enum VNDetectHorizonRequestRevision : ulong { One = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNDetectRectanglesRequestRevision : ulong { @@ -238,7 +234,7 @@ enum VNDetectRectanglesRequestRevision : ulong { One = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNDetectTextRectanglesRequestRevision : ulong { @@ -246,7 +242,7 @@ enum VNDetectTextRectanglesRequestRevision : ulong { One = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNTranslationalImageRegistrationRequestRevision : ulong { @@ -254,7 +250,7 @@ enum VNTranslationalImageRegistrationRequestRevision : ulong { One = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNHomographicImageRegistrationRequestRevision : ulong { @@ -262,18 +258,18 @@ enum VNHomographicImageRegistrationRequestRevision : ulong { One = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNTrackObjectRequestRevision : ulong { Unspecified = 0, One = 1, - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] Two = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNTrackRectangleRequestRevision : ulong { @@ -281,7 +277,7 @@ enum VNTrackRectangleRequestRevision : ulong { One = 1, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNDetectedObjectObservationRequestRevision : ulong { @@ -290,7 +286,7 @@ enum VNDetectedObjectObservationRequestRevision : ulong { Two = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNFaceObservationRequestRevision : ulong { @@ -299,7 +295,7 @@ enum VNFaceObservationRequestRevision : ulong { Two = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNRecognizedObjectObservationRequestRevision : ulong { @@ -308,7 +304,7 @@ enum VNRecognizedObjectObservationRequestRevision : ulong { Two = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNRectangleObservationRequestRevision : ulong { @@ -317,7 +313,7 @@ enum VNRectangleObservationRequestRevision : ulong { Two = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNTextObservationRequestRevision : ulong { @@ -326,7 +322,7 @@ enum VNTextObservationRequestRevision : ulong { Two = 2, } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Native] enum VNBarcodeObservationRequestRevision : ulong { @@ -335,7 +331,7 @@ enum VNBarcodeObservationRequestRevision : ulong { Two = 2, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNClassifyImageRequestRevision : ulong { @@ -349,7 +345,7 @@ enum VNDetectDocumentSegmentationRequestRevision : ulong { One = 1, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNDetectFaceCaptureQualityRequestRevision : ulong { @@ -360,7 +356,7 @@ enum VNDetectFaceCaptureQualityRequestRevision : ulong { Two = 2, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNRequestFaceLandmarksConstellation : ulong { @@ -369,7 +365,7 @@ enum VNRequestFaceLandmarksConstellation : ulong { SeventySixPoints, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNDetectHumanRectanglesRequestRevision : ulong { @@ -379,7 +375,7 @@ enum VNDetectHumanRectanglesRequestRevision : ulong { Two = 2, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNGenerateAttentionBasedSaliencyImageRequestRevision : ulong { @@ -387,7 +383,7 @@ enum VNGenerateAttentionBasedSaliencyImageRequestRevision : ulong { One = 1, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNGenerateImageFeaturePrintRequestRevision : ulong { @@ -395,7 +391,7 @@ enum VNGenerateImageFeaturePrintRequestRevision : ulong { One = 1, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNGenerateObjectnessBasedSaliencyImageRequestRevision : ulong { @@ -403,7 +399,7 @@ enum VNGenerateObjectnessBasedSaliencyImageRequestRevision : ulong { One = 1, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNRecognizeAnimalsRequestRevision : ulong { @@ -413,7 +409,7 @@ enum VNRecognizeAnimalsRequestRevision : ulong { Two = 2, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNRequestTextRecognitionLevel : long { @@ -421,7 +417,7 @@ enum VNRequestTextRecognitionLevel : long { Fast, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNRecognizeTextRequestRevision : ulong { @@ -432,7 +428,7 @@ enum VNRecognizeTextRequestRevision : ulong { Two = 2, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Native] enum VNElementType : ulong { @@ -721,7 +717,6 @@ interface VNHumanObservation { bool UpperBodyOnly { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -732,22 +727,20 @@ interface VNCoreMLModel { [return: NullAllowed] VNCoreMLModel FromMLModel (MLModel model, out NSError error); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("inputImageFeatureName")] string InputImageFeatureName { get; set; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("featureProvider", ArgumentSemantic.Strong)] IMLFeatureProvider FeatureProvider { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] delegate void VNRequestCompletionHandler (VNRequest request, NSError error); - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageBasedRequest))] @@ -774,37 +767,36 @@ interface VNCoreMLRequest { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNCoreMLRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNCoreMLRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNCoreMLRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNCoreMLRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageBasedRequest))] @@ -849,37 +841,36 @@ interface VNDetectBarcodesRequest { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNDetectBarcodesRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNDetectBarcodesRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNDetectBarcodesRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNDetectBarcodesRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageBasedRequest))] @@ -889,13 +880,13 @@ interface VNDetectFaceLandmarksRequest : VNFaceObservationAccepting { [DesignatedInitializer] NativeHandle Constructor ([NullAllowed] VNRequestCompletionHandler completionHandler); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("revision:supportsConstellation:")] bool SupportsConstellation (VNDetectFaceLandmarksRequestRevision revision, VNRequestFaceLandmarksConstellation constellation); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("constellation", ArgumentSemantic.Assign)] VNRequestFaceLandmarksConstellation Constellation { get; set; } @@ -908,37 +899,36 @@ interface VNDetectFaceLandmarksRequest : VNFaceObservationAccepting { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNDetectFaceLandmarksRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNDetectFaceLandmarksRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNDetectFaceLandmarksRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNDetectFaceLandmarksRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageBasedRequest))] @@ -956,37 +946,36 @@ interface VNDetectFaceRectanglesRequest { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNDetectFaceRectanglesRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNDetectFaceRectanglesRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNDetectFaceRectanglesRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNDetectFaceRectanglesRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageBasedRequest))] @@ -1004,37 +993,36 @@ interface VNDetectHorizonRequest { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNDetectHorizonRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNDetectHorizonRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNDetectHorizonRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNDetectHorizonRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageBasedRequest))] @@ -1070,37 +1058,36 @@ interface VNDetectRectanglesRequest { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNDetectRectanglesRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNDetectRectanglesRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNDetectRectanglesRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNDetectRectanglesRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageBasedRequest))] @@ -1121,37 +1108,36 @@ interface VNDetectTextRectanglesRequest { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNDetectTextRectanglesRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNDetectTextRectanglesRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNDetectTextRectanglesRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNDetectTextRectanglesRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Abstract] [DisableDefaultCtor] @@ -1162,7 +1148,6 @@ interface VNFaceLandmarkRegion : NSCopying, NSSecureCoding, VNRequestRevisionPro nuint PointCount { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNFaceLandmarkRegion))] @@ -1176,7 +1161,7 @@ interface VNFaceLandmarkRegion2D { [Export ("pointsInImageOfSize:")] IntPtr _GetPointsInImage (CGSize imageSize); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BindAs (typeof (nfloat []))] [NullAllowed, Export ("precisionEstimatesPerPoint")] @@ -1187,7 +1172,6 @@ interface VNFaceLandmarkRegion2D { VNPointsClassification PointsClassification { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Abstract] [DisableDefaultCtor] @@ -1198,7 +1182,6 @@ interface VNFaceLandmarks : NSCopying, NSSecureCoding, VNRequestRevisionProvidin float Confidence { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNFaceLandmarks))] @@ -1246,7 +1229,6 @@ interface VNFaceLandmarks2D { interface IVNFaceObservationAccepting { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol] interface VNFaceObservationAccepting { @@ -1256,7 +1238,6 @@ interface VNFaceObservationAccepting { VNFaceObservation [] InputFaceObservations { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Abstract] [DisableDefaultCtor] @@ -1385,7 +1366,6 @@ interface VNImageRegistrationRequest { NativeHandle Constructor (NSData imageData, CGImagePropertyOrientation orientation, VNImageOptions options, VNRequestCompletionHandler completionHandler); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageRegistrationRequest))] @@ -1517,32 +1497,31 @@ interface VNTranslationalImageRegistrationRequest { NativeHandle Constructor (NSData imageData, CGImagePropertyOrientation orientation, VNImageOptions options, VNRequestCompletionHandler completionHandler); // into subclasses so the correct class_ptr is used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNTranslationalImageRegistrationRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNTranslationalImageRegistrationRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNTranslationalImageRegistrationRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageRegistrationRequest))] @@ -1677,37 +1656,36 @@ interface VNHomographicImageRegistrationRequest { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNHomographicImageRegistrationRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNHomographicImageRegistrationRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNHomographicImageRegistrationRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNHomographicImageRegistrationRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Abstract] [DisableDefaultCtor] @@ -1726,7 +1704,6 @@ interface VNObservation : NSCopying, NSSecureCoding, VNRequestRevisionProviding CMTimeRange TimeRange { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNObservation))] @@ -1736,7 +1713,7 @@ interface VNDetectedObjectObservation { [Export ("observationWithBoundingBox:")] VNDetectedObjectObservation FromBoundingBox (CGRect boundingBox); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("observationWithRequestRevision:boundingBox:")] @@ -1750,7 +1727,6 @@ interface VNDetectedObjectObservation { VNPixelBufferObservation GlobalSegmentationMask { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNDetectedObjectObservation))] @@ -1764,7 +1740,7 @@ interface VNFaceObservation { [Export ("observationWithBoundingBox:")] VNFaceObservation FromBoundingBox (CGRect boundingBox); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("observationWithRequestRevision:boundingBox:")] @@ -1773,7 +1749,7 @@ interface VNFaceObservation { [Deprecated (PlatformName.MacOSX, 12, 0)] [Deprecated (PlatformName.iOS, 15, 0)] [Deprecated (PlatformName.TvOS, 15, 0)] - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Deprecated (PlatformName.MacCatalyst, 15, 0)] [Static] @@ -1785,19 +1761,19 @@ interface VNFaceObservation { [Export ("faceObservationWithRequestRevision:boundingBox:roll:yaw:pitch:")] VNFaceObservation FromBoundingBox (VNFaceObservationRequestRevision requestRevision, CGRect boundingBox, [NullAllowed][BindAs (typeof (nfloat?))] NSNumber roll, [NullAllowed][BindAs (typeof (nfloat?))] NSNumber yaw, [NullAllowed][BindAs (typeof (nfloat?))] NSNumber pitch); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BindAs (typeof (float?))] [NullAllowed, Export ("faceCaptureQuality", ArgumentSemantic.Strong)] NSNumber FaceCaptureQuality { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BindAs (typeof (nfloat?))] [NullAllowed, Export ("roll", ArgumentSemantic.Strong)] NSNumber Roll { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BindAs (typeof (nfloat?))] [NullAllowed, Export ("yaw", ArgumentSemantic.Strong)] @@ -1809,7 +1785,7 @@ interface VNFaceObservation { NSNumber Pitch { get; } } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNDetectedObjectObservation))] [DisableDefaultCtor] @@ -1828,7 +1804,6 @@ interface VNRecognizedObjectObservation { VNClassificationObservation [] Labels { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNObservation))] @@ -1839,23 +1814,22 @@ interface VNClassificationObservation { // From interface VNClassificationObservation - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("hasPrecisionRecallCurve")] bool HasPrecisionRecallCurve { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("hasMinimumRecall:forPrecision:")] bool HasMinimumRecall (float minimumRecall, float precision); - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("hasMinimumPrecision:forRecall:")] bool HasMinimumPrecision (float minimumPrecision, float recall); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNObservation))] @@ -1864,13 +1838,12 @@ interface VNCoreMLFeatureValueObservation { [Export ("featureValue", ArgumentSemantic.Copy)] MLFeatureValue FeatureValue { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("featureName")] string FeatureName { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNObservation))] @@ -1879,19 +1852,18 @@ interface VNPixelBufferObservation { [Export ("pixelBuffer")] CVPixelBuffer PixelBuffer { get; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [NullAllowed, Export ("featureName")] string FeatureName { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNDetectedObjectObservation))] interface VNRectangleObservation { - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Static] [Export ("rectangleObservationWithRequestRevision:topLeft:bottomLeft:bottomRight:topRight:")] @@ -1914,14 +1886,13 @@ interface VNRectangleObservation { [Export ("observationWithBoundingBox:")] VNRectangleObservation FromBoundingBox (CGRect boundingBox); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("observationWithRequestRevision:boundingBox:")] VNRectangleObservation FromBoundingBox (VNRectangleObservationRequestRevision requestRevision, CGRect boundingBox); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNRectangleObservation))] @@ -1935,14 +1906,13 @@ interface VNTextObservation { [Export ("observationWithBoundingBox:")] VNTextObservation FromBoundingBox (CGRect boundingBox); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("observationWithRequestRevision:boundingBox:")] VNTextObservation FromBoundingBox (VNTextObservationRequestRevision requestRevision, CGRect boundingBox); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNRectangleObservation))] interface VNBarcodeObservation { @@ -1962,7 +1932,7 @@ interface VNBarcodeObservation { [Export ("observationWithBoundingBox:")] VNBarcodeObservation FromBoundingBox (CGRect boundingBox); - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("observationWithRequestRevision:boundingBox:")] @@ -1972,7 +1942,6 @@ interface VNBarcodeObservation { string PayloadStringValue { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNObservation))] @@ -1989,7 +1958,6 @@ interface VNHorizonObservation { CGAffineTransform CreateTransform (nuint width, nuint height); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Abstract] [DisableDefaultCtor] @@ -1997,7 +1965,6 @@ interface VNHorizonObservation { interface VNImageAlignmentObservation { } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageAlignmentObservation))] @@ -2013,7 +1980,6 @@ CGAffineTransform AlignmentTransform { } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNImageAlignmentObservation))] @@ -2030,7 +1996,6 @@ Matrix3 WarpTransform { } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Abstract] [DisableDefaultCtor] @@ -2057,7 +2022,7 @@ interface VNRequest : NSCopying { [Export ("usesCPUOnly")] bool UsesCpuOnly { get; set; } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("cancel")] void Cancel (); @@ -2066,32 +2031,31 @@ interface VNRequest : NSCopying { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - //[TV (12,0), Mac (10,14), iOS (12,0)] + //[TV (12,0), iOS (12,0)] //[Export ("revision")] //VNRequestRevision Revision { get; set; } - //[TV (12,0), Mac (10,14), iOS (12,0)] + //[TV (12,0), iOS (12,0)] //[Static] //[Export ("supportedRevisions", ArgumentSemantic.Copy)] //NSIndexSet WeakSupportedRevisions { get; } - //[TV (12,0), Mac (10,14), iOS (12,0)] + //[TV (12,0), iOS (12,0)] //[Static] //[Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] //VNRequestRevision [] SupportedRevisions { get; } - //[TV (12,0), Mac (10,14), iOS (12,0)] + //[TV (12,0), iOS (12,0)] //[Static] //[Export ("defaultRevision")] //VNRequestRevision DefaultRevision { get; } - //[TV (12,0), Mac (10,14), iOS (12,0)] + //[TV (12,0), iOS (12,0)] //[Static] //[Export ("currentRevision")] //VNRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Abstract] [DisableDefaultCtor] @@ -2106,7 +2070,6 @@ interface VNImageBasedRequest { CGRect RegionOfInterest { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Internal] [Static] @@ -2121,7 +2084,6 @@ interface VNImageOptionKeys { NSString CIContextKey { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [StrongDictionary ("VNImageOptionKeys")] interface VNImageOptions { @@ -2135,7 +2097,6 @@ interface VNImageOptions { CIContext CIContext { get; set; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2225,7 +2186,6 @@ interface VNImageRequestHandler { bool Perform (VNRequest [] requests, out NSError error); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // it's a designated initializer @@ -2276,7 +2236,6 @@ interface VNSequenceRequestHandler { bool Perform (VNRequest [] requests, CMSampleBuffer sampleBuffer, CGImagePropertyOrientation orientation, [NullAllowed] out NSError error); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Abstract] [BaseType (typeof (VNImageBasedRequest))] @@ -2444,7 +2403,6 @@ interface VNTargetedImageRequest { NativeHandle Constructor (CMSampleBuffer sampleBuffer, CGImagePropertyOrientation orientation, VNImageOptions options, VNRequestCompletionHandler completionHandler); } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNTrackingRequest))] [DisableDefaultCtor] @@ -2464,37 +2422,36 @@ interface VNTrackObjectRequest { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNTrackObjectRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNTrackObjectRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNTrackObjectRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNTrackObjectRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNTrackingRequest))] [DisableDefaultCtor] @@ -2515,37 +2472,36 @@ interface VNTrackRectangleRequest { // ('Revision', 'WeakSupportedRevisions', 'SupportedRevisions', 'DefaultRevision' and 'CurrentRevision') // into subclasses so the correct class_ptr is used for the static members and the right enum type is also used. - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("revision")] VNTrackRectangleRequestRevision Revision { get; set; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("supportedRevisions", ArgumentSemantic.Copy)] NSIndexSet WeakSupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Wrap ("GetSupportedVersions (WeakSupportedRevisions)")] VNTrackRectangleRequestRevision [] SupportedRevisions { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("defaultRevision")] VNTrackRectangleRequestRevision DefaultRevision { get; } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Static] [Export ("currentRevision")] VNTrackRectangleRequestRevision CurrentRevision { get; } } - [TV (11, 0), Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Abstract] [BaseType (typeof (VNImageBasedRequest))] @@ -2566,7 +2522,7 @@ interface VNTrackingRequest { bool LastFrame { [Bind ("isLastFrame")] get; set; } } - [TV (12, 0), Mac (10, 14), iOS (12, 0)] + [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Protocol] interface VNRequestRevisionProviding { @@ -2576,7 +2532,7 @@ interface VNRequestRevisionProviding { VNRequestRevision RequestRevision { get; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNImageBasedRequest))] [DisableDefaultCtor] @@ -2628,7 +2584,7 @@ interface VNClassifyImageRequest { VNClassifyImageRequestRevision CurrentRevision { get; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNImageBasedRequest))] [DisableDefaultCtor] @@ -2666,7 +2622,7 @@ interface VNDetectFaceCaptureQualityRequest : VNFaceObservationAccepting { VNDetectFaceCaptureQualityRequestRevision CurrentRevision { get; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNImageBasedRequest))] [DisableDefaultCtor] @@ -2708,7 +2664,7 @@ interface VNDetectHumanRectanglesRequest { VNDetectHumanRectanglesRequestRevision CurrentRevision { get; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNImageBasedRequest))] [DisableDefaultCtor] @@ -2746,7 +2702,7 @@ interface VNGenerateAttentionBasedSaliencyImageRequest { VNGenerateAttentionBasedSaliencyImageRequestRevision CurrentRevision { get; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNImageBasedRequest))] [DisableDefaultCtor] @@ -2787,7 +2743,7 @@ interface VNGenerateImageFeaturePrintRequest { VNGenerateImageFeaturePrintRequestRevision CurrentRevision { get; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNImageBasedRequest))] [DisableDefaultCtor] @@ -2825,7 +2781,7 @@ interface VNGenerateObjectnessBasedSaliencyImageRequest { VNGenerateObjectnessBasedSaliencyImageRequestRevision CurrentRevision { get; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -2842,7 +2798,7 @@ interface VNRecognizedText : NSCopying, NSSecureCoding, VNRequestRevisionProvidi VNRectangleObservation GetBoundingBox (NSRange range, [NullAllowed] out NSError error); } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNRectangleObservation))] [DisableDefaultCtor] @@ -2856,7 +2812,7 @@ interface VNRecognizedTextObservation { VNRecognizedTextObservation Create (CGRect boundingBox); } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [DisableDefaultCtor] [BaseType (typeof (VNPixelBufferObservation))] @@ -2866,7 +2822,7 @@ interface VNSaliencyImageObservation { VNRectangleObservation [] SalientObjects { get; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNObservation))] [DisableDefaultCtor] @@ -2886,7 +2842,7 @@ interface VNFeaturePrintObservation { bool _ComputeDistance (IntPtr outDistance, VNFeaturePrintObservation featurePrint, [NullAllowed] out NSError error); } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] enum VNAnimalIdentifier { @@ -2901,7 +2857,7 @@ enum VNAnimalIdentifier { Cat, } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNImageBasedRequest))] [DisableDefaultCtor] @@ -2955,7 +2911,7 @@ interface VNRecognizeAnimalsRequest { VNRecognizeAnimalsRequestRevision CurrentRevision { get; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (VNImageBasedRequest))] [DisableDefaultCtor] @@ -3026,12 +2982,12 @@ interface VNRecognizeTextRequest : VNRequestProgressProviding { bool AutomaticallyDetectsLanguage { get; set; } } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] delegate void VNRequestProgressHandler (VNRequest request, double fractionCompleted, [NullAllowed] NSError error); interface IVNRequestProgressProviding { } - [TV (13, 0), Mac (10, 15), iOS (13, 0)] + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protocol] interface VNRequestProgressProviding { diff --git a/src/watchconnectivity.cs b/src/watchconnectivity.cs index bf0e5f240a01..2a66ce1636fb 100644 --- a/src/watchconnectivity.cs +++ b/src/watchconnectivity.cs @@ -17,7 +17,6 @@ namespace WatchConnectivity { delegate void WCSessionReplyHandler (NSDictionary replyMessage); delegate void WCSessionReplyDataHandler (NSData replyMessage); - [iOS (9, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface WCSession { @@ -94,18 +93,13 @@ interface WCSession { [Field ("WCErrorDomain")] NSString ErrorDomain { get; } - [Watch (2, 2)] - [iOS (9, 3)] [Export ("activationState")] WCSessionActivationState ActivationState { get; } - [Watch (3, 0)] - [iOS (10, 0)] [Export ("hasContentPending")] bool HasContentPending { get; } [NoWatch] - [iOS (10, 0)] [Export ("remainingComplicationUserInfoTransfers")] nuint RemainingComplicationUserInfoTransfers { get; } @@ -117,7 +111,6 @@ interface WCSession { interface IWCSessionDelegate { } - [iOS (9, 0)] [Protocol, Model] [BaseType (typeof (NSObject))] interface WCSessionDelegate { @@ -160,8 +153,6 @@ interface WCSessionDelegate { #if NET [Abstract] // OS 10 beta 1 SDK made this required #endif - [Watch (2, 2)] - [iOS (9, 3)] [Export ("session:activationDidCompleteWithState:error:")] void ActivationDidComplete (WCSession session, WCSessionActivationState activationState, [NullAllowed] NSError error); @@ -169,7 +160,6 @@ interface WCSessionDelegate { [Abstract] // OS 10 beta 1 SDK made this required #endif [NoWatch] - [iOS (9, 3)] [Export ("sessionDidBecomeInactive:")] void DidBecomeInactive (WCSession session); @@ -177,7 +167,6 @@ interface WCSessionDelegate { [Abstract] // OS 10 beta 1 SDK made this required #endif [NoWatch] - [iOS (9, 3)] [Export ("sessionDidDeactivate:")] void DidDeactivate (WCSession session); @@ -187,7 +176,6 @@ interface WCSessionDelegate { void CompanionAppInstalledDidChange (WCSession session); } - [iOS (9, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // no handle, doc: You do not create instances of this class directly. interface WCSessionFile { @@ -200,7 +188,6 @@ interface WCSessionFile { NSDictionary Metadata { get; } } - [iOS (9, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // no handle, doc: You do not create instances of this class yourself. interface WCSessionFileTransfer { @@ -220,7 +207,6 @@ interface WCSessionFileTransfer { NSProgress Progress { get; } } - [iOS (9, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // no handle, doc: You do not create instances of this class yourself. interface WCSessionUserInfoTransfer : NSSecureCoding { diff --git a/src/watchkit.cs b/src/watchkit.cs index 4b537669a684..c1b5a6fbfabb 100644 --- a/src/watchkit.cs +++ b/src/watchkit.cs @@ -178,7 +178,6 @@ interface WKInterfaceController { [Static, Export ("reloadRootControllersWithNames:contexts:")] void ReloadRootControllers (string [] names, [NullAllowed] NSObject [] contexts); - [Watch (4, 0)] [Static] [Export ("reloadRootPageControllersWithNames:contexts:orientation:pageIndex:")] void ReloadRootPageControllers (string [] names, [NullAllowed] NSObject [] contexts, WKPageOrientation orientation, nint pageIndex); @@ -235,23 +234,18 @@ interface WKInterfaceController { void PresentMediaPlayerController (NSUrl url, [NullAllowed] NSDictionary options, Action completion); #endif - [Watch (3, 0)] [Export ("crownSequencer", ArgumentSemantic.Strong)] WKCrownSequencer CrownSequencer { get; } - [Watch (4, 0)] [Export ("scrollToObject:atScrollPosition:animated:")] void ScrollTo (WKInterfaceObject @object, WKInterfaceScrollPosition scrollPosition, bool animated); - [Watch (4, 0)] [Export ("interfaceDidScrollToTop")] void InterfaceDidScrollToTop (); - [Watch (4, 0)] [Export ("interfaceOffsetDidScrollToTop")] void InterfaceOffsetDidScrollToTop (); - [Watch (4, 0)] [Export ("interfaceOffsetDidScrollToBottom")] void InterfaceOffsetDidScrollToBottom (); @@ -286,7 +280,6 @@ interface WKUserNotificationInterfaceController { void DidReceiveLocalNotification (UILocalNotification localNotification, Action completionHandler); [Deprecated (PlatformName.WatchOS, 5, 0, message: "Use 'DidReceiveNotification(UNNotification)' instead.")] - [Watch (3, 0)] [Export ("didReceiveNotification:withCompletion:")] void DidReceiveNotification (UNNotification notification, Action completionHandler); @@ -298,7 +291,6 @@ interface WKUserNotificationInterfaceController { [Export ("suggestionsForResponseToActionWithIdentifier:forLocalNotification:inputLanguage:")] string [] GetSuggestionsForResponseToAction (string identifier, UILocalNotification localNotification, string inputLanguage); - [Watch (3, 0)] [Export ("suggestionsForResponseToActionWithIdentifier:forNotification:inputLanguage:")] string [] GetSuggestionsForResponseToAction (string identifier, UNNotification notification, string inputLanguage); @@ -344,7 +336,6 @@ interface WKInterfaceObject : UIAccessibility { [Export ("setHeight:")] void SetHeight (nfloat height); - [Watch (2, 1)] [Export ("setSemanticContentAttribute:")] void SetSemanticContentAttribute (WKInterfaceSemanticContentAttribute semanticContentAttribute); @@ -396,7 +387,6 @@ interface WKAccessibility { [Field ("WKAccessibilityVoiceOverStatusChanged")] NSString VoiceOverStatusChanged { get; } - [Watch (4, 0)] [Notification] [Field ("WKAccessibilityReduceMotionStatusDidChangeNotification")] NSString ReduceMotionStatusDidChangeNotification { get; } @@ -455,39 +445,31 @@ interface WKInterfaceDevice { [Export ("systemName")] string SystemName { get; } - [Watch (3, 0)] [Export ("waterResistanceRating")] WKWaterResistanceRating WaterResistanceRating { get; } [Export ("playHaptic:")] void PlayHaptic (WKHapticType type); - [Watch (2, 1)] [Export ("layoutDirection")] WKInterfaceLayoutDirection LayoutDirection { get; } - [Watch (2, 1)] [Static] [Export ("interfaceLayoutDirectionForSemanticContentAttribute:")] WKInterfaceLayoutDirection GetInterfaceLayoutDirection (WKInterfaceSemanticContentAttribute semanticContentAttribute); - [Watch (3, 0)] [Export ("wristLocation")] WKInterfaceDeviceWristLocation WristLocation { get; } - [Watch (3, 0)] [Export ("crownOrientation")] WKInterfaceDeviceCrownOrientation CrownOrientation { get; } - [Watch (4, 0)] [Export ("batteryMonitoringEnabled")] bool BatteryMonitoringEnabled { [Bind ("isBatteryMonitoringEnabled")] get; set; } - [Watch (4, 0)] [Export ("batteryLevel")] float BatteryLevel { get; } - [Watch (4, 0)] [Export ("batteryState")] WKInterfaceDeviceBatteryState BatteryState { get; } @@ -647,7 +629,6 @@ interface WKInterfaceTable { [Export ("scrollToRowAtIndex:")] void ScrollToRow (nint index); - [Watch (3, 0)] [Export ("performSegueForRow:")] void PerformSegue (nint row); @@ -899,12 +880,10 @@ interface WKAudioFilePlayerItem { double CurrentTime { get; #if NET - [Watch (3,2)] set; } #else } - [Watch (3, 2)] [Export ("setCurrentTime:")] void SetCurrentTime (double time); #endif @@ -943,19 +922,15 @@ interface WKExtension { [NullAllowed, Export ("rootInterfaceController")] WKInterfaceController RootInterfaceController { get; } - [Watch (3, 0)] [Export ("applicationState")] WKApplicationState ApplicationState { get; } - [Watch (4, 0)] [NullAllowed, Export ("visibleInterfaceController")] WKInterfaceController VisibleInterfaceController { get; } - [Watch (4, 0)] [Export ("isApplicationRunningInDock")] bool IsApplicationRunningInDock { get; } - [Watch (4, 0)] [Export ("autorotating")] bool Autorotating { [Bind ("isAutorotating")] get; set; } @@ -963,12 +938,10 @@ interface WKExtension { [Export ("autorotated")] bool Autorotated { [Bind ("isAutorotated")] get; } - [Watch (4, 0)] [Deprecated (PlatformName.WatchOS, 7, 0)] [Export ("frontmostTimeoutExtended")] bool FrontmostTimeoutExtended { [Bind ("isFrontmostTimeoutExtended")] get; set; } - [Watch (4, 0)] [Export ("enableWaterLock")] [Deprecated (PlatformName.WatchOS, 6, 1, message: "Use 'WKInterfaceDevice.EnableWaterLock' instead.")] void EnableWaterLock (); @@ -1024,11 +997,9 @@ interface WKExtensionDelegate { [Export ("applicationWillResignActive")] void ApplicationWillResignActive (); - [Watch (3, 0)] [Export ("applicationWillEnterForeground")] void ApplicationWillEnterForeground (); - [Watch (3, 0)] [Export ("applicationDidEnterBackground")] void ApplicationDidEnterBackground (); @@ -1051,7 +1022,6 @@ interface WKExtensionDelegate { [Export ("handleUserActivity:")] void HandleUserActivity ([NullAllowed] NSDictionary userInfo); - [Watch (3, 2)] // TODO: Check if this is equal/similar to HandleUserActivity once docs are available [Export ("handleActivity:")] void HandleUserActivity (NSUserActivity userActivity); @@ -1063,15 +1033,12 @@ interface WKExtensionDelegate { [Export ("didReceiveLocalNotification:")] void DidReceiveLocalNotification (UILocalNotification notification); - [Watch (3, 0)] [Export ("handleBackgroundTasks:")] void HandleBackgroundTasks (NSSet backgroundTasks); - [Watch (3, 0)] [Export ("handleWorkoutConfiguration:")] void HandleWorkoutConfiguration (HKWorkoutConfiguration workoutConfiguration); - [Watch (4, 0)] [Export ("deviceOrientationDidChange")] void DeviceOrientationDidChange (); @@ -1108,7 +1075,7 @@ interface WKExtensionDelegate { void UserDidAcceptCloudKitShare (CKShareMetadata cloudKitShareMetadata); } - [Watch (2, 2), NoiOS] + [NoiOS] [BaseType (typeof (WKInterfaceObject))] [DisableDefaultCtor] // The super class' init method is unavailable. interface WKInterfaceActivityRing { @@ -1245,7 +1212,6 @@ interface WKAudioRecorderControllerOptionsKey { NSString MaximumDurationKey { get; } } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (NSObject))] interface WKRefreshBackgroundTask { @@ -1257,7 +1223,6 @@ interface WKRefreshBackgroundTask { [Export ("setTaskCompleted")] void SetTaskCompleted (); - [Watch (4, 0)] [Export ("setTaskCompletedWithSnapshot:")] void SetTaskCompleted (bool refreshSnapshot); @@ -1266,13 +1231,11 @@ interface WKRefreshBackgroundTask { Action ExpirationHandler { get; set; } } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKRefreshBackgroundTask))] interface WKApplicationRefreshBackgroundTask { } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKRefreshBackgroundTask))] interface WKSnapshotRefreshBackgroundTask { @@ -1281,7 +1244,6 @@ interface WKSnapshotRefreshBackgroundTask { [Export ("returnToDefaultState")] bool ReturnToDefaultState { get; } - [Watch (4, 0)] [Export ("reasonForSnapshot")] WKSnapshotReason ReasonForSnapshot { get; } @@ -1289,7 +1251,6 @@ interface WKSnapshotRefreshBackgroundTask { void SetTaskCompleted (bool restoredDefaultState, [NullAllowed] NSDate estimatedSnapshotExpiration, [NullAllowed] INSSecureCoding userInfo); } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKRefreshBackgroundTask), Name = "WKURLSessionRefreshBackgroundTask")] interface WKUrlSessionRefreshBackgroundTask { @@ -1298,7 +1259,6 @@ interface WKUrlSessionRefreshBackgroundTask { string SessionIdentifier { get; } } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKRefreshBackgroundTask))] interface WKWatchConnectivityRefreshBackgroundTask { @@ -1316,7 +1276,6 @@ interface WKRelevantShortcutRefreshBackgroundTask { interface WKIntentDidRunRefreshBackgroundTask { } - [Watch (3, 0)] [NoiOS] [Category] [BaseType (typeof (WKExtension))] @@ -1329,7 +1288,6 @@ interface WKExtension_WKBackgroundTasks { void ScheduleSnapshotRefresh (NSDate preferredFireDate, [NullAllowed] INSSecureCoding userInfo, Action scheduledCompletion); } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -1357,7 +1315,6 @@ interface WKCrownSequencer { interface IWKCrownDelegate { } - [Watch (3, 0)] [NoiOS] [Protocol] [Model] @@ -1370,7 +1327,6 @@ interface WKCrownDelegate { void CrownDidBecomeIdle ([NullAllowed] WKCrownSequencer crownSequencer); } - [Watch (3, 0)] [NoiOS] [Abstract] [BaseType (typeof (NSObject))] @@ -1389,7 +1345,6 @@ interface WKGestureRecognizer { CGRect ObjectBounds { get; } } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKGestureRecognizer))] interface WKTapGestureRecognizer { @@ -1398,7 +1353,6 @@ interface WKTapGestureRecognizer { nuint NumberOfTapsRequired { get; set; } } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKGestureRecognizer))] interface WKLongPressGestureRecognizer { @@ -1413,7 +1367,6 @@ interface WKLongPressGestureRecognizer { nfloat AllowableMovement { get; set; } } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKGestureRecognizer))] interface WKSwipeGestureRecognizer { @@ -1422,7 +1375,6 @@ interface WKSwipeGestureRecognizer { WKSwipeGestureRecognizerDirection Direction { get; set; } } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKGestureRecognizer))] interface WKPanGestureRecognizer { @@ -1433,7 +1385,6 @@ interface WKPanGestureRecognizer { CGPoint VelocityInObject { get; } } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKInterfaceObject))] [DisableDefaultCtor] // Do not subclass or create instances of this class yourself. -> Handle is nil if init is called @@ -1450,7 +1401,6 @@ interface WKInterfaceHMCamera { void SetCameraSource ([NullAllowed] HMCameraSource cameraSource); } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKInterfaceObject))] [DisableDefaultCtor] // Do not subclass or create instances of this class yourself. -> Handle is nil if init is called @@ -1487,7 +1437,6 @@ interface WKInterfaceInlineMovie { void Pause (); } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKInterfaceObject))] [DisableDefaultCtor] // Do not subclass or create instances of this class yourself. -> Handle is nil if init is called @@ -1498,7 +1447,6 @@ interface WKInterfacePaymentButton { NativeHandle Constructor ([NullAllowed] NSObject target, Selector action); } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKInterfaceObject))] [DisableDefaultCtor] // Do not subclass or create instances of this class yourself. -> Handle is nil if init is called @@ -1521,7 +1469,6 @@ interface WKInterfaceSCNScene : SCNSceneRenderer { SCNAntialiasingMode AntialiasingMode { get; set; } } - [Watch (3, 0)] [NoiOS] [BaseType (typeof (WKInterfaceObject))] [DisableDefaultCtor] // Do not subclass or create instances of this class yourself. -> Handle is nil if init is called diff --git a/src/webkit.cs b/src/webkit.cs index ed74652313cd..5d98aed454d1 100644 --- a/src/webkit.cs +++ b/src/webkit.cs @@ -1046,7 +1046,7 @@ partial interface DomElement { [Export ("scrollHeight")] int ScrollHeight { get; } /* int, not NSInteger */ - [Mac (10, 9), Export ("className", ArgumentSemantic.Copy)] + [Export ("className", ArgumentSemantic.Copy)] string ClassName { get; set; } [Export ("firstElementChild", ArgumentSemantic.Retain)] @@ -1709,7 +1709,7 @@ partial interface DomHtmlInputElement { [Export ("form", ArgumentSemantic.Retain)] DomHtmlFormElement Form { get; } - [Export ("files", ArgumentSemantic.Retain), Mac (10, 9)] + [Export ("files", ArgumentSemantic.Retain)] DomFileList Files { get; set; } } @@ -2091,7 +2091,6 @@ partial interface WebFrame { /* JSGlobalContextRef */ IntPtr GlobalContext { get; } - [Mac (10, 10)] [Export ("javaScriptContext", ArgumentSemantic.Strong)] JSContext JavaScriptContext { get; } } @@ -2678,7 +2677,6 @@ partial interface WebScriptObject { [Export ("setException:")] void SetException (string description); - [Mac (10, 10)] [Export ("JSValue")] JSValue JSValue { get; } } @@ -3366,7 +3364,7 @@ interface DomHtmlButtonElement { string Name { get; set; } [Export ("type")] - string Type { get; [Mac (10, 9)] set; } + string Type { get; set; } [Export ("value")] string Value { get; set; } @@ -4381,7 +4379,6 @@ public enum WKDialogResult : long { Handled, } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor ()] // Crashes during deallocation in Xcode 6 beta 2. radar 17377712. @@ -4398,7 +4395,6 @@ interface WKBackForwardListItem { NSUrl InitialUrl { get; } } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor ()] // Crashes during deallocation in Xcode 6 beta 2. radar 17377712. @@ -4427,7 +4423,6 @@ interface WKBackForwardList { WKBackForwardListItem ItemAtIndex (nint index); } - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKContentRuleList { @@ -4435,7 +4430,6 @@ interface WKContentRuleList { string Identifier { get; } } - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKContentRuleListStore { @@ -4464,7 +4458,6 @@ interface WKContentRuleListStore { void GetAvailableContentRuleListIdentifiers (Action callback); } - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "WKHTTPCookieStore")] [DisableDefaultCtor] @@ -4490,7 +4483,6 @@ interface WKHttpCookieStore { interface IWKHttpCookieStoreObserver { } - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol (Name = "WKHTTPCookieStoreObserver")] interface WKHttpCookieStoreObserver { @@ -4498,7 +4490,6 @@ interface WKHttpCookieStoreObserver { void CookiesDidChangeInCookieStore (WKHttpCookieStore cookieStore); } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKFrameInfo : NSCopying { @@ -4509,32 +4500,25 @@ interface WKFrameInfo : NSCopying { [Export ("request", ArgumentSemantic.Copy)] NSUrlRequest Request { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("securityOrigin")] WKSecurityOrigin SecurityOrigin { get; } - [iOS (11, 0)] - [Mac (10, 13)] [MacCatalyst (13, 1)] [NullAllowed, Export ("webView", ArgumentSemantic.Weak)] WKWebView WebView { get; } } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKNavigation { - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("effectiveContentMode")] WKContentMode EffectiveContentMode { get; } } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKNavigationAction { @@ -4569,7 +4553,6 @@ interface WKNavigationAction { bool ShouldPerformDownload { get; } } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -4581,7 +4564,6 @@ interface WKNavigationDelegate { [Export ("webView:decidePolicyForNavigationResponse:decisionHandler:")] void DecidePolicy (WKWebView webView, WKNavigationResponse navigationResponse, Action decisionHandler); - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("webView:decidePolicyForNavigationAction:preferences:decisionHandler:")] @@ -4608,8 +4590,6 @@ interface WKNavigationDelegate { [Export ("webView:didReceiveAuthenticationChallenge:completionHandler:")] void DidReceiveAuthenticationChallenge (WKWebView webView, NSUrlAuthenticationChallenge challenge, Action completionHandler); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("webViewWebContentProcessDidTerminate:")] void ContentProcessDidTerminate (WKWebView webView); @@ -4633,7 +4613,6 @@ interface WKNavigationDelegate { void NavigationResponseDidBecomeDownload (WKWebView webView, WKNavigationResponse navigationResponse, WKDownload download); } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKNavigationResponse { @@ -4648,7 +4627,6 @@ interface WKNavigationResponse { bool CanShowMimeType { get; } } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKPreferences : NSSecureCoding { @@ -4679,11 +4657,10 @@ interface WKPreferences : NSSecureCoding { // Headers says 10,12,3 but it is not available likely they meant 10,12,4 [NoiOS] [NoMacCatalyst] - [Mac (10, 12, 4)] [Export ("tabFocusesLinks")] bool TabFocusesLinks { get; set; } - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("fraudulentWebsiteWarningEnabled")] bool FraudulentWebsiteWarningEnabled { [Bind ("isFraudulentWebsiteWarningEnabled")] get; set; } @@ -4711,7 +4688,6 @@ interface WKPreferences : NSSecureCoding { bool ElementFullscreenEnabled { [Bind ("isElementFullscreenEnabled")] get; set; } } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKScriptMessage { @@ -4740,7 +4716,6 @@ interface WKScriptMessage { interface IWKScriptMessageHandler { } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -4751,8 +4726,6 @@ interface WKScriptMessageHandler { void DidReceiveScriptMessage (WKUserContentController userContentController, WKScriptMessage message); } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -4768,7 +4741,6 @@ interface WKSecurityOrigin { } - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKSnapshotConfiguration : NSCopying { @@ -4779,7 +4751,6 @@ interface WKSnapshotConfiguration : NSCopying { [NullAllowed] NSNumber SnapshotWidth { get; set; } - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("afterScreenUpdates")] @@ -4787,7 +4758,6 @@ interface WKSnapshotConfiguration : NSCopying { } interface IWKUrlSchemeHandler { } - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol (Name = "WKURLSchemeHandler")] interface WKUrlSchemeHandler { @@ -4802,7 +4772,6 @@ interface WKUrlSchemeHandler { interface IWKUrlSchemeTask { } - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Protocol (Name = "WKURLSchemeTask")] interface WKUrlSchemeTask { @@ -4827,7 +4796,6 @@ interface WKUrlSchemeTask { void DidFailWithError (NSError error); } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKWebsiteDataRecord { @@ -4838,7 +4806,6 @@ interface WKWebsiteDataRecord { NSSet DataTypes { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Static] interface WKWebsiteDataType { @@ -4866,12 +4833,12 @@ interface WKWebsiteDataType { [Field ("WKWebsiteDataTypeIndexedDBDatabases", "WebKit")] NSString IndexedDBDatabases { get; } - [Mac (10, 13, 4), iOS (11, 3)] + [iOS (11, 3)] [MacCatalyst (13, 1)] [Field ("WKWebsiteDataTypeFetchCache")] NSString FetchCache { get; } - [Mac (10, 13, 4), iOS (11, 3)] + [iOS (11, 3)] [MacCatalyst (13, 1)] [Field ("WKWebsiteDataTypeServiceWorkerRegistrations")] NSString ServiceWorkerRegistrations { get; } @@ -4881,7 +4848,6 @@ interface WKWebsiteDataType { NSString FileSystem { get; } } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // NSGenericException Reason: Calling [WKWebsiteDataStore init] is not supported. @@ -4914,13 +4880,11 @@ interface WKWebsiteDataStore : NSSecureCoding { [Async] void RemoveDataOfTypes (NSSet websiteDataTypes, NSDate date, Action completionHandler); - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("httpCookieStore")] WKHttpCookieStore HttpCookieStore { get; } } - [Mac (10, 12)] [NoiOS, NoWatch, NoTV] [NoMacCatalyst] [BaseType (typeof (NSObject))] @@ -4928,13 +4892,11 @@ interface WKOpenPanelParameters { [Export ("allowsMultipleSelection")] bool AllowsMultipleSelection { get; } - [Mac (10, 13, 4)] [NoMacCatalyst] [Export ("allowsDirectories")] bool AllowsDirectories { get; } } - [Mac (10, 10), iOS (8, 0)] [MacCatalyst (13, 1)] [Protocol, Model] [BaseType (typeof (NSObject))] @@ -4955,19 +4917,15 @@ WKWebView CreateWebView (WKWebView webView, WKWebViewConfiguration configuration void RunJavaScriptTextInputPanel (WKWebView webView, string prompt, [NullAllowed] string defaultText, WKFrameInfo frame, Action completionHandler); - [Mac (10, 12)] [NoiOS, NoWatch, NoTV] [NoMacCatalyst] [Export ("webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:")] void RunOpenPanel (WKWebView webView, WKOpenPanelParameters parameters, WKFrameInfo frame, Action completionHandler); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("webViewDidClose:")] void DidClose (WKWebView webView); - [iOS (10, 0)] [NoMac] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'SetContextMenuConfiguration' instead.")] [MacCatalyst (13, 1)] @@ -4975,7 +4933,6 @@ void RunJavaScriptTextInputPanel (WKWebView webView, string prompt, [NullAllowed [Export ("webView:shouldPreviewElement:")] bool ShouldPreviewElement (WKWebView webView, WKPreviewElementInfo elementInfo); - [iOS (10, 0)] [NoMac] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'SetContextMenuConfiguration' instead.")] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'SetContextMenuConfiguration' instead.")] @@ -4984,7 +4941,6 @@ void RunJavaScriptTextInputPanel (WKWebView webView, string prompt, [NullAllowed [return: NullAllowed] UIViewController GetPreviewingViewController (WKWebView webView, WKPreviewElementInfo elementInfo, IWKPreviewActionItem [] previewActions); - [iOS (10, 0)] [NoMac] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'WillCommitContextMenu' instead.")] [MacCatalyst (13, 1)] @@ -5032,7 +4988,6 @@ void RunJavaScriptTextInputPanel (WKWebView webView, string prompt, [NullAllowed void ShowLockDownMode (WKWebView webView, string firstUseMessage, Action completionHandler); } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKUserContentController : NSSecureCoding { @@ -5067,17 +5022,14 @@ interface WKUserContentController : NSSecureCoding { [Export ("removeScriptMessageHandlerForName:contentWorld:")] void RemoveScriptMessageHandler (string name, WKContentWorld contentWorld); - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("addContentRuleList:")] void AddContentRuleList (WKContentRuleList contentRuleList); - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("removeContentRuleList:")] void RemoveContentRuleList (WKContentRuleList contentRuleList); - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("removeAllContentRuleLists")] void RemoveAllContentRuleLists (); @@ -5093,7 +5045,6 @@ interface WKUserContentController : NSSecureCoding { void RemoveAllScriptMessageHandlers (); } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // all properties are getters @@ -5117,7 +5068,6 @@ interface WKUserScript : NSCopying { bool IsForMainFrameOnly { [Bind ("isForMainFrameOnly")] get; } } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType ( #if MONOMAC @@ -5255,29 +5205,21 @@ interface WKWebView [Export ("scrollView", ArgumentSemantic.Strong)] UIScrollView ScrollView { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("loadData:MIMEType:characterEncodingName:baseURL:")] [return: NullAllowed] WKNavigation LoadData (NSData data, string mimeType, string characterEncodingName, NSUrl baseUrl); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("loadFileURL:allowingReadAccessToURL:")] [return: NullAllowed] WKNavigation LoadFileUrl (NSUrl url, NSUrl readAccessUrl); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("customUserAgent")] [NullAllowed] string CustomUserAgent { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'ServerTrust' property.")] [Deprecated (PlatformName.MacOSX, 10, 12, message: "Use 'ServerTrust' property.")] [MacCatalyst (13, 1)] @@ -5285,26 +5227,19 @@ interface WKWebView [Export ("certificateChain", ArgumentSemantic.Copy)] SecCertificate [] CertificateChain { get; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("allowsLinkPreview")] bool AllowsLinkPreview { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [NullAllowed, Export ("serverTrust")] SecTrust ServerTrust { get; } - [Mac (10, 13)] [MacCatalyst (13, 1)] - [iOS (11, 0)] [Async] [Export ("takeSnapshotWithConfiguration:completionHandler:")] void TakeSnapshot ([NullAllowed] WKSnapshotConfiguration snapshotConfiguration, Action completionHandler); - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Static] [Export ("handlesURLScheme:")] @@ -5494,7 +5429,6 @@ interface WKWebView delegate void WKJavascriptEvaluationResult (NSObject result, NSError error); - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKWebViewConfiguration : NSCopying, NSSecureCoding { @@ -5511,19 +5445,15 @@ interface WKWebViewConfiguration : NSCopying, NSSecureCoding { [Export ("suppressesIncrementalRendering")] bool SuppressesIncrementalRendering { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("websiteDataStore", ArgumentSemantic.Strong)] WKWebsiteDataStore WebsiteDataStore { get; set; } - [iOS (9, 0), Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("applicationNameForUserAgent")] [NullAllowed] string ApplicationNameForUserAgent { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("allowsAirPlayForMediaPlayback")] bool AllowsAirPlayForMediaPlayback { get; set; } @@ -5553,7 +5483,6 @@ interface WKWebViewConfiguration : NSCopying, NSSecureCoding { WKSelectionGranularity SelectionGranularity { get; set; } [NoMac] - [iOS (9, 0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'MediaTypesRequiringUserActionForPlayback' instead.")] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'MediaTypesRequiringUserActionForPlayback' instead.")] [MacCatalyst (13, 1)] @@ -5562,40 +5491,32 @@ interface WKWebViewConfiguration : NSCopying, NSSecureCoding { [NoMac] [MacCatalyst (13, 1)] - [iOS (9, 0)] [Export ("allowsPictureInPictureMediaPlayback")] bool AllowsPictureInPictureMediaPlayback { get; set; } [NoMac] [MacCatalyst (13, 1)] - [iOS (10, 0)] [Export ("dataDetectorTypes", ArgumentSemantic.Assign)] WKDataDetectorTypes DataDetectorTypes { get; set; } - [iOS (10, 0)] - [Mac (10, 12)] [MacCatalyst (13, 1)] [Export ("mediaTypesRequiringUserActionForPlayback", ArgumentSemantic.Assign)] WKAudiovisualMediaTypes MediaTypesRequiringUserActionForPlayback { get; set; } - [iOS (10, 0)] [NoMac] [MacCatalyst (13, 1)] [Export ("ignoresViewportScaleLimits")] bool IgnoresViewportScaleLimits { get; set; } - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("setURLSchemeHandler:forURLScheme:")] void SetUrlSchemeHandler ([NullAllowed] IWKUrlSchemeHandler urlSchemeHandler, string urlScheme); - [Mac (10, 13), iOS (11, 0)] [MacCatalyst (13, 1)] [Export ("urlSchemeHandlerForURLScheme:")] [return: NullAllowed] IWKUrlSchemeHandler GetUrlSchemeHandler (string urlScheme); - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("defaultWebpagePreferences", ArgumentSemantic.Copy)] @@ -5613,7 +5534,6 @@ interface WKWebViewConfiguration : NSCopying, NSSecureCoding { bool UpgradeKnownHostsToHttps { get; set; } } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKProcessPool : NSSecureCoding { @@ -5621,7 +5541,6 @@ interface WKProcessPool : NSSecureCoding { // this interface is completely empty } - [iOS (8, 0), Mac (10, 10)] // Not defined in 32-bit [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface WKWindowFeatures { @@ -5666,7 +5585,6 @@ interface UIPreviewActionItem {} interface IWKPreviewActionItem { } - [iOS (10, 0)] [NoMac] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'TBD' instead.")] [Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'TBD' instead.")] @@ -5678,7 +5596,6 @@ interface WKPreviewActionItem : UIPreviewActionItem { NSString Identifier { get; } } - [iOS (10, 0)] [NoMac] [Static] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'TBD' instead.")] @@ -5698,7 +5615,6 @@ interface WKPreviewActionItemIdentifier { NSString Share { get; } } - [iOS (10, 0)] [NoMac] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'WKContextMenuElementInfo' instead.")] [MacCatalyst (13, 1)] @@ -5709,7 +5625,6 @@ interface WKPreviewElementInfo : NSCopying { NSUrl LinkUrl { get; } } - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [Native] @@ -5719,7 +5634,6 @@ public enum WKContentMode : long { Desktop, } - [Mac (10, 15)] [iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] diff --git a/src/xkit.cs b/src/xkit.cs index d8b61ff39701..c02c77f6ad69 100644 --- a/src/xkit.cs +++ b/src/xkit.cs @@ -95,8 +95,7 @@ namespace UIKit { [Native] [Flags] [NoWatch] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum NSControlCharacterAction : long { ZeroAdvancement = (1 << 0), Whitespace = (1 << 1), @@ -121,7 +120,7 @@ public enum NSControlCharacterAction : long { #endif } - [Mac (10, 15), Watch (6, 0), TV (13, 0), iOS (13, 0), MacCatalyst (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0), MacCatalyst (13, 0)] [Flags] [Native] public enum NSDirectionalRectEdge : ulong { @@ -135,8 +134,7 @@ public enum NSDirectionalRectEdge : ulong { // NSInteger -> NSLayoutManager.h [NoWatch] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSGlyphProperty : long { Null = (1 << 0), @@ -148,7 +146,7 @@ public enum NSGlyphProperty : long { // NSInteger -> NSLayoutConstraint.h [Native] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum NSLayoutAttribute : long { NoAttribute = 0, Left = 1, @@ -162,44 +160,34 @@ public enum NSLayoutAttribute : long { CenterX, CenterY, Baseline, - [Mac (10, 11)] [MacCatalyst (13, 1)] LastBaseline = Baseline, - [Mac (10, 11)] [MacCatalyst (13, 1)] FirstBaseline, [NoMac] - [iOS (8, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] LeftMargin, [NoMac] - [iOS (8, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] RightMargin, [NoMac] - [iOS (8, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] TopMargin, [NoMac] - [iOS (8, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] BottomMargin, [NoMac] - [iOS (8, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] LeadingMargin, [NoMac] - [iOS (8, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] TrailingMargin, [NoMac] - [iOS (8, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] CenterXWithinMargins, [NoMac] - [iOS (8, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] CenterYWithinMargins, } @@ -207,7 +195,7 @@ public enum NSLayoutAttribute : long { [Native] [Flags] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum NSLayoutFormatOptions : ulong { None = 0, @@ -220,10 +208,8 @@ public enum NSLayoutFormatOptions : ulong { AlignAllCenterX = (1 << (int) NSLayoutAttribute.CenterX), AlignAllCenterY = (1 << (int) NSLayoutAttribute.CenterY), AlignAllBaseline = (1 << (int) NSLayoutAttribute.Baseline), - [Mac (10, 11)] [MacCatalyst (13, 1)] AlignAllLastBaseline = (1 << (int) NSLayoutAttribute.LastBaseline), - [Mac (10, 11)] [MacCatalyst (13, 1)] AlignAllFirstBaseline = (1 << (int) NSLayoutAttribute.FirstBaseline), @@ -251,7 +237,7 @@ public enum NSLayoutFormatOptions : ulong { // NSInteger -> UITextInput.h [Native] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum NSLayoutRelation : long { LessThanOrEqual = -1, Equal = 0, @@ -260,7 +246,7 @@ public enum NSLayoutRelation : long { [Watch (7, 0), TV (14, 0), iOS (14, 0)] [Mac (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Flags] [Native] public enum NSLineBreakStrategy : ulong { @@ -271,8 +257,7 @@ public enum NSLineBreakStrategy : ulong { } [Watch (6, 0), TV (13, 0), iOS (13, 0)] - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSRectAlignment : long { None = 0, @@ -286,8 +271,8 @@ public enum NSRectAlignment : long { TopTrailing, } - [Mac (10, 15), iOS (13, 0), TV (13, 0)] - [MacCatalyst (13, 0)] + [iOS (13, 0), TV (13, 0)] + [MacCatalyst (13, 1)] [Native] public enum NSTextScalingType : long { Standard = 0, @@ -297,14 +282,13 @@ public enum NSTextScalingType : long { // NSInteger -> NSLayoutManager.h [Native] [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] public enum NSTextLayoutOrientation : long { Horizontal, Vertical, } // NSUInteger -> NSTextStorage.h - [Mac (10, 11)] [Native] [Flags] [NoWatch] @@ -710,7 +694,6 @@ partial interface NSLayoutManager : NSSecureCoding { CGRect GetLineFragmentRect (nuint glyphIndex, out /* nullable NSRangePointer */ NSRange effectiveGlyphRange); /* GetLineFragmentRect (NSUInteger, NSRangePointer, bool) */ - [iOS (9, 0)] [MacCatalyst (13, 1)] #if MONOMAC || NET [Protected] @@ -721,12 +704,10 @@ partial interface NSLayoutManager : NSSecureCoding { [Export ("lineFragmentRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")] CGRect GetLineFragmentRect (nuint glyphIndex, /* nullable NSRangePointer */ IntPtr effectiveGlyphRange, bool withoutAdditionalLayout); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Wrap ("GetLineFragmentRect (glyphIndex, IntPtr.Zero)")] CGRect GetLineFragmentRect (nuint glyphIndex, bool withoutAdditionalLayout); - [iOS (9, 0)] [MacCatalyst (13, 1)] #if MONOMAC || NET [Sealed] @@ -747,7 +728,6 @@ partial interface NSLayoutManager : NSSecureCoding { CGRect GetLineFragmentUsedRect (nuint glyphIndex, out /* nullable NSRangePointer */ NSRange effectiveGlyphRange); /* GetLineFragmentUsedRect (NSUInteger, NSRangePointer, bool) */ - [iOS (9, 0)] [MacCatalyst (13, 1)] #if MONOMAC || NET [Protected] @@ -758,12 +738,10 @@ partial interface NSLayoutManager : NSSecureCoding { [Export ("lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")] CGRect GetLineFragmentUsedRect (nuint glyphIndex, /* nullable NSRangePointer */ IntPtr effectiveGlyphRange, bool withoutAdditionalLayout); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Wrap ("GetLineFragmentUsedRect (glyphIndex, IntPtr.Zero)")] CGRect GetLineFragmentUsedRect (nuint glyphIndex, bool withoutAdditionalLayout); - [iOS (9, 0)] [MacCatalyst (13, 1)] #if MONOMAC || NET [Sealed] @@ -1311,7 +1289,6 @@ partial interface NSLayoutManager : NSSecureCoding { #endif [Protected] // Class can be subclassed, and most methods can be overridden. - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("getGlyphsInRange:glyphs:properties:characterIndexes:bidiLevels:")] nuint GetGlyphs (NSRange glyphRange, IntPtr glyphBuffer, IntPtr properties, IntPtr characterIndexBuffer, IntPtr bidiLevelBuffer); @@ -1319,7 +1296,6 @@ partial interface NSLayoutManager : NSSecureCoding { #if !NET && !MONOMAC [Sealed] #endif - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("propertyForGlyphAtIndex:")] NSGlyphProperty GetProperty (nuint glyphIndex); @@ -1330,8 +1306,6 @@ partial interface NSLayoutManager : NSSecureCoding { NSGlyphProperty PropertyForGlyphAtIndex (nuint glyphIndex); #endif - [Mac (10, 11)] - [iOS (9, 0)] // Show up in the iOS 7.0 headers, but they can't be found at runtime until iOS 9. [MacCatalyst (13, 1)] [Export ("CGGlyphAtIndex:isValidIndex:")] #if NET @@ -1342,8 +1316,6 @@ partial interface NSLayoutManager : NSSecureCoding { CGGlyph GetGlyph (nuint glyphIndex, ref bool isValidIndex); #endif - [Mac (10, 11)] - [iOS (9, 0)] // Show up in the iOS 7.0 headers, but they can't be found at runtime until iOS 9. [MacCatalyst (13, 1)] [Export ("CGGlyphAtIndex:")] #if NET @@ -1354,7 +1326,6 @@ partial interface NSLayoutManager : NSSecureCoding { CGGlyph GetGlyph (nuint glyphIndex); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:")] #if NET @@ -1370,7 +1341,6 @@ partial interface NSLayoutManager : NSSecureCoding { // IntPtr) is useless, since what the caller has is IntPtrs (from the // ShouldGenerateGlyphs parameters). We can revisit this if we ever // fix the generator to have support for C-style arrays. - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("setGlyphs:properties:characterIndexes:font:forGlyphRange:")] #if NET @@ -1382,24 +1352,20 @@ partial interface NSLayoutManager : NSSecureCoding { #if !(NET || MONOMAC) [Sealed] #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("truncatedGlyphRangeInLineFragmentForGlyphAtIndex:")] NSRange GetTruncatedGlyphRangeInLineFragment (nuint glyphIndex); #if !(NET || MONOMAC) [Obsolete ("Use 'GetTruncatedGlyphRangeInLineFragment' instead.")] - [Mac (10, 11)] [Export ("truncatedGlyphRangeInLineFragmentForGlyphAtIndex:")] NSRange TruncatedGlyphRangeInLineFragmentForGlyphAtIndex (nuint glyphIndex); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("enumerateLineFragmentsForGlyphRange:usingBlock:")] void EnumerateLineFragments (NSRange glyphRange, NSTextLayoutEnumerateLineFragments callback); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("enumerateEnclosingRectsForGlyphRange:withinSelectedGlyphRange:inTextContainer:usingBlock:")] void EnumerateEnclosingRects (NSRange glyphRange, NSRange selectedRange, NSTextContainer textContainer, NSTextLayoutEnumerateEnclosingRects callback); @@ -1414,7 +1380,7 @@ partial interface NSLayoutManager : NSSecureCoding { [Export ("showCGGlyphs:positions:count:font:matrix:attributes:inContext:")] void ShowGlyphs (IntPtr glyphs, IntPtr positions, nuint glyphCount, NSFont font, CGAffineTransform textMatrix, NSDictionary attributes, CGContext graphicsContext); - [Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)] + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Protected] // Can be overridden [Export ("showCGGlyphs:positions:count:font:textMatrix:attributes:inContext:")] @@ -1445,13 +1411,11 @@ partial interface NSLayoutManager : NSSecureCoding { [Export ("showAttachmentCell:inRect:characterIndex:")] void ShowAttachmentCell (NSCell cell, CGRect rect, nuint characterIndex); - [Mac (10, 14)] [TV (12, 0), iOS (12, 0)] [MacCatalyst (13, 1)] [Export ("limitsLayoutForSuspiciousContents")] bool LimitsLayoutForSuspiciousContents { get; set; } - [Mac (10, 15)] [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("usesDefaultHyphenation")] @@ -1517,7 +1481,6 @@ interface NSLayoutManagerDelegate { NSDictionary ShouldUseTemporaryAttributes (NSLayoutManager layoutManager, NSDictionary temporaryAttributes, bool drawingToScreen, nint charIndex, IntPtr effectiveCharRange); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:")] #if NET @@ -1526,7 +1489,6 @@ interface NSLayoutManagerDelegate { nuint ShouldGenerateGlyphs (NSLayoutManager layoutManager, IntPtr glyphBuffer, IntPtr props, IntPtr charIndexes, NSFont aFont, NSRange glyphRange); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:lineSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")] #if NET || MONOMAC @@ -1535,7 +1497,6 @@ interface NSLayoutManagerDelegate { nfloat LineSpacingAfterGlyphAtIndex (NSLayoutManager layoutManager, nuint glyphIndex, CGRect rect); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:paragraphSpacingBeforeGlyphAtIndex:withProposedLineFragmentRect:")] #if NET || MONOMAC @@ -1544,7 +1505,6 @@ interface NSLayoutManagerDelegate { nfloat ParagraphSpacingBeforeGlyphAtIndex (NSLayoutManager layoutManager, nuint glyphIndex, CGRect rect); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:paragraphSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")] #if NET || MONOMAC @@ -1553,7 +1513,6 @@ interface NSLayoutManagerDelegate { nfloat ParagraphSpacingAfterGlyphAtIndex (NSLayoutManager layoutManager, nuint glyphIndex, CGRect rect); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:shouldUseAction:forControlCharacterAtIndex:")] #if NET @@ -1562,7 +1521,6 @@ interface NSLayoutManagerDelegate { NSControlCharacterAction ShouldUseAction (NSLayoutManager layoutManager, NSControlCharacterAction action, nuint charIndex); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:shouldBreakLineByWordBeforeCharacterAtIndex:")] #if NET @@ -1571,7 +1529,6 @@ interface NSLayoutManagerDelegate { bool ShouldBreakLineByWordBeforeCharacter (NSLayoutManager layoutManager, nuint charIndex); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:shouldBreakLineByHyphenatingBeforeCharacterAtIndex:")] #if NET @@ -1580,7 +1537,6 @@ interface NSLayoutManagerDelegate { bool ShouldBreakLineByHyphenatingBeforeCharacter (NSLayoutManager layoutManager, nuint charIndex); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:")] #if NET @@ -1591,19 +1547,16 @@ interface NSLayoutManagerDelegate { CGRect BoundingBoxForControlGlyph (NSLayoutManager layoutManager, nuint glyphIndex, NSTextContainer textContainer, CGRect proposedRect, CGPoint glyphPosition, nuint charIndex); #endif - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:textContainer:didChangeGeometryFromSize:")] void DidChangeGeometry (NSLayoutManager layoutManager, NSTextContainer textContainer, CGSize oldSize); - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("layoutManager:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:inTextContainer:forGlyphRange:")] bool ShouldSetLineFragmentRect (NSLayoutManager layoutManager, ref CGRect lineFragmentRect, ref CGRect lineFragmentUsedRect, ref nfloat baselineOffset, NSTextContainer textContainer, NSRange glyphRange); } - [NoWatch, TV (13, 0), Mac (10, 15), iOS (13, 0)] + [NoWatch, TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSDiffableDataSourceSnapshot : NSCopying @@ -1779,8 +1732,6 @@ interface NSParagraphStyle : NSSecureCoding, NSMutableCopying { [NullAllowed] NSTextTab [] TabStops { get; [NotImplemented] set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("allowsDefaultTighteningForTruncation")] bool AllowsDefaultTighteningForTruncation { get; [NotImplemented] set; } @@ -1883,24 +1834,19 @@ interface NSMutableParagraphStyle { [NullAllowed] NSTextTab [] TabStops { get; set; } - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [Override] [Export ("allowsDefaultTighteningForTruncation")] bool AllowsDefaultTighteningForTruncation { get; set; } - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("addTabStop:")] void AddTabStop (NSTextTab textTab); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("removeTabStop:")] void RemoveTabStop (NSTextTab textTab); - [iOS (9, 0)] [MacCatalyst (13, 1)] [Export ("setParagraphStyle:")] void SetParagraphStyle (NSParagraphStyle paragraphStyle); @@ -1944,7 +1890,7 @@ interface NSMutableParagraphStyle { [MacCatalyst (13, 1)] delegate NSCollectionLayoutGroupCustomItem [] NSCollectionLayoutGroupCustomItemProvider (INSCollectionLayoutEnvironment layoutEnvironment); - [NoWatch, TV (13, 0), iOS (13, 0), Mac (10, 15)] + [NoWatch, TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSCollectionLayoutItem))] [DisableDefaultCtor] @@ -2017,7 +1963,6 @@ interface NSCollectionLayoutGroup : NSCopying { [MacCatalyst (13, 1)] delegate void NSCollectionLayoutSectionVisibleItemsInvalidationHandler (INSCollectionLayoutVisibleItem [] visibleItems, CGPoint contentOffset, INSCollectionLayoutEnvironment layoutEnvironment); - [Mac (10, 15)] [NoWatch, TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] @@ -2080,8 +2025,7 @@ interface NSCollectionLayoutSection : NSCopying { } [NoWatch, TV (13, 0), iOS (13, 0)] - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSCollectionLayoutGroupCustomItem : NSCopying { @@ -2103,8 +2047,7 @@ interface NSCollectionLayoutGroupCustomItem : NSCopying { interface INSCollectionLayoutContainer { } [NoWatch, TV (13, 0), iOS (13, 0)] - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Protocol] interface NSCollectionLayoutContainer { [Abstract] @@ -2127,8 +2070,7 @@ interface NSCollectionLayoutContainer { interface INSCollectionLayoutEnvironment { } [NoWatch, TV (13, 0), iOS (13, 0)] - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Protocol] interface NSCollectionLayoutEnvironment { @@ -2146,8 +2088,7 @@ interface NSCollectionLayoutEnvironment { interface INSCollectionLayoutVisibleItem { } [NoWatch, TV (13, 0), iOS (13, 0)] - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Protocol] interface NSCollectionLayoutVisibleItem #if !MONOMAC && !WATCH @@ -2218,9 +2159,7 @@ CollectionElementCategory RepresentedElementCategory { } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // Handle is nil interface NSLayoutAnchor : NSCopying, NSCoding { @@ -2270,7 +2209,6 @@ interface NSLayoutAnchor : NSCopying, NSCoding { [NoMacCatalyst] [NoTV] [NoWatch] - [Mac (10, 12)] [Export ("name")] string Name { get; } @@ -2278,7 +2216,6 @@ interface NSLayoutAnchor : NSCopying, NSCoding { [NoMacCatalyst] [NoTV] [NoWatch] - [Mac (10, 12)] [NullAllowed, Export ("item", ArgumentSemantic.Weak)] NSObject Item { get; } @@ -2286,7 +2223,6 @@ interface NSLayoutAnchor : NSCopying, NSCoding { [NoMacCatalyst] [NoTV] [NoWatch] - [Mac (10, 12)] [Export ("hasAmbiguousLayout")] bool HasAmbiguousLayout { get; } @@ -2294,22 +2230,16 @@ interface NSLayoutAnchor : NSCopying, NSCoding { [NoMacCatalyst] [NoTV] [NoWatch] - [Mac (10, 12)] [Export ("constraintsAffectingLayout")] NSLayoutConstraint [] ConstraintsAffectingLayout { get; } } [NoWatch] - [iOS (9, 0)] - [TV (10, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSLayoutAnchor))] [DisableDefaultCtor] // Handle is nil interface NSLayoutXAxisAnchor { - [iOS (10, 0)] - [Mac (10, 12)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("anchorWithOffsetToAnchor:")] #if MONOMAC && !NET NSLayoutDimension GetAnchorWithOffset (NSLayoutXAxisAnchor otherAnchor); @@ -2317,36 +2247,28 @@ interface NSLayoutXAxisAnchor { NSLayoutDimension CreateAnchorWithOffset (NSLayoutXAxisAnchor otherAnchor); #endif - [TV (11, 0), iOS (11, 0)] [Mac (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("constraintEqualToSystemSpacingAfterAnchor:multiplier:")] NSLayoutConstraint ConstraintEqualToSystemSpacingAfterAnchor (NSLayoutXAxisAnchor anchor, nfloat multiplier); - [TV (11, 0), iOS (11, 0)] [Mac (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("constraintGreaterThanOrEqualToSystemSpacingAfterAnchor:multiplier:")] NSLayoutConstraint ConstraintGreaterThanOrEqualToSystemSpacingAfterAnchor (NSLayoutXAxisAnchor anchor, nfloat multiplier); - [TV (11, 0), iOS (11, 0)] [Mac (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("constraintLessThanOrEqualToSystemSpacingAfterAnchor:multiplier:")] NSLayoutConstraint ConstraintLessThanOrEqualToSystemSpacingAfterAnchor (NSLayoutXAxisAnchor anchor, nfloat multiplier); } [NoWatch] - [iOS (9, 0)] - [TV (10, 0)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSLayoutAnchor))] [DisableDefaultCtor] // Handle is nil interface NSLayoutYAxisAnchor { - [iOS (10, 0)] - [Mac (10, 12)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("anchorWithOffsetToAnchor:")] #if MONOMAC && !NET NSLayoutDimension GetAnchorWithOffset (NSLayoutYAxisAnchor otherAnchor); @@ -2354,28 +2276,23 @@ interface NSLayoutYAxisAnchor { NSLayoutDimension CreateAnchorWithOffset (NSLayoutYAxisAnchor otherAnchor); #endif - [TV (11, 0), iOS (11, 0)] [Mac (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("constraintEqualToSystemSpacingBelowAnchor:multiplier:")] NSLayoutConstraint ConstraintEqualToSystemSpacingBelowAnchor (NSLayoutYAxisAnchor anchor, nfloat multiplier); - [TV (11, 0), iOS (11, 0)] [Mac (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("constraintGreaterThanOrEqualToSystemSpacingBelowAnchor:multiplier:")] NSLayoutConstraint ConstraintGreaterThanOrEqualToSystemSpacingBelowAnchor (NSLayoutYAxisAnchor anchor, nfloat multiplier); - [TV (11, 0), iOS (11, 0)] [Mac (11, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("constraintLessThanOrEqualToSystemSpacingBelowAnchor:multiplier:")] NSLayoutConstraint ConstraintLessThanOrEqualToSystemSpacingBelowAnchor (NSLayoutYAxisAnchor anchor, nfloat multiplier); } [NoWatch] - [iOS (9, 0)] - [Mac (10, 11)] [MacCatalyst (13, 1)] [BaseType (typeof (NSLayoutAnchor))] [DisableDefaultCtor] // Handle is nil @@ -2488,26 +2405,18 @@ interface NSLayoutConstraint [Export ("constant")] nfloat Constant { get; set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Export ("active")] bool Active { [Bind ("isActive")] get; set; } - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("activateConstraints:")] void ActivateConstraints (NSLayoutConstraint [] constraints); - [iOS (8, 0)] - [Mac (10, 10)] [MacCatalyst (13, 1)] [Static, Export ("deactivateConstraints:")] void DeactivateConstraints (NSLayoutConstraint [] constraints); - [Mac (10, 12)] - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("firstAnchor", ArgumentSemantic.Copy)] #if MONOMAC && !NET @@ -2517,8 +2426,6 @@ interface NSLayoutConstraint IntPtr _FirstAnchor (); #endif - [Mac (10, 12)] - [iOS (10, 0), TV (10, 0)] [MacCatalyst (13, 1)] [Export ("secondAnchor", ArgumentSemantic.Copy)] #if MONOMAC && !NET @@ -2535,8 +2442,7 @@ interface NSLayoutConstraint [Watch (9, 0)] [Introduced (PlatformName.iOS)] - [Mac (10, 11)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Model] [Protocol] [BaseType (typeof (NSObject))] @@ -2573,32 +2479,27 @@ partial interface NSTextAttachment : NSTextAttachmentContainer, NSSecureCoding, [Export ("initWithFileWrapper:")] NativeHandle Constructor (NSFileWrapper fileWrapper); - [Mac (10, 11)] [MacCatalyst (13, 1)] [DesignatedInitializer] [Export ("initWithData:ofType:")] [PostGet ("Contents")] NativeHandle Constructor ([NullAllowed] NSData contentData, [NullAllowed] string uti); - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("contents", ArgumentSemantic.Retain)] NSData Contents { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("fileType", ArgumentSemantic.Retain)] string FileType { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [NullAllowed] [Export ("image", ArgumentSemantic.Retain)] Image Image { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("bounds")] CGRect Bounds { get; set; } @@ -2671,7 +2572,7 @@ interface NSTextAttachmentLayout { } [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSMutableAttributedString), Delegates = new string [] { "Delegate" }, Events = new Type [] { typeof (NSTextStorageDelegate) })] partial interface NSTextStorage : NSSecureCoding { [Export ("initWithString:")] @@ -2770,7 +2671,7 @@ nint ChangeInLength { interface INSTextStorageDelegate { } [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Model] [BaseType (typeof (NSObject))] [Protocol] @@ -2789,13 +2690,11 @@ partial interface NSTextStorageDelegate { [Export ("textStorageDidProcessEditing:")] void TextStorageDidProcessEditing (NSNotification notification); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("textStorage:willProcessEditing:range:changeInLength:")] [EventArgs ("NSTextStorage")] void WillProcessEditing (NSTextStorage textStorage, NSTextStorageEditActions editedMask, NSRange editedRange, nint delta); - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("textStorage:didProcessEditing:range:changeInLength:")] [EventArgs ("NSTextStorage")] @@ -2803,8 +2702,7 @@ partial interface NSTextStorageDelegate { } [NoWatch, TV (13, 0), iOS (13, 0)] - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSCollectionLayoutAnchor : NSCopying, INSCopying { @@ -2834,8 +2732,7 @@ interface NSCollectionLayoutAnchor : NSCopying, INSCopying { } [NoWatch, TV (13, 0), iOS (13, 0)] - [Mac (10, 15)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSCollectionLayoutDimension : NSCopying { @@ -2889,8 +2786,7 @@ interface NSCollectionLayoutDimension : NSCopying { [NoWatch, TV (13, 0), iOS (13, 0)] - [MacCatalyst (13, 0)] - [Mac (10, 15)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSCollectionLayoutSize : NSCopying { @@ -2906,8 +2802,7 @@ interface NSCollectionLayoutSize : NSCopying { } [NoWatch, TV (13, 0), iOS (13, 0)] - [MacCatalyst (13, 0)] - [Mac (10, 15)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSCollectionLayoutSpacing : NSCopying { @@ -2938,8 +2833,7 @@ interface NSCollectionLayoutSpacing : NSCopying { } [NoWatch, TV (13, 0), iOS (13, 0)] - [MacCatalyst (13, 0)] - [Mac (10, 15)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSCollectionLayoutEdgeSpacing : NSCopying { @@ -2965,8 +2859,7 @@ interface NSCollectionLayoutEdgeSpacing : NSCopying { } [NoWatch, TV (13, 0), iOS (13, 0)] - [MacCatalyst (13, 0)] - [Mac (10, 15)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSCollectionLayoutItem))] [DisableDefaultCtor] interface NSCollectionLayoutSupplementaryItem : NSCopying { @@ -2992,8 +2885,7 @@ interface NSCollectionLayoutSupplementaryItem : NSCopying { } [NoWatch, TV (13, 0), iOS (13, 0)] - [MacCatalyst (13, 0)] - [Mac (10, 15)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSCollectionLayoutItem : NSCopying { @@ -3019,8 +2911,7 @@ interface NSCollectionLayoutItem : NSCopying { } [NoWatch, TV (13, 0), iOS (13, 0)] - [MacCatalyst (13, 0)] - [Mac (10, 15)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSCollectionLayoutSupplementaryItem))] [DisableDefaultCtor] interface NSCollectionLayoutBoundarySupplementaryItem : NSCopying { @@ -3045,9 +2936,8 @@ interface NSCollectionLayoutBoundarySupplementaryItem : NSCopying { CGPoint Offset { get; } } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NoWatch, TV (13, 0), iOS (13, 0)] - [Mac (10, 15)] [BaseType (typeof (NSCollectionLayoutItem))] [DisableDefaultCtor] interface NSCollectionLayoutDecorationItem : NSCopying { @@ -3062,9 +2952,7 @@ interface NSCollectionLayoutDecorationItem : NSCopying { string ElementKind { get; } } - [iOS (9, 0)] - [MacCatalyst (13, 0)] - [Mac (10, 11)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // - (instancetype)init NS_UNAVAILABLE; interface NSDataAsset : NSCopying { @@ -3085,7 +2973,7 @@ interface NSDataAsset : NSCopying { NSString TypeIdentifier { get; } } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Watch (6, 0)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] @@ -3111,7 +2999,7 @@ interface NSShadow : NSSecureCoding, NSCopying { NSColor ShadowColor { get; set; } } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] interface NSTextTab : NSSecureCoding, NSCopying { [DesignatedInitializer] @@ -3142,7 +3030,6 @@ interface NSTextTab : NSSecureCoding, NSCopying { [Export ("tabStopType")] NSTextTabType TabStopType { get; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Static] [Export ("columnTerminatorsForLocale:")] @@ -3152,7 +3039,7 @@ interface NSTextTab : NSSecureCoding, NSCopying { NSString ColumnTerminatorsAttributeName { get; } } - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [NoWatch] [Protocol] // no [Model] since it's not exposed in any API @@ -3170,7 +3057,7 @@ NSTextLayoutOrientation LayoutOrientation { } [NoWatch] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [BaseType (typeof (NSObject))] partial interface NSTextContainer : NSTextLayoutOrientationProvider, NSSecureCoding { [NoMac] @@ -3189,7 +3076,6 @@ partial interface NSTextContainer : NSTextLayoutOrientationProvider, NSSecureCod [NoiOS] [NoMacCatalyst] [NoTV] - [Mac (10, 11)] [Export ("initWithSize:"), Internal] [Sealed] IntPtr InitWithSize (CGSize size); @@ -3198,17 +3084,14 @@ partial interface NSTextContainer : NSTextLayoutOrientationProvider, NSSecureCod [Export ("layoutManager", ArgumentSemantic.Assign)] NSLayoutManager LayoutManager { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("size")] CGSize Size { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("exclusionPaths", ArgumentSemantic.Copy)] BezierPath [] ExclusionPaths { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("lineBreakMode")] LineBreakMode LineBreakMode { get; set; } @@ -3216,12 +3099,10 @@ partial interface NSTextContainer : NSTextLayoutOrientationProvider, NSSecureCod [Export ("lineFragmentPadding")] nfloat LineFragmentPadding { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("maximumNumberOfLines")] nuint MaximumNumberOfLines { get; set; } - [Mac (10, 11)] [MacCatalyst (13, 1)] [Export ("lineFragmentRectForProposedRect:atIndex:writingDirection:remainingRect:")] #if MONOMAC && !NET @@ -3236,13 +3117,11 @@ partial interface NSTextContainer : NSTextLayoutOrientationProvider, NSSecureCod [Export ("heightTracksTextView")] bool HeightTracksTextView { get; set; } - [iOS (9, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("replaceLayoutManager:")] void ReplaceLayoutManager (NSLayoutManager newLayoutManager); - [iOS (9, 0)] - [MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Export ("simpleRectangularTextContainer")] bool IsSimpleRectangularTextContainer { [Bind ("isSimpleRectangularTextContainer")] get; } @@ -3274,27 +3153,19 @@ partial interface NSTextContainer : NSTextLayoutOrientationProvider, NSSecureCod [ThreadSafe] [Category, BaseType (typeof (NSString))] interface NSExtendedStringDrawing { - [TV (7, 0)] [MacCatalyst (13, 1)] - [Mac (10, 11)] [Export ("drawWithRect:options:attributes:context:")] void WeakDrawString (CGRect rect, NSStringDrawingOptions options, [NullAllowed] NSDictionary attributes, [NullAllowed] NSStringDrawingContext context); - [TV (7, 0)] [MacCatalyst (13, 1)] - [Mac (10, 11)] [Wrap ("WeakDrawString (This, rect, options, attributes.GetDictionary (), context)")] void DrawString (CGRect rect, NSStringDrawingOptions options, StringAttributes attributes, [NullAllowed] NSStringDrawingContext context); - [TV (7, 0)] [MacCatalyst (13, 1)] - [Mac (10, 11)] [Export ("boundingRectWithSize:options:attributes:context:")] CGRect WeakGetBoundingRect (CGSize size, NSStringDrawingOptions options, [NullAllowed] NSDictionary attributes, [NullAllowed] NSStringDrawingContext context); - [TV (7, 0)] [MacCatalyst (13, 1)] - [Mac (10, 11)] [Wrap ("WeakGetBoundingRect (This, size, options, attributes.GetDictionary (), context)")] CGRect GetBoundingRect (CGSize size, NSStringDrawingOptions options, StringAttributes attributes, [NullAllowed] NSStringDrawingContext context); } @@ -4111,87 +3982,70 @@ enum NSTextListMarkerFormats { [Field (null)] CustomString = -1, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerBox")] Box, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerCheck")] Check, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerCircle")] Circle, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerDiamond")] Diamond, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerDisc")] Disc, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerHyphen")] Hyphen, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerSquare")] Square, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerLowercaseHexadecimal")] LowercaseHexadecimal, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerUppercaseHexadecimal")] UppercaseHexadecimal, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerOctal")] Octal, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerLowercaseAlpha")] LowercaseAlpha, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerUppercaseAlpha")] UppercaseAlpha, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerLowercaseLatin")] LowercaseLatin, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerUppercaseLatin")] UppercaseLatin, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerLowercaseRoman")] LowercaseRoman, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerUppercaseRoman")] UppercaseRoman, - [Mac (10, 13)] [MacCatalyst (13, 1)] [Field ("NSTextListMarkerDecimal")] Decimal, @@ -4440,7 +4294,6 @@ interface NSAttributedStringDocumentAttributeKey { [Field ("NSCategoryDocumentAttribute")] NSString NSCategoryDocumentAttribute { get; } - [Mac (10, 14)] [NoiOS, NoTV, NoWatch, NoMacCatalyst] [Field ("NSAppearanceDocumentAttribute")] NSString NSAppearanceDocumentAttribute { get; } @@ -4512,13 +4365,11 @@ interface NSAttributedStringDocumentAttributeKey { NSString NSPrefixSpacesDocumentAttribute { get; } [Field ("NSTextScalingDocumentAttribute")] - [Mac (10, 15)] [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] NSString TextScalingDocumentAttribute { get; } [Field ("NSSourceTextScalingDocumentAttribute")] - [Mac (10, 15)] [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] NSString SourceTextScalingDocumentAttribute { get; } @@ -4532,15 +4383,15 @@ interface NSAttributedStringDocumentAttributeKey { [Static] [Internal] interface NSAttributedStringDocumentReadingOptionKey { - [iOS (11, 0), TV (11, 0), Watch (4, 0), MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Field ("NSDocumentTypeDocumentOption")] NSString NSDocumentTypeDocumentOption { get; } - [iOS (11, 0), TV (11, 0), Watch (4, 0), MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Field ("NSDefaultAttributesDocumentOption")] NSString NSDefaultAttributesDocumentOption { get; } - [iOS (11, 0), TV (11, 0), Watch (4, 0), MacCatalyst (13, 0)] + [MacCatalyst (13, 1)] [Field ("NSCharacterEncodingDocumentOption")] NSString NSCharacterEncodingDocumentOption { get; } @@ -4568,13 +4419,11 @@ interface NSAttributedStringDocumentReadingOptionKey { [Field ("NSTimeoutDocumentOption")] NSString NSTimeoutDocumentOption { get; } - [Mac (10, 15)] [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Field ("NSTargetTextScalingDocumentOption")] NSString NSTargetTextScalingDocumentOption { get; } - [Mac (10, 15)] [iOS (13, 0), TV (13, 0), Watch (6, 0)] [MacCatalyst (13, 1)] [Field ("NSSourceTextScalingDocumentOption")] @@ -4582,7 +4431,7 @@ interface NSAttributedStringDocumentReadingOptionKey { // This field is really inside WebKit [NoWatch, NoTV] - [Mac (10, 15), iOS (13, 0)] + [iOS (13, 0)] [MacCatalyst (13, 1)] [Field ("NSReadAccessURLDocumentOption", "WebKit")] NSString NSReadAccessUrlDocumentOption { get; } diff --git a/tests/BundledResources/BundledResources.csproj b/tests/BundledResources/BundledResources.csproj index 65a5854e807f..420377d88a36 100644 --- a/tests/BundledResources/BundledResources.csproj +++ b/tests/BundledResources/BundledResources.csproj @@ -17,7 +17,7 @@ latest PackageReference - + True full False @@ -26,7 +26,7 @@ prompt 4 - + none True bin\Any CPU\$(Configuration)-unified diff --git a/tests/EmbeddedResources/EmbeddedResources.csproj b/tests/EmbeddedResources/EmbeddedResources.csproj index fad92609683a..bb5c3d6fadff 100644 --- a/tests/EmbeddedResources/EmbeddedResources.csproj +++ b/tests/EmbeddedResources/EmbeddedResources.csproj @@ -20,7 +20,7 @@ PackageReference true - + True full False @@ -29,7 +29,7 @@ prompt 4 - + none True bin\Any CPU\$(Configuration)-unified diff --git a/tests/bcl-test/Info.plist b/tests/bcl-test/Info.plist index f90a3ca74f80..6eb219f8637f 100644 --- a/tests/bcl-test/Info.plist +++ b/tests/bcl-test/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 7.0 + 11.0 UIDeviceFamily 1 @@ -37,7 +37,5 @@ NSAllowsArbitraryLoads - MinimumOSVersion - 7.0 diff --git a/tests/bindings-framework-test/iOS/bindings-framework-test.csproj b/tests/bindings-framework-test/iOS/bindings-framework-test.csproj index f95a836e5d76..910004801506 100644 --- a/tests/bindings-framework-test/iOS/bindings-framework-test.csproj +++ b/tests/bindings-framework-test/iOS/bindings-framework-test.csproj @@ -21,7 +21,7 @@ latest - + True full False @@ -31,7 +31,7 @@ 4 True - + none True bin\Any CPU\$(Configuration)-unified diff --git a/tests/bindings-test/iOS/bindings-test.csproj b/tests/bindings-test/iOS/bindings-test.csproj index 5be3bf03a08e..e565dd6fa014 100644 --- a/tests/bindings-test/iOS/bindings-test.csproj +++ b/tests/bindings-test/iOS/bindings-test.csproj @@ -19,7 +19,7 @@ latest PackageReference - + True full False @@ -29,7 +29,7 @@ 4 True - + none True bin\Any CPU\$(Configuration)-unified diff --git a/tests/bindings-test/macOS/bindings-test.csproj b/tests/bindings-test/macOS/bindings-test.csproj index 684e9c62badc..9716948a2b6f 100644 --- a/tests/bindings-test/macOS/bindings-test.csproj +++ b/tests/bindings-test/macOS/bindings-test.csproj @@ -11,7 +11,7 @@ Resources latest - + true full false @@ -21,7 +21,7 @@ 4 false - + true bin\Release diff --git a/tests/bindings-test2/bindings-test2.csproj b/tests/bindings-test2/bindings-test2.csproj index 18fd1b113070..f74d94ec39d6 100644 --- a/tests/bindings-test2/bindings-test2.csproj +++ b/tests/bindings-test2/bindings-test2.csproj @@ -19,7 +19,7 @@ latest PackageReference - + True full False @@ -29,7 +29,7 @@ 4 True - + none True bin\Any CPU\$(Configuration)-unified diff --git a/tests/bindings-xcframework-test/iOS/bindings-xcframework-test.csproj b/tests/bindings-xcframework-test/iOS/bindings-xcframework-test.csproj index 3b99e5d0333f..4b066539a0b7 100644 --- a/tests/bindings-xcframework-test/iOS/bindings-xcframework-test.csproj +++ b/tests/bindings-xcframework-test/iOS/bindings-xcframework-test.csproj @@ -21,7 +21,7 @@ latest - + True full False @@ -31,7 +31,7 @@ 4 True - + none True bin\AnyCPU\$(Configuration) diff --git a/tests/cecil-tests/AttributeTest.cs b/tests/cecil-tests/AttributeTest.cs index 9bd65250693f..0ef81881206b 100644 --- a/tests/cecil-tests/AttributeTest.cs +++ b/tests/cecil-tests/AttributeTest.cs @@ -330,7 +330,6 @@ static HashSet IgnoreElementsThatDoNotExistInThatAssembly { "MediaPlayer.MPMediaEntity.GetObject (Foundation.NSObject)", "MediaPlayer.MPMediaEntity.PropertyPersistentID", "MediaPlayer.MPMediaItem.DateAdded", - "MediaPlayer.MPMediaItem.EncodeTo (Foundation.NSCoder)", "MediaPlayer.MPMediaItem.get_PropertyPersistentID ()", "MediaPlayer.MPMediaItem.GetObject (Foundation.NSObject)", "MediaPlayer.MPMediaItem.HasProtectedAsset", diff --git a/tests/common/MonoNativeConfig.cs b/tests/common/MonoNativeConfig.cs index 461047591558..770ea99552ca 100644 --- a/tests/common/MonoNativeConfig.cs +++ b/tests/common/MonoNativeConfig.cs @@ -14,7 +14,6 @@ public enum MonoNativeLinkMode { public enum MonoNativeFlavor { None, - Compat, Unified, } @@ -35,9 +34,7 @@ public static MonoNativeLinkMode LinkMode { public static MonoNativeFlavor Flavor { get { -#if MONO_NATIVE_COMPAT - return MonoNativeFlavor.Compat; -#elif MONO_NATIVE_UNIFIED +#if MONO_NATIVE_UNIFIED return MonoNativeFlavor.Unified; #else return MonoNativeFlavor.None; @@ -47,27 +44,23 @@ public static MonoNativeFlavor Flavor { public static bool UsingCompat { get { -#if MONO_NATIVE_COMPAT - return true; -#elif MONO_NATIVE_UNIFIED +#if MONO_NATIVE_UNIFIED return false; #else - Assert.Fail ("Missing `MONO_NATIVE_COMPAT` or `MONO_NATIVE_UNIFIED`"); + Assert.Fail ("Missing `MONO_NATIVE_UNIFIED`"); throw new NotImplementedException (); #endif } } - public static string GetDynamicLibraryName (bool usingCompat) + public static string GetDynamicLibraryName () { - return GetDynamicLibraryName (usingCompat ? MonoNativeFlavor.Compat : MonoNativeFlavor.Unified); + return GetDynamicLibraryName (MonoNativeFlavor.Unified); } public static string GetDynamicLibraryName (MonoNativeFlavor flavor) { switch (flavor) { - case MonoNativeFlavor.Compat: - return "libmono-native-compat.dylib"; case MonoNativeFlavor.Unified: return "libmono-native-unified.dylib"; default: @@ -91,6 +84,6 @@ public static string GetPInvokeLibraryName (MonoNativeFlavor flavor, MonoNativeL } } - public static string DynamicLibraryName => GetDynamicLibraryName (UsingCompat); + public static string DynamicLibraryName => GetDynamicLibraryName (); } } diff --git a/tests/common/ProductTests.cs b/tests/common/ProductTests.cs index bd622dc6d849..8d172b6420d5 100644 --- a/tests/common/ProductTests.cs +++ b/tests/common/ProductTests.cs @@ -105,6 +105,7 @@ public void MinOSVersion (Profile profile, MachO.LoadCommands load_command, Mach Version version; Version alternate_version = null; + Version alternate_version2 = null; Version mono_native_compat_version; Version alternate_mono_native_compat_version = null; Version mono_native_unified_version; @@ -120,29 +121,22 @@ public void MinOSVersion (Profile profile, MachO.LoadCommands load_command, Mach break; case MachO.LoadCommands.MiniPhoneOS: version = SdkVersions.MiniOSVersion; - if (slice.IsDynamicLibrary && device) { - if (version.Major < 7) - version = new Version (7, 0, 0); // dylibs are supported starting with iOS 7. - alternate_version = new Version (8, 0, 0); // some iOS dylibs also have min OS 8.0 (if they're used as frameworks as well). - } else if (slice.Architecture == MachO.Architectures.ARM64) { - alternate_version = new Version (7, 0, 0); // our arm64 slices has min iOS 7.0. - } else if (slice.IsDynamicLibrary && !device) { - version = new Version (8, 0, 0); - alternate_version = new Version (7, 0, 0); - } + alternate_version = new Version (7, 0, 0); // some libs from mono are still iOS 7.0 mono_native_compat_version = version; mono_native_unified_version = new Version (10, 0, 0); alternate_mono_native_compat_version = new Version (7, 0, 0); // Xcode 12.4 built binaries break; case MachO.LoadCommands.MintvOS: version = SdkVersions.MinTVOSVersion; - mono_native_compat_version = version; + alternate_version = new Version (9, 0, 0); // some libs from mono are still tvOS 9.0 + mono_native_compat_version = new Version (9, 0, 0); mono_native_unified_version = new Version (10, 0, 0); break; case MachO.LoadCommands.MinwatchOS: version = SdkVersions.MinWatchOSVersion; alternate_version = new Version (5, 1, 0); // arm64_32 has min OS 5.1 - mono_native_compat_version = SdkVersions.MinWatchOSVersion; + alternate_version2 = new Version (2, 0, 0); // some libs from mono are still watchOS 2.0 + mono_native_compat_version = new Version (2, 0, 0); mono_native_unified_version = new Version (5, 0, 0); if (device) alternate_mono_native_unified_version = new Version (5, 1, 0); // armv7k has 5.0, arm64_32 has 5.1 @@ -156,6 +150,8 @@ public void MinOSVersion (Profile profile, MachO.LoadCommands load_command, Mach mono_native_unified_version = mono_native_unified_version.WithBuild (); if (alternate_version == null) alternate_version = version; + if (alternate_version2 is null) + alternate_version2 = version; if (alternate_mono_native_unified_version == null) alternate_mono_native_unified_version = mono_native_unified_version; if (alternate_mono_native_compat_version == null) @@ -173,8 +169,8 @@ public void MinOSVersion (Profile profile, MachO.LoadCommands load_command, Mach failed.Add ($"Unexpected minOS version (expected {mono_native_unified_version}, found {lc_min_version}) in {machoFile} ({slice.Filename})."); break; default: - if (version != lc_min_version && alternate_version != lc_min_version) - failed.Add ($"Unexpected minOS version (expected {version}, alternatively {alternate_version}, found {lc_min_version}) in {machoFile} ({slice.Filename})."); + if (version != lc_min_version && alternate_version != lc_min_version && alternate_version2 != lc_min_version) + failed.Add ($"Unexpected minOS version (expected {version}, alternatively {alternate_version} or {alternate_version2}, found {lc_min_version}) in {machoFile} ({slice.Filename})."); break; } any_load_command = true; diff --git a/tests/common/TestProjects/AssemblyRegistration/Info.plist b/tests/common/TestProjects/AssemblyRegistration/Info.plist index b7a57f02a2f9..85a28fd414e4 100644 --- a/tests/common/TestProjects/AssemblyRegistration/Info.plist +++ b/tests/common/TestProjects/AssemblyRegistration/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.12 + 10.15 CFBundleDevelopmentRegion en CFBundleInfoDictionaryVersion diff --git a/tests/common/TestProjects/BasicPCLTest/BasicPCLTest/Info.plist b/tests/common/TestProjects/BasicPCLTest/BasicPCLTest/Info.plist index 083995a70e58..e1846d2ee495 100644 --- a/tests/common/TestProjects/BasicPCLTest/BasicPCLTest/Info.plist +++ b/tests/common/TestProjects/BasicPCLTest/BasicPCLTest/Info.plist @@ -23,7 +23,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSHumanReadableCopyright MM NSPrincipalClass diff --git a/tests/common/TestProjects/Bug60536/Info.plist b/tests/common/TestProjects/Bug60536/Info.plist index cd75e67ad1cd..793215cc9efe 100644 --- a/tests/common/TestProjects/Bug60536/Info.plist +++ b/tests/common/TestProjects/Bug60536/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.3 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/IBToolTaskTests/GenericAndDeviceSpecific/Info.plist b/tests/common/TestProjects/IBToolTaskTests/GenericAndDeviceSpecific/Info.plist index e70e13bc96c8..cae57294dc45 100644 --- a/tests/common/TestProjects/IBToolTaskTests/GenericAndDeviceSpecific/Info.plist +++ b/tests/common/TestProjects/IBToolTaskTests/GenericAndDeviceSpecific/Info.plist @@ -21,7 +21,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.1 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/IBToolTaskTests/LinkedAndTranslated/Info.plist b/tests/common/TestProjects/IBToolTaskTests/LinkedAndTranslated/Info.plist index e70e13bc96c8..cae57294dc45 100644 --- a/tests/common/TestProjects/IBToolTaskTests/LinkedAndTranslated/Info.plist +++ b/tests/common/TestProjects/IBToolTaskTests/LinkedAndTranslated/Info.plist @@ -21,7 +21,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.1 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/ImmutableCollection_Test/ImmutableCollection_Test/Info.plist b/tests/common/TestProjects/ImmutableCollection_Test/ImmutableCollection_Test/Info.plist index ac1843cf6093..16b29ed0c2a0 100644 --- a/tests/common/TestProjects/ImmutableCollection_Test/ImmutableCollection_Test/Info.plist +++ b/tests/common/TestProjects/ImmutableCollection_Test/ImmutableCollection_Test/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.12 + 10.15 CFBundleDevelopmentRegion en CFBundleInfoDictionaryVersion diff --git a/tests/common/TestProjects/My Spaced App/Info.plist b/tests/common/TestProjects/My Spaced App/Info.plist index 4d6c0c859443..8c6fbf8b9ba8 100644 --- a/tests/common/TestProjects/My Spaced App/Info.plist +++ b/tests/common/TestProjects/My Spaced App/Info.plist @@ -15,7 +15,7 @@ UIMainStoryboardFile MainStoryboard MinimumOSVersion - 10.0 + 11.0 CFBundleDisplayName ApplicationName CFBundleIdentifier diff --git a/tests/common/TestProjects/My Spaced App/My Spaced App.csproj b/tests/common/TestProjects/My Spaced App/My Spaced App.csproj index 53625e2631a5..6da74a067055 100644 --- a/tests/common/TestProjects/My Spaced App/My Spaced App.csproj +++ b/tests/common/TestProjects/My Spaced App/My Spaced App.csproj @@ -57,7 +57,7 @@ 4 iPhone Developer Entitlements.plist - ARMv7, ARM64 + ARM64 diff --git a/tests/common/TestProjects/MyActionExtension/Info.plist b/tests/common/TestProjects/MyActionExtension/Info.plist index 0b5ede8d3a3a..1c648cb26075 100644 --- a/tests/common/TestProjects/MyActionExtension/Info.plist +++ b/tests/common/TestProjects/MyActionExtension/Info.plist @@ -48,6 +48,6 @@ com.apple.ui-services MinimumOSVersion - 10.0 + 11.0 diff --git a/tests/common/TestProjects/MyActionExtension/MyActionExtension.csproj b/tests/common/TestProjects/MyActionExtension/MyActionExtension.csproj index 8e1dd0270afb..c83e49e39d8d 100644 --- a/tests/common/TestProjects/MyActionExtension/MyActionExtension.csproj +++ b/tests/common/TestProjects/MyActionExtension/MyActionExtension.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyAppWithPackageReference/Info.plist b/tests/common/TestProjects/MyAppWithPackageReference/Info.plist index b3e689c8dbf8..5ff435fb1250 100644 --- a/tests/common/TestProjects/MyAppWithPackageReference/Info.plist +++ b/tests/common/TestProjects/MyAppWithPackageReference/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyCocoaCoreMLApp/Info.plist b/tests/common/TestProjects/MyCocoaCoreMLApp/Info.plist index 57cfb0bae528..c4dab265af6d 100644 --- a/tests/common/TestProjects/MyCocoaCoreMLApp/Info.plist +++ b/tests/common/TestProjects/MyCocoaCoreMLApp/Info.plist @@ -23,7 +23,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSHumanReadableCopyright MM NSPrincipalClass diff --git a/tests/common/TestProjects/MyCocoaSceneKitApp/Info.plist b/tests/common/TestProjects/MyCocoaSceneKitApp/Info.plist index d62d9b83839c..66fb54b4061c 100644 --- a/tests/common/TestProjects/MyCocoaSceneKitApp/Info.plist +++ b/tests/common/TestProjects/MyCocoaSceneKitApp/Info.plist @@ -23,7 +23,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSHumanReadableCopyright MM NSPrincipalClass diff --git a/tests/common/TestProjects/MyDocumentPickerExtension/Info.plist b/tests/common/TestProjects/MyDocumentPickerExtension/Info.plist index 632501fcd8d2..51f519373a9c 100644 --- a/tests/common/TestProjects/MyDocumentPickerExtension/Info.plist +++ b/tests/common/TestProjects/MyDocumentPickerExtension/Info.plist @@ -42,6 +42,6 @@ com.apple.fileprovider-ui MinimumOSVersion - 10.0 + 11.0 diff --git a/tests/common/TestProjects/MyDocumentPickerExtension/MyDocumentPickerExtension.csproj b/tests/common/TestProjects/MyDocumentPickerExtension/MyDocumentPickerExtension.csproj index 77abdaadc150..bee7378c9d21 100644 --- a/tests/common/TestProjects/MyDocumentPickerExtension/MyDocumentPickerExtension.csproj +++ b/tests/common/TestProjects/MyDocumentPickerExtension/MyDocumentPickerExtension.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyExtensionWithPackageReference/Info.plist b/tests/common/TestProjects/MyExtensionWithPackageReference/Info.plist index 885836e7b2db..2d2aed26fca0 100644 --- a/tests/common/TestProjects/MyExtensionWithPackageReference/Info.plist +++ b/tests/common/TestProjects/MyExtensionWithPackageReference/Info.plist @@ -48,6 +48,6 @@ com.apple.ui-services MinimumOSVersion - 10.0 + 11.0 diff --git a/tests/common/TestProjects/MyIBToolLinkTest/Info.plist b/tests/common/TestProjects/MyIBToolLinkTest/Info.plist index aeded2f8c19e..34bb155ced41 100644 --- a/tests/common/TestProjects/MyIBToolLinkTest/Info.plist +++ b/tests/common/TestProjects/MyIBToolLinkTest/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyIBToolLinkTest/MyIBToolLinkTest.csproj b/tests/common/TestProjects/MyIBToolLinkTest/MyIBToolLinkTest.csproj index 0b06efc0fb1b..4c615e91248c 100644 --- a/tests/common/TestProjects/MyIBToolLinkTest/MyIBToolLinkTest.csproj +++ b/tests/common/TestProjects/MyIBToolLinkTest/MyIBToolLinkTest.csproj @@ -34,7 +34,7 @@ true Entitlements.plist SdkOnly - ARMv7, ARM64 + ARM64 HttpClientHandler Default @@ -65,7 +65,7 @@ true Entitlements.plist SdkOnly - ARMv7, ARM64 + ARM64 HttpClientHandler Default diff --git a/tests/common/TestProjects/MyKeyboardExtension/Info.plist b/tests/common/TestProjects/MyKeyboardExtension/Info.plist index d8d04d4b9ac5..6ebcf81abf57 100644 --- a/tests/common/TestProjects/MyKeyboardExtension/Info.plist +++ b/tests/common/TestProjects/MyKeyboardExtension/Info.plist @@ -39,6 +39,6 @@ KeyboardViewController MinimumOSVersion - 9.3 + 11.0 diff --git a/tests/common/TestProjects/MyKeyboardExtension/MyKeyboardExtension.csproj b/tests/common/TestProjects/MyKeyboardExtension/MyKeyboardExtension.csproj index 91a83904b488..5d6826b0ecaf 100644 --- a/tests/common/TestProjects/MyKeyboardExtension/MyKeyboardExtension.csproj +++ b/tests/common/TestProjects/MyKeyboardExtension/MyKeyboardExtension.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyLinkedAssets/Info.plist b/tests/common/TestProjects/MyLinkedAssets/Info.plist index 29b89dc4b6de..0ae4f67c195d 100644 --- a/tests/common/TestProjects/MyLinkedAssets/Info.plist +++ b/tests/common/TestProjects/MyLinkedAssets/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.2 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyLinkedAssets/MyLinkedAssets.csproj b/tests/common/TestProjects/MyLinkedAssets/MyLinkedAssets.csproj index bd805b96ab7d..5263161c6f45 100644 --- a/tests/common/TestProjects/MyLinkedAssets/MyLinkedAssets.csproj +++ b/tests/common/TestProjects/MyLinkedAssets/MyLinkedAssets.csproj @@ -21,7 +21,7 @@ true true None - i386, x86_64 + x86_64 HttpClientHandler @@ -34,7 +34,7 @@ true Entitlements.plist SdkOnly - ARMv7, ARM64 + ARM64 HttpClientHandler @@ -46,7 +46,7 @@ iPhone Developer true None - i386, x86_64 + x86_64 HttpClientHandler @@ -64,7 +64,7 @@ true Entitlements.plist SdkOnly - ARMv7, ARM64 + ARM64 HttpClientHandler diff --git a/tests/common/TestProjects/MyMasterDetailApp/Info.plist b/tests/common/TestProjects/MyMasterDetailApp/Info.plist index d5b6ec0c06d6..79c339477866 100644 --- a/tests/common/TestProjects/MyMasterDetailApp/Info.plist +++ b/tests/common/TestProjects/MyMasterDetailApp/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyMasterDetailApp/MyMasterDetailApp.csproj b/tests/common/TestProjects/MyMasterDetailApp/MyMasterDetailApp.csproj index 0143737aad28..308a8f595ff1 100644 --- a/tests/common/TestProjects/MyMasterDetailApp/MyMasterDetailApp.csproj +++ b/tests/common/TestProjects/MyMasterDetailApp/MyMasterDetailApp.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyMetalGame/Info.plist b/tests/common/TestProjects/MyMetalGame/Info.plist index 48b629ba3f82..31be666e2518 100644 --- a/tests/common/TestProjects/MyMetalGame/Info.plist +++ b/tests/common/TestProjects/MyMetalGame/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyMetalGame/MyMetalGame.csproj b/tests/common/TestProjects/MyMetalGame/MyMetalGame.csproj index 93a778606849..0a5210ffa99c 100644 --- a/tests/common/TestProjects/MyMetalGame/MyMetalGame.csproj +++ b/tests/common/TestProjects/MyMetalGame/MyMetalGame.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyOpenGLApp/Info.plist b/tests/common/TestProjects/MyOpenGLApp/Info.plist index 7ea37b93ab2e..406684ad233c 100644 --- a/tests/common/TestProjects/MyOpenGLApp/Info.plist +++ b/tests/common/TestProjects/MyOpenGLApp/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 8.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyOpenGLApp/MyOpenGLApp.csproj b/tests/common/TestProjects/MyOpenGLApp/MyOpenGLApp.csproj index 260ee6790620..fadcad055f14 100644 --- a/tests/common/TestProjects/MyOpenGLApp/MyOpenGLApp.csproj +++ b/tests/common/TestProjects/MyOpenGLApp/MyOpenGLApp.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyPhotoEditingExtension/Info.plist b/tests/common/TestProjects/MyPhotoEditingExtension/Info.plist index f367f54da5ad..67a3bb15e83d 100644 --- a/tests/common/TestProjects/MyPhotoEditingExtension/Info.plist +++ b/tests/common/TestProjects/MyPhotoEditingExtension/Info.plist @@ -19,7 +19,7 @@ CFBundleSignature ???? MinimumOSVersion - 10.0 + 11.0 CFBundleVersion 1 NSExtension diff --git a/tests/common/TestProjects/MyPhotoEditingExtension/MyPhotoEditingExtension.csproj b/tests/common/TestProjects/MyPhotoEditingExtension/MyPhotoEditingExtension.csproj index ad2493801a40..44399686f9a6 100644 --- a/tests/common/TestProjects/MyPhotoEditingExtension/MyPhotoEditingExtension.csproj +++ b/tests/common/TestProjects/MyPhotoEditingExtension/MyPhotoEditingExtension.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyReleaseBuild/Info.plist b/tests/common/TestProjects/MyReleaseBuild/Info.plist index 887f593dfb67..4a6c0b8c569a 100644 --- a/tests/common/TestProjects/MyReleaseBuild/Info.plist +++ b/tests/common/TestProjects/MyReleaseBuild/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyReleaseBuild/MyReleaseBuild.csproj b/tests/common/TestProjects/MyReleaseBuild/MyReleaseBuild.csproj index 51c466d0c31f..35937605550d 100644 --- a/tests/common/TestProjects/MyReleaseBuild/MyReleaseBuild.csproj +++ b/tests/common/TestProjects/MyReleaseBuild/MyReleaseBuild.csproj @@ -36,7 +36,7 @@ true Entitlements.plist SdkOnly - ARMv7, ARM64 + ARM64 HttpClientHandler Default --optimize=force-rejected-types-removal @@ -69,7 +69,7 @@ true Entitlements.plist SdkOnly - ARMv7, ARM64 + ARM64 HttpClientHandler Default --optimize=force-rejected-types-removal diff --git a/tests/common/TestProjects/MyShareExtension/Info.plist b/tests/common/TestProjects/MyShareExtension/Info.plist index effd7d1d0583..6875f5e43bed 100644 --- a/tests/common/TestProjects/MyShareExtension/Info.plist +++ b/tests/common/TestProjects/MyShareExtension/Info.plist @@ -19,7 +19,7 @@ CFBundleSignature ???? MinimumOSVersion - 10.0 + 11.0 CFBundleVersion 1 NSExtension diff --git a/tests/common/TestProjects/MyShareExtension/MyShareExtension.csproj b/tests/common/TestProjects/MyShareExtension/MyShareExtension.csproj index 2ac433f462be..e9f195e1c515 100644 --- a/tests/common/TestProjects/MyShareExtension/MyShareExtension.csproj +++ b/tests/common/TestProjects/MyShareExtension/MyShareExtension.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MySingleView/Info.plist b/tests/common/TestProjects/MySingleView/Info.plist index 4d6c0c859443..8c6fbf8b9ba8 100644 --- a/tests/common/TestProjects/MySingleView/Info.plist +++ b/tests/common/TestProjects/MySingleView/Info.plist @@ -15,7 +15,7 @@ UIMainStoryboardFile MainStoryboard MinimumOSVersion - 10.0 + 11.0 CFBundleDisplayName ApplicationName CFBundleIdentifier diff --git a/tests/common/TestProjects/MySingleView/MySingleView.csproj b/tests/common/TestProjects/MySingleView/MySingleView.csproj index b53dfb62cd5a..c1272a898759 100644 --- a/tests/common/TestProjects/MySingleView/MySingleView.csproj +++ b/tests/common/TestProjects/MySingleView/MySingleView.csproj @@ -58,7 +58,7 @@ 4 iPhone Developer Entitlements.plist - ARMv7, ARM64 + ARM64 diff --git a/tests/common/TestProjects/MySpriteKitGame/Info.plist b/tests/common/TestProjects/MySpriteKitGame/Info.plist index f660660c78cb..268f6996c1b1 100644 --- a/tests/common/TestProjects/MySpriteKitGame/Info.plist +++ b/tests/common/TestProjects/MySpriteKitGame/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MySpriteKitGame/MySpriteKitGame.csproj b/tests/common/TestProjects/MySpriteKitGame/MySpriteKitGame.csproj index 0126bde2b927..5440ea5a76de 100644 --- a/tests/common/TestProjects/MySpriteKitGame/MySpriteKitGame.csproj +++ b/tests/common/TestProjects/MySpriteKitGame/MySpriteKitGame.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyTVApp/Info.plist b/tests/common/TestProjects/MyTVApp/Info.plist index f58d0752ffef..4763acb8b483 100644 --- a/tests/common/TestProjects/MyTVApp/Info.plist +++ b/tests/common/TestProjects/MyTVApp/Info.plist @@ -15,7 +15,7 @@ UIMainStoryboardFile MainStoryboard MinimumOSVersion - 10.0 + 11.0 CFBundleDisplayName MyTVApp CFBundleIdentifier diff --git a/tests/common/TestProjects/MyTVServicesExtension/Info.plist b/tests/common/TestProjects/MyTVServicesExtension/Info.plist index ce14be9e2871..4a1b391f72da 100644 --- a/tests/common/TestProjects/MyTVServicesExtension/Info.plist +++ b/tests/common/TestProjects/MyTVServicesExtension/Info.plist @@ -19,7 +19,7 @@ CFBundleVersion 1.0 MinimumOSVersion - 10.0 + 11.0 NSExtension NSExtensionAttributes diff --git a/tests/common/TestProjects/MyTabbedApplication/Info.plist b/tests/common/TestProjects/MyTabbedApplication/Info.plist index fd2a893ece0a..219ca5151727 100644 --- a/tests/common/TestProjects/MyTabbedApplication/Info.plist +++ b/tests/common/TestProjects/MyTabbedApplication/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyTabbedApplication/MyTabbedApplication.csproj b/tests/common/TestProjects/MyTabbedApplication/MyTabbedApplication.csproj index acfa7519dc71..509a7bdd3416 100644 --- a/tests/common/TestProjects/MyTabbedApplication/MyTabbedApplication.csproj +++ b/tests/common/TestProjects/MyTabbedApplication/MyTabbedApplication.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyTodayExtension/Info.plist b/tests/common/TestProjects/MyTodayExtension/Info.plist index d9a8e76a3da0..c36df8302bc9 100644 --- a/tests/common/TestProjects/MyTodayExtension/Info.plist +++ b/tests/common/TestProjects/MyTodayExtension/Info.plist @@ -19,7 +19,7 @@ CFBundleSignature ???? MinimumOSVersion - 8.0 + 11.0 CFBundleVersion 1 NSExtension diff --git a/tests/common/TestProjects/MyTodayExtension/MyTodayExtension.csproj b/tests/common/TestProjects/MyTodayExtension/MyTodayExtension.csproj index 972b3a84d780..aef827c7ab64 100644 --- a/tests/common/TestProjects/MyTodayExtension/MyTodayExtension.csproj +++ b/tests/common/TestProjects/MyTodayExtension/MyTodayExtension.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyWatch2Container/Info.plist b/tests/common/TestProjects/MyWatch2Container/Info.plist index 3eb70ca7b47f..6a82410a9db9 100644 --- a/tests/common/TestProjects/MyWatch2Container/Info.plist +++ b/tests/common/TestProjects/MyWatch2Container/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 9.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyWatch2Container/MyWatch2Container.csproj b/tests/common/TestProjects/MyWatch2Container/MyWatch2Container.csproj index e702b63da6b2..dd8fcc336c87 100644 --- a/tests/common/TestProjects/MyWatch2Container/MyWatch2Container.csproj +++ b/tests/common/TestProjects/MyWatch2Container/MyWatch2Container.csproj @@ -29,7 +29,7 @@ bin\iPhone\Release prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -52,7 +52,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer diff --git a/tests/common/TestProjects/MyWatchApp/Info.plist b/tests/common/TestProjects/MyWatchApp/Info.plist index 04c7207cb27f..e34662534e15 100644 --- a/tests/common/TestProjects/MyWatchApp/Info.plist +++ b/tests/common/TestProjects/MyWatchApp/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 8.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyWatchApp/MyWatchApp.csproj b/tests/common/TestProjects/MyWatchApp/MyWatchApp.csproj index e99a2aaf3529..bb7ced8fab9d 100644 --- a/tests/common/TestProjects/MyWatchApp/MyWatchApp.csproj +++ b/tests/common/TestProjects/MyWatchApp/MyWatchApp.csproj @@ -18,7 +18,7 @@ DEBUG; prompt 4 - i386 + x86_64 None true true @@ -29,7 +29,7 @@ bin\iPhoneSimulator\Release prompt 4 - i386 + x86_64 None @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyWatchApp2/Info.plist b/tests/common/TestProjects/MyWatchApp2/Info.plist index c7666ed22c1a..bd64ef321d40 100644 --- a/tests/common/TestProjects/MyWatchApp2/Info.plist +++ b/tests/common/TestProjects/MyWatchApp2/Info.plist @@ -13,7 +13,7 @@ CFBundleVersion 1.0 MinimumOSVersion - 2.0 + 4.0 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/tests/common/TestProjects/MyWatchApp2/MyWatchApp2.csproj b/tests/common/TestProjects/MyWatchApp2/MyWatchApp2.csproj index f25322b29069..a8c915d03651 100644 --- a/tests/common/TestProjects/MyWatchApp2/MyWatchApp2.csproj +++ b/tests/common/TestProjects/MyWatchApp2/MyWatchApp2.csproj @@ -20,7 +20,7 @@ DEBUG; prompt 4 - i386 + x86_64 None true true @@ -31,7 +31,7 @@ bin\iPhone\Release prompt 4 - ARMv7k + ARM64 Entitlements.plist true iPhone Developer @@ -42,7 +42,7 @@ bin\iPhoneSimulator\Release prompt 4 - i386 + x86_64 None iPhone Developer @@ -54,7 +54,7 @@ DEBUG; prompt 4 - ARMv7k + ARM64 Entitlements.plist true iPhone Developer diff --git a/tests/common/TestProjects/MyWatchKit2Extension/Info.plist b/tests/common/TestProjects/MyWatchKit2Extension/Info.plist index ddb36912e329..0f6315622bc0 100644 --- a/tests/common/TestProjects/MyWatchKit2Extension/Info.plist +++ b/tests/common/TestProjects/MyWatchKit2Extension/Info.plist @@ -13,7 +13,7 @@ CFBundleVersion 1.0 MinimumOSVersion - 2.0 + 4.0 NSExtension NSExtensionAttributes diff --git a/tests/common/TestProjects/MyWatchKit2Extension/MyWatchKit2Extension.csproj b/tests/common/TestProjects/MyWatchKit2Extension/MyWatchKit2Extension.csproj index c6938feea620..0b68329a5edb 100644 --- a/tests/common/TestProjects/MyWatchKit2Extension/MyWatchKit2Extension.csproj +++ b/tests/common/TestProjects/MyWatchKit2Extension/MyWatchKit2Extension.csproj @@ -20,7 +20,7 @@ DEBUG prompt 4 - i386 + x86_64 None true iPhone Developer @@ -46,7 +46,7 @@ bin\iPhoneSimulator\Release prompt 4 - i386 + x86_64 None iPhone Developer diff --git a/tests/common/TestProjects/MyWatchKit2IntentsExtension/Info.plist b/tests/common/TestProjects/MyWatchKit2IntentsExtension/Info.plist index 8d62e9931d16..945b0f66ef97 100644 --- a/tests/common/TestProjects/MyWatchKit2IntentsExtension/Info.plist +++ b/tests/common/TestProjects/MyWatchKit2IntentsExtension/Info.plist @@ -19,7 +19,7 @@ CFBundleVersion 1.0 MinimumOSVersion - 3.2 + 4.0 NSExtension NSExtensionAttributes diff --git a/tests/common/TestProjects/MyWatchKit2IntentsExtension/MyWatchKit2IntentsExtension.csproj b/tests/common/TestProjects/MyWatchKit2IntentsExtension/MyWatchKit2IntentsExtension.csproj index 616fac8ebd3a..272d98d3c70d 100644 --- a/tests/common/TestProjects/MyWatchKit2IntentsExtension/MyWatchKit2IntentsExtension.csproj +++ b/tests/common/TestProjects/MyWatchKit2IntentsExtension/MyWatchKit2IntentsExtension.csproj @@ -23,7 +23,7 @@ true true None - i386 + x86_64 NSUrlSessionHandler @@ -53,7 +53,7 @@ true true None - i386 + x86_64 NSUrlSessionHandler diff --git a/tests/common/TestProjects/MyWatchKitApp/Info.plist b/tests/common/TestProjects/MyWatchKitApp/Info.plist index f209172a258e..6a44f1fad6da 100644 --- a/tests/common/TestProjects/MyWatchKitApp/Info.plist +++ b/tests/common/TestProjects/MyWatchKitApp/Info.plist @@ -21,7 +21,7 @@ CFBundleVersion 1 MinimumOSVersion - 8.2 + 11.0 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/tests/common/TestProjects/MyWatchKitApp/MyWatchKitApp.csproj b/tests/common/TestProjects/MyWatchKitApp/MyWatchKitApp.csproj index d7d76d417af0..dd9468e77e47 100644 --- a/tests/common/TestProjects/MyWatchKitApp/MyWatchKitApp.csproj +++ b/tests/common/TestProjects/MyWatchKitApp/MyWatchKitApp.csproj @@ -18,7 +18,7 @@ DEBUG; prompt 4 - i386 + x86_64 None true true @@ -29,7 +29,7 @@ bin\iPhoneSimulator\Release prompt 4 - i386 + x86_64 None @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyWatchKitExtension/Info.plist b/tests/common/TestProjects/MyWatchKitExtension/Info.plist index b9569307e401..fe4828d69fa6 100644 --- a/tests/common/TestProjects/MyWatchKitExtension/Info.plist +++ b/tests/common/TestProjects/MyWatchKitExtension/Info.plist @@ -21,7 +21,7 @@ CFBundleVersion 1.0 MinimumOSVersion - 8.2 + 11.0 NSExtension NSExtensionAttributes diff --git a/tests/common/TestProjects/MyWatchKitExtension/MyWatchKitExtension.csproj b/tests/common/TestProjects/MyWatchKitExtension/MyWatchKitExtension.csproj index 70621815f3d0..f0252a73e6f6 100644 --- a/tests/common/TestProjects/MyWatchKitExtension/MyWatchKitExtension.csproj +++ b/tests/common/TestProjects/MyWatchKitExtension/MyWatchKitExtension.csproj @@ -18,7 +18,7 @@ DEBUG; prompt 4 - i386 + x86_64 None true true @@ -29,7 +29,7 @@ bin\iPhoneSimulator\Release prompt 4 - i386 + x86_64 None @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyWebViewApp/Info.plist b/tests/common/TestProjects/MyWebViewApp/Info.plist index c04b4a5c73af..3c7cc8ad9d73 100644 --- a/tests/common/TestProjects/MyWebViewApp/Info.plist +++ b/tests/common/TestProjects/MyWebViewApp/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyWebViewApp/MyWebViewApp.csproj b/tests/common/TestProjects/MyWebViewApp/MyWebViewApp.csproj index 47d01d6358b0..eb91bd947ea3 100644 --- a/tests/common/TestProjects/MyWebViewApp/MyWebViewApp.csproj +++ b/tests/common/TestProjects/MyWebViewApp/MyWebViewApp.csproj @@ -40,7 +40,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ prompt 4 Entitlements.plist - ARMv7, ARM64 + ARM64 iPhone Developer diff --git a/tests/common/TestProjects/MyXamarinFormsApp/Info.plist b/tests/common/TestProjects/MyXamarinFormsApp/Info.plist index 5d5bbb8e7aed..3173240eaddf 100644 --- a/tests/common/TestProjects/MyXamarinFormsApp/Info.plist +++ b/tests/common/TestProjects/MyXamarinFormsApp/Info.plist @@ -21,7 +21,7 @@ UIInterfaceOrientationLandscapeRight MinimumOSVersion - 10.0 + 11.0 CFBundleDisplayName MyXamarinFormsApp CFBundleIdentifier diff --git a/tests/common/TestProjects/MyiOSAppWithBinding/Info.plist b/tests/common/TestProjects/MyiOSAppWithBinding/Info.plist index c8457949fb11..8732018db6e1 100644 --- a/tests/common/TestProjects/MyiOSAppWithBinding/Info.plist +++ b/tests/common/TestProjects/MyiOSAppWithBinding/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/common/TestProjects/MyiOSAppWithBinding/MyiOSAppWithBinding.csproj b/tests/common/TestProjects/MyiOSAppWithBinding/MyiOSAppWithBinding.csproj index 98e978c6fcba..8b8cb809bb33 100644 --- a/tests/common/TestProjects/MyiOSAppWithBinding/MyiOSAppWithBinding.csproj +++ b/tests/common/TestProjects/MyiOSAppWithBinding/MyiOSAppWithBinding.csproj @@ -30,7 +30,7 @@ bin\iPhone\Release prompt 4 - ARMv7, ARM64 + ARM64 Entitlements.plist true iPhone Developer @@ -53,7 +53,7 @@ DEBUG; prompt 4 - ARMv7, ARM64 + ARM64 Full Entitlements.plist true diff --git a/tests/common/TestProjects/Protobuf_Test/Protobuf_Test/Info.plist b/tests/common/TestProjects/Protobuf_Test/Protobuf_Test/Info.plist index 9fde5ad5e703..9d728588fe9e 100644 --- a/tests/common/TestProjects/Protobuf_Test/Protobuf_Test/Info.plist +++ b/tests/common/TestProjects/Protobuf_Test/Protobuf_Test/Info.plist @@ -23,7 +23,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSHumanReadableCopyright MM NSPrincipalClass diff --git a/tests/common/TestProjects/RoslynTestApp/Full/Info.plist b/tests/common/TestProjects/RoslynTestApp/Full/Info.plist index b15f791f0b01..8fdad5b1b672 100644 --- a/tests/common/TestProjects/RoslynTestApp/Full/Info.plist +++ b/tests/common/TestProjects/RoslynTestApp/Full/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.12 + 10.15 CFBundleDevelopmentRegion en CFBundleInfoDictionaryVersion diff --git a/tests/common/TestProjects/RoslynTestApp/Modern/Info.plist b/tests/common/TestProjects/RoslynTestApp/Modern/Info.plist index b15f791f0b01..8fdad5b1b672 100644 --- a/tests/common/TestProjects/RoslynTestApp/Modern/Info.plist +++ b/tests/common/TestProjects/RoslynTestApp/Modern/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.12 + 10.15 CFBundleDevelopmentRegion en CFBundleInfoDictionaryVersion diff --git a/tests/common/TestProjects/ServiceModel_Test/ServiceModel_Test/Info.plist b/tests/common/TestProjects/ServiceModel_Test/ServiceModel_Test/Info.plist index d1ca598b3868..42947ce4ed43 100644 --- a/tests/common/TestProjects/ServiceModel_Test/ServiceModel_Test/Info.plist +++ b/tests/common/TestProjects/ServiceModel_Test/ServiceModel_Test/Info.plist @@ -23,7 +23,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSHumanReadableCopyright MM NSPrincipalClass diff --git a/tests/common/mac/Finder/Info.plist b/tests/common/mac/Finder/Info.plist index 21de68d37ef0..1a7b598294ed 100644 --- a/tests/common/mac/Finder/Info.plist +++ b/tests/common/mac/Finder/Info.plist @@ -23,7 +23,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.10 + 10.15 LSUIElement NSExtension diff --git a/tests/common/mac/Info-Unified.plist b/tests/common/mac/Info-Unified.plist index 82f46cb93efd..ab19d46f2571 100644 --- a/tests/common/mac/Info-Unified.plist +++ b/tests/common/mac/Info-Unified.plist @@ -23,7 +23,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSHumanReadableCopyright donblas NSPrincipalClass diff --git a/tests/common/mac/Share/Info.plist b/tests/common/mac/Share/Info.plist index a9b7c689b098..dcb3b692e592 100644 --- a/tests/common/mac/Share/Info.plist +++ b/tests/common/mac/Share/Info.plist @@ -23,7 +23,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.10 + 10.15 NSExtension NSExtensionAttributes diff --git a/tests/common/mac/Today/Info.plist b/tests/common/mac/Today/Info.plist index 075827cfa57a..8dddeb1628e1 100644 --- a/tests/common/mac/Today/Info.plist +++ b/tests/common/mac/Today/Info.plist @@ -23,7 +23,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.10 + 10.15 NSExtension NSExtensionPointIdentifier diff --git a/tests/dotnet/BundleStructure/iOS/Info.plist b/tests/dotnet/BundleStructure/iOS/Info.plist index 9bf27f7bb099..7e11b39d62c3 100644 --- a/tests/dotnet/BundleStructure/iOS/Info.plist +++ b/tests/dotnet/BundleStructure/iOS/Info.plist @@ -4,7 +4,7 @@ MinimumOSVersion - 10.0 + 11.0 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/tests/dotnet/size-comparison/MauiForms/oldnet/MauiForms.iOS/Info.plist b/tests/dotnet/size-comparison/MauiForms/oldnet/MauiForms.iOS/Info.plist index 860733027235..badfdc4bb8ca 100644 --- a/tests/dotnet/size-comparison/MauiForms/oldnet/MauiForms.iOS/Info.plist +++ b/tests/dotnet/size-comparison/MauiForms/oldnet/MauiForms.iOS/Info.plist @@ -21,7 +21,7 @@ UIInterfaceOrientationLandscapeRight MinimumOSVersion - 8.0 + 11.0 CFBundleDisplayName MauiForms CFBundleIdentifier diff --git a/tests/dotnet/size-comparison/MySingleView/Info.plist b/tests/dotnet/size-comparison/MySingleView/Info.plist index 28ffef34a148..c632e81b2046 100644 --- a/tests/dotnet/size-comparison/MySingleView/Info.plist +++ b/tests/dotnet/size-comparison/MySingleView/Info.plist @@ -13,7 +13,7 @@ UIInterfaceOrientationLandscapeRight MinimumOSVersion - 10.0 + 11.0 CFBundleDisplayName MyComparableApp CFBundleIdentifier diff --git a/tests/framework-test/iOS/Info.plist b/tests/framework-test/iOS/Info.plist index 874190f9b652..f5181a628b1d 100644 --- a/tests/framework-test/iOS/Info.plist +++ b/tests/framework-test/iOS/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 8.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/framework-test/iOS/framework-test-ios.csproj b/tests/framework-test/iOS/framework-test-ios.csproj index c31cabbb6b41..980da0944261 100644 --- a/tests/framework-test/iOS/framework-test-ios.csproj +++ b/tests/framework-test/iOS/framework-test-ios.csproj @@ -26,7 +26,7 @@ DEBUG;;$(DefineConstants) prompt 4 - i386, x86_64 + x86_64 None true true @@ -35,30 +35,6 @@ Entitlements.plist - full - true - bin\iPhone\$(Configuration)-unified - prompt - 4 - ARMv7, ARM64 - Entitlements.plist - true - Apple Development - True - - - full - true - bin\iPhone\$(Configuration)-unified - prompt - 4 - ARMv7 - Entitlements.plist - true - Apple Development - True - - full true bin\iPhone\$(Configuration)-unified @@ -76,44 +52,12 @@ bin\iPhoneSimulator\$(Configuration)-unified prompt 4 - i386, x86_64 + x86_64 None Apple Development Entitlements.plist - true - full - false - bin\iPhone\$(Configuration)-unified - DEBUG;;$(DefineConstants) - prompt - 4 - ARMv7, ARM64 - Entitlements.plist - true - Apple Development - true - true - true - - - true - full - false - bin\iPhone\$(Configuration)-unified - DEBUG;;$(DefineConstants) - prompt - 4 - ARMv7 - Entitlements.plist - true - Apple Development - true - true - true - - true full false diff --git a/tests/framework-test/macOS/Info.plist b/tests/framework-test/macOS/Info.plist index 784cb18ae665..af1702951989 100644 --- a/tests/framework-test/macOS/Info.plist +++ b/tests/framework-test/macOS/Info.plist @@ -9,7 +9,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSApplicationCategoryType diff --git a/tests/fsharp/Info.plist b/tests/fsharp/Info.plist index c3e3a26b22e0..2824e043defc 100644 --- a/tests/fsharp/Info.plist +++ b/tests/fsharp/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 7.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/fsharp/fsharp.fsproj b/tests/fsharp/fsharp.fsproj index cb33d0f758be..a0e7a4b9ac71 100644 --- a/tests/fsharp/fsharp.fsproj +++ b/tests/fsharp/fsharp.fsproj @@ -29,35 +29,9 @@ false true None - i386, x86_64 + x86_64 - true - bin\iPhone\$(Configuration)-unified - ;$(DefineConstants) - prompt - iPhone Developer - true - Entitlements.plist - ARMv7, ARM64 - true - SdkOnly - True - - - true - bin\iPhone\$(Configuration)-unified - ;$(DefineConstants) - prompt - iPhone Developer - true - Entitlements.plist - ARMv7 - true - SdkOnly - True - - true bin\iPhone\$(Configuration)-unified ;$(DefineConstants) @@ -77,44 +51,10 @@ prompt iPhone Developer None - i386, x86_64 + x86_64 true - true - full - false - bin\iPhone\$(Configuration)-unified - DEBUG;$(DefineConstants) - prompt - iPhone Developer - true - true - false - true - true - Entitlements.plist - SdkOnly - ARMv7, ARM64 - - - true - full - false - bin\iPhone\$(Configuration)-unified - DEBUG;$(DefineConstants) - prompt - iPhone Developer - true - true - false - true - true - Entitlements.plist - SdkOnly - ARMv7 - - true full false diff --git a/tests/fsharplibrary/fsharplibrary.fsproj b/tests/fsharplibrary/fsharplibrary.fsproj index f71f0482cbbe..fff566c8c0ea 100644 --- a/tests/fsharplibrary/fsharplibrary.fsproj +++ b/tests/fsharplibrary/fsharplibrary.fsproj @@ -17,7 +17,7 @@ obj\$(Platform)\$(Configuration)-unified - + true full false @@ -27,7 +27,7 @@ - + true bin\Any CPU\$(Configuration)-unified ;$(DefineConstants) diff --git a/tests/generator/BGenTests.cs b/tests/generator/BGenTests.cs index d39b1d860b75..190698eaa13d 100644 --- a/tests/generator/BGenTests.cs +++ b/tests/generator/BGenTests.cs @@ -1064,13 +1064,13 @@ public void AttributesFromInlinedProtocols (Profile profile) @"[BindingImpl(3)] [Export(""someMethod3:"")] -[SupportedOSPlatform(""ios11.0"")] +[SupportedOSPlatform(""ios"")] [SupportedOSPlatform(""maccatalyst"")] [UnsupportedOSPlatform(""tvos"")]", @"[BindingImpl(3)] [Export(""someMethod4:"")] -[SupportedOSPlatform(""ios11.0"")] +[SupportedOSPlatform(""ios"")] [SupportedOSPlatform(""maccatalyst"")] [UnsupportedOSPlatform(""tvos"")]", }; @@ -1159,7 +1159,7 @@ public void GeneratedAttributeOnPropertyAccessors () var getter = messaging.Methods.First (v => v.Name == "get_IsLoadedInProcess"); var expectedPropertyAttributes = @"[SupportedOSPlatform(""maccatalyst"")] -[SupportedOSPlatform(""macos10.15"")] +[SupportedOSPlatform(""macos"")] [UnsupportedOSPlatform(""ios"")] [UnsupportedOSPlatform(""tvos"")]"; Assert.AreEqual (expectedPropertyAttributes, RenderSupportedOSPlatformAttributes (property), "Property attributes"); diff --git a/tests/interdependent-binding-projects/Info.plist b/tests/interdependent-binding-projects/Info.plist index 5328d6e7404b..43e5a77239cd 100644 --- a/tests/interdependent-binding-projects/Info.plist +++ b/tests/interdependent-binding-projects/Info.plist @@ -9,7 +9,7 @@ CFBundleName TestApp MinimumOSVersion - 7.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/interdependent-binding-projects/interdependent-binding-projects.csproj b/tests/interdependent-binding-projects/interdependent-binding-projects.csproj index 86a5aad46b41..01fe0321b216 100644 --- a/tests/interdependent-binding-projects/interdependent-binding-projects.csproj +++ b/tests/interdependent-binding-projects/interdependent-binding-projects.csproj @@ -29,7 +29,7 @@ True -v -v -v -v True - i386, x86_64 + x86_64 iPhone Developer None @@ -43,7 +43,7 @@ None -v -v -v -v True - i386, x86_64 + x86_64 True @@ -56,66 +56,12 @@ True iPhone Developer -v -v -v -v - ARMv7, ARM64 + ARM64 True - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;;$(DefineConstants) - prompt - 0 - True - iPhone Developer - -v -v -v -v - ARM64 - True - - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;;$(DefineConstants) - prompt - 0 - True - iPhone Developer - -v -v -v -v - ARMv7 - True - - none - False - bin\iPhone\$(Configuration)-unified - MONOTOUCH;;$(DefineConstants) - prompt - 4 - iPhone Developer - -v -v -v -v --nosymbolstrip - ARMv7, ARM64 - True - true - - - none - False - bin\iPhone\$(Configuration)-unified - MONOTOUCH;;$(DefineConstants) - prompt - 4 - iPhone Developer - -v -v -v -v --nosymbolstrip - ARMv7 - True - true - - none False bin\iPhone\$(Configuration)-unified diff --git a/tests/introspection/ApiPInvokeTest.cs b/tests/introspection/ApiPInvokeTest.cs index a6b23ddd68fa..6cd7bf754a46 100644 --- a/tests/introspection/ApiPInvokeTest.cs +++ b/tests/introspection/ApiPInvokeTest.cs @@ -161,7 +161,7 @@ public void SymbolExists () if (MonoNativeConfig.LinkMode == MonoNativeLinkMode.None) continue; #if __IOS__ - libname = MonoNativeConfig.GetPInvokeLibraryName (MonoNativeFlavor.Compat, MonoNativeConfig.LinkMode); + libname = MonoNativeConfig.GetPInvokeLibraryName (MonoNativeFlavor.Unified, MonoNativeConfig.LinkMode); #else libname = null; #endif @@ -235,7 +235,7 @@ protected void Check (Assembly a) if (MonoNativeConfig.LinkMode == MonoNativeLinkMode.None) continue; #if __IOS__ - path = MonoNativeConfig.GetPInvokeLibraryName (MonoNativeFlavor.Compat, MonoNativeConfig.LinkMode); + path = MonoNativeConfig.GetPInvokeLibraryName (MonoNativeFlavor.Unified, MonoNativeConfig.LinkMode); #else path = null; #endif diff --git a/tests/introspection/Mac/Info.plist b/tests/introspection/Mac/Info.plist index a77a4976fea3..15c8e5098ede 100644 --- a/tests/introspection/Mac/Info.plist +++ b/tests/introspection/Mac/Info.plist @@ -9,7 +9,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSApplicationCategoryType diff --git a/tests/introspection/iOS/Info.plist b/tests/introspection/iOS/Info.plist index 5421028385b2..142a49c45a2b 100644 --- a/tests/introspection/iOS/Info.plist +++ b/tests/introspection/iOS/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1.0 MinimumOSVersion - 7.0 + 11.0 NSAppleMusicUsageDescription Testing tastes NSHomeKitUsageDescription diff --git a/tests/introspection/iOS/introspection-ios.csproj b/tests/introspection/iOS/introspection-ios.csproj index 7493a2633329..63c10fbef1f3 100644 --- a/tests/introspection/iOS/introspection-ios.csproj +++ b/tests/introspection/iOS/introspection-ios.csproj @@ -23,13 +23,13 @@ full False bin\iPhoneSimulator\$(Configuration)-unified - DEBUG;MONOTOUCH;MONO_NATIVE_COMPAT;MONO_NATIVE_SYMLINK;$(DefineConstants) + DEBUG;MONOTOUCH;MONO_NATIVE_SYMLINK;$(DefineConstants) prompt 0 None True -v -v - i386, x86_64 + x86_64 iPhone Developer @@ -40,45 +40,15 @@ 0 None -v -v -gcc_flags="-weak_framework GameController" - i386, x86_64 - MONOTOUCH;MONO_NATIVE_COMPAT;MONO_NATIVE_STATIC;$(DefineConstants) + x86_64 + MONOTOUCH;MONO_NATIVE_STATIC;$(DefineConstants) True full False bin\iPhone\$(Configuration)-unified - DEBUG;MONOTOUCH;MONO_NATIVE_COMPAT;MONO_NATIVE_STATIC;$(DefineConstants) - prompt - 0 - True - iPhone Developer - None - - ARMv7, ARM64 - true - - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;MONOTOUCH;MONO_NATIVE_COMPAT;MONO_NATIVE_STATIC;$(DefineConstants) - prompt - 0 - True - iPhone Developer - None - - ARMv7 - true - - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;MONOTOUCH;MONO_NATIVE_COMPAT;MONO_NATIVE_STATIC;$(DefineConstants) + DEBUG;MONOTOUCH;MONO_NATIVE_STATIC;$(DefineConstants) prompt 0 True @@ -89,34 +59,6 @@ true - none - False - bin\iPhone\$(Configuration)-unified - prompt - 0 - iPhone Developer - -v -v - True - None - ARMv7, ARM64 - MONOTOUCH;MONO_NATIVE_COMPAT;MONO_NATIVE_STATIC;$(DefineConstants) - true - - - none - False - bin\iPhone\$(Configuration)-unified - prompt - 0 - iPhone Developer - -v -v - True - None - ARMv7 - MONOTOUCH;MONO_NATIVE_COMPAT;MONO_NATIVE_STATIC;$(DefineConstants) - true - - none False bin\iPhone\$(Configuration)-unified @@ -127,7 +69,7 @@ True None ARM64 - MONOTOUCH;MONO_NATIVE_COMPAT;MONO_NATIVE_STATIC;$(DefineConstants) + MONOTOUCH;MONO_NATIVE_STATIC;$(DefineConstants) true diff --git a/tests/linker/ios/dont link/Info.plist b/tests/linker/ios/dont link/Info.plist index d7ed70d013e3..0edce62d4524 100644 --- a/tests/linker/ios/dont link/Info.plist +++ b/tests/linker/ios/dont link/Info.plist @@ -7,7 +7,7 @@ CFBundleIdentifier com.xamarin.dontlink MinimumOSVersion - 7.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/linker/ios/dont link/dont link.csproj b/tests/linker/ios/dont link/dont link.csproj index 406316e285e6..d21b6ca54a7e 100644 --- a/tests/linker/ios/dont link/dont link.csproj +++ b/tests/linker/ios/dont link/dont link.csproj @@ -29,7 +29,7 @@ None True -v -v - i386, x86_64 + x86_64 none @@ -39,38 +39,10 @@ 4 None - i386, x86_64 + x86_64 MONOTOUCH;$(DefineConstants) - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;MONOTOUCH;$(DefineConstants) - prompt - 4 - True - iPhone Developer - None - - ARMv7, ARM64 - - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;MONOTOUCH;$(DefineConstants) - prompt - 4 - True - iPhone Developer - None - - ARMv7 - - True full False @@ -85,32 +57,6 @@ ARM64 - none - true - bin\iPhone\$(Configuration)-unified - prompt - 4 - iPhone Developer - -v -v - True - None - ARMv7, ARM64 - MONOTOUCH;$(DefineConstants) - - - none - true - bin\iPhone\$(Configuration)-unified - prompt - 4 - iPhone Developer - -v -v - True - None - ARMv7 - MONOTOUCH;$(DefineConstants) - - none true bin\iPhone\$(Configuration)-unified diff --git a/tests/linker/ios/link all/Info.plist b/tests/linker/ios/link all/Info.plist index b050518579c4..d7a3c6ff35e3 100644 --- a/tests/linker/ios/link all/Info.plist +++ b/tests/linker/ios/link all/Info.plist @@ -9,7 +9,7 @@ CFBundleName LinkAll MinimumOSVersion - 7.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/linker/ios/link all/link all.csproj b/tests/linker/ios/link all/link all.csproj index 16b1734a2f43..d0fd7efdf11f 100644 --- a/tests/linker/ios/link all/link all.csproj +++ b/tests/linker/ios/link all/link all.csproj @@ -30,7 +30,7 @@ Full mideast,other --registrar=static --optimize=all,-remove-dynamic-registrar,-force-rejected-types-removal - i386, x86_64 + x86_64 true @@ -41,45 +41,12 @@ 4 Full mideast,other - i386, x86_64 + x86_64 $(DefineConstants) --registrar:static --optimize=all,-remove-dynamic-registrar,-force-rejected-types-removal true - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;$(DefineConstants) - prompt - 4 - iPhone Developer - True - Full - mideast,other - ARMv7, ARM64 - -gcc_flags="-UhoItsB0rken" --optimize=all,-remove-dynamic-registrar,-force-rejected-types-removal - true - true - - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;$(DefineConstants) - prompt - 4 - iPhone Developer - True - Full - mideast,other - ARMv7 - -gcc_flags="-UhoItsB0rken" --optimize=all,-remove-dynamic-registrar,-force-rejected-types-removal - true - - True full False @@ -93,39 +60,10 @@ mideast,other ARM64 -gcc_flags="-UhoItsB0rken" --optimize=all,-remove-dynamic-registrar,-force-rejected-types-removal + true true - none - True - bin\iPhone\$(Configuration)-unified - prompt - 4 - iPhone Developer - Full - mideast,other - True - ARMv7, ARM64 - --optimize=all,-remove-dynamic-registrar,-force-rejected-types-removal - $(DefineConstants) - true - - - none - True - bin\iPhone\$(Configuration)-unified - prompt - 4 - iPhone Developer - Full - mideast,other - True - ARMv7 - --optimize=all,-remove-dynamic-registrar,-force-rejected-types-removal - $(DefineConstants) - true - - none True bin\iPhone\$(Configuration)-unified diff --git a/tests/linker/ios/link sdk/Info.plist b/tests/linker/ios/link sdk/Info.plist index 604cf72fb15c..3e44b1cf957d 100644 --- a/tests/linker/ios/link sdk/Info.plist +++ b/tests/linker/ios/link sdk/Info.plist @@ -7,7 +7,7 @@ CFBundleIdentifier com.xamarin.linksdk MinimumOSVersion - 7.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/linker/ios/link sdk/link sdk.csproj b/tests/linker/ios/link sdk/link sdk.csproj index 177802e4a9a6..6ba4b5de76cb 100644 --- a/tests/linker/ios/link sdk/link sdk.csproj +++ b/tests/linker/ios/link sdk/link sdk.csproj @@ -28,7 +28,7 @@ 4 True -v -v -disable-thread-check -xml=${ProjectDir}/extra-linker-defs.xml - i386, x86_64 + x86_64 SdkOnly true false @@ -40,41 +40,11 @@ prompt 4 -v -v -xml=${ProjectDir}/extra-linker-defs.xml - i386, x86_64 + x86_64 DO_NOT_REMOVE;;$(DefineConstants) true - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;$(DefineConstants) - prompt - 4 - True - iPhone Developer - -v -v -xml=${ProjectDir}/extra-linker-defs.xml "--dlsym:-link sdk" -gcc_flags="-UhoItsB0rken" - ARMv7, ARM64 - true - true - - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;$(DefineConstants) - prompt - 4 - True - iPhone Developer - -v -v -xml=${ProjectDir}/extra-linker-defs.xml "--dlsym:-link sdk" -gcc_flags="-UhoItsB0rken" - ARMv7 - true - true - - True full False @@ -90,32 +60,6 @@ true - none - True - bin\iPhone\$(Configuration)-unified - prompt - 4 - iPhone Developer - -v -v -xml=${ProjectDir}/extra-linker-defs.xml "--dlsym:-link sdk" - True - ARMv7, ARM64 - DO_NOT_REMOVE;$(DefineConstants) - true - - - none - True - bin\iPhone\$(Configuration)-unified - prompt - 4 - iPhone Developer - -v -v -xml=${ProjectDir}/extra-linker-defs.xml "--dlsym:-link sdk" - True - ARMv7 - DO_NOT_REMOVE;$(DefineConstants) - true - - none True bin\iPhone\$(Configuration)-unified diff --git a/tests/linker/mac/dont link/Info.plist b/tests/linker/mac/dont link/Info.plist index 312df128b00f..060f9c3e09eb 100644 --- a/tests/linker/mac/dont link/Info.plist +++ b/tests/linker/mac/dont link/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/linker/mac/link all/Info.plist b/tests/linker/mac/link all/Info.plist index b616af86c201..f927cb925022 100644 --- a/tests/linker/mac/link all/Info.plist +++ b/tests/linker/mac/link all/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 CFBundleDevelopmentRegion en CFBundleInfoDictionaryVersion diff --git a/tests/linker/mac/link sdk/Info.plist b/tests/linker/mac/link sdk/Info.plist index 0e9eb78b0f33..fadbf62e7605 100644 --- a/tests/linker/mac/link sdk/Info.plist +++ b/tests/linker/mac/link sdk/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 CFBundleDevelopmentRegion en CFBundleInfoDictionaryVersion diff --git a/tests/mac-binding-project/MobileTestApp/Info.plist b/tests/mac-binding-project/MobileTestApp/Info.plist index 8b679bcd80f4..5adc09c839ea 100644 --- a/tests/mac-binding-project/MobileTestApp/Info.plist +++ b/tests/mac-binding-project/MobileTestApp/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 CFBundleDevelopmentRegion en CFBundleInfoDictionaryVersion diff --git a/tests/mmp-regression/custom-bundle-name/Info.plist b/tests/mmp-regression/custom-bundle-name/Info.plist index b527ab8d50f4..6e1be27bfbde 100644 --- a/tests/mmp-regression/custom-bundle-name/Info.plist +++ b/tests/mmp-regression/custom-bundle-name/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/embedded-mono-profile/Info.plist b/tests/mmp-regression/embedded-mono-profile/Info.plist index b527ab8d50f4..6e1be27bfbde 100644 --- a/tests/mmp-regression/embedded-mono-profile/Info.plist +++ b/tests/mmp-regression/embedded-mono-profile/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/embedded-mono/Info.plist b/tests/mmp-regression/embedded-mono/Info.plist index b527ab8d50f4..6e1be27bfbde 100644 --- a/tests/mmp-regression/embedded-mono/Info.plist +++ b/tests/mmp-regression/embedded-mono/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/link-frameworks-1/Info.plist b/tests/mmp-regression/link-frameworks-1/Info.plist index 3580cf225de5..2536efef376b 100644 --- a/tests/mmp-regression/link-frameworks-1/Info.plist +++ b/tests/mmp-regression/link-frameworks-1/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/link-keep-resources-1/Info.plist b/tests/mmp-regression/link-keep-resources-1/Info.plist index 32b3c9defae6..986c2ac32059 100644 --- a/tests/mmp-regression/link-keep-resources-1/Info.plist +++ b/tests/mmp-regression/link-keep-resources-1/Info.plist @@ -9,7 +9,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/link-keep-resources-2/Info.plist b/tests/mmp-regression/link-keep-resources-2/Info.plist index a9a1aab725eb..9bd70628a75b 100644 --- a/tests/mmp-regression/link-keep-resources-2/Info.plist +++ b/tests/mmp-regression/link-keep-resources-2/Info.plist @@ -9,7 +9,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/link-posix-1/Info.plist b/tests/mmp-regression/link-posix-1/Info.plist index c4c152013ea8..2da676a85ab2 100644 --- a/tests/mmp-regression/link-posix-1/Info.plist +++ b/tests/mmp-regression/link-posix-1/Info.plist @@ -9,7 +9,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/link-preserve-assembly/Info.plist b/tests/mmp-regression/link-preserve-assembly/Info.plist index 30941e507758..e0be73a423c5 100644 --- a/tests/mmp-regression/link-preserve-assembly/Info.plist +++ b/tests/mmp-regression/link-preserve-assembly/Info.plist @@ -9,7 +9,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/link-remove-attributes-1/Info.plist b/tests/mmp-regression/link-remove-attributes-1/Info.plist index cf245ab1bf0f..f84af4c4d2c0 100644 --- a/tests/mmp-regression/link-remove-attributes-1/Info.plist +++ b/tests/mmp-regression/link-remove-attributes-1/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/link-safe-1/Info.plist b/tests/mmp-regression/link-safe-1/Info.plist index b091b15e6e31..8689d088a3f3 100644 --- a/tests/mmp-regression/link-safe-1/Info.plist +++ b/tests/mmp-regression/link-safe-1/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/system-mono-profile/Info.plist b/tests/mmp-regression/system-mono-profile/Info.plist index b527ab8d50f4..6e1be27bfbde 100644 --- a/tests/mmp-regression/system-mono-profile/Info.plist +++ b/tests/mmp-regression/system-mono-profile/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmp-regression/system-mono/Info.plist b/tests/mmp-regression/system-mono/Info.plist index b527ab8d50f4..6e1be27bfbde 100644 --- a/tests/mmp-regression/system-mono/Info.plist +++ b/tests/mmp-regression/system-mono/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmptest/Info.plist b/tests/mmptest/Info.plist index a4635bfd03c7..d83ad1910f3e 100644 --- a/tests/mmptest/Info.plist +++ b/tests/mmptest/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/mmptest/src/CodeStrippingTests.cs b/tests/mmptest/src/CodeStrippingTests.cs index b7f4c907a2a7..0d63975ccf34 100644 --- a/tests/mmptest/src/CodeStrippingTests.cs +++ b/tests/mmptest/src/CodeStrippingTests.cs @@ -117,7 +117,7 @@ public void ExplictStripOption_ThirdPartyLibrary_AndWarnsIfSo (bool? strip, bool } else { Assert.AreEqual (2, architectures.Count, "libTest.dylib should contain 2+ architectures"); Assert.That (architectures, Is.EquivalentTo (new Abi [] { Abi.i386, Abi.x86_64 }), "libTest.dylib should be x86_64 + i386"); - testResult.Messages.AssertWarningCount (1); // dylib ([...]/xamarin-macios/tests/mmptest/bin/Debug/tmp-test-dir/Xamarin.MMP.Tests.MMPTests.RunMMPTest47/bin/Release/UnifiedExample.app/Contents/MonoBundle/libTest.dylib) was built for newer macOS version (10.11) than being linked (10.9) + testResult.Messages.AssertWarningCount (0); } }); } diff --git a/tests/mono-native/Introspection.cs b/tests/mono-native/Introspection.cs index 0af4e827c69d..6343229c77ca 100644 --- a/tests/mono-native/Introspection.cs +++ b/tests/mono-native/Introspection.cs @@ -33,7 +33,6 @@ int CountFiles (string pattern) void CheckDynamicLibrary () { AssertShouldExist (MonoNativeConfig.DynamicLibraryName); - AssertShouldNotExist (MonoNativeConfig.GetDynamicLibraryName (!MonoNativeConfig.UsingCompat)); AssertShouldNotExist ("libmono-native.dylib"); var count = CountFiles ("libmono-native*"); diff --git a/tests/mono-native/iOS/Info.plist b/tests/mono-native/iOS/Info.plist index df1e8fa700a6..6415bfd4d6f2 100644 --- a/tests/mono-native/iOS/Info.plist +++ b/tests/mono-native/iOS/Info.plist @@ -9,7 +9,7 @@ CFBundleName MonoNativeTest MinimumOSVersion - 7.0 + 11.0 NSAppTransportSecurity NSAllowsArbitraryLoads diff --git a/tests/mono-native/iOS/mono-native.csproj.template b/tests/mono-native/iOS/mono-native.csproj.template index 70f8990ebab7..18c13ef180c5 100644 --- a/tests/mono-native/iOS/mono-native.csproj.template +++ b/tests/mono-native/iOS/mono-native.csproj.template @@ -36,7 +36,7 @@ None True -v -v - i386, x86_64 + x86_64 iPhone Developer HttpClientHandler @@ -50,42 +50,10 @@ None True -v -v - i386, x86_64 + x86_64 HttpClientHandler - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;$(DefineConstants) - prompt - 4 - iPhone Developer - True - True - -v -v - ARMv7, ARM64 - SdkOnly - HttpClientHandler - - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;$(DefineConstants) - prompt - 4 - iPhone Developer - True - True - -v -v - ARMv7 - SdkOnly - HttpClientHandler - - True full False @@ -102,36 +70,6 @@ HttpClientHandler - none - True - bin\iPhone\$(Configuration)-unified - $(DefineConstants) - prompt - 4 - iPhone Developer - True - -v -v - ARMv7, ARM64 - true - SdkOnly - HttpClientHandler - - - none - True - bin\iPhone\$(Configuration)-unified - $(DefineConstants) - prompt - 4 - iPhone Developer - True - -v -v - ARMv7 - true - SdkOnly - HttpClientHandler - - none True bin\iPhone\$(Configuration)-unified diff --git a/tests/mono-native/macOS/Info.plist b/tests/mono-native/macOS/Info.plist index 087768976449..ff6ae70a155b 100644 --- a/tests/mono-native/macOS/Info.plist +++ b/tests/mono-native/macOS/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.10 + 10.15 CFBundleDevelopmentRegion en CFBundleInfoDictionaryVersion diff --git a/tests/monotouch-test/Info.plist b/tests/monotouch-test/Info.plist index 10d4a54ba822..9004a1a4b358 100644 --- a/tests/monotouch-test/Info.plist +++ b/tests/monotouch-test/Info.plist @@ -9,7 +9,7 @@ CFBundleName MonoTouchTest MinimumOSVersion - 7.0 + 11.0 NSAppTransportSecurity NSAllowsArbitraryLoads diff --git a/tests/monotouch-test/monotouch-test.csproj b/tests/monotouch-test/monotouch-test.csproj index 31c7616f7548..8c0a1671f7d1 100644 --- a/tests/monotouch-test/monotouch-test.csproj +++ b/tests/monotouch-test/monotouch-test.csproj @@ -30,7 +30,7 @@ True -v -v -v -v True - i386, x86_64 + x86_64 Entitlements.plist iPhone Developer Apple Development @@ -46,7 +46,7 @@ None -v -v -v -v True - i386, x86_64 + x86_64 Entitlements.plist @@ -60,71 +60,13 @@ True iPhone Developer -v -v -v -v - ARMv7, ARM64 + ARM64 True true - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;DEVICE;$(DefineConstants) - prompt - 0 - True - iPhone Developer - -v -v -v -v - ARM64 - True - true - - - True - full - False - bin\iPhone\$(Configuration)-unified - DEBUG;DEVICE;$(DefineConstants) - prompt - 0 - True - iPhone Developer - -v -v -v -v - ARMv7 - True - true - - none - False - bin\iPhone\$(Configuration)-unified - MONOTOUCH;DEVICE;$(DefineConstants) - prompt - 0 - iPhone Developer - -v -v -v -v - ARMv7, ARM64 - True - true - true - - - none - False - bin\iPhone\$(Configuration)-unified - MONOTOUCH;DEVICE;$(DefineConstants) - prompt - 0 - iPhone Developer - -v -v -v -v - ARMv7 - True - true - true - - none False bin\iPhone\$(Configuration)-unified diff --git a/tests/msbuild/Xamarin.MacDev.Tests/ProjectsTests/LinkedAssets.cs b/tests/msbuild/Xamarin.MacDev.Tests/ProjectsTests/LinkedAssets.cs index 3e8a9a914ceb..774b130e79f0 100644 --- a/tests/msbuild/Xamarin.MacDev.Tests/ProjectsTests/LinkedAssets.cs +++ b/tests/msbuild/Xamarin.MacDev.Tests/ProjectsTests/LinkedAssets.cs @@ -9,7 +9,7 @@ namespace Xamarin.MacDev.Tasks { [TestFixture ("iPhone")] [TestFixture ("iPhoneSimulator")] public class LinkedAssets : ProjectTest { - static readonly string [] IconNames = { "AppIcon29x29.png", "AppIcon29x29@2x.png", "AppIcon40x40@2x.png", "AppIcon57x57.png", "AppIcon57x57@2x.png", "AppIcon60x60@2x.png" }; + static readonly string [] IconNames = { "AppIcon60x60@2x.png" }; public LinkedAssets (string platform) : base (platform) { @@ -26,7 +26,7 @@ public void BuildTest () foreach (var name in IconNames) { var path = Path.Combine (AppBundlePath, name); - Assert.IsTrue (File.Exists (path), "The expected icon `{0}' does not exist.", name); + Assert.That (path, Does.Exist, "The expected icon `{0}' does not exist.", name); } } } diff --git a/tests/msbuild/Xamarin.MacDev.Tests/TargetTests/TargetTests.cs b/tests/msbuild/Xamarin.MacDev.Tests/TargetTests/TargetTests.cs index bd2c680c8bc6..6cf38341ca61 100644 --- a/tests/msbuild/Xamarin.MacDev.Tests/TargetTests/TargetTests.cs +++ b/tests/msbuild/Xamarin.MacDev.Tests/TargetTests/TargetTests.cs @@ -33,11 +33,6 @@ string [] ExpectedExecutableBundleResources { "FolderView.nib", "iPhoneView.nib", "image.png", - "AppIcons29x29.png", - "AppIcons29x29@2x.png", - "AppIcons40x40@2x.png", - "AppIcons57x57.png", - "AppIcons57x57@2x.png", "AppIcons60x60@2x.png", "LaunchImage-568h@2x.png", "LaunchImage.png", @@ -136,7 +131,7 @@ static void BundleResourceExists (string path) } } - Assert.IsTrue (File.Exists (path), $"Existence of {path}"); + Assert.That (path, Does.Exist, $"Existence of {path}"); } [Test] @@ -224,7 +219,7 @@ public void CopyContentToBundle () RunTarget (MonoTouchProject, TargetName.CopyResourcesToBundle); foreach (var v in ExpectedExecutableBundleResources) - Assert.IsTrue (File.Exists (v) || Directory.Exists (v), string.Format ("{0} was not copied to the bundle", Path.GetFullPath (v))); + Assert.That (v, Does.Exist, string.Format ("{0} was not copied to the bundle", Path.GetFullPath (v))); } [Test] @@ -503,7 +498,7 @@ public void UnpackLibraryResources_ExecutableProject () // We unpack 4 embedded resources from the library project into BundleResources RunTarget (MonoTouchProject, TargetName.Build); var bundleResources = MonoTouchProjectInstance.GetItems ("_BundleResourceWithLogicalName").ToArray (); - Assert.IsTrue (bundleResources.Length >= 33, "#1"); + Assert.That (bundleResources.Length, Is.GreaterThanOrEqualTo (30), "#1\n\t" + string.Join ("\n\t", bundleResources.Select (v => v.EvaluatedInclude))); } [Test] @@ -535,32 +530,24 @@ public void BundleResources () RunTarget (MonoTouchProject, TargetName.CollectBundleResources); var bundleItems = MonoTouchProjectInstance.GetItems ("_BundleResourceWithLogicalName").ToArray (); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine ("Folder", "BundleResource.txt") && i.GetMetadataValue ("LogicalName") == "Folder/BundleResource.txt"), "#1"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine ("Folder", "Content.txt") && i.GetMetadataValue ("LogicalName") == "Folder/Content.txt"), "#2"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == "LinkedBundleResource.txt" && i.GetMetadataValue ("LogicalName") == "Folder/LinkedBundleResource.txt"), "#3"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == "LinkedContent.txt" && i.GetMetadataValue ("LogicalName") == "Folder/LinkedContent.txt"), "#4"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "AppIcons29x29.png") && i.GetMetadataValue ("LogicalName") == "AppIcons29x29.png"), "#5"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "AppIcons29x29@2x.png") && i.GetMetadataValue ("LogicalName") == "AppIcons29x29@2x.png"), "#6"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "AppIcons40x40@2x.png") && i.GetMetadataValue ("LogicalName") == "AppIcons40x40@2x.png"), "#7"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "AppIcons57x57.png") && i.GetMetadataValue ("LogicalName") == "AppIcons57x57.png"), "#8"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "AppIcons57x57@2x.png") && i.GetMetadataValue ("LogicalName") == "AppIcons57x57@2x.png"), "#9"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "AppIcons60x60@2x.png") && i.GetMetadataValue ("LogicalName") == "AppIcons60x60@2x.png"), "#10"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "LaunchImage-568h@2x.png") && i.GetMetadataValue ("LogicalName") == "LaunchImage-568h@2x.png"), "#11"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "LaunchImage.png") && i.GetMetadataValue ("LogicalName") == "LaunchImage.png"), "#12"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "LaunchImage@2x.png") && i.GetMetadataValue ("LogicalName") == "LaunchImage@2x.png"), "#13"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "MainStoryboard.storyboardc", "1-view-2.nib") && i.GetMetadataValue ("LogicalName") == "MainStoryboard.storyboardc/1-view-2.nib"), "#14"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "MainStoryboard.storyboardc", "Info.plist") && i.GetMetadataValue ("LogicalName") == "MainStoryboard.storyboardc/Info.plist"), "#15"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "MainStoryboard.storyboardc", "UIViewController-1.nib") && i.GetMetadataValue ("LogicalName") == "MainStoryboard.storyboardc/UIViewController-1.nib"), "#16"); - if (bundleItems.Length > ExpectedExecutableBundleResources.Length) { - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "en.lproj", "TranslatedView.nib", "runtime.nib") && i.GetMetadataValue ("LogicalName") == "en.lproj/TranslatedView.nib/runtime.nib"), "#17"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "FolderView.nib", "runtime.nib") && i.GetMetadataValue ("LogicalName") == "FolderView.nib/runtime.nib"), "#18"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "iPhoneView.nib", "runtime.nib") && i.GetMetadataValue ("LogicalName") == "iPhoneView.nib/runtime.nib"), "#19"); - } else { - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "en.lproj", "TranslatedView.nib") && i.GetMetadataValue ("LogicalName") == "en.lproj/TranslatedView.nib"), "#17"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "FolderView.nib") && i.GetMetadataValue ("LogicalName") == "FolderView.nib"), "#18"); - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "iPhoneView.nib") && i.GetMetadataValue ("LogicalName") == "iPhoneView.nib"), "#19"); - } - Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine ("Resources", "image.png") && i.GetMetadataValue ("LogicalName") == "image.png"), "#20"); + + var allBundleItems = "\n\t" + string.Join ("\n\t", bundleItems.Select (v => v.EvaluatedInclude)); + + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine ("Folder", "BundleResource.txt") && i.GetMetadataValue ("LogicalName") == "Folder/BundleResource.txt"), "#1" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine ("Folder", "Content.txt") && i.GetMetadataValue ("LogicalName") == "Folder/Content.txt"), "#2" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == "LinkedBundleResource.txt" && i.GetMetadataValue ("LogicalName") == "Folder/LinkedBundleResource.txt"), "#3" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == "LinkedContent.txt" && i.GetMetadataValue ("LogicalName") == "Folder/LinkedContent.txt"), "#4" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "AppIcons60x60@2x.png") && i.GetMetadataValue ("LogicalName") == "AppIcons60x60@2x.png"), "#10" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "LaunchImage-568h@2x.png") && i.GetMetadataValue ("LogicalName") == "LaunchImage-568h@2x.png"), "#11" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "LaunchImage.png") && i.GetMetadataValue ("LogicalName") == "LaunchImage.png"), "#12" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (actool, "LaunchImage@2x.png") && i.GetMetadataValue ("LogicalName") == "LaunchImage@2x.png"), "#13" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "MainStoryboard.storyboardc", "1-view-2.nib") && i.GetMetadataValue ("LogicalName") == "MainStoryboard.storyboardc/1-view-2.nib"), "#14" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "MainStoryboard.storyboardc", "Info.plist") && i.GetMetadataValue ("LogicalName") == "MainStoryboard.storyboardc/Info.plist"), "#15" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "MainStoryboard.storyboardc", "UIViewController-1.nib") && i.GetMetadataValue ("LogicalName") == "MainStoryboard.storyboardc/UIViewController-1.nib"), "#16" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "en.lproj", "TranslatedView.nib") && i.GetMetadataValue ("LogicalName") == "en.lproj/TranslatedView.nib"), "#17" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "FolderView.nib") && i.GetMetadataValue ("LogicalName") == "FolderView.nib"), "#18" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine (ibtool, "iPhoneView.nib") && i.GetMetadataValue ("LogicalName") == "iPhoneView.nib"), "#19" + allBundleItems); + Assert.IsTrue (bundleItems.Any (i => i.EvaluatedInclude == Path.Combine ("Resources", "image.png") && i.GetMetadataValue ("LogicalName") == "image.png"), "#20" + allBundleItems); } [Test (Description = "Xambug #39137")] diff --git a/tests/mtouch/MTouch.cs b/tests/mtouch/MTouch.cs index e468a86dd6be..715926717a16 100644 --- a/tests/mtouch/MTouch.cs +++ b/tests/mtouch/MTouch.cs @@ -2679,13 +2679,13 @@ public void GarbageCollectors () } [Test] - [TestCase (Target.Dev, Profile.iOS, "linker/ios", "dont link", "Release64")] - [TestCase (Target.Dev, Profile.iOS, "linker/ios", "link all", "Release64")] - [TestCase (Target.Dev, Profile.iOS, "linker/ios", "link sdk", "Release64")] - [TestCase (Target.Dev, Profile.iOS, "", "monotouch-test", "Release64")] - [TestCase (Target.Dev, Profile.iOS, "bcl-test/generated/iOS", "mscorlib Part 1", "Release64")] - [TestCase (Target.Dev, Profile.iOS, "bcl-test/generated/iOS", "mscorlib Part 2", "Release64")] - [TestCase (Target.Dev, Profile.iOS, "bcl-test/generated/iOS", "BCL tests group 1", "Release64")] + [TestCase (Target.Dev, Profile.iOS, "linker/ios", "dont link", "Release")] + [TestCase (Target.Dev, Profile.iOS, "linker/ios", "link all", "Release")] + [TestCase (Target.Dev, Profile.iOS, "linker/ios", "link sdk", "Release")] + [TestCase (Target.Dev, Profile.iOS, "", "monotouch-test", "Release")] + [TestCase (Target.Dev, Profile.iOS, "bcl-test/generated/iOS", "mscorlib Part 1", "Release")] + [TestCase (Target.Dev, Profile.iOS, "bcl-test/generated/iOS", "mscorlib Part 2", "Release")] + [TestCase (Target.Dev, Profile.iOS, "bcl-test/generated/iOS", "BCL tests group 1", "Release")] public void BuildTestProject (Target target, Profile profile, string subdir, string testname, string configuration) { if (target == Target.Dev) diff --git a/tests/qa-regression/EndSheet/Info.plist b/tests/qa-regression/EndSheet/Info.plist index eaa84beb7760..97e47da6eb95 100644 --- a/tests/qa-regression/EndSheet/Info.plist +++ b/tests/qa-regression/EndSheet/Info.plist @@ -7,7 +7,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSMainNibFile MainMenu NSPrincipalClass diff --git a/tests/qa-regression/ObjCBlocks/Info.plist b/tests/qa-regression/ObjCBlocks/Info.plist index 5b103dae5e98..1042c20143ac 100644 --- a/tests/qa-regression/ObjCBlocks/Info.plist +++ b/tests/qa-regression/ObjCBlocks/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSMainNibFile MainMenu NSPrincipalClass diff --git a/tests/qa-regression/WebKitDelegateEvents/Info.plist b/tests/qa-regression/WebKitDelegateEvents/Info.plist index 85aa075bd6ef..bd60f4b333a5 100644 --- a/tests/qa-regression/WebKitDelegateEvents/Info.plist +++ b/tests/qa-regression/WebKitDelegateEvents/Info.plist @@ -11,7 +11,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSMainNibFile MainMenu NSPrincipalClass diff --git a/tests/sampletester/BaselineTest/Info.plist b/tests/sampletester/BaselineTest/Info.plist index bba9b4ffd48a..39c7ebc9116d 100644 --- a/tests/sampletester/BaselineTest/Info.plist +++ b/tests/sampletester/BaselineTest/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 8.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/templates/TodayContainer/TodayContainer.csproj b/tests/templates/TodayContainer/TodayContainer.csproj index 28c7f66b2e90..c6355423b185 100644 --- a/tests/templates/TodayContainer/TodayContainer.csproj +++ b/tests/templates/TodayContainer/TodayContainer.csproj @@ -15,20 +15,20 @@ PackageReference - x86_64,i386 + x86_64 None - ARM64,ARMv7 + ARM64 SdkOnly - + True full False True - + False True False diff --git a/tests/templates/TodayExtension/Info.plist b/tests/templates/TodayExtension/Info.plist index be86c3072297..0341e417b3d0 100644 --- a/tests/templates/TodayExtension/Info.plist +++ b/tests/templates/TodayExtension/Info.plist @@ -9,7 +9,7 @@ CFBundleName TodayExtension MinimumOSVersion - 8.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/templates/TodayExtension/TodayExtension.csproj b/tests/templates/TodayExtension/TodayExtension.csproj index de2cdc7130d0..6e33f7a6025b 100644 --- a/tests/templates/TodayExtension/TodayExtension.csproj +++ b/tests/templates/TodayExtension/TodayExtension.csproj @@ -22,10 +22,10 @@ PackageReference - i386, x86_64 + x86_64 - ARMv7, ARM64 + ARM64 diff --git a/tests/templates/WatchApp/App.csproj b/tests/templates/WatchApp/App.csproj index 474d8d1efd7f..6429fceb1d1f 100644 --- a/tests/templates/WatchApp/App.csproj +++ b/tests/templates/WatchApp/App.csproj @@ -22,7 +22,7 @@ DEBUG; prompt 4 - i386 + x86_64 None true true @@ -36,29 +36,7 @@ true prompt 4 - ARMv7k,ARM64_32 - %WATCHAPP_PATH%Entitlements.plist - true - iPhone Developer - - - bin\iPhone\$(Configuration)-watchos-app - full - true - prompt - 4 - ARMv7k - %WATCHAPP_PATH%Entitlements.plist - true - iPhone Developer - - - bin\iPhone\$(Configuration)-watchos-app - full - true - prompt - 4 - ARMv7k + ARM64_32 %WATCHAPP_PATH%Entitlements.plist true iPhone Developer @@ -69,43 +47,11 @@ true prompt 4 - i386 + x86_64 None iPhone Developer - bin\iPhone\$(Configuration)-watchos-app - true - full - false - DEBUG; - prompt - 4 - ARMv7k,ARM64_32 - %WATCHAPP_PATH%Entitlements.plist - true - iPhone Developer - true - true - true - - - bin\iPhone\$(Configuration)-watchos-app - true - full - false - DEBUG; - prompt - 4 - ARMv7k - %WATCHAPP_PATH%Entitlements.plist - true - iPhone Developer - true - true - true - - bin\iPhone\$(Configuration)-watchos-app true full diff --git a/tests/templates/WatchApp/Info.plist b/tests/templates/WatchApp/Info.plist index 72c5df8eaadf..a1d35df0c9a9 100644 --- a/tests/templates/WatchApp/Info.plist +++ b/tests/templates/WatchApp/Info.plist @@ -13,7 +13,7 @@ CFBundleVersion 1.33 MinimumOSVersion - 2.0 + 4.0 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/tests/templates/WatchContainer/Container.csproj b/tests/templates/WatchContainer/Container.csproj index 23a76a1a5106..2ff1c2574a31 100644 --- a/tests/templates/WatchContainer/Container.csproj +++ b/tests/templates/WatchContainer/Container.csproj @@ -27,7 +27,7 @@ iPhone Developer true - + bin\iPhone\$(Configuration)-watchos full true @@ -49,7 +49,7 @@ None iPhone Developer - + bin\iPhone\$(Configuration)-watchos true full diff --git a/tests/templates/WatchContainer/Info.plist b/tests/templates/WatchContainer/Info.plist index aecfa9734d12..10119fca7ec1 100644 --- a/tests/templates/WatchContainer/Info.plist +++ b/tests/templates/WatchContainer/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 9.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/templates/WatchExtension/Extension.csproj b/tests/templates/WatchExtension/Extension.csproj index 3d4c6d9fd8d6..90e71887f397 100644 --- a/tests/templates/WatchExtension/Extension.csproj +++ b/tests/templates/WatchExtension/Extension.csproj @@ -26,7 +26,7 @@ True True - i386 + x86_64 iPhone Developer None @@ -40,37 +40,9 @@ None True - i386 + x86_64 - True - full - False - bin\iPhone\Debug-watchos-extension - DEBUG;;$(DefineConstants) - prompt - 0 - True - iPhone Developer - - ARMv7k,ARM64_32 - True - - - True - full - False - bin\iPhone\Debug-watchos-extension - DEBUG;;$(DefineConstants) - prompt - 0 - True - iPhone Developer - - ARMv7k - True - - True full False @@ -85,34 +57,6 @@ True - none - False - bin\iPhone\Release-watchos-extension - MONOTOUCH;;$(DefineConstants) - prompt - 4 - iPhone Developer - -v -v -v -v --nosymbolstrip - ARMv7k,ARM64_32 - True - true - true - - - none - False - bin\iPhone\Release-watchos-extension - MONOTOUCH;;$(DefineConstants) - prompt - 4 - iPhone Developer - -v -v -v -v --nosymbolstrip - ARMv7k - True - true - true - - none False bin\iPhone\Release-watchos-extension diff --git a/tests/templates/tvOSApp/Info.plist b/tests/templates/tvOSApp/Info.plist index 29fa067f258c..95f319c22533 100644 --- a/tests/templates/tvOSApp/Info.plist +++ b/tests/templates/tvOSApp/Info.plist @@ -9,7 +9,7 @@ CFBundleName TestApp MinimumOSVersion - 9.0 + 11.0 UIDeviceFamily 4 diff --git a/tests/test-libraries/XTest-Info-iphoneos.plist b/tests/test-libraries/XTest-Info-iphoneos.plist index 0c115e996f99..6b85625d8269 100644 --- a/tests/test-libraries/XTest-Info-iphoneos.plist +++ b/tests/test-libraries/XTest-Info-iphoneos.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 8.1 + 11.0 UIDeviceFamily 1 diff --git a/tests/test-libraries/XTest-Info-iphonesimulator.plist b/tests/test-libraries/XTest-Info-iphonesimulator.plist index 0c115e996f99..6b85625d8269 100644 --- a/tests/test-libraries/XTest-Info-iphonesimulator.plist +++ b/tests/test-libraries/XTest-Info-iphonesimulator.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 8.1 + 11.0 UIDeviceFamily 1 diff --git a/tests/test-libraries/XTest-Info-macos.plist b/tests/test-libraries/XTest-Info-macos.plist index 48b02f9c6ee1..a7b7538a4fd2 100644 --- a/tests/test-libraries/XTest-Info-macos.plist +++ b/tests/test-libraries/XTest-Info-macos.plist @@ -43,6 +43,6 @@ DTXcodeBuild 6C131e LSMinimumSystemVersion - 10.9 + 10.15 diff --git a/tests/test-libraries/XTest-Info-tvos.plist b/tests/test-libraries/XTest-Info-tvos.plist index 6714125a24fe..820a2e45eb0d 100644 --- a/tests/test-libraries/XTest-Info-tvos.plist +++ b/tests/test-libraries/XTest-Info-tvos.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 9.0 + 11.0 UIDeviceFamily 3 diff --git a/tests/test-libraries/XTest-Info-tvsimulator.plist b/tests/test-libraries/XTest-Info-tvsimulator.plist index 6714125a24fe..820a2e45eb0d 100644 --- a/tests/test-libraries/XTest-Info-tvsimulator.plist +++ b/tests/test-libraries/XTest-Info-tvsimulator.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 9.0 + 11.0 UIDeviceFamily 3 diff --git a/tests/test-libraries/XTest-Info-watchos.plist b/tests/test-libraries/XTest-Info-watchos.plist index f75bf9cfd30d..46684862038b 100644 --- a/tests/test-libraries/XTest-Info-watchos.plist +++ b/tests/test-libraries/XTest-Info-watchos.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 2.0 + 4.0 UIDeviceFamily 4 diff --git a/tests/test-libraries/XTest-Info-watchsimulator.plist b/tests/test-libraries/XTest-Info-watchsimulator.plist index f75bf9cfd30d..46684862038b 100644 --- a/tests/test-libraries/XTest-Info-watchsimulator.plist +++ b/tests/test-libraries/XTest-Info-watchsimulator.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 2.0 + 4.0 UIDeviceFamily 4 diff --git a/tests/test-libraries/frameworks/Info-iphoneos.plist b/tests/test-libraries/frameworks/Info-iphoneos.plist index cb2329386c08..5676e89872ff 100644 --- a/tests/test-libraries/frameworks/Info-iphoneos.plist +++ b/tests/test-libraries/frameworks/Info-iphoneos.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 8.1 + 11.0 UIDeviceFamily 1 diff --git a/tests/test-libraries/frameworks/Info-iphonesimulator.plist b/tests/test-libraries/frameworks/Info-iphonesimulator.plist index cb2329386c08..5676e89872ff 100644 --- a/tests/test-libraries/frameworks/Info-iphonesimulator.plist +++ b/tests/test-libraries/frameworks/Info-iphonesimulator.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 8.1 + 11.0 UIDeviceFamily 1 diff --git a/tests/test-libraries/frameworks/Info-mac.plist b/tests/test-libraries/frameworks/Info-mac.plist index b3aa891a7121..96d692dfdbbc 100644 --- a/tests/test-libraries/frameworks/Info-mac.plist +++ b/tests/test-libraries/frameworks/Info-mac.plist @@ -43,6 +43,6 @@ DTXcodeBuild 6C131e LSMinimumSystemVersion - 10.9 + 10.15 diff --git a/tests/test-libraries/frameworks/Info-tvos.plist b/tests/test-libraries/frameworks/Info-tvos.plist index 96779468cdc9..0542fbe5917a 100644 --- a/tests/test-libraries/frameworks/Info-tvos.plist +++ b/tests/test-libraries/frameworks/Info-tvos.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 9.0 + 11.0 UIDeviceFamily 3 diff --git a/tests/test-libraries/frameworks/Info-tvsimulator.plist b/tests/test-libraries/frameworks/Info-tvsimulator.plist index 96779468cdc9..0542fbe5917a 100644 --- a/tests/test-libraries/frameworks/Info-tvsimulator.plist +++ b/tests/test-libraries/frameworks/Info-tvsimulator.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 9.0 + 11.0 UIDeviceFamily 3 diff --git a/tests/test-libraries/frameworks/Info-watchos.plist b/tests/test-libraries/frameworks/Info-watchos.plist index 2ae197bc928d..9962985101ed 100644 --- a/tests/test-libraries/frameworks/Info-watchos.plist +++ b/tests/test-libraries/frameworks/Info-watchos.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 2.0 + 4.0 UIDeviceFamily 4 diff --git a/tests/test-libraries/frameworks/Info-watchsimulator.plist b/tests/test-libraries/frameworks/Info-watchsimulator.plist index 2ae197bc928d..9962985101ed 100644 --- a/tests/test-libraries/frameworks/Info-watchsimulator.plist +++ b/tests/test-libraries/frameworks/Info-watchsimulator.plist @@ -47,7 +47,7 @@ DTXcodeBuild 6C131e MinimumOSVersion - 2.0 + 4.0 UIDeviceFamily 4 diff --git a/tests/tests.sln b/tests/tests.sln index 3f6b5ddee1f4..0b01b5ab0b56 100644 --- a/tests/tests.sln +++ b/tests/tests.sln @@ -65,10 +65,6 @@ Global Release|iPhone = Release|iPhone Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU - Debug32|iPhone = Debug32|iPhone - Debug64|iPhone = Debug64|iPhone - Release32|iPhone = Release32|iPhone - Release64|iPhone = Release64|iPhone EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {AC6D070F-2ED4-4701-B701-81915B931D1D}.Debug|iPhone.ActiveCfg = Debug|iPhone @@ -79,14 +75,6 @@ Global {AC6D070F-2ED4-4701-B701-81915B931D1D}.Release|iPhone.Build.0 = Release|iPhone {AC6D070F-2ED4-4701-B701-81915B931D1D}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {AC6D070F-2ED4-4701-B701-81915B931D1D}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {AC6D070F-2ED4-4701-B701-81915B931D1D}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {AC6D070F-2ED4-4701-B701-81915B931D1D}.Debug32|iPhone.Build.0 = Debug32|iPhone - {AC6D070F-2ED4-4701-B701-81915B931D1D}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {AC6D070F-2ED4-4701-B701-81915B931D1D}.Debug64|iPhone.Build.0 = Debug64|iPhone - {AC6D070F-2ED4-4701-B701-81915B931D1D}.Release32|iPhone.ActiveCfg = Release32|iPhone - {AC6D070F-2ED4-4701-B701-81915B931D1D}.Release32|iPhone.Build.0 = Release32|iPhone - {AC6D070F-2ED4-4701-B701-81915B931D1D}.Release64|iPhone.ActiveCfg = Release64|iPhone - {AC6D070F-2ED4-4701-B701-81915B931D1D}.Release64|iPhone.Build.0 = Release64|iPhone {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Debug|iPhone.ActiveCfg = Debug|iPhone {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Debug|iPhone.Build.0 = Debug|iPhone {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -95,14 +83,6 @@ Global {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Release|iPhone.Build.0 = Release|iPhone {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Debug32|iPhone.Build.0 = Debug32|iPhone - {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Debug64|iPhone.Build.0 = Debug64|iPhone - {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Release32|iPhone.ActiveCfg = Release32|iPhone - {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Release32|iPhone.Build.0 = Release32|iPhone - {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Release64|iPhone.ActiveCfg = Release64|iPhone - {2ECCE3D0-AAD1-46B9-B190-B567249DCF9C}.Release64|iPhone.Build.0 = Release64|iPhone {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Debug|iPhone.ActiveCfg = Debug|iPhone {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Debug|iPhone.Build.0 = Debug|iPhone {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -111,14 +91,6 @@ Global {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Release|iPhone.Build.0 = Release|iPhone {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Debug32|iPhone.Build.0 = Debug32|iPhone - {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Debug64|iPhone.Build.0 = Debug64|iPhone - {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Release32|iPhone.ActiveCfg = Release32|iPhone - {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Release32|iPhone.Build.0 = Release32|iPhone - {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Release64|iPhone.ActiveCfg = Release64|iPhone - {5BDBB8B4-5D6B-43E8-9664-C4D5CA3C9B11}.Release64|iPhone.Build.0 = Release64|iPhone {7862FE5A-530A-4651-825F-C80836B0A3A1}.Debug|iPhone.ActiveCfg = Debug|iPhone {7862FE5A-530A-4651-825F-C80836B0A3A1}.Debug|iPhone.Build.0 = Debug|iPhone {7862FE5A-530A-4651-825F-C80836B0A3A1}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -127,14 +99,6 @@ Global {7862FE5A-530A-4651-825F-C80836B0A3A1}.Release|iPhone.Build.0 = Release|iPhone {7862FE5A-530A-4651-825F-C80836B0A3A1}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {7862FE5A-530A-4651-825F-C80836B0A3A1}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {7862FE5A-530A-4651-825F-C80836B0A3A1}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {7862FE5A-530A-4651-825F-C80836B0A3A1}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {7862FE5A-530A-4651-825F-C80836B0A3A1}.Debug32|iPhone.Build.0 = Debug32|iPhone - {7862FE5A-530A-4651-825F-C80836B0A3A1}.Debug64|iPhone.Build.0 = Debug64|iPhone - {7862FE5A-530A-4651-825F-C80836B0A3A1}.Release32|iPhone.ActiveCfg = Release32|iPhone - {7862FE5A-530A-4651-825F-C80836B0A3A1}.Release32|iPhone.Build.0 = Release32|iPhone - {7862FE5A-530A-4651-825F-C80836B0A3A1}.Release64|iPhone.ActiveCfg = Release64|iPhone - {7862FE5A-530A-4651-825F-C80836B0A3A1}.Release64|iPhone.Build.0 = Release64|iPhone {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Debug|Any CPU.Build.0 = Debug|Any CPU {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Debug|iPhone.ActiveCfg = Debug|Any CPU @@ -147,14 +111,6 @@ Global {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Release|iPhone.Build.0 = Release|Any CPU {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Debug32|iPhone.Build.0 = Debug|Any CPU - {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Debug64|iPhone.Build.0 = Debug|Any CPU - {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Release32|iPhone.ActiveCfg = Release|Any CPU - {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Release32|iPhone.Build.0 = Release|Any CPU - {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Release64|iPhone.ActiveCfg = Release|Any CPU - {FE6EDEE9-ADF6-4F42-BCF2-B68C0A44EC3D}.Release64|iPhone.Build.0 = Release|Any CPU {676F527D-3352-42EA-9DE2-181C45003568}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {676F527D-3352-42EA-9DE2-181C45003568}.Debug|Any CPU.Build.0 = Debug|Any CPU {676F527D-3352-42EA-9DE2-181C45003568}.Debug|iPhone.ActiveCfg = Debug|Any CPU @@ -167,14 +123,6 @@ Global {676F527D-3352-42EA-9DE2-181C45003568}.Release|iPhone.Build.0 = Release|Any CPU {676F527D-3352-42EA-9DE2-181C45003568}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU {676F527D-3352-42EA-9DE2-181C45003568}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {676F527D-3352-42EA-9DE2-181C45003568}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {676F527D-3352-42EA-9DE2-181C45003568}.Debug32|iPhone.Build.0 = Debug|Any CPU - {676F527D-3352-42EA-9DE2-181C45003568}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {676F527D-3352-42EA-9DE2-181C45003568}.Debug64|iPhone.Build.0 = Debug|Any CPU - {676F527D-3352-42EA-9DE2-181C45003568}.Release32|iPhone.ActiveCfg = Release|Any CPU - {676F527D-3352-42EA-9DE2-181C45003568}.Release32|iPhone.Build.0 = Release|Any CPU - {676F527D-3352-42EA-9DE2-181C45003568}.Release64|iPhone.ActiveCfg = Release|Any CPU - {676F527D-3352-42EA-9DE2-181C45003568}.Release64|iPhone.Build.0 = Release|Any CPU {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Debug|Any CPU.Build.0 = Debug|Any CPU {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Debug|iPhone.ActiveCfg = Debug|Any CPU @@ -187,14 +135,6 @@ Global {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Release|iPhone.Build.0 = Release|Any CPU {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Debug32|iPhone.ActiveCfg = Debug32|Any CPU - {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Debug32|iPhone.Build.0 = Debug32|Any CPU - {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Debug64|iPhone.Build.0 = Debug|Any CPU - {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Release32|iPhone.ActiveCfg = Release|Any CPU - {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Release32|iPhone.Build.0 = Release|Any CPU - {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Release64|iPhone.ActiveCfg = Release|Any CPU - {D6667423-EDD8-4B50-9D98-1AC5D8A8A4EA}.Release64|iPhone.Build.0 = Release|Any CPU {E40B0B77-3467-4891-9117-7AF8F248E306}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E40B0B77-3467-4891-9117-7AF8F248E306}.Debug|Any CPU.Build.0 = Debug|Any CPU {E40B0B77-3467-4891-9117-7AF8F248E306}.Debug|iPhone.ActiveCfg = Debug|Any CPU @@ -207,14 +147,6 @@ Global {E40B0B77-3467-4891-9117-7AF8F248E306}.Release|iPhone.Build.0 = Release|Any CPU {E40B0B77-3467-4891-9117-7AF8F248E306}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU {E40B0B77-3467-4891-9117-7AF8F248E306}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {E40B0B77-3467-4891-9117-7AF8F248E306}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {E40B0B77-3467-4891-9117-7AF8F248E306}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {E40B0B77-3467-4891-9117-7AF8F248E306}.Debug32|iPhone.Build.0 = Debug|Any CPU - {E40B0B77-3467-4891-9117-7AF8F248E306}.Debug64|iPhone.Build.0 = Debug|Any CPU - {E40B0B77-3467-4891-9117-7AF8F248E306}.Release32|iPhone.ActiveCfg = Release|Any CPU - {E40B0B77-3467-4891-9117-7AF8F248E306}.Release32|iPhone.Build.0 = Release|Any CPU - {E40B0B77-3467-4891-9117-7AF8F248E306}.Release64|iPhone.ActiveCfg = Release|Any CPU - {E40B0B77-3467-4891-9117-7AF8F248E306}.Release64|iPhone.Build.0 = Release|Any CPU {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Debug|Any CPU.Build.0 = Debug|Any CPU {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Debug|iPhone.ActiveCfg = Debug|Any CPU @@ -227,14 +159,6 @@ Global {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Release|iPhone.Build.0 = Release|Any CPU {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Debug32|iPhone.Build.0 = Debug|Any CPU - {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Debug64|iPhone.Build.0 = Debug|Any CPU - {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Release32|iPhone.ActiveCfg = Release|Any CPU - {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Release32|iPhone.Build.0 = Release|Any CPU - {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Release64|iPhone.ActiveCfg = Release|Any CPU - {C7212169-BA46-413B-91CD-A32C52AD5E0D}.Release64|iPhone.Build.0 = Release|Any CPU {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Debug|iPhone.ActiveCfg = Debug|iPhone {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Debug|iPhone.Build.0 = Debug|iPhone {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -243,14 +167,6 @@ Global {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Release|iPhone.Build.0 = Release|iPhone {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Debug64|iPhone.Build.0 = Debug64|iPhone - {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Debug32|iPhone.Build.0 = Debug32|iPhone - {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Release32|iPhone.ActiveCfg = Release32|iPhone - {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Release32|iPhone.Build.0 = Release32|iPhone - {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Release64|iPhone.ActiveCfg = Release64|iPhone - {BEF0140A-A6A6-4074-B55F-03856A6B5862}.Release64|iPhone.Build.0 = Release64|iPhone {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Debug|iPhone.ActiveCfg = Debug|iPhone {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Debug|iPhone.Build.0 = Debug|iPhone {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -259,14 +175,6 @@ Global {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Release|iPhone.Build.0 = Release|iPhone {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Debug64|iPhone.Build.0 = Debug64|iPhone - {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Debug32|iPhone.Build.0 = Debug32|iPhone - {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Release32|iPhone.ActiveCfg = Release32|iPhone - {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Release32|iPhone.Build.0 = Release32|iPhone - {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Release64|iPhone.ActiveCfg = Release64|iPhone - {D7212E3D-CD1B-4E58-A11D-C7B7898168AA}.Release64|iPhone.Build.0 = Release64|iPhone {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Debug|iPhone.ActiveCfg = Debug|iPhone {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Debug|iPhone.Build.0 = Debug|iPhone {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -275,14 +183,6 @@ Global {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Release|iPhone.Build.0 = Release|iPhone {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Debug32|iPhone.Build.0 = Debug32|iPhone - {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Debug64|iPhone.Build.0 = Debug64|iPhone - {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Release32|iPhone.ActiveCfg = Release32|iPhone - {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Release32|iPhone.Build.0 = Release32|iPhone - {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Release64|iPhone.ActiveCfg = Release64|iPhone - {DA061019-04C3-4221-AF04-63F2BFB5DA42}.Release64|iPhone.Build.0 = Release64|iPhone {93268FFB-571C-4402-8899-027A7778D2C0}.Debug|iPhone.ActiveCfg = Debug|iPhone {93268FFB-571C-4402-8899-027A7778D2C0}.Debug|iPhone.Build.0 = Debug|iPhone {93268FFB-571C-4402-8899-027A7778D2C0}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -291,14 +191,6 @@ Global {93268FFB-571C-4402-8899-027A7778D2C0}.Release|iPhone.Build.0 = Release|iPhone {93268FFB-571C-4402-8899-027A7778D2C0}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {93268FFB-571C-4402-8899-027A7778D2C0}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {93268FFB-571C-4402-8899-027A7778D2C0}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {93268FFB-571C-4402-8899-027A7778D2C0}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {93268FFB-571C-4402-8899-027A7778D2C0}.Debug32|iPhone.Build.0 = Debug32|iPhone - {93268FFB-571C-4402-8899-027A7778D2C0}.Debug64|iPhone.Build.0 = Debug64|iPhone - {93268FFB-571C-4402-8899-027A7778D2C0}.Release32|iPhone.ActiveCfg = Release32|iPhone - {93268FFB-571C-4402-8899-027A7778D2C0}.Release32|iPhone.Build.0 = Release32|iPhone - {93268FFB-571C-4402-8899-027A7778D2C0}.Release64|iPhone.ActiveCfg = Release64|iPhone - {93268FFB-571C-4402-8899-027A7778D2C0}.Release64|iPhone.Build.0 = Release64|iPhone {208744BD-504E-47D7-9A98-1CF02454A6DA}.Debug|iPhone.ActiveCfg = Debug|iPhone {208744BD-504E-47D7-9A98-1CF02454A6DA}.Debug|iPhone.Build.0 = Debug|iPhone {208744BD-504E-47D7-9A98-1CF02454A6DA}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -307,14 +199,6 @@ Global {208744BD-504E-47D7-9A98-1CF02454A6DA}.Release|iPhone.Build.0 = Release|iPhone {208744BD-504E-47D7-9A98-1CF02454A6DA}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {208744BD-504E-47D7-9A98-1CF02454A6DA}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {208744BD-504E-47D7-9A98-1CF02454A6DA}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {208744BD-504E-47D7-9A98-1CF02454A6DA}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {208744BD-504E-47D7-9A98-1CF02454A6DA}.Debug32|iPhone.Build.0 = Debug32|iPhone - {208744BD-504E-47D7-9A98-1CF02454A6DA}.Debug64|iPhone.Build.0 = Debug64|iPhone - {208744BD-504E-47D7-9A98-1CF02454A6DA}.Release32|iPhone.ActiveCfg = Release32|iPhone - {208744BD-504E-47D7-9A98-1CF02454A6DA}.Release32|iPhone.Build.0 = Release32|iPhone - {208744BD-504E-47D7-9A98-1CF02454A6DA}.Release64|iPhone.ActiveCfg = Release64|iPhone - {208744BD-504E-47D7-9A98-1CF02454A6DA}.Release64|iPhone.Build.0 = Release64|iPhone {839212D5-C25B-4284-AA96-59C3872B8184}.Debug|iPhone.ActiveCfg = Debug|iPhone {839212D5-C25B-4284-AA96-59C3872B8184}.Debug|iPhone.Build.0 = Debug|iPhone {839212D5-C25B-4284-AA96-59C3872B8184}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -323,14 +207,6 @@ Global {839212D5-C25B-4284-AA96-59C3872B8184}.Release|iPhone.Build.0 = Release|iPhone {839212D5-C25B-4284-AA96-59C3872B8184}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {839212D5-C25B-4284-AA96-59C3872B8184}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {839212D5-C25B-4284-AA96-59C3872B8184}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {839212D5-C25B-4284-AA96-59C3872B8184}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {839212D5-C25B-4284-AA96-59C3872B8184}.Debug32|iPhone.Build.0 = Debug32|iPhone - {839212D5-C25B-4284-AA96-59C3872B8184}.Debug64|iPhone.Build.0 = Debug64|iPhone - {839212D5-C25B-4284-AA96-59C3872B8184}.Release32|iPhone.ActiveCfg = Release32|iPhone - {839212D5-C25B-4284-AA96-59C3872B8184}.Release32|iPhone.Build.0 = Release32|iPhone - {839212D5-C25B-4284-AA96-59C3872B8184}.Release64|iPhone.ActiveCfg = Release64|iPhone - {839212D5-C25B-4284-AA96-59C3872B8184}.Release64|iPhone.Build.0 = Release64|iPhone {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Debug|iPhone.ActiveCfg = Debug|iPhone {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Debug|iPhone.Build.0 = Debug|iPhone {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -339,14 +215,6 @@ Global {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Release|iPhone.Build.0 = Release|iPhone {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Debug32|iPhone.Build.0 = Debug32|iPhone - {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Debug64|iPhone.Build.0 = Debug64|iPhone - {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Release32|iPhone.ActiveCfg = Release32|iPhone - {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Release32|iPhone.Build.0 = Release32|iPhone - {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Release64|iPhone.ActiveCfg = Release64|iPhone - {370CC763-EDC3-41DA-A21A-D4C82CABEFE4}.Release64|iPhone.Build.0 = Release64|iPhone {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Debug|iPhone.ActiveCfg = Debug|iPhone {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Debug|iPhone.Build.0 = Debug|iPhone {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator @@ -355,14 +223,6 @@ Global {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Release|iPhone.Build.0 = Release|iPhone {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator - {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Debug32|iPhone.Build.0 = Debug32|iPhone - {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Debug64|iPhone.Build.0 = Debug64|iPhone - {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Release32|iPhone.ActiveCfg = Release32|iPhone - {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Release32|iPhone.Build.0 = Release32|iPhone - {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Release64|iPhone.ActiveCfg = Release64|iPhone - {C47F8F72-A7CA-4149-AA7D-BC4814803EF3}.Release64|iPhone.Build.0 = Release64|iPhone {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Release|iPhoneSimulator.ActiveCfg = Debug|Any CPU @@ -375,14 +235,6 @@ Global {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Debug|Any CPU.Build.0 = Debug|Any CPU {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Release|Any CPU.ActiveCfg = Debug|Any CPU {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Release|Any CPU.Build.0 = Debug|Any CPU - {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Debug32|iPhone.Build.0 = Debug|Any CPU - {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Debug64|iPhone.Build.0 = Debug|Any CPU - {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Release32|iPhone.ActiveCfg = Debug|Any CPU - {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Release32|iPhone.Build.0 = Debug|Any CPU - {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Release64|iPhone.ActiveCfg = Debug|Any CPU - {9A1177F5-16E6-45DE-AA69-DC9924EC39B8}.Release64|iPhone.Build.0 = Debug|Any CPU {6F47C092-2F85-43D6-1111-E687426F6BF3}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU {6F47C092-2F85-43D6-1111-E687426F6BF3}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU {6F47C092-2F85-43D6-1111-E687426F6BF3}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU @@ -395,14 +247,6 @@ Global {6F47C092-2F85-43D6-1111-E687426F6BF3}.Debug|Any CPU.Build.0 = Debug|Any CPU {6F47C092-2F85-43D6-1111-E687426F6BF3}.Release|Any CPU.ActiveCfg = Release|Any CPU {6F47C092-2F85-43D6-1111-E687426F6BF3}.Release|Any CPU.Build.0 = Release|Any CPU - {6F47C092-2F85-43D6-1111-E687426F6BF3}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {6F47C092-2F85-43D6-1111-E687426F6BF3}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {6F47C092-2F85-43D6-1111-E687426F6BF3}.Debug32|iPhone.Build.0 = Debug|Any CPU - {6F47C092-2F85-43D6-1111-E687426F6BF3}.Debug64|iPhone.Build.0 = Debug|Any CPU - {6F47C092-2F85-43D6-1111-E687426F6BF3}.Release32|iPhone.ActiveCfg = Release|Any CPU - {6F47C092-2F85-43D6-1111-E687426F6BF3}.Release32|iPhone.Build.0 = Release|Any CPU - {6F47C092-2F85-43D6-1111-E687426F6BF3}.Release64|iPhone.ActiveCfg = Release|Any CPU - {6F47C092-2F85-43D6-1111-E687426F6BF3}.Release64|iPhone.Build.0 = Release|Any CPU {6F47C092-2F85-43D6-2222-E687426F6BF3}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU {6F47C092-2F85-43D6-2222-E687426F6BF3}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU {6F47C092-2F85-43D6-2222-E687426F6BF3}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU @@ -415,14 +259,6 @@ Global {6F47C092-2F85-43D6-2222-E687426F6BF3}.Debug|Any CPU.Build.0 = Debug|Any CPU {6F47C092-2F85-43D6-2222-E687426F6BF3}.Release|Any CPU.ActiveCfg = Release|Any CPU {6F47C092-2F85-43D6-2222-E687426F6BF3}.Release|Any CPU.Build.0 = Release|Any CPU - {6F47C092-2F85-43D6-2222-E687426F6BF3}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {6F47C092-2F85-43D6-2222-E687426F6BF3}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {6F47C092-2F85-43D6-2222-E687426F6BF3}.Debug32|iPhone.Build.0 = Debug|Any CPU - {6F47C092-2F85-43D6-2222-E687426F6BF3}.Debug64|iPhone.Build.0 = Debug|Any CPU - {6F47C092-2F85-43D6-2222-E687426F6BF3}.Release32|iPhone.ActiveCfg = Release|Any CPU - {6F47C092-2F85-43D6-2222-E687426F6BF3}.Release32|iPhone.Build.0 = Release|Any CPU - {6F47C092-2F85-43D6-2222-E687426F6BF3}.Release64|iPhone.ActiveCfg = Release|Any CPU - {6F47C092-2F85-43D6-2222-E687426F6BF3}.Release64|iPhone.Build.0 = Release|Any CPU {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU @@ -435,14 +271,6 @@ Global {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Debug|Any CPU.Build.0 = Debug|Any CPU {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Release|Any CPU.ActiveCfg = Release|Any CPU {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Release|Any CPU.Build.0 = Release|Any CPU - {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Debug32|iPhone.Build.0 = Debug|Any CPU - {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Debug64|iPhone.Build.0 = Debug|Any CPU - {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Release32|iPhone.ActiveCfg = Release|Any CPU - {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Release32|iPhone.Build.0 = Release|Any CPU - {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Release64|iPhone.ActiveCfg = Release|Any CPU - {CD430449-8E59-4ECD-ADD9-ACF79E9E660B}.Release64|iPhone.Build.0 = Release|Any CPU {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -455,14 +283,6 @@ Global {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Debug32|iPhone.Build.0 = Debug32|iPhone - {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Debug64|iPhone.Build.0 = Debug64|iPhone - {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Release32|iPhone.ActiveCfg = Release32|iPhone - {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Release32|iPhone.Build.0 = Release32|iPhone - {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Release64|iPhone.ActiveCfg = Release64|iPhone - {3A835432-B054-32FD-07CB-F9A8FFCFB44D}.Release64|iPhone.Build.0 = Release64|iPhone {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -475,14 +295,6 @@ Global {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Debug32|iPhone.Build.0 = Debug32|iPhone - {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Debug64|iPhone.Build.0 = Debug64|iPhone - {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Release32|iPhone.ActiveCfg = Release32|iPhone - {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Release32|iPhone.Build.0 = Release32|iPhone - {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Release64|iPhone.ActiveCfg = Release64|iPhone - {E5B0BF8F-128E-8C1F-5A10-99D26AA71E76}.Release64|iPhone.Build.0 = Release64|iPhone {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -495,14 +307,6 @@ Global {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Debug32|iPhone.Build.0 = Debug32|iPhone - {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Debug64|iPhone.Build.0 = Debug64|iPhone - {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Release32|iPhone.ActiveCfg = Release32|iPhone - {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Release32|iPhone.Build.0 = Release32|iPhone - {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Release64|iPhone.ActiveCfg = Release64|iPhone - {387EAD7C-3E00-6BEC-8914-586A0BE31907}.Release64|iPhone.Build.0 = Release64|iPhone {274328F1-9A35-ED63-A95C-D995076011DA}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {274328F1-9A35-ED63-A95C-D995076011DA}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {274328F1-9A35-ED63-A95C-D995076011DA}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -515,14 +319,6 @@ Global {274328F1-9A35-ED63-A95C-D995076011DA}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {274328F1-9A35-ED63-A95C-D995076011DA}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {274328F1-9A35-ED63-A95C-D995076011DA}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {274328F1-9A35-ED63-A95C-D995076011DA}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {274328F1-9A35-ED63-A95C-D995076011DA}.Debug32|iPhone.Build.0 = Debug32|iPhone - {274328F1-9A35-ED63-A95C-D995076011DA}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {274328F1-9A35-ED63-A95C-D995076011DA}.Debug64|iPhone.Build.0 = Debug64|iPhone - {274328F1-9A35-ED63-A95C-D995076011DA}.Release32|iPhone.ActiveCfg = Release32|iPhone - {274328F1-9A35-ED63-A95C-D995076011DA}.Release32|iPhone.Build.0 = Release32|iPhone - {274328F1-9A35-ED63-A95C-D995076011DA}.Release64|iPhone.ActiveCfg = Release64|iPhone - {274328F1-9A35-ED63-A95C-D995076011DA}.Release64|iPhone.Build.0 = Release64|iPhone {36263A92-DACE-4BB0-063E-CD7107CF788A}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {36263A92-DACE-4BB0-063E-CD7107CF788A}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {36263A92-DACE-4BB0-063E-CD7107CF788A}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -535,14 +331,6 @@ Global {36263A92-DACE-4BB0-063E-CD7107CF788A}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {36263A92-DACE-4BB0-063E-CD7107CF788A}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {36263A92-DACE-4BB0-063E-CD7107CF788A}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {36263A92-DACE-4BB0-063E-CD7107CF788A}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {36263A92-DACE-4BB0-063E-CD7107CF788A}.Debug32|iPhone.Build.0 = Debug32|iPhone - {36263A92-DACE-4BB0-063E-CD7107CF788A}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {36263A92-DACE-4BB0-063E-CD7107CF788A}.Debug64|iPhone.Build.0 = Debug64|iPhone - {36263A92-DACE-4BB0-063E-CD7107CF788A}.Release32|iPhone.ActiveCfg = Release32|iPhone - {36263A92-DACE-4BB0-063E-CD7107CF788A}.Release32|iPhone.Build.0 = Release32|iPhone - {36263A92-DACE-4BB0-063E-CD7107CF788A}.Release64|iPhone.ActiveCfg = Release64|iPhone - {36263A92-DACE-4BB0-063E-CD7107CF788A}.Release64|iPhone.Build.0 = Release64|iPhone {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -555,14 +343,6 @@ Global {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Debug32|iPhone.Build.0 = Debug32|iPhone - {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Debug64|iPhone.Build.0 = Debug64|iPhone - {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Release32|iPhone.ActiveCfg = Release32|iPhone - {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Release32|iPhone.Build.0 = Release32|iPhone - {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Release64|iPhone.ActiveCfg = Release64|iPhone - {F8CFE6AE-81B3-C1D5-B6E3-881EFB19D8B6}.Release64|iPhone.Build.0 = Release64|iPhone {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -575,14 +355,6 @@ Global {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Debug32|iPhone.Build.0 = Debug32|iPhone - {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Debug64|iPhone.Build.0 = Debug64|iPhone - {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Release32|iPhone.ActiveCfg = Release32|iPhone - {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Release32|iPhone.Build.0 = Release32|iPhone - {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Release64|iPhone.ActiveCfg = Release64|iPhone - {022B4AF2-F62F-8EF3-9375-7CCE2820C54C}.Release64|iPhone.Build.0 = Release64|iPhone {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -595,14 +367,6 @@ Global {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Debug32|iPhone.Build.0 = Debug32|iPhone - {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Debug64|iPhone.Build.0 = Debug64|iPhone - {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Release32|iPhone.ActiveCfg = Release32|iPhone - {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Release32|iPhone.Build.0 = Release32|iPhone - {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Release64|iPhone.ActiveCfg = Release64|iPhone - {ECFE62D9-1BC5-C44F-4D47-9BBA5B2C7F36}.Release64|iPhone.Build.0 = Release64|iPhone {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -615,14 +379,6 @@ Global {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Debug32|iPhone.Build.0 = Debug32|iPhone - {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Debug64|iPhone.Build.0 = Debug64|iPhone - {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Release32|iPhone.ActiveCfg = Release32|iPhone - {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Release32|iPhone.Build.0 = Release32|iPhone - {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Release64|iPhone.ActiveCfg = Release64|iPhone - {569FFC00-3699-63C0-E0B7-9C2DA8F015D9}.Release64|iPhone.Build.0 = Release64|iPhone {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -635,14 +391,6 @@ Global {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Debug32|iPhone.Build.0 = Debug32|iPhone - {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Debug64|iPhone.Build.0 = Debug64|iPhone - {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Release32|iPhone.ActiveCfg = Release32|iPhone - {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Release32|iPhone.Build.0 = Release32|iPhone - {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Release64|iPhone.ActiveCfg = Release64|iPhone - {7017DF4C-80ED-A7C3-7D44-F3A9CA5B4DF4}.Release64|iPhone.Build.0 = Release64|iPhone {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -655,14 +403,6 @@ Global {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Debug32|iPhone.Build.0 = Debug32|iPhone - {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Debug64|iPhone.Build.0 = Debug64|iPhone - {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Release32|iPhone.ActiveCfg = Release32|iPhone - {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Release32|iPhone.Build.0 = Release32|iPhone - {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Release64|iPhone.ActiveCfg = Release64|iPhone - {ABACCDE0-14CC-8C9F-7044-CE101CA9D818}.Release64|iPhone.Build.0 = Release64|iPhone {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -675,14 +415,6 @@ Global {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Debug32|iPhone.Build.0 = Debug32|iPhone - {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Debug64|iPhone.Build.0 = Debug64|iPhone - {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Release32|iPhone.ActiveCfg = Release32|iPhone - {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Release32|iPhone.Build.0 = Release32|iPhone - {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Release64|iPhone.ActiveCfg = Release64|iPhone - {E44B6A87-C5AF-DF76-B514-841F9DF59CDF}.Release64|iPhone.Build.0 = Release64|iPhone {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -695,14 +427,6 @@ Global {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Debug32|iPhone.Build.0 = Debug32|iPhone - {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Debug64|iPhone.Build.0 = Debug64|iPhone - {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Release32|iPhone.ActiveCfg = Release32|iPhone - {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Release32|iPhone.Build.0 = Release32|iPhone - {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Release64|iPhone.ActiveCfg = Release64|iPhone - {E76564D2-12A8-219F-F69C-6FE35B8BCDFC}.Release64|iPhone.Build.0 = Release64|iPhone {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -715,14 +439,6 @@ Global {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Debug32|iPhone.Build.0 = Debug32|iPhone - {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Debug64|iPhone.Build.0 = Debug64|iPhone - {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Release32|iPhone.ActiveCfg = Release32|iPhone - {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Release32|iPhone.Build.0 = Release32|iPhone - {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Release64|iPhone.ActiveCfg = Release64|iPhone - {3D2B8C63-52B0-C706-B745-95453F8B90D3}.Release64|iPhone.Build.0 = Release64|iPhone {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -735,14 +451,6 @@ Global {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Debug32|iPhone.Build.0 = Debug32|iPhone - {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Debug64|iPhone.Build.0 = Debug64|iPhone - {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Release32|iPhone.ActiveCfg = Release32|iPhone - {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Release32|iPhone.Build.0 = Release32|iPhone - {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Release64|iPhone.ActiveCfg = Release64|iPhone - {0477B067-9914-2C4F-14C4-CBDFDC0653CF}.Release64|iPhone.Build.0 = Release64|iPhone {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -755,14 +463,6 @@ Global {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Debug32|iPhone.Build.0 = Debug32|iPhone - {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Debug64|iPhone.Build.0 = Debug64|iPhone - {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Release32|iPhone.ActiveCfg = Release32|iPhone - {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Release32|iPhone.Build.0 = Release32|iPhone - {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Release64|iPhone.ActiveCfg = Release64|iPhone - {44F02498-1AF8-CB2B-5F52-83C74B4F8F9F}.Release64|iPhone.Build.0 = Release64|iPhone {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -775,14 +475,6 @@ Global {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Debug32|iPhone.Build.0 = Debug32|iPhone - {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Debug64|iPhone.Build.0 = Debug64|iPhone - {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Release32|iPhone.ActiveCfg = Release32|iPhone - {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Release32|iPhone.Build.0 = Release32|iPhone - {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Release64|iPhone.ActiveCfg = Release64|iPhone - {0D2AC6C4-5EC1-0927-876B-0658DEC4FF94}.Release64|iPhone.Build.0 = Release64|iPhone {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -795,14 +487,6 @@ Global {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Debug32|iPhone.Build.0 = Debug32|iPhone - {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Debug64|iPhone.Build.0 = Debug64|iPhone - {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Release32|iPhone.ActiveCfg = Release32|iPhone - {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Release32|iPhone.Build.0 = Release32|iPhone - {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Release64|iPhone.ActiveCfg = Release64|iPhone - {C63F3DD4-EC06-1CE5-BA87-1D038C5A0BBD}.Release64|iPhone.Build.0 = Release64|iPhone {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -815,14 +499,6 @@ Global {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Debug32|iPhone.Build.0 = Debug32|iPhone - {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Debug64|iPhone.Build.0 = Debug64|iPhone - {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Release32|iPhone.ActiveCfg = Release32|iPhone - {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Release32|iPhone.Build.0 = Release32|iPhone - {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Release64|iPhone.ActiveCfg = Release64|iPhone - {797B6029-DEFB-CEA8-B5D3-BDA6E5EC7B35}.Release64|iPhone.Build.0 = Release64|iPhone {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -835,14 +511,6 @@ Global {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Debug32|iPhone.Build.0 = Debug32|iPhone - {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Debug64|iPhone.Build.0 = Debug64|iPhone - {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Release32|iPhone.ActiveCfg = Release32|iPhone - {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Release32|iPhone.Build.0 = Release32|iPhone - {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Release64|iPhone.ActiveCfg = Release64|iPhone - {5A2B9BB6-B845-92E1-B036-677BECEABD46}.Release64|iPhone.Build.0 = Release64|iPhone {ADF8645F-3737-8342-704B-006A887760CF}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {ADF8645F-3737-8342-704B-006A887760CF}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {ADF8645F-3737-8342-704B-006A887760CF}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -855,14 +523,6 @@ Global {ADF8645F-3737-8342-704B-006A887760CF}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {ADF8645F-3737-8342-704B-006A887760CF}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {ADF8645F-3737-8342-704B-006A887760CF}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {ADF8645F-3737-8342-704B-006A887760CF}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {ADF8645F-3737-8342-704B-006A887760CF}.Debug32|iPhone.Build.0 = Debug32|iPhone - {ADF8645F-3737-8342-704B-006A887760CF}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {ADF8645F-3737-8342-704B-006A887760CF}.Debug64|iPhone.Build.0 = Debug64|iPhone - {ADF8645F-3737-8342-704B-006A887760CF}.Release32|iPhone.ActiveCfg = Release32|iPhone - {ADF8645F-3737-8342-704B-006A887760CF}.Release32|iPhone.Build.0 = Release32|iPhone - {ADF8645F-3737-8342-704B-006A887760CF}.Release64|iPhone.ActiveCfg = Release64|iPhone - {ADF8645F-3737-8342-704B-006A887760CF}.Release64|iPhone.Build.0 = Release64|iPhone {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -875,14 +535,6 @@ Global {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Debug32|iPhone.Build.0 = Debug32|iPhone - {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Debug64|iPhone.Build.0 = Debug64|iPhone - {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Release32|iPhone.ActiveCfg = Release32|iPhone - {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Release32|iPhone.Build.0 = Release32|iPhone - {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Release64|iPhone.ActiveCfg = Release64|iPhone - {CDD9B9BA-6E8C-CE0F-DF98-F198484EDAC6}.Release64|iPhone.Build.0 = Release64|iPhone {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -895,14 +547,6 @@ Global {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Debug32|iPhone.Build.0 = Debug32|iPhone - {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Debug64|iPhone.Build.0 = Debug64|iPhone - {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Release32|iPhone.ActiveCfg = Release32|iPhone - {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Release32|iPhone.Build.0 = Release32|iPhone - {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Release64|iPhone.ActiveCfg = Release64|iPhone - {0E046C2E-0261-F92B-20AB-8E27CDC8F859}.Release64|iPhone.Build.0 = Release64|iPhone {CB000449-11E5-37D7-C757-4180FA74275D}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {CB000449-11E5-37D7-C757-4180FA74275D}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {CB000449-11E5-37D7-C757-4180FA74275D}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -915,14 +559,6 @@ Global {CB000449-11E5-37D7-C757-4180FA74275D}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {CB000449-11E5-37D7-C757-4180FA74275D}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {CB000449-11E5-37D7-C757-4180FA74275D}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {CB000449-11E5-37D7-C757-4180FA74275D}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {CB000449-11E5-37D7-C757-4180FA74275D}.Debug32|iPhone.Build.0 = Debug32|iPhone - {CB000449-11E5-37D7-C757-4180FA74275D}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {CB000449-11E5-37D7-C757-4180FA74275D}.Debug64|iPhone.Build.0 = Debug64|iPhone - {CB000449-11E5-37D7-C757-4180FA74275D}.Release32|iPhone.ActiveCfg = Release32|iPhone - {CB000449-11E5-37D7-C757-4180FA74275D}.Release32|iPhone.Build.0 = Release32|iPhone - {CB000449-11E5-37D7-C757-4180FA74275D}.Release64|iPhone.ActiveCfg = Release64|iPhone - {CB000449-11E5-37D7-C757-4180FA74275D}.Release64|iPhone.Build.0 = Release64|iPhone {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -935,14 +571,6 @@ Global {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Debug32|iPhone.Build.0 = Debug32|iPhone - {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Debug64|iPhone.Build.0 = Debug64|iPhone - {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Release32|iPhone.ActiveCfg = Release32|iPhone - {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Release32|iPhone.Build.0 = Release32|iPhone - {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Release64|iPhone.ActiveCfg = Release64|iPhone - {FB0374D9-4A15-4F14-BC79-A88406FC4966}.Release64|iPhone.Build.0 = Release64|iPhone {D348AA85-B644-2187-C237-34DA88BFCA77}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {D348AA85-B644-2187-C237-34DA88BFCA77}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {D348AA85-B644-2187-C237-34DA88BFCA77}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -955,14 +583,6 @@ Global {D348AA85-B644-2187-C237-34DA88BFCA77}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {D348AA85-B644-2187-C237-34DA88BFCA77}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {D348AA85-B644-2187-C237-34DA88BFCA77}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {D348AA85-B644-2187-C237-34DA88BFCA77}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {D348AA85-B644-2187-C237-34DA88BFCA77}.Debug32|iPhone.Build.0 = Debug32|iPhone - {D348AA85-B644-2187-C237-34DA88BFCA77}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {D348AA85-B644-2187-C237-34DA88BFCA77}.Debug64|iPhone.Build.0 = Debug64|iPhone - {D348AA85-B644-2187-C237-34DA88BFCA77}.Release32|iPhone.ActiveCfg = Release32|iPhone - {D348AA85-B644-2187-C237-34DA88BFCA77}.Release32|iPhone.Build.0 = Release32|iPhone - {D348AA85-B644-2187-C237-34DA88BFCA77}.Release64|iPhone.ActiveCfg = Release64|iPhone - {D348AA85-B644-2187-C237-34DA88BFCA77}.Release64|iPhone.Build.0 = Release64|iPhone {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -975,14 +595,6 @@ Global {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Debug32|iPhone.Build.0 = Debug32|iPhone - {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Debug64|iPhone.Build.0 = Debug64|iPhone - {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Release32|iPhone.ActiveCfg = Release32|iPhone - {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Release32|iPhone.Build.0 = Release32|iPhone - {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Release64|iPhone.ActiveCfg = Release64|iPhone - {2FD12269-09D5-AD2C-9E59-6A18FCB2241F}.Release64|iPhone.Build.0 = Release64|iPhone {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -995,14 +607,6 @@ Global {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Debug32|iPhone.Build.0 = Debug32|iPhone - {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Debug64|iPhone.Build.0 = Debug64|iPhone - {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Release32|iPhone.ActiveCfg = Release32|iPhone - {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Release32|iPhone.Build.0 = Release32|iPhone - {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Release64|iPhone.ActiveCfg = Release64|iPhone - {D4AF3416-BC36-1522-41E9-43C85DB18D84}.Release64|iPhone.Build.0 = Release64|iPhone {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1015,14 +619,6 @@ Global {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Debug32|iPhone.Build.0 = Debug32|iPhone - {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Debug64|iPhone.Build.0 = Debug64|iPhone - {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Release32|iPhone.ActiveCfg = Release32|iPhone - {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Release32|iPhone.Build.0 = Release32|iPhone - {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Release64|iPhone.ActiveCfg = Release64|iPhone - {BA08B246-1AE4-F419-926F-2EA9ED5DAF90}.Release64|iPhone.Build.0 = Release64|iPhone {EA3885C2-6A88-1007-BE44-29E6997B9856}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {EA3885C2-6A88-1007-BE44-29E6997B9856}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {EA3885C2-6A88-1007-BE44-29E6997B9856}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1035,14 +631,6 @@ Global {EA3885C2-6A88-1007-BE44-29E6997B9856}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {EA3885C2-6A88-1007-BE44-29E6997B9856}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {EA3885C2-6A88-1007-BE44-29E6997B9856}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {EA3885C2-6A88-1007-BE44-29E6997B9856}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {EA3885C2-6A88-1007-BE44-29E6997B9856}.Debug32|iPhone.Build.0 = Debug32|iPhone - {EA3885C2-6A88-1007-BE44-29E6997B9856}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {EA3885C2-6A88-1007-BE44-29E6997B9856}.Debug64|iPhone.Build.0 = Debug64|iPhone - {EA3885C2-6A88-1007-BE44-29E6997B9856}.Release32|iPhone.ActiveCfg = Release32|iPhone - {EA3885C2-6A88-1007-BE44-29E6997B9856}.Release32|iPhone.Build.0 = Release32|iPhone - {EA3885C2-6A88-1007-BE44-29E6997B9856}.Release64|iPhone.ActiveCfg = Release64|iPhone - {EA3885C2-6A88-1007-BE44-29E6997B9856}.Release64|iPhone.Build.0 = Release64|iPhone {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1055,14 +643,6 @@ Global {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Debug32|iPhone.Build.0 = Debug32|iPhone - {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Debug64|iPhone.Build.0 = Debug64|iPhone - {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Release32|iPhone.ActiveCfg = Release32|iPhone - {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Release32|iPhone.Build.0 = Release32|iPhone - {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Release64|iPhone.ActiveCfg = Release64|iPhone - {C761790B-0C12-72AA-D4E3-671F2AA1719E}.Release64|iPhone.Build.0 = Release64|iPhone {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1075,14 +655,6 @@ Global {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Debug32|iPhone.Build.0 = Debug32|iPhone - {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Debug64|iPhone.Build.0 = Debug64|iPhone - {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Release32|iPhone.ActiveCfg = Release32|iPhone - {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Release32|iPhone.Build.0 = Release32|iPhone - {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Release64|iPhone.ActiveCfg = Release64|iPhone - {01D5D6F0-C210-0165-D4AC-85B038CCC1D8}.Release64|iPhone.Build.0 = Release64|iPhone {89B53407-2C05-975F-A09F-F131D5312DAA}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {89B53407-2C05-975F-A09F-F131D5312DAA}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {89B53407-2C05-975F-A09F-F131D5312DAA}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1095,14 +667,6 @@ Global {89B53407-2C05-975F-A09F-F131D5312DAA}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {89B53407-2C05-975F-A09F-F131D5312DAA}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {89B53407-2C05-975F-A09F-F131D5312DAA}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {89B53407-2C05-975F-A09F-F131D5312DAA}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {89B53407-2C05-975F-A09F-F131D5312DAA}.Debug32|iPhone.Build.0 = Debug32|iPhone - {89B53407-2C05-975F-A09F-F131D5312DAA}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {89B53407-2C05-975F-A09F-F131D5312DAA}.Debug64|iPhone.Build.0 = Debug64|iPhone - {89B53407-2C05-975F-A09F-F131D5312DAA}.Release32|iPhone.ActiveCfg = Release32|iPhone - {89B53407-2C05-975F-A09F-F131D5312DAA}.Release32|iPhone.Build.0 = Release32|iPhone - {89B53407-2C05-975F-A09F-F131D5312DAA}.Release64|iPhone.ActiveCfg = Release64|iPhone - {89B53407-2C05-975F-A09F-F131D5312DAA}.Release64|iPhone.Build.0 = Release64|iPhone {A823F088-0836-20BB-D955-8B26BD9057BC}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {A823F088-0836-20BB-D955-8B26BD9057BC}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {A823F088-0836-20BB-D955-8B26BD9057BC}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1115,14 +679,6 @@ Global {A823F088-0836-20BB-D955-8B26BD9057BC}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {A823F088-0836-20BB-D955-8B26BD9057BC}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {A823F088-0836-20BB-D955-8B26BD9057BC}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {A823F088-0836-20BB-D955-8B26BD9057BC}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {A823F088-0836-20BB-D955-8B26BD9057BC}.Debug32|iPhone.Build.0 = Debug32|iPhone - {A823F088-0836-20BB-D955-8B26BD9057BC}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {A823F088-0836-20BB-D955-8B26BD9057BC}.Debug64|iPhone.Build.0 = Debug64|iPhone - {A823F088-0836-20BB-D955-8B26BD9057BC}.Release32|iPhone.ActiveCfg = Release32|iPhone - {A823F088-0836-20BB-D955-8B26BD9057BC}.Release32|iPhone.Build.0 = Release32|iPhone - {A823F088-0836-20BB-D955-8B26BD9057BC}.Release64|iPhone.ActiveCfg = Release64|iPhone - {A823F088-0836-20BB-D955-8B26BD9057BC}.Release64|iPhone.Build.0 = Release64|iPhone {3D440BA8-29F8-EB17-6858-209114E79FD3}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {3D440BA8-29F8-EB17-6858-209114E79FD3}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {3D440BA8-29F8-EB17-6858-209114E79FD3}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1135,14 +691,6 @@ Global {3D440BA8-29F8-EB17-6858-209114E79FD3}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator {3D440BA8-29F8-EB17-6858-209114E79FD3}.Release|Any CPU.ActiveCfg = Debug|iPhoneSimulator {3D440BA8-29F8-EB17-6858-209114E79FD3}.Release|Any CPU.Build.0 = Debug|iPhoneSimulator - {3D440BA8-29F8-EB17-6858-209114E79FD3}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {3D440BA8-29F8-EB17-6858-209114E79FD3}.Debug32|iPhone.Build.0 = Debug32|iPhone - {3D440BA8-29F8-EB17-6858-209114E79FD3}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {3D440BA8-29F8-EB17-6858-209114E79FD3}.Debug64|iPhone.Build.0 = Debug64|iPhone - {3D440BA8-29F8-EB17-6858-209114E79FD3}.Release32|iPhone.ActiveCfg = Release32|iPhone - {3D440BA8-29F8-EB17-6858-209114E79FD3}.Release32|iPhone.Build.0 = Release32|iPhone - {3D440BA8-29F8-EB17-6858-209114E79FD3}.Release64|iPhone.ActiveCfg = Release64|iPhone - {3D440BA8-29F8-EB17-6858-209114E79FD3}.Release64|iPhone.Build.0 = Release64|iPhone {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU @@ -1155,14 +703,6 @@ Global {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Debug|Any CPU.Build.0 = Debug|Any CPU {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Release|Any CPU.ActiveCfg = Release|Any CPU {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Release|Any CPU.Build.0 = Release|Any CPU - {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Debug32|iPhone.Build.0 = Debug|Any CPU - {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Debug64|iPhone.Build.0 = Debug|Any CPU - {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Release32|iPhone.ActiveCfg = Release|Any CPU - {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Release32|iPhone.Build.0 = Release|Any CPU - {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Release64|iPhone.ActiveCfg = Release|Any CPU - {7340A1C6-61A5-42D2-9DBC-6688D2E70F62}.Release64|iPhone.Build.0 = Release|Any CPU {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU @@ -1175,14 +715,6 @@ Global {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Debug|Any CPU.Build.0 = Debug|Any CPU {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Release|Any CPU.ActiveCfg = Release|Any CPU {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Release|Any CPU.Build.0 = Release|Any CPU - {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Debug32|iPhone.Build.0 = Debug|Any CPU - {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Debug64|iPhone.Build.0 = Debug|Any CPU - {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Release32|iPhone.ActiveCfg = Release|Any CPU - {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Release32|iPhone.Build.0 = Release|Any CPU - {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Release64|iPhone.ActiveCfg = Release|Any CPU - {0C979851-15E9-4BB6-AD79-5F0C7DF69456}.Release64|iPhone.Build.0 = Release|Any CPU {831EF5B4-562E-4D83-28A1-072A1EA62614}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {831EF5B4-562E-4D83-28A1-072A1EA62614}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {831EF5B4-562E-4D83-28A1-072A1EA62614}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1191,14 +723,6 @@ Global {831EF5B4-562E-4D83-28A1-072A1EA62614}.Debug|iPhone.Build.0 = Debug|iPhone {831EF5B4-562E-4D83-28A1-072A1EA62614}.Release|iPhone.ActiveCfg = Release|iPhone {831EF5B4-562E-4D83-28A1-072A1EA62614}.Release|iPhone.Build.0 = Release|iPhone - {831EF5B4-562E-4D83-28A1-072A1EA62614}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {831EF5B4-562E-4D83-28A1-072A1EA62614}.Debug32|iPhone.Build.0 = Debug32|iPhone - {831EF5B4-562E-4D83-28A1-072A1EA62614}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {831EF5B4-562E-4D83-28A1-072A1EA62614}.Debug64|iPhone.Build.0 = Debug64|iPhone - {831EF5B4-562E-4D83-28A1-072A1EA62614}.Release32|iPhone.ActiveCfg = Release32|iPhone - {831EF5B4-562E-4D83-28A1-072A1EA62614}.Release32|iPhone.Build.0 = Release32|iPhone - {831EF5B4-562E-4D83-28A1-072A1EA62614}.Release64|iPhone.ActiveCfg = Release64|iPhone - {831EF5B4-562E-4D83-28A1-072A1EA62614}.Release64|iPhone.Build.0 = Release64|iPhone {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1207,14 +731,6 @@ Global {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Debug|iPhone.Build.0 = Debug|iPhone {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Release|iPhone.ActiveCfg = Release|iPhone {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Release|iPhone.Build.0 = Release|iPhone - {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Debug32|iPhone.Build.0 = Debug32|iPhone - {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Debug64|iPhone.Build.0 = Debug64|iPhone - {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Release32|iPhone.ActiveCfg = Release32|iPhone - {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Release32|iPhone.Build.0 = Release32|iPhone - {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Release64|iPhone.ActiveCfg = Release64|iPhone - {DA109EA4-9480-4781-A08A-2E3EB90EB9D9}.Release64|iPhone.Build.0 = Release64|iPhone {1F505595-04F0-4B02-8852-3E9225DE9C89}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {1F505595-04F0-4B02-8852-3E9225DE9C89}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {1F505595-04F0-4B02-8852-3E9225DE9C89}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1223,14 +739,6 @@ Global {1F505595-04F0-4B02-8852-3E9225DE9C89}.Debug|iPhone.Build.0 = Debug|iPhone {1F505595-04F0-4B02-8852-3E9225DE9C89}.Release|iPhone.ActiveCfg = Release|iPhone {1F505595-04F0-4B02-8852-3E9225DE9C89}.Release|iPhone.Build.0 = Release|iPhone - {1F505595-04F0-4B02-8852-3E9225DE9C89}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {1F505595-04F0-4B02-8852-3E9225DE9C89}.Debug32|iPhone.Build.0 = Debug32|iPhone - {1F505595-04F0-4B02-8852-3E9225DE9C89}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {1F505595-04F0-4B02-8852-3E9225DE9C89}.Debug64|iPhone.Build.0 = Debug64|iPhone - {1F505595-04F0-4B02-8852-3E9225DE9C89}.Release32|iPhone.ActiveCfg = Release32|iPhone - {1F505595-04F0-4B02-8852-3E9225DE9C89}.Release32|iPhone.Build.0 = Release32|iPhone - {1F505595-04F0-4B02-8852-3E9225DE9C89}.Release64|iPhone.ActiveCfg = Release64|iPhone - {1F505595-04F0-4B02-8852-3E9225DE9C89}.Release64|iPhone.Build.0 = Release64|iPhone {6027FD99-39A1-4325-875A-AC02C0D4D177}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {6027FD99-39A1-4325-875A-AC02C0D4D177}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {6027FD99-39A1-4325-875A-AC02C0D4D177}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1239,14 +747,6 @@ Global {6027FD99-39A1-4325-875A-AC02C0D4D177}.Debug|iPhone.Build.0 = Debug|iPhone {6027FD99-39A1-4325-875A-AC02C0D4D177}.Release|iPhone.ActiveCfg = Release|iPhone {6027FD99-39A1-4325-875A-AC02C0D4D177}.Release|iPhone.Build.0 = Release|iPhone - {6027FD99-39A1-4325-875A-AC02C0D4D177}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {6027FD99-39A1-4325-875A-AC02C0D4D177}.Debug32|iPhone.Build.0 = Debug32|iPhone - {6027FD99-39A1-4325-875A-AC02C0D4D177}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {6027FD99-39A1-4325-875A-AC02C0D4D177}.Debug64|iPhone.Build.0 = Debug64|iPhone - {6027FD99-39A1-4325-875A-AC02C0D4D177}.Release32|iPhone.ActiveCfg = Release32|iPhone - {6027FD99-39A1-4325-875A-AC02C0D4D177}.Release32|iPhone.Build.0 = Release32|iPhone - {6027FD99-39A1-4325-875A-AC02C0D4D177}.Release64|iPhone.ActiveCfg = Release64|iPhone - {6027FD99-39A1-4325-875A-AC02C0D4D177}.Release64|iPhone.Build.0 = Release64|iPhone {913249DE-D559-430E-873F-9C20ED4EF9B8}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {913249DE-D559-430E-873F-9C20ED4EF9B8}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {913249DE-D559-430E-873F-9C20ED4EF9B8}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1255,14 +755,6 @@ Global {913249DE-D559-430E-873F-9C20ED4EF9B8}.Debug|iPhone.Build.0 = Debug|iPhone {913249DE-D559-430E-873F-9C20ED4EF9B8}.Release|iPhone.ActiveCfg = Release|iPhone {913249DE-D559-430E-873F-9C20ED4EF9B8}.Release|iPhone.Build.0 = Release|iPhone - {913249DE-D559-430E-873F-9C20ED4EF9B8}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {913249DE-D559-430E-873F-9C20ED4EF9B8}.Debug32|iPhone.Build.0 = Debug32|iPhone - {913249DE-D559-430E-873F-9C20ED4EF9B8}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {913249DE-D559-430E-873F-9C20ED4EF9B8}.Debug64|iPhone.Build.0 = Debug64|iPhone - {913249DE-D559-430E-873F-9C20ED4EF9B8}.Release32|iPhone.ActiveCfg = Release32|iPhone - {913249DE-D559-430E-873F-9C20ED4EF9B8}.Release32|iPhone.Build.0 = Release32|iPhone - {913249DE-D559-430E-873F-9C20ED4EF9B8}.Release64|iPhone.ActiveCfg = Release64|iPhone - {913249DE-D559-430E-873F-9C20ED4EF9B8}.Release64|iPhone.Build.0 = Release64|iPhone {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1271,14 +763,6 @@ Global {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Debug|iPhone.Build.0 = Debug|iPhone {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Release|iPhone.ActiveCfg = Release|iPhone {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Release|iPhone.Build.0 = Release|iPhone - {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Debug32|iPhone.Build.0 = Debug32|iPhone - {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Debug64|iPhone.Build.0 = Debug64|iPhone - {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Release32|iPhone.ActiveCfg = Release32|iPhone - {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Release32|iPhone.Build.0 = Release32|iPhone - {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Release64|iPhone.ActiveCfg = Release64|iPhone - {1AD2FA2A-26A2-317F-96B9-0E9B994F5C8D}.Release64|iPhone.Build.0 = Release64|iPhone {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1287,14 +771,6 @@ Global {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Debug|iPhone.Build.0 = Debug|iPhone {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Release|iPhone.ActiveCfg = Release|iPhone {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Release|iPhone.Build.0 = Release|iPhone - {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Debug32|iPhone.Build.0 = Debug32|iPhone - {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Debug64|iPhone.Build.0 = Debug64|iPhone - {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Release32|iPhone.ActiveCfg = Release32|iPhone - {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Release32|iPhone.Build.0 = Release32|iPhone - {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Release64|iPhone.ActiveCfg = Release64|iPhone - {9F163330-6AC4-85B4-4C4C-9B8E772BBA1F}.Release64|iPhone.Build.0 = Release64|iPhone {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1303,14 +779,6 @@ Global {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Debug|iPhone.Build.0 = Debug|iPhone {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Release|iPhone.ActiveCfg = Release|iPhone {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Release|iPhone.Build.0 = Release|iPhone - {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Debug32|iPhone.Build.0 = Debug32|iPhone - {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Debug64|iPhone.Build.0 = Debug64|iPhone - {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Release32|iPhone.ActiveCfg = Release32|iPhone - {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Release32|iPhone.Build.0 = Release32|iPhone - {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Release64|iPhone.ActiveCfg = Release64|iPhone - {95B73E69-2E60-E9E3-9FE3-9079B1E509AA}.Release64|iPhone.Build.0 = Release64|iPhone {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator @@ -1319,14 +787,6 @@ Global {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Debug|iPhone.Build.0 = Debug|iPhone {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Release|iPhone.ActiveCfg = Release|iPhone {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Release|iPhone.Build.0 = Release|iPhone - {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Debug32|iPhone.ActiveCfg = Debug32|iPhone - {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Debug32|iPhone.Build.0 = Debug32|iPhone - {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Debug64|iPhone.ActiveCfg = Debug64|iPhone - {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Debug64|iPhone.Build.0 = Debug64|iPhone - {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Release32|iPhone.ActiveCfg = Release32|iPhone - {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Release32|iPhone.Build.0 = Release32|iPhone - {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Release64|iPhone.ActiveCfg = Release64|iPhone - {5841F8C4-9B59-1AC9-C303-C6BFF94B3D7F}.Release64|iPhone.Build.0 = Release64|iPhone {F611ED96-54B5-4975-99BB-12F50AF95936}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU {F611ED96-54B5-4975-99BB-12F50AF95936}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU {F611ED96-54B5-4975-99BB-12F50AF95936}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU @@ -1339,14 +799,6 @@ Global {F611ED96-54B5-4975-99BB-12F50AF95936}.Debug|Any CPU.Build.0 = Debug|Any CPU {F611ED96-54B5-4975-99BB-12F50AF95936}.Release|Any CPU.ActiveCfg = Release|Any CPU {F611ED96-54B5-4975-99BB-12F50AF95936}.Release|Any CPU.Build.0 = Release|Any CPU - {F611ED96-54B5-4975-99BB-12F50AF95936}.Debug32|iPhone.ActiveCfg = Debug|Any CPU - {F611ED96-54B5-4975-99BB-12F50AF95936}.Debug32|iPhone.Build.0 = Debug|Any CPU - {F611ED96-54B5-4975-99BB-12F50AF95936}.Debug64|iPhone.ActiveCfg = Debug|Any CPU - {F611ED96-54B5-4975-99BB-12F50AF95936}.Debug64|iPhone.Build.0 = Debug|Any CPU - {F611ED96-54B5-4975-99BB-12F50AF95936}.Release32|iPhone.ActiveCfg = Release|Any CPU - {F611ED96-54B5-4975-99BB-12F50AF95936}.Release32|iPhone.Build.0 = Release|Any CPU - {F611ED96-54B5-4975-99BB-12F50AF95936}.Release64|iPhone.ActiveCfg = Release|Any CPU - {F611ED96-54B5-4975-99BB-12F50AF95936}.Release64|iPhone.Build.0 = Release|Any CPU {2ECCE3D0-AAD1-46B9-B190-B567249DCF9D}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator {2ECCE3D0-AAD1-46B9-B190-B567249DCF9D}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator {2ECCE3D0-AAD1-46B9-B190-B567249DCF9D}.Debug|iPhone.ActiveCfg = Debug|iPhone diff --git a/tests/xammac_tests/Info.plist b/tests/xammac_tests/Info.plist index f8ab4fa6b28c..b7f14f954d93 100644 --- a/tests/xammac_tests/Info.plist +++ b/tests/xammac_tests/Info.plist @@ -9,7 +9,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSUIElement diff --git a/tests/xammac_tests/xammac_tests.csproj b/tests/xammac_tests/xammac_tests.csproj index 6d8b8770be81..8ebf54ff0ef3 100644 --- a/tests/xammac_tests/xammac_tests.csproj +++ b/tests/xammac_tests/xammac_tests.csproj @@ -39,29 +39,6 @@ Entitlements.plist Automatic - - true - full - false - bin\arm64\Debug - DEBUG;MONOMAC;XAMMAC_TESTS - prompt - 0 - false - false - false - false - HttpClientHandler - Default - None - ARM64 - Mac Developer - 3rd Party Mac Developer Installer - true - Entitlements.plist - Automatic - true - true bin\x86\Release @@ -79,23 +56,6 @@ x86_64 true - - true - bin\arm64\Release - MONOMAC;XAMMAC_TESTS - prompt - 0 - false - false - false - false - false - HttpClientHandler - Default - None - ARM64 - true - diff --git a/tests/xcframework-test/iOS/Info.plist b/tests/xcframework-test/iOS/Info.plist index f998d77e83bd..faf00ef7f0be 100644 --- a/tests/xcframework-test/iOS/Info.plist +++ b/tests/xcframework-test/iOS/Info.plist @@ -13,7 +13,7 @@ LSRequiresIPhoneOS MinimumOSVersion - 10.0 + 11.0 UIDeviceFamily 1 diff --git a/tests/xcframework-test/iOS/xcframework-test-ios.csproj b/tests/xcframework-test/iOS/xcframework-test-ios.csproj index 85e6289e5d30..67416e996975 100644 --- a/tests/xcframework-test/iOS/xcframework-test-ios.csproj +++ b/tests/xcframework-test/iOS/xcframework-test-ios.csproj @@ -36,32 +36,6 @@ false - full - true - bin\iPhone\$(Configuration) - prompt - 4 - ARMv7, ARM64 - Entitlements.plist - true - Apple Development - True - SdkOnly - - - full - true - bin\iPhone\$(Configuration) - prompt - 4 - ARMv7 - Entitlements.plist - true - Apple Development - True - SdkOnly - - full true bin\iPhone\$(Configuration) @@ -80,46 +54,12 @@ bin\iPhoneSimulator\$(Configuration) prompt 4 - i386, x86_64 + x86_64 None Apple Development Entitlements.plist - true - full - false - bin\iPhone\$(Configuration) - DEBUG;;$(DefineConstants) - prompt - 4 - ARMv7, ARM64 - Entitlements.plist - true - Apple Development - true - true - true - SdkOnly - - - true - full - false - bin\iPhone\$(Configuration) - DEBUG;;$(DefineConstants) - prompt - 4 - ARMv7 - Entitlements.plist - true - Apple Development - true - true - true - SdkOnly - - true full false diff --git a/tests/xcframework-test/macOS/Info.plist b/tests/xcframework-test/macOS/Info.plist index f71cc0505de0..5def1195fe74 100644 --- a/tests/xcframework-test/macOS/Info.plist +++ b/tests/xcframework-test/macOS/Info.plist @@ -9,7 +9,7 @@ CFBundleVersion 1 LSMinimumSystemVersion - 10.9 + 10.15 NSPrincipalClass NSApplication LSApplicationCategoryType diff --git a/tests/xharness/Harness.cs b/tests/xharness/Harness.cs index e510f5c60283..9d8e065e0cb7 100644 --- a/tests/xharness/Harness.cs +++ b/tests/xharness/Harness.cs @@ -396,18 +396,15 @@ int AutoConfigureMac (bool generate_projects) }); } - foreach (var flavor in new MonoNativeFlavor [] { MonoNativeFlavor.Compat, MonoNativeFlavor.Unified }) { - var monoNativeInfo = new MonoNativeInfo (DevicePlatform.macOS, flavor, RootDirectory, Log); - var macTestProject = new MacTestProject (TestLabel.Mononative, monoNativeInfo.ProjectPath, targetFrameworkFlavor: MacFlavors.Modern | MacFlavors.Full) { - MonoNativeInfo = monoNativeInfo, - Name = monoNativeInfo.ProjectName, - Platform = "AnyCPU", - Ignore = !INCLUDE_XAMARIN_LEGACY, + var monoNativeInfo = new MonoNativeInfo (DevicePlatform.macOS, RootDirectory, Log); + var macTestProject = new MacTestProject (TestLabel.Mononative, monoNativeInfo.ProjectPath, targetFrameworkFlavor: MacFlavors.Modern | MacFlavors.Full) { + MonoNativeInfo = monoNativeInfo, + Name = monoNativeInfo.ProjectName, + Platform = "AnyCPU", + Ignore = !INCLUDE_XAMARIN_LEGACY, - }; - - MacTestProjects.Add (macTestProject); - } + }; + MacTestProjects.Add (macTestProject); var monoImportTestFactory = new BCLTestImportTargetFactory (this); MacTestProjects.AddRange (monoImportTestFactory.GetMacBclTargets ()); @@ -520,16 +517,12 @@ void AutoConfigureIOS () Configurations = new string [] { "Debug", "Release" }, }); - foreach (var flavor in new MonoNativeFlavor [] { MonoNativeFlavor.Compat, MonoNativeFlavor.Unified }) { - var monoNativeInfo = new MonoNativeInfo (DevicePlatform.iOS, flavor, RootDirectory, Log); - var iosTestProject = new iOSTestProject (TestLabel.Mononative, monoNativeInfo.ProjectPath) { - MonoNativeInfo = monoNativeInfo, - Name = monoNativeInfo.ProjectName, - SkipwatchOSARM64_32Variation = monoNativeInfo.ProjectName.Contains ("compat"), - }; - - IOSTestProjects.Add (iosTestProject); - } + var monoNativeInfo = new MonoNativeInfo (DevicePlatform.iOS, RootDirectory, Log); + var iosTestProject = new iOSTestProject (TestLabel.Mononative, monoNativeInfo.ProjectPath) { + MonoNativeInfo = monoNativeInfo, + Name = monoNativeInfo.ProjectName, + }; + IOSTestProjects.Add (iosTestProject); // add all the tests that are using the precompiled mono assemblies var monoImportTestFactory = new BCLTestImportTargetFactory (this); diff --git a/tests/xharness/Jenkins/RunDeviceTasksFactory.cs b/tests/xharness/Jenkins/RunDeviceTasksFactory.cs index ef34abd319fd..ff732e8b4f14 100644 --- a/tests/xharness/Jenkins/RunDeviceTasksFactory.cs +++ b/tests/xharness/Jenkins/RunDeviceTasksFactory.cs @@ -47,7 +47,7 @@ public Task> CreateAsync (Jenkins jenkins, IMlaunchProces if (createiOS) { var build64 = new MSBuildTask (jenkins: jenkins, testProject: project, processManager: processManager) { - ProjectConfiguration = "Debug64", + ProjectConfiguration = "Debug", ProjectPlatform = "iPhone", Platform = TestPlatform.iOS_Unified64, TestName = project.Name, @@ -63,27 +63,10 @@ public Task> CreateAsync (Jenkins jenkins, IMlaunchProces useTcpTunnel: jenkins.Harness.UseTcpTunnel, candidates: jenkins.Devices.Connected64BitIOS.Where (d => project.IsSupported (d.DevicePlatform, d.ProductVersion))) { Ignored = !jenkins.TestSelection.IsEnabled (PlatformLabel.iOS64) }); - var build32 = new MSBuildTask (jenkins: jenkins, testProject: project, processManager: processManager) { - ProjectConfiguration = project.Name != "dont link" ? "Debug32" : "Release32", - ProjectPlatform = "iPhone", - Platform = TestPlatform.iOS_Unified32, - TestName = project.Name, - }; - build32.CloneTestProject (jenkins.MainLog, processManager, project, HarnessConfiguration.RootDirectory); - projectTasks.Add (new RunDeviceTask ( - jenkins: jenkins, - devices: jenkins.Devices, - buildTask: build32, - processManager: processManager, - tunnelBore: jenkins.TunnelBore, - errorKnowledgeBase: jenkins.ErrorKnowledgeBase, - useTcpTunnel: jenkins.Harness.UseTcpTunnel, - candidates: jenkins.Devices.Connected32BitIOS.Where (d => project.IsSupported (d.DevicePlatform, d.ProductVersion))) { Ignored = !jenkins.TestSelection.IsEnabled (PlatformLabel.iOS32) }); - if (createTodayExtension) { var todayProject = project.GenerateVariations ? project.AsTodayExtensionProject () : project; var buildToday = new MSBuildTask (jenkins: jenkins, testProject: todayProject, processManager: processManager) { - ProjectConfiguration = "Debug64", + ProjectConfiguration = "Debug", ProjectPlatform = "iPhone", Platform = TestPlatform.iOS_TodayExtension64, TestName = project.Name, @@ -123,28 +106,9 @@ public Task> CreateAsync (Jenkins jenkins, IMlaunchProces if (createwatchOS) { var watchOSProject = project.GenerateVariations ? project.AsWatchOSProject () : project; - if (!project.SkipwatchOS32Variation) { - var buildWatch32 = new MSBuildTask (jenkins: jenkins, testProject: watchOSProject, processManager: processManager) { - ProjectConfiguration = "Debug32", - ProjectPlatform = "iPhone", - Platform = TestPlatform.watchOS_32, - TestName = project.Name, - }; - buildWatch32.CloneTestProject (jenkins.MainLog, processManager, watchOSProject, HarnessConfiguration.RootDirectory); - projectTasks.Add (new RunDeviceTask ( - jenkins: jenkins, - devices: jenkins.Devices, - buildTask: buildWatch32, - processManager: processManager, - tunnelBore: jenkins.TunnelBore, - errorKnowledgeBase: jenkins.ErrorKnowledgeBase, - useTcpTunnel: jenkins.Harness.UseTcpTunnel, - candidates: jenkins.Devices.ConnectedWatch) { Ignored = !jenkins.TestSelection.IsEnabled (PlatformLabel.watchOS) }); - } - if (!project.SkipwatchOSARM64_32Variation) { var buildWatch64_32 = new MSBuildTask (jenkins: jenkins, testProject: watchOSProject, processManager: processManager) { - ProjectConfiguration = "Release64_32", // We don't support Debug for ARM64_32 yet. + ProjectConfiguration = "Release", // We don't support Debug for ARM64_32 yet. ProjectPlatform = "iPhone", Platform = TestPlatform.watchOS_64_32, TestName = project.Name, diff --git a/tests/xharness/MonoNativeInfo.cs b/tests/xharness/MonoNativeInfo.cs index 12bf55b652ed..9e1825eb1603 100644 --- a/tests/xharness/MonoNativeInfo.cs +++ b/tests/xharness/MonoNativeInfo.cs @@ -31,12 +31,6 @@ using Microsoft.DotNet.XHarness.iOS.Shared.Hardware; namespace Xharness { - public enum MonoNativeFlavor { - None, - Compat, - Unified, - } - public enum MonoNativeLinkMode { None, Static, @@ -62,56 +56,36 @@ public static void AddProjectDefines (XmlDocument project, MonoNativeLinkMode li } } - public static string GetMinimumOSVersion (DevicePlatform platform, MonoNativeFlavor flavor) + public static string GetMinimumOSVersion (DevicePlatform platform) { - switch (flavor) { - case MonoNativeFlavor.Compat: - switch (platform) { - case DevicePlatform.iOS: - return Xamarin.SdkVersions.MiniOS; - case DevicePlatform.tvOS: - return Xamarin.SdkVersions.MinTVOS; - case DevicePlatform.watchOS: - return Xamarin.SdkVersions.MinWatchOS; - case DevicePlatform.macOS: - return Xamarin.SdkVersions.MinOSX; - default: - throw new Exception ($"Unknown DevicePlatform: {platform}"); - } - case MonoNativeFlavor.Unified: - switch (platform) { - case DevicePlatform.iOS: - return "10.0"; - case DevicePlatform.tvOS: - return "10.1"; // Can't use 10.0 due to http://openradar.appspot.com/radar?id=4966840983879680. - case DevicePlatform.watchOS: - return "4.0"; - case DevicePlatform.macOS: - return "10.12"; - default: - throw new Exception ($"Unknown DevicePlatform: {platform}"); - } + switch (platform) { + case DevicePlatform.iOS: + return Xamarin.SdkVersions.MiniOS; + case DevicePlatform.tvOS: + return Xamarin.SdkVersions.MinTVOS; + case DevicePlatform.watchOS: + return Xamarin.SdkVersions.MinWatchOS; + case DevicePlatform.macOS: + return Xamarin.SdkVersions.MinOSX; default: - throw new Exception ($"Unknown MonoNativeFlavor: {flavor}"); + throw new Exception ($"Unknown DevicePlatform: {platform}"); } } } public class MonoNativeInfo { Action log; - public MonoNativeFlavor Flavor { get; } public DevicePlatform DevicePlatform { get; set; } string rootDirectory; - public MonoNativeInfo (DevicePlatform platform, MonoNativeFlavor flavor, string rootDirectory, Action logAction = null) + public MonoNativeInfo (DevicePlatform platform, string rootDirectory, Action logAction = null) { DevicePlatform = platform; this.log = logAction; this.rootDirectory = rootDirectory ?? throw new ArgumentNullException (nameof (rootDirectory)); - this.Flavor = flavor; } - public string FlavorSuffix => Flavor == MonoNativeFlavor.Compat ? "-compat" : "-unified"; + public string FlavorSuffix => "-unified"; public string ProjectName => "mono-native" + FlavorSuffix; public string ProjectPath => Path.Combine (rootDirectory, "mono-native", DevicePlatform.ToString (), FlavorSuffix.TrimStart ('-'), TemplateName + FlavorSuffix + ".csproj"); string TemplateName => "mono-native"; @@ -124,7 +98,7 @@ public void Convert () var xml = File.ReadAllText (TemplatePath); inputProject.LoadXmlWithoutNetworkAccess (xml); inputProject.SetAssemblyName (inputProject.GetAssemblyName () + FlavorSuffix); - inputProject.AddAdditionalDefines (Flavor == MonoNativeFlavor.Compat ? "MONO_NATIVE_COMPAT" : "MONO_NATIVE_UNIFIED"); + inputProject.AddAdditionalDefines ("MONO_NATIVE_UNIFIED"); inputProject.ResolveAllPaths (TemplatePath); var template_info_plist = inputProject.GetInfoPListInclude ().Replace ('\\', '/'); @@ -140,7 +114,7 @@ public XmlDocument SetInfoPListMinimumOSVersion (string template_plist, string t var template_info_plist = template_plist; var info_plist = new XmlDocument (); info_plist.LoadWithoutNetworkAccess (template_info_plist); - SetInfoPListMinimumOSVersion (info_plist, MonoNativeHelper.GetMinimumOSVersion (DevicePlatform, Flavor)); + SetInfoPListMinimumOSVersion (info_plist, MonoNativeHelper.GetMinimumOSVersion (DevicePlatform)); info_plist.Save (target_plist, log); return info_plist; } diff --git a/tests/xharness/Targets/TVOSTarget.cs b/tests/xharness/Targets/TVOSTarget.cs index c55a79b819f0..04b99bae84fd 100644 --- a/tests/xharness/Targets/TVOSTarget.cs +++ b/tests/xharness/Targets/TVOSTarget.cs @@ -65,7 +65,7 @@ protected override string GetMinimumOSVersion (string templateMinimumOSVersion) { if (MonoNativeInfo == null) return Xamarin.SdkVersions.MinTVOS; - return MonoNativeHelper.GetMinimumOSVersion (DevicePlatform.tvOS, MonoNativeInfo.Flavor); + return MonoNativeHelper.GetMinimumOSVersion (DevicePlatform.tvOS); } protected override int [] UIDeviceFamily { @@ -105,7 +105,7 @@ protected override void ProcessProject () inputProject.ResolveAllPaths (TemplateProjectPath); // Remove bitcode from executables, since we don't need it for testing, and it makes test apps bigger (and the Apple TV might refuse to install them). - var configurations = new string [] { "Debug", "Debug64", "Release", "Release64" }; + var configurations = new string [] { "Debug", "Release" }; foreach (var c in configurations) { inputProject.AddExtraMtouchArgs ($"--gcc_flags=-fembed-bitcode-marker", "iPhone", c); } diff --git a/tests/xharness/Targets/Target.cs b/tests/xharness/Targets/Target.cs index 023ef7dc63e1..0b5ce584949b 100644 --- a/tests/xharness/Targets/Target.cs +++ b/tests/xharness/Targets/Target.cs @@ -136,11 +136,6 @@ protected virtual void ProcessDotNetProject () protected virtual void ProcessProject () { - if (!IsMultiArchitecture && IsExe) { - inputProject.DeleteConfiguration ("iPhone", "Debug32"); - inputProject.DeleteConfiguration ("iPhone", "Debug64"); - } - inputProject.SetOutputPath ("bin\\$(Platform)\\$(Configuration)" + Suffix); inputProject.SetIntermediateOutputPath ("obj\\$(Platform)\\$(Configuration)" + Suffix); diff --git a/tests/xharness/Targets/TodayExtensionTarget.cs b/tests/xharness/Targets/TodayExtensionTarget.cs index 5b7f2a61cb6e..8a740ab19e9c 100644 --- a/tests/xharness/Targets/TodayExtensionTarget.cs +++ b/tests/xharness/Targets/TodayExtensionTarget.cs @@ -131,7 +131,7 @@ protected override string GetMinimumOSVersion (string templateMinimumOSVersion) { if (MonoNativeInfo == null) return templateMinimumOSVersion; - return MonoNativeHelper.GetMinimumOSVersion (DevicePlatform.iOS, MonoNativeInfo.Flavor); + return MonoNativeHelper.GetMinimumOSVersion (DevicePlatform.iOS); } public override IEnumerable GetRelatedProjects () diff --git a/tests/xharness/Targets/UnifiedTarget.cs b/tests/xharness/Targets/UnifiedTarget.cs index ca013a63269b..9385f7dc3cfe 100644 --- a/tests/xharness/Targets/UnifiedTarget.cs +++ b/tests/xharness/Targets/UnifiedTarget.cs @@ -53,13 +53,13 @@ protected override string BindingsImports { public override string SimulatorArchitectures { get { - return "i386, x86_64"; + return "x86_64"; } } public override string DeviceArchitectures { get { - return "ARMv7, ARM64"; + return "ARM64"; } } @@ -81,7 +81,7 @@ protected override string GetMinimumOSVersion (string templateMinimumOSVersion) { if (MonoNativeInfo == null) return templateMinimumOSVersion; - return MonoNativeHelper.GetMinimumOSVersion (DevicePlatform.iOS, MonoNativeInfo.Flavor); + return MonoNativeHelper.GetMinimumOSVersion (DevicePlatform.iOS); } protected override int [] UIDeviceFamily { diff --git a/tests/xharness/Targets/WatchOSTarget.cs b/tests/xharness/Targets/WatchOSTarget.cs index 869b992500ef..d305c5205a72 100644 --- a/tests/xharness/Targets/WatchOSTarget.cs +++ b/tests/xharness/Targets/WatchOSTarget.cs @@ -20,11 +20,11 @@ public class WatchOSTarget : iOSTarget { public string WatchOSProjectPath { get { return ProjectPath; } private set { ProjectPath = value; } } public override string SimulatorArchitectures { - get { return "i386, x86_64"; } + get { return "x86_64"; } } public override string DeviceArchitectures { - get { return "ARMv7k, ARM64_32"; } + get { return "ARM64_32"; } } public override string DotNetSdk => "Microsoft.watchOS.Sdk"; @@ -86,21 +86,6 @@ void CreateWatchOSExtensionProject () var csproj = inputProject; var suffix = Suffix + "-extension"; - // Remove unused configurations - csproj.DeleteConfiguration ("iPhone", "Release64"); - csproj.DeleteConfiguration ("iPhone", "Debug64"); - - csproj.FixArchitectures ("i386", "ARMv7k", "iPhone", "Release32"); - csproj.FixArchitectures ("i386", "ARMv7k", "iPhone", "Debug32"); - - // add Release64_32 and set the correct architecture - csproj.CloneConfiguration ("iPhone", "Release", "Release64_32"); - csproj.FixArchitectures ("i386", "ARM64_32", "iPhone", "Release64_32"); - - // add Debug64_32 and set the correct architecture - csproj.CloneConfiguration ("iPhone", "Debug", "Debug64_32"); - csproj.FixArchitectures ("i386", "ARM64_32", "iPhone", "Debug64_32"); - csproj.FixArchitectures (SimulatorArchitectures, DeviceArchitectures, "iPhoneSimulator", "Debug"); csproj.FixArchitectures (SimulatorArchitectures, DeviceArchitectures, "iPhoneSimulator", "Release"); csproj.FixArchitectures (SimulatorArchitectures, DeviceArchitectures, "iPhone", "Debug"); @@ -128,7 +113,7 @@ void CreateWatchOSExtensionProject () // Not linking a watch extensions requires passing -Os to the native compiler. // https://github.com/mono/mono/issues/9867 - var configurations = new string [] { "Debug", "Debug32", "Debug64_32", "Release", "Release32", "Release64_32" }; + var configurations = new string [] { "Debug", "Release" }; foreach (var c in configurations) { var flags = "-fembed-bitcode-marker"; if (csproj.GetMtouchLink ("iPhone", c) == "None") @@ -241,7 +226,7 @@ protected override string GetMinimumOSVersion (string templateMinimumOSVersion) { if (MonoNativeInfo == null) return templateMinimumOSVersion; - return MonoNativeHelper.GetMinimumOSVersion (DevicePlatform.watchOS, MonoNativeInfo.Flavor); + return MonoNativeHelper.GetMinimumOSVersion (DevicePlatform.watchOS); } public override string Suffix { diff --git a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.iOS.csproj.in b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.iOS.csproj.in index d5e344437ce9..e572ce71f13a 100644 --- a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.iOS.csproj.in +++ b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.iOS.csproj.in @@ -24,7 +24,7 @@ True None True - i386, x86_64 + x86_64 cjk,mideast,other,rare,west @@ -36,7 +36,7 @@ 4 None True - i386, x86_64 + x86_64 cjk,mideast,other,rare,west @@ -50,64 +50,10 @@ iPhone Developer True True - ARMv7, ARM64 - cjk,mideast,other,rare,west - - - True - full - False - bin\%NAME%\iPhone\$(Configuration)-unified - DEBUG;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;NET_2_1;MOBILE;MONOTOUCH;FULL_AOT_RUNTIME;DISABLE_CAS_USE;$(DefineConstants) - prompt - 4 - iPhone Developer - True - True - ARMv7 - cjk,mideast,other,rare,west - - - True - full - False - bin\%NAME%\iPhone\$(Configuration)-unified - DEBUG;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;NET_2_1;MOBILE;MONOTOUCH;FULL_AOT_RUNTIME;DISABLE_CAS_USE;$(DefineConstants) - prompt - 4 - iPhone Developer - True - True - ARM64 + ARM64 cjk,mideast,other,rare,west - none - True - bin\%NAME%\iPhone\$(Configuration)-unified - NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;NET_2_1;MOBILE;MONOTOUCH;FULL_AOT_RUNTIME;DISABLE_CAS_USE;$(DefineConstants) - prompt - 4 - iPhone Developer - True - ARMv7, ARM64 - true - cjk,mideast,other,rare,west - - - none - True - bin\%NAME%\iPhone\$(Configuration)-unified - NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;NET_2_1;MOBILE;MONOTOUCH;FULL_AOT_RUNTIME;DISABLE_CAS_USE;$(DefineConstants) - prompt - 4 - iPhone Developer - True - ARMv7 - true - cjk,mideast,other,rare,west - - none True bin\%NAME%\iPhone\$(Configuration)-unified diff --git a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.tvOS.csproj.in b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.tvOS.csproj.in index 417c772fedfb..b7d67992a353 100644 --- a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.tvOS.csproj.in +++ b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.tvOS.csproj.in @@ -68,32 +68,6 @@ --bitcode:asmonly cjk,mideast,other,rare,west - - none - True - bin\%NAME%\iPhone\Release32-tvos - NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;NET_2_1;MOBILE;MONOTOUCH;FULL_AOT_RUNTIME;DISABLE_CAS_USE;$(DefineConstants) - prompt - 4 - iPhone Developer - True - ARM64 - true - cjk,mideast,other,rare,west - - - none - True - bin\%NAME%\iPhone\Release64-tvos - NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;NET_2_1;MOBILE;MONOTOUCH;FULL_AOT_RUNTIME;DISABLE_CAS_USE;$(DefineConstants) - prompt - 4 - iPhone Developer - True - ARM64 - true - cjk,mideast,other,rare,west - diff --git a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.App.csproj.in b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.App.csproj.in index f24c95f38b83..cb56b19b28c3 100644 --- a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.App.csproj.in +++ b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.App.csproj.in @@ -21,7 +21,7 @@ DEBUG; prompt 4 - i386, x86_64 + x86_64 None true true @@ -29,13 +29,13 @@ true true - + bin\%NAME%-watchos-app\iPhone\$(Configuration)-watchos-app full true prompt 4 - ARMv7k + ARM64_32 %TEMPLATE PATH%\Entitlements.plist true iPhone Developer @@ -46,11 +46,11 @@ true prompt 4 - i386, x86_64 + x86_64 None iPhone Developer - + bin\%NAME%-watchos-app\iPhone\$(Configuration)-watchos-app true full @@ -58,7 +58,7 @@ DEBUG; prompt 4 - ARMv7k + ARM64_32 %TEMPLATE PATH%\Entitlements.plist true iPhone Developer diff --git a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.Extension.csproj.in b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.Extension.csproj.in index d6a0a6b82130..e03797562533 100644 --- a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.Extension.csproj.in +++ b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.Extension.csproj.in @@ -27,7 +27,7 @@ True True - i386, x86_64 + x86_64 iPhone Developer None cjk,mideast,other,rare,west @@ -42,7 +42,7 @@ None True - i386, x86_64 + x86_64 cjk,mideast,other,rare,west @@ -56,37 +56,11 @@ True iPhone Developer - ARMv7k, ARM64_32 + ARM64_32 True SdkOnly cjk,mideast,other,rare,west - - true - false - bin\%NAME%-watchos-extension\iPhone\Debug64_32-watchos-extension - prompt - 4 - true - iPhone Developer - ARM64_32 - - true - SdkOnly - - - true - false - bin\%NAME%-watchos-extension\iPhone\Debug32-watchos-extension - prompt - 4 - true - iPhone Developer - ARMv7k - - true - SdkOnly - none False @@ -96,37 +70,13 @@ 4 iPhone Developer -v -v -v -v --nosymbolstrip - ARMv7k + ARM64_32 True true true cjk,mideast,other,rare,west SdkOnly - - true - bin\%NAME%-watchos-extension\iPhone\Release64_32-watchos-extension - prompt - 4 - iPhone Developer - true - --nostrip --nosymbolstrip: --aot-options=-O=float32 --gcc_flags='-fembed-bitcode-marker' - ARM64_32 - True - SdkOnly - - - true - bin\%NAME%-watchos-extension\iPhone\Release32-watchos-extension - prompt - 4 - iPhone Developer - true - --nostrip --nosymbolstrip: --aot-options=-O=float32 --gcc_flags='-fembed-bitcode-marker' - ARMv7k - True - SdkOnly - diff --git a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.csproj.in b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.csproj.in index b56f46f45b45..54fea1531da7 100644 --- a/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.csproj.in +++ b/tests/xharness/TestImporter/Templates/Managed/Resources/Managed.watchOS.csproj.in @@ -26,7 +26,7 @@ iPhone Developer true - + bin\%NAME%\iPhone\$(Configuration)-watchos full true @@ -48,7 +48,7 @@ None iPhone Developer - + bin\%NAME%\iPhone\$(Configuration)-watchos true full diff --git a/tests/xharness/TestImporter/Templates/Managed/Resources/src/watchOS/Container/Container.csproj b/tests/xharness/TestImporter/Templates/Managed/Resources/src/watchOS/Container/Container.csproj index b8268c10fa66..2f683db09731 100644 --- a/tests/xharness/TestImporter/Templates/Managed/Resources/src/watchOS/Container/Container.csproj +++ b/tests/xharness/TestImporter/Templates/Managed/Resources/src/watchOS/Container/Container.csproj @@ -26,7 +26,7 @@ iPhone Developer true - + bin\iPhone\$(Configuration)-watchos full true @@ -48,7 +48,7 @@ None iPhone Developer - + bin\iPhone\$(Configuration)-watchos true full diff --git a/tests/xharness/Xharness.Tests/Samples/TestProject/SystemXunit.csproj b/tests/xharness/Xharness.Tests/Samples/TestProject/SystemXunit.csproj index 928b518b7e6b..9b2266793c4f 100644 --- a/tests/xharness/Xharness.Tests/Samples/TestProject/SystemXunit.csproj +++ b/tests/xharness/Xharness.Tests/Samples/TestProject/SystemXunit.csproj @@ -24,7 +24,7 @@ True None True - i386, x86_64 + x86_64 cjk,mideast,other,rare,west @@ -38,7 +38,7 @@ iPhone Developer True True - ARMv7, ARM64 + ARM64 cjk,mideast,other,rare,west diff --git a/tests/xharness/iOSTestProject.cs b/tests/xharness/iOSTestProject.cs index bb84b1d7e196..1c81e94d4648 100644 --- a/tests/xharness/iOSTestProject.cs +++ b/tests/xharness/iOSTestProject.cs @@ -6,7 +6,6 @@ public class iOSTestProject : TestProject { public bool SkipiOSVariation; public bool SkipwatchOSVariation; // skip both public bool SkipwatchOSARM64_32Variation; - public bool SkipwatchOS32Variation; public bool SkiptvOSVariation; public bool SkipTodayExtensionVariation; public bool SkipDeviceVariations; @@ -22,7 +21,7 @@ public bool IsSupported (DevicePlatform devicePlatform, string productVersion) { if (MonoNativeInfo == null) return true; - var min_version = MonoNativeHelper.GetMinimumOSVersion (devicePlatform, MonoNativeInfo.Flavor); + var min_version = MonoNativeHelper.GetMinimumOSVersion (devicePlatform); return Version.Parse (productVersion) >= Version.Parse (min_version); } @@ -37,7 +36,6 @@ protected override TestProject CompleteClone (TestProject project) rv.SkipiOSVariation = SkipiOSVariation; rv.SkipwatchOSVariation = SkipwatchOSVariation; rv.SkipwatchOSARM64_32Variation = SkipwatchOSARM64_32Variation; - rv.SkipwatchOS32Variation = SkipwatchOS32Variation; rv.SkiptvOSVariation = SkiptvOSVariation; rv.SkipTodayExtensionVariation = SkipTodayExtensionVariation; rv.SkipDeviceVariations = SkipDeviceVariations; diff --git a/tools/common/Application.cs b/tools/common/Application.cs index 37c2354e5efd..d6c60f20b83d 100644 --- a/tools/common/Application.cs +++ b/tools/common/Application.cs @@ -38,7 +38,6 @@ public enum BuildTarget { public enum MonoNativeMode { None, - Compat, Unified, } @@ -909,21 +908,8 @@ void SelectMonoNative () switch (Platform) { case ApplePlatform.iOS: case ApplePlatform.TVOS: - MonoNativeMode = DeploymentTarget.Major >= 10 ? MonoNativeMode.Unified : MonoNativeMode.Compat; - break; case ApplePlatform.WatchOS: - if (IsArchEnabled (Abis, Abi.ARM64_32)) { - MonoNativeMode = MonoNativeMode.Unified; - } else { - MonoNativeMode = DeploymentTarget.Major >= 3 ? MonoNativeMode.Unified : MonoNativeMode.Compat; - } - break; case ApplePlatform.MacOSX: - if (DeploymentTarget >= new Version (10, 12)) - MonoNativeMode = MonoNativeMode.Unified; - else - MonoNativeMode = MonoNativeMode.Compat; - break; case ApplePlatform.MacCatalyst: MonoNativeMode = MonoNativeMode.Unified; break; @@ -940,8 +926,6 @@ public string GetLibNativeName () return "libmono-native"; return "libmono-native-unified"; - case MonoNativeMode.Compat: - return "libmono-native-compat"; default: throw ErrorHelper.CreateError (99, Errors.MX0099, $"Invalid mono native type: '{MonoNativeMode}'"); } diff --git a/tools/common/SdkVersions.cs b/tools/common/SdkVersions.cs index f99ea8eb1b78..4b35a92d0dd9 100644 --- a/tools/common/SdkVersions.cs +++ b/tools/common/SdkVersions.cs @@ -22,16 +22,16 @@ static class SdkVersions { public const string MacCatalyst = "16.2"; #if NET - public const string MinOSX = "10.14"; - public const string MiniOS = "10.0"; + public const string MinOSX = "10.15"; + public const string MiniOS = "11.0"; public const string MinWatchOS = "99.99"; // TODO not supported, many changes required to remove it - public const string MinTVOS = "10.0"; + public const string MinTVOS = "11.0"; public const string MinMacCatalyst = "13.1"; #else - public const string MinOSX = "10.9"; - public const string MiniOS = "7.0"; - public const string MinWatchOS = "2.0"; - public const string MinTVOS = "9.0"; + public const string MinOSX = "10.15"; + public const string MiniOS = "11.0"; + public const string MinWatchOS = "4.0"; + public const string MinTVOS = "11.0"; public const string MinMacCatalyst = "13.1"; #endif