diff --git a/src/AVFoundation/AVCaptureVideoPreviewLayer.cs b/src/AVFoundation/AVCaptureVideoPreviewLayer.cs index f13b9809041d..fa246c72ba5b 100644 --- a/src/AVFoundation/AVCaptureVideoPreviewLayer.cs +++ b/src/AVFoundation/AVCaptureVideoPreviewLayer.cs @@ -12,7 +12,7 @@ public partial class AVCaptureVideoPreviewLayer { public enum InitMode { WithConnection, - [iOS (8,0), Mac (10,7)] + [iOS (8,0)] WithNoConnection, } diff --git a/src/AVFoundation/AVTypes.cs b/src/AVFoundation/AVTypes.cs index fd5cd9fafd23..8c4c0fc04ada 100644 --- a/src/AVFoundation/AVTypes.cs +++ b/src/AVFoundation/AVTypes.cs @@ -259,7 +259,6 @@ public static class AVUtilities { [DllImport (Constants.AVFoundationLibrary)] static extern /* CGRect */ RectangleF AVMakeRectWithAspectRatioInsideRect (/* CGSize */ SizeF aspectRatio, /* CGRect */ RectangleF boundingRect); - [Mac (10,7)] public static RectangleF WithAspectRatio (this RectangleF self, SizeF aspectRatio) { return AVMakeRectWithAspectRatioInsideRect (aspectRatio, self); diff --git a/src/AVFoundation/Enums.cs b/src/AVFoundation/Enums.cs index 85858e65d870..1724429511fc 100644 --- a/src/AVFoundation/Enums.cs +++ b/src/AVFoundation/Enums.cs @@ -310,7 +310,6 @@ public enum AVAssetImageGeneratorResult : long { #if !XAMCORE_3_0 || MONOMAC [NoTV] - [Mac (10,7)] // N/A in iOS [Native] // NSInteger - AVCaptureDevice.h public enum AVCaptureDeviceTransportControlsPlaybackMode : long { @@ -318,7 +317,6 @@ public enum AVCaptureDeviceTransportControlsPlaybackMode : long { } [NoTV, NoWatch] - [Mac (10,7)] // N/A in iOS [Native] // NSInteger - AVCaptureSession.h public enum AVVideoFieldMode : long { @@ -694,7 +692,6 @@ public enum AVMovieWritingOptions : ulong } [NoiOS][NoTV][NoWatch] - [Mac (10,7)] [Native] public enum AVContentAuthorizationStatus : long { Unknown, diff --git a/src/AppKit/Enums.cs b/src/AppKit/Enums.cs index e4460421e2a8..768accb7ab5f 100644 --- a/src/AppKit/Enums.cs +++ b/src/AppKit/Enums.cs @@ -1995,13 +1995,13 @@ public enum NSOpenGLContextParameter : ulong { SurfaceOrder = 235, SurfaceOpacity = 236, - [Mac (10, 7)] SurfaceBackingSize = 304, - [Mac (10, 7)] ReclaimResources = 308, - [Mac (10, 7)] CurrentRendererID = 309, - [Mac (10, 7)] GpuVertexProcessing = 310, - [Mac (10, 7)] GpuFragmentProcessing = 311, - [Mac (10, 7)] HasDrawable = 314, - [Mac (10, 7)] MpsSwapsInFlight = 315 + SurfaceBackingSize = 304, + ReclaimResources = 308, + CurrentRendererID = 309, + GpuVertexProcessing = 310, + GpuFragmentProcessing = 311, + HasDrawable = 314, + MpsSwapsInFlight = 315 } public enum NSSurfaceOrder { @@ -2013,10 +2013,10 @@ public enum NSSurfaceOrder { public enum NSOpenGLPixelFormatAttribute : uint { // uint32_t NSOpenGLPixelFormatAttribute AllRenderers = 1, DoubleBuffer = 5, - [Mac (10, 7)] TripleBuffer = 3, + TripleBuffer = 3, #if !XAMCORE_4_0 [Obsolete ("Use 'TripleBuffer' instead.")] - [Mac (10, 7)] TrippleBuffer = TripleBuffer, + TrippleBuffer = TripleBuffer, #endif Stereo = 6, AuxBuffers = 7, @@ -2058,7 +2058,7 @@ public enum NSOpenGLPixelFormatAttribute : uint { // uint32_t NSOpenGLPixelForma AcceleratedCompute = 97, // Specify the profile - [Mac (10, 7)] OpenGLProfile = 99, + OpenGLProfile = 99, VirtualScreenCount = 128, [Deprecated (PlatformName.MacOSX, 10, 5)] @@ -2097,7 +2097,7 @@ public enum NSOpenGLGlobalOption : uint { FormatCacheSize = 501, ClearFormatCache = 502, RetainRenderers = 503, - [Mac (10, 7)] UseBuildCache = 506, + UseBuildCache = 506, [Deprecated (PlatformName.MacOSX, 10, 4)] ResetLibrary = 504 } @@ -2406,7 +2406,6 @@ public enum NSWindowAnimationBehavior : long { Default = 0, None = 2, DocumentWindow, UtilityWindow, AlertPanel } - [Mac (10, 7)] [Native] public enum NSTextFinderAction : long { ShowFindInterface = 1, diff --git a/src/AppKit/NSAccessibility.cs b/src/AppKit/NSAccessibility.cs index aa2cde70aeec..aedf2cefdbf6 100644 --- a/src/AppKit/NSAccessibility.cs +++ b/src/AppKit/NSAccessibility.cs @@ -90,7 +90,6 @@ public static CGPoint GetPointInView (NSView parentView, CGPoint point) return NSAccessibilityPointInView (parentView, point); } - [Mac (10,7)] [DllImport (Constants.AppKitLibrary)] static extern void NSAccessibilityPostNotificationWithUserInfo (IntPtr element, IntPtr notification, IntPtr userInfo); diff --git a/src/AppKit/NSColor.cs b/src/AppKit/NSColor.cs index 6b197b9efc42..1d8f906d76a6 100644 --- a/src/AppKit/NSColor.cs +++ b/src/AppKit/NSColor.cs @@ -247,7 +247,7 @@ public override string ToString () } } - [Mac (10, 8)][Obsolete ("Use 'UnderPageBackgroundColor' instead.")] + [Obsolete ("Use 'UnderPageBackgroundColor' instead.")] public static NSColor UnderPageBackground { get { return UnderPageBackgroundColor; diff --git a/src/AppKit/NSStringAttributes.cs b/src/AppKit/NSStringAttributes.cs index 0196c10e2a59..fdb66af45b30 100644 --- a/src/AppKit/NSStringAttributes.cs +++ b/src/AppKit/NSStringAttributes.cs @@ -362,13 +362,11 @@ public bool? MarkedClauseSegment { set { Set (NSStringAttributeKey.MarkedClauseSegment, value); } } - [Mac (10, 7)] public NSTextLayoutOrientation? VerticalGlyphForm { get { return (NSTextLayoutOrientation?)GetInt32Value (NSStringAttributeKey.VerticalGlyphForm); } set { SetNumberValue (NSStringAttributeKey.VerticalGlyphForm, (int?)value); } } - [Mac (10, 8)] public NSTextAlternatives TextAlternatives { get { return Get (NSStringAttributeKey.TextAlternatives, handle => new NSTextAlternatives (handle)); } set { SetNativeValue (NSStringAttributeKey.TextAlternatives, value); } @@ -520,13 +518,11 @@ public bool? MarkedClauseSegment { set { Set (NSAttributedString.MarkedClauseSegmentAttributeName, value); } } - [Mac (10, 7)] public NSTextLayoutOrientation? VerticalGlyphForm { get { return (NSTextLayoutOrientation?)GetInt32Value (NSAttributedString.VerticalGlyphFormAttributeName); } set { SetNumberValue (NSAttributedString.VerticalGlyphFormAttributeName, (int?)value); } } - [Mac (10, 8)] public NSTextAlternatives TextAlternatives { get { return Get (NSAttributedString.TextAlternativesAttributeName, handle => new NSTextAlternatives (handle)); } set { SetNativeValue (NSAttributedString.TextAlternativesAttributeName, value); } diff --git a/src/AppKit/XEnums.cs b/src/AppKit/XEnums.cs index 4d9ab32ae41e..b1e6d0912293 100644 --- a/src/AppKit/XEnums.cs +++ b/src/AppKit/XEnums.cs @@ -11,7 +11,6 @@ namespace AppKit { - [Mac (10, 7)] [Native] public enum NSTextLayoutOrientation : long { Horizontal, @@ -19,7 +18,7 @@ public enum NSTextLayoutOrientation : long { } #if !XAMCORE_2_0 - [Mac (10, 7), Flags] + [Flags] [Native] public enum NSTableViewAnimationOptions : ulong { EffectFade = 0x1, @@ -33,14 +32,12 @@ public enum NSTableViewAnimationOptions : ulong { } #endif - [Mac (10, 7)] [Native] public enum NSPrintRenderingQuality : long { Best, Responsive } - [Mac (10, 7)] [Native] public enum NSCorrectionIndicatorType : long { Default = 0, @@ -48,7 +45,6 @@ public enum NSCorrectionIndicatorType : long { Guesses } - [Mac (10, 7)] [Native] public enum NSCorrectionResponse : long { None, @@ -59,7 +55,6 @@ public enum NSCorrectionResponse : long { Reverted } - [Mac (10, 7)] [Native] public enum NSTextFinderMatchingType : long { Contains = 0, diff --git a/src/AudioToolbox/AudioQueue.cs b/src/AudioToolbox/AudioQueue.cs index 91dffa2e0a73..824c23dcff37 100644 --- a/src/AudioToolbox/AudioQueue.cs +++ b/src/AudioToolbox/AudioQueue.cs @@ -1296,11 +1296,9 @@ public AudioQueueStatus GetSourceAudio (uint numberOfFrames, ref AudioTimeStamp out flags, out parentNumberOfFrames, (IntPtr) data); } - [Mac (10,8)] [DllImport (Constants.AudioToolboxLibrary)] extern static AudioQueueStatus AudioQueueProcessingTapGetQueueTime (IntPtr inAQTap, out double outQueueSampleTime, out uint outQueueFrameCount); - [Mac (10,8)] public AudioQueueStatus GetQueueTime (out double sampleTime, out uint frameCount) { return AudioQueueProcessingTapGetQueueTime (TapHandle, out sampleTime, out frameCount); diff --git a/src/CoreFoundation/CFProxySupport.cs b/src/CoreFoundation/CFProxySupport.cs index 2a4d37b7c6ca..a4bc893c667a 100644 --- a/src/CoreFoundation/CFProxySupport.cs +++ b/src/CoreFoundation/CFProxySupport.cs @@ -254,7 +254,6 @@ public NSObject AutoConfigurationHTTPResponse { } #endif - [Mac (10,7)] public NSString AutoConfigurationJavaScript { get { if (AutoConfigurationJavaScriptKey == null) diff --git a/src/CoreGraphics/CGPath.cs b/src/CoreGraphics/CGPath.cs index 49282faa90f7..47ca92e61988 100644 --- a/src/CoreGraphics/CGPath.cs +++ b/src/CoreGraphics/CGPath.cs @@ -73,7 +73,6 @@ public CGPath () handle = CGPathCreateMutable (); } - [Mac(10,7)] public CGPath (CGPath reference, CGAffineTransform transform) { if (reference == null) @@ -571,25 +570,21 @@ extern unsafe static IntPtr CGPathCreateCopyByDashingPath ( /* CGFloat */ nfloat [] lengths, /* size_t */ nint count); - [Mac(10,7)] public CGPath CopyByDashingPath (CGAffineTransform transform, nfloat [] lengths) { return CopyByDashingPath (transform, lengths, 0); } - [Mac(10,7)] public unsafe CGPath CopyByDashingPath (CGAffineTransform transform, nfloat [] lengths, nfloat phase) { return MakeMutable (CGPathCreateCopyByDashingPath (handle, &transform, phase, lengths, lengths == null ? 0 : lengths.Length)); } - [Mac(10,7)] public CGPath CopyByDashingPath (nfloat [] lengths) { return CopyByDashingPath (lengths, 0); } - [Mac(10,7)] public unsafe CGPath CopyByDashingPath (nfloat [] lengths, nfloat phase) { var path = CGPathCreateCopyByDashingPath (handle, null, phase, lengths, lengths == null ? 0 : lengths.Length); @@ -604,13 +599,11 @@ public unsafe CGPath Copy () [DllImport (Constants.CoreGraphicsLibrary)] unsafe extern static IntPtr CGPathCreateCopyByStrokingPath (/* CGPathRef */ IntPtr path, CGAffineTransform *transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, /* CGFloat */ nfloat miterLimit); - [Mac(10,7)] public unsafe CGPath CopyByStrokingPath (CGAffineTransform transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, nfloat miterLimit) { return MakeMutable (CGPathCreateCopyByStrokingPath (handle, &transform, lineWidth, lineCap, lineJoin, miterLimit)); } - [Mac(10,7)] public unsafe CGPath CopyByStrokingPath (nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, nfloat miterLimit) { return MakeMutable (CGPathCreateCopyByStrokingPath (handle, null, lineWidth, lineCap, lineJoin, miterLimit)); @@ -630,13 +623,11 @@ public CGPath CopyByTransformingPath (CGAffineTransform transform) [DllImport (Constants.CoreGraphicsLibrary)] unsafe extern static IntPtr CGPathCreateWithEllipseInRect (CGRect boundingRect, CGAffineTransform *transform); - [Mac(10,7)] static public unsafe CGPath EllipseFromRect (CGRect boundingRect, CGAffineTransform transform) { return MakeMutable (CGPathCreateWithEllipseInRect (boundingRect, &transform)); } - [Mac(10,7)] static public unsafe CGPath EllipseFromRect (CGRect boundingRect) { return MakeMutable (CGPathCreateWithEllipseInRect (boundingRect, null)); @@ -645,13 +636,11 @@ static public unsafe CGPath EllipseFromRect (CGRect boundingRect) [DllImport (Constants.CoreGraphicsLibrary)] unsafe extern static IntPtr CGPathCreateWithRect (CGRect boundingRect, CGAffineTransform *transform); - [Mac(10,7)] static public unsafe CGPath FromRect (CGRect rectangle, CGAffineTransform transform) { return MakeMutable (CGPathCreateWithRect (rectangle, &transform)); } - [Mac(10,7)] static public unsafe CGPath FromRect (CGRect rectangle) { return MakeMutable (CGPathCreateWithRect (rectangle, null)); diff --git a/src/CoreMedia/CMBlockBuffer.cs b/src/CoreMedia/CMBlockBuffer.cs index 4611bb142c02..a259924a5c0d 100644 --- a/src/CoreMedia/CMBlockBuffer.cs +++ b/src/CoreMedia/CMBlockBuffer.cs @@ -40,7 +40,6 @@ public enum CMBlockBufferFlags : uint { PermitEmptyReference = (1<<3) } - [Mac (10,7)] public class CMBlockBuffer : ICMAttachmentBearer, IDisposable { internal IntPtr handle; internal CMCustomBlockAllocator customAllocator; diff --git a/src/CoreMedia/CMMemoryPool.cs b/src/CoreMedia/CMMemoryPool.cs index bb538e75e56a..e341da72c566 100644 --- a/src/CoreMedia/CMMemoryPool.cs +++ b/src/CoreMedia/CMMemoryPool.cs @@ -15,7 +15,7 @@ namespace CoreMedia { - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] public partial class CMMemoryPool : IDisposable, INativeObject { IntPtr handle; diff --git a/src/CoreMedia/CMSync.cs b/src/CoreMedia/CMSync.cs index c1a7525da249..d7adc2f1aa60 100644 --- a/src/CoreMedia/CMSync.cs +++ b/src/CoreMedia/CMSync.cs @@ -26,7 +26,7 @@ public enum CMClockError : int } // CMSync.h - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] public class CMClock : CMClockOrTimebase { public CMClock (IntPtr handle) : base (handle) @@ -122,7 +122,7 @@ public enum CMTimebaseError : int ReadOnly = -12757, } - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] public class CMTimebase : CMClockOrTimebase { public CMTimebase (IntPtr handle) @@ -214,7 +214,6 @@ public double Rate { [iOS (6, 0)] [Deprecated (PlatformName.iOS, 9, 0, message : "Use 'CopyMasterTimebase' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 11, message : "Use 'CopyMasterTimebase' instead.")] public CMTimebase GetMasterTimebase () { @@ -230,7 +229,6 @@ public CMTimebase GetMasterTimebase () [iOS (6, 0)] [Deprecated (PlatformName.iOS, 9, 0, message : "Use 'CopyMasterClock' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 11, message : "Use 'CopyMasterClock' instead.")] public CMClock GetMasterClock () { @@ -246,7 +244,6 @@ public CMClock GetMasterClock () [iOS (6, 0)] [Deprecated (PlatformName.iOS, 9, 0, message : "Use 'CopyMaster' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 11, message : "Use 'CopyMaster' instead.")] public CMClockOrTimebase GetMaster () { @@ -262,7 +259,6 @@ public CMClockOrTimebase GetMaster () [iOS (6, 0)] [Deprecated (PlatformName.iOS, 9, 0, message : "Use 'CopyUltimateMasterClock' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 11, message : "Use 'CopyUltimateMasterClock' instead.")] public CMClock GetUltimateMasterClock () { @@ -477,7 +473,7 @@ public enum CMSyncError : int { RateMustBeNonZero = -12755, } - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] public class CMClockOrTimebase : IDisposable, INativeObject { internal IntPtr handle; diff --git a/src/CoreText/CTFont.cs b/src/CoreText/CTFont.cs index 8f6b05f7b17c..85fd97848a71 100644 --- a/src/CoreText/CTFont.cs +++ b/src/CoreText/CTFont.cs @@ -1993,11 +1993,11 @@ public CGRect GetBoundingRects (CTFontOrientation orientation, CGGlyph[] glyphs, return CTFontGetBoundingRectsForGlyphs (handle, orientation, glyphs, boundingRects, count); } - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [DllImport (Constants.CoreTextLibrary)] static extern CGRect CTFontGetOpticalBoundsForGlyphs (IntPtr font, [In] CGGlyph[] glyphs, [Out] CGRect[] boundingRects, nint count, nuint options); - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] public CGRect GetOpticalBounds (CGGlyph[] glyphs, CGRect[] boundingRects, nint count, CTFontOptions options = 0) { AssertCount (count); @@ -2199,12 +2199,12 @@ public NSData GetFontTableData (CTFontTable table, CTFontTableOptions options) #endregion #region - [iOS (6,0)][Mac (10, 8)] + [iOS (6,0)] [DllImport (Constants.CoreTextLibrary)] extern static /* CFArrayRef __nullable */ IntPtr CTFontCopyDefaultCascadeListForLanguages ( /* CTFontRef __nonnull */ IntPtr font, /* CFArrayRef __nullable */ IntPtr languagePrefList); - [iOS (6,0)][Mac (10, 8)] + [iOS (6,0)] public CTFontDescriptor [] GetDefaultCascadeList (string [] languages) { using (var arr = languages == null ? null : NSArray.FromStrings (languages)) { diff --git a/src/CoreText/CTFontCollection.cs b/src/CoreText/CTFontCollection.cs index 05d5de879628..a03fee6d873d 100644 --- a/src/CoreText/CTFontCollection.cs +++ b/src/CoreText/CTFontCollection.cs @@ -170,11 +170,11 @@ public CTFontDescriptor[] GetMatchingFontDescriptors () return matches; } - [Mac (10,7), iOS (12,0), TV (12,0), Watch (5,0)] + [iOS (12,0), TV (12,0), Watch (5,0)] [DllImport (Constants.CoreTextLibrary)] static extern IntPtr CTFontCollectionCreateMatchingFontDescriptorsWithOptions (IntPtr collection, IntPtr options); - [Mac (10,7), iOS (12,0), TV (12,0), Watch (5,0)] + [iOS (12,0), TV (12,0), Watch (5,0)] public CTFontDescriptor [] GetMatchingFontDescriptors (CTFontCollectionOptions options) { var cfArrayRef = CTFontCollectionCreateMatchingFontDescriptorsWithOptions (handle, options == null ? IntPtr.Zero : options.Dictionary.Handle); diff --git a/src/CoreText/CTFontManager.cs b/src/CoreText/CTFontManager.cs index dd148c7c572b..c0c0ec1239f4 100644 --- a/src/CoreText/CTFontManager.cs +++ b/src/CoreText/CTFontManager.cs @@ -191,11 +191,9 @@ public static CTFontDescriptor[] GetFonts (NSUrl url) } } - [Mac (10,8)] [DllImport (Constants.CoreTextLibrary)] static extern bool CTFontManagerRegisterGraphicsFont (IntPtr cgfont, out IntPtr error); - [Mac (10,8)] public static bool RegisterGraphicsFont (CGFont font, out NSError error) { if (font == null) @@ -215,11 +213,9 @@ public static bool RegisterGraphicsFont (CGFont font, out NSError error) return ret; } - [Mac (10,8)] [DllImport (Constants.CoreTextLibrary)] static extern bool CTFontManagerUnregisterGraphicsFont (IntPtr cgfont, out IntPtr error); - [Mac (10,8)] public static bool UnregisterGraphicsFont (CGFont font, out NSError error) { if (font == null) diff --git a/src/CoreText/CTLine.cs b/src/CoreText/CTLine.cs index 82fa124e4e90..a1dc7f41962a 100644 --- a/src/CoreText/CTLine.cs +++ b/src/CoreText/CTLine.cs @@ -179,11 +179,11 @@ public CGRect GetImageBounds (CGContext context) return CTLineGetImageBounds (handle, context.GetHandle ()); } - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [DllImport (Constants.CoreTextLibrary)] static extern CGRect CTLineGetBoundsWithOptions (IntPtr line, nuint options); - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] public CGRect GetBounds (CTLineBoundsOptions options) { return CTLineGetBoundsWithOptions (handle, (nuint) (ulong) options); diff --git a/src/CoreVideo/CVImageBuffer.cs b/src/CoreVideo/CVImageBuffer.cs index 2abb3f5ade72..60d1af2d2f5a 100644 --- a/src/CoreVideo/CVImageBuffer.cs +++ b/src/CoreVideo/CVImageBuffer.cs @@ -213,7 +213,6 @@ public CGColorSpace ColorSpace { #endif #if MONOMAC - [Mac (10, 8)] [DllImport (Constants.CoreVideoLibrary)] extern static /* CGColorSpaceRef */ IntPtr CVImageBufferCreateColorSpaceFromAttachments (/* CFDictionaryRef */ IntPtr attachments); diff --git a/src/Foundation/Enum.cs b/src/Foundation/Enum.cs index 5713fed437ad..5469a3430740 100644 --- a/src/Foundation/Enum.cs +++ b/src/Foundation/Enum.cs @@ -190,19 +190,13 @@ public enum NSCalendarUnit : ulong { WeekdayOrdinal = 1024, Quarter = 2048, - [Mac (10, 7)] WeekOfMonth = (1 << 12), - [Mac (10, 7)] WeekOfYear = (1 << 13), - [Mac (10, 7)] YearForWeakOfYear = (1 << 14), - [Mac (10, 7)] Nanosecond = (1 << 15), - [Mac (10, 7)] Calendar = (1 << 20), - [Mac (10, 7)] TimeZone = (1 << 21), } @@ -1150,11 +1144,8 @@ public enum NSTextCheckingType : ulong { Dash = 1 << 7, Replacement = 1 << 8, Correction = 1 << 9, - [Mac (10, 7)] RegularExpression = 1 << 10, - [Mac (10, 7)] PhoneNumber = 1 << 11, - [Mac (10, 7)] TransitInformation = 1 << 12, } diff --git a/src/Foundation/NSSecureCoding.cs b/src/Foundation/NSSecureCoding.cs index 35c16b28644a..ea1bf9a4dd21 100644 --- a/src/Foundation/NSSecureCoding.cs +++ b/src/Foundation/NSSecureCoding.cs @@ -18,7 +18,6 @@ public partial class NSSecureCoding { #endif [iOS (6,0)] - [Mac (10,8)] public static bool SupportsSecureCoding (Type type) { if (type == null) @@ -40,7 +39,6 @@ public static bool SupportsSecureCoding (Type type) } [iOS (6,0)] - [Mac (10,8)] public static bool SupportsSecureCoding (Class klass) { if (klass == null) diff --git a/src/GameKit/GameKit.cs b/src/GameKit/GameKit.cs index dc3b223a87c7..f885c8bb9686 100644 --- a/src/GameKit/GameKit.cs +++ b/src/GameKit/GameKit.cs @@ -56,7 +56,6 @@ public enum GKVoiceChatServiceError { // untyped enum -> GKPublicConstants.h [Deprecated (PlatformName.iOS, 7, 0)] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10)] public enum GKSendDataMode { Reliable, @@ -65,7 +64,6 @@ public enum GKSendDataMode { // untyped enum -> GKPublicConstants.h [Deprecated (PlatformName.iOS, 7, 0)] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10)] public enum GKSessionMode { Server, @@ -75,7 +73,6 @@ public enum GKSessionMode { // untyped enum -> GKPublicConstants.h [Deprecated (PlatformName.iOS, 7, 0)] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10)] public enum GKPeerConnectionState { Available, @@ -185,7 +182,6 @@ public enum GKGameSessionErrorCode : long { // NSInteger -> GKMatch.h [Deprecated (PlatformName.iOS, 7, 0)] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10)] [Native] public enum GKMatchSendDataMode : long { diff --git a/src/GameKit/GameKit2.cs b/src/GameKit/GameKit2.cs index e85b0dc3c3cd..6ef2a6dad47b 100644 --- a/src/GameKit/GameKit2.cs +++ b/src/GameKit/GameKit2.cs @@ -358,7 +358,6 @@ public bool SendDataToAllPlayers (NSData data, GKMatchSendDataMode mode, IntPtr #if !XAMCORE_2_0 public partial class GKScore { [Deprecated (PlatformName.iOS, 8, 0, message : "Use 'LeaderboardIdentifier' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'LeaderboardIdentifier' instead.")] public string Category { get { return category; } diff --git a/src/ImageIO/CGImageDestination.cs b/src/ImageIO/CGImageDestination.cs index 5c284f72dd26..caa9e4de0d13 100644 --- a/src/ImageIO/CGImageDestination.cs +++ b/src/ImageIO/CGImageDestination.cs @@ -42,19 +42,19 @@ public partial class CGImageDestinationOptions { public CGColor DestinationBackgroundColor { get; set; } // new in iOS 7 and 10.8 - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public CGImageMetadata Metadata { get; set; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public bool MergeMetadata { get; set; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public bool ShouldExcludeXMP { get; set; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public int? Orientation { get; set; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public DateTime? DateTime { get; set; } [Mac (10, 10)] @@ -141,23 +141,23 @@ internal NSMutableDictionary ToDictionary () public partial class CGCopyImageSourceOptions { - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public CGImageMetadata Metadata { get; set; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public bool MergeMetadata { get; set; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public bool ShouldExcludeXMP { get; set; } [Mac (10, 10)] [iOS (8, 0)] public bool ShouldExcludeGPS { get; set; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public DateTime? DateTime { get; set; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public int? Orientation { get; set; } internal NSMutableDictionary ToDictionary () @@ -416,14 +416,14 @@ public bool Close () return success; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] [DllImport (Constants.ImageIOLibrary)] extern static void CGImageDestinationAddImageAndMetadata (/* CGImageDestinationRef __nonnull */ IntPtr idst, /* CGImageRef __nonnull */ IntPtr image, /* CGImageMetadataRef __nullable */ IntPtr metadata, /* CFDictionaryRef __nullable */ IntPtr options); [EditorBrowsable (EditorBrowsableState.Advanced)] - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public void AddImageAndMetadata (CGImage image, CGImageMetadata meta, NSDictionary options) { if (image == null) @@ -433,7 +433,7 @@ public void AddImageAndMetadata (CGImage image, CGImageMetadata meta, NSDictiona CGImageDestinationAddImageAndMetadata (handle, image.Handle, m, o); } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public void AddImageAndMetadata (CGImage image, CGImageMetadata meta, CGImageDestinationOptions options) { NSDictionary o = null; @@ -448,7 +448,7 @@ public void AddImageAndMetadata (CGImage image, CGImageMetadata meta, CGImageDes } } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] [DllImport (Constants.ImageIOLibrary)] [return: MarshalAs (UnmanagedType.I1)] extern static bool CGImageDestinationCopyImageSource (/* CGImageDestinationRef __nonnull */ IntPtr idst, @@ -456,7 +456,7 @@ extern static bool CGImageDestinationCopyImageSource (/* CGImageDestinationRef _ /* CFErrorRef* */ out IntPtr err); [EditorBrowsable (EditorBrowsableState.Advanced)] - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public bool CopyImageSource (CGImageSource image, NSDictionary options, out NSError error) { if (image == null) @@ -468,7 +468,7 @@ public bool CopyImageSource (CGImageSource image, NSDictionary options, out NSEr return result; } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] #if XAMCORE_2_0 public bool CopyImageSource (CGImageSource image, CGCopyImageSourceOptions options, out NSError error) #else diff --git a/src/ImageIO/CGImageMetadata.cs b/src/ImageIO/CGImageMetadata.cs index 4f243f624bc8..36ae212e5dcc 100644 --- a/src/ImageIO/CGImageMetadata.cs +++ b/src/ImageIO/CGImageMetadata.cs @@ -16,7 +16,7 @@ namespace ImageIO { - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public partial class CGImageMetadataEnumerateOptions { public bool Recursive { get; set; } @@ -35,7 +35,7 @@ internal NSMutableDictionary ToDictionary () public delegate bool CGImageMetadataTagBlock (NSString path, CGImageMetadataTag tag); // CGImageMetadata.h - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public partial class CGImageMetadata : INativeObject, IDisposable { public CGImageMetadata (IntPtr handle) diff --git a/src/ImageIO/CGImageMetadataTag.cs b/src/ImageIO/CGImageMetadataTag.cs index 62ab3424d6db..4e9c9f13547a 100644 --- a/src/ImageIO/CGImageMetadataTag.cs +++ b/src/ImageIO/CGImageMetadataTag.cs @@ -17,7 +17,7 @@ namespace ImageIO { // CGImageMetadata.h - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public class CGImageMetadataTag : INativeObject, IDisposable { // note: CGImageMetadataType is always an int (4 bytes) so it's ok to use in the pinvoke declaration diff --git a/src/ImageIO/CGImageSource.iOS.cs b/src/ImageIO/CGImageSource.iOS.cs index 50d3f34543f5..3e8d1ec2e735 100644 --- a/src/ImageIO/CGImageSource.iOS.cs +++ b/src/ImageIO/CGImageSource.iOS.cs @@ -27,7 +27,7 @@ public partial class CGImageSource { /* CFDictionaryRef __nullable */ IntPtr options); [EditorBrowsable (EditorBrowsableState.Advanced)] - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public CGImageMetadata CopyMetadata (nint index, NSDictionary options) { IntPtr o = options == null ? IntPtr.Zero : options.Handle; @@ -35,7 +35,7 @@ public CGImageMetadata CopyMetadata (nint index, NSDictionary options) return (result == IntPtr.Zero) ? null : new CGImageMetadata (result); } - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public CGImageMetadata CopyMetadata (nint index, CGImageOptions options) { NSDictionary o = null; diff --git a/src/ImageIO/CGMutableImageMetadata.cs b/src/ImageIO/CGMutableImageMetadata.cs index b77ae04e09aa..f01ce7c24edb 100644 --- a/src/ImageIO/CGMutableImageMetadata.cs +++ b/src/ImageIO/CGMutableImageMetadata.cs @@ -16,7 +16,7 @@ namespace ImageIO { - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public class CGMutableImageMetadata : CGImageMetadata { [DllImport (Constants.ImageIOLibrary)] diff --git a/src/ImageIO/Enums.cs b/src/ImageIO/Enums.cs index 52ce910d7266..96c66f6f8248 100644 --- a/src/ImageIO/Enums.cs +++ b/src/ImageIO/Enums.cs @@ -14,7 +14,7 @@ namespace ImageIO { // untyped enum -> CGImageMetadata.h // note: not used in any API - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] [ErrorDomain ("kCFErrorDomainCGImageMetadata")] public enum CGImageMetadataErrors { Unknown = 0, @@ -25,7 +25,7 @@ public enum CGImageMetadataErrors { } // untyped enum -> CGImageMetadata.h - [iOS (7,0), Mac (10,8)] + [iOS (7,0)] public enum CGImageMetadataType { Invalid = -1, Default = 0, diff --git a/src/PdfKit/Enums.cs b/src/PdfKit/Enums.cs index 69fb3888267c..dd7391e4fa73 100644 --- a/src/PdfKit/Enums.cs +++ b/src/PdfKit/Enums.cs @@ -159,7 +159,7 @@ public enum PdfDisplayDirection : long { Horizontal = 1, } - [iOS (11,0), Mac (10,7)] + [iOS (11,0)] [Native] public enum PdfInterpolationQuality : long { None = 0, diff --git a/src/SceneKit/Defs.cs b/src/SceneKit/Defs.cs index 99015d276156..84534a340878 100644 --- a/src/SceneKit/Defs.cs +++ b/src/SceneKit/Defs.cs @@ -18,7 +18,6 @@ namespace SceneKit { [Watch (3,0)] - [Mac (10, 8)] [iOS (8, 0)] [Native] // untyped enum (SceneKitTypes.h) but described as the value of `code` for `NSError` which is an NSInteger [ErrorDomain ("SCNErrorDomain")] @@ -27,7 +26,6 @@ public enum SCNErrorCode : long { } [Watch (3,0)] - [Mac (10, 8)] [iOS (8, 0)] [Native] public enum SCNGeometryPrimitiveType : long { @@ -40,7 +38,6 @@ public enum SCNGeometryPrimitiveType : long { } [Watch (3,0)] - [Mac (10, 8)] [iOS (8, 0)] [Native] public enum SCNTransparencyMode : long { @@ -55,7 +52,6 @@ public enum SCNTransparencyMode : long { } [Watch (3,0)] - [Mac (10, 8)] [iOS (8, 0)] [Native] public enum SCNCullMode : long { @@ -63,7 +59,6 @@ public enum SCNCullMode : long { } [Watch (3,0)] - [Mac (10, 8)] [iOS (8, 0)] [Native] public enum SCNFilterMode : long { @@ -73,7 +68,6 @@ public enum SCNFilterMode : long { } [Watch (3,0)] - [Mac (10, 8)] [iOS (8, 0)] [Native] public enum SCNWrapMode : long { @@ -85,7 +79,6 @@ public enum SCNWrapMode : long { } [Watch (3,0)] - [Mac (10, 8)] [iOS (8, 0)] [Native] public enum SCNSceneSourceStatus : long { diff --git a/src/Security/Certificate.cs b/src/Security/Certificate.cs index e6de433e38d9..af26e3441b86 100644 --- a/src/Security/Certificate.cs +++ b/src/Security/Certificate.cs @@ -349,7 +349,6 @@ public NSData GetNormalizedSubjectSequence () } #if MONOMAC - [Mac (10,7)] [DllImport (Constants.SecurityLibrary)] static extern /* __nullable CFDataRef */ IntPtr SecCertificateCopySerialNumber (IntPtr /* SecCertificateRef */ certificate, IntPtr /* CFErrorRef * */ error); #else @@ -358,7 +357,6 @@ public NSData GetNormalizedSubjectSequence () static extern /* __nullable CFDataRef */ IntPtr SecCertificateCopySerialNumber (IntPtr /* SecCertificateRef */ certificate); #endif [iOS (10,3)] - [Mac (10,7)] [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.")] diff --git a/src/Security/SecureTransport.cs b/src/Security/SecureTransport.cs index d922da779dee..b0d85829d90f 100644 --- a/src/Security/SecureTransport.cs +++ b/src/Security/SecureTransport.cs @@ -104,7 +104,6 @@ public enum SslStatus { public enum SslSessionOption { BreakOnServerAuth, BreakOnCertRequested, - [Mac (10,8)] BreakOnClientAuth, [iOS (7,0)][Mac (10,9)] diff --git a/src/Security/SslContext.cs b/src/Security/SslContext.cs index a8cbbf465d51..3050dd9bccd1 100644 --- a/src/Security/SslContext.cs +++ b/src/Security/SslContext.cs @@ -19,13 +19,11 @@ using ObjCRuntime; namespace Security { - [Mac (10,8)] // SSLCreateContext is 10.8, only constructor public class SslContext : INativeObject, IDisposable { SslConnection connection; SslStatus result; - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern static /* SSLContextRef */ IntPtr SSLCreateContext (/* CFAllocatorRef */ IntPtr alloc, SslProtocolSide protocolSide, SslConnectionType connectionType); @@ -81,11 +79,9 @@ public SslStatus GetLastStatus () return result; } - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern static /* OSStatus */ SslStatus SSLGetProtocolVersionMax (/* SSLContextRef */ IntPtr context, out SslProtocol maxVersion); - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern static /* OSStatus */ SslStatus SSLSetProtocolVersionMax (/* SSLContextRef */ IntPtr context, SslProtocol maxVersion); @@ -100,11 +96,9 @@ public SslProtocol MaxProtocol { } } - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern static /* OSStatus */ SslStatus SSLGetProtocolVersionMin (/* SSLContextRef */ IntPtr context, out SslProtocol minVersion); - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern static /* OSStatus */ SslStatus SSLSetProtocolVersionMin (/* SSLContextRef */ IntPtr context, SslProtocol minVersion); @@ -356,7 +350,6 @@ public SslCipherSuite NegotiatedCipher { } } - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern unsafe static /* OSStatus */ SslStatus SSLGetDatagramWriteSize (/* SSLContextRef */ IntPtr context, /* size_t* */ out nint bufSize); @@ -368,11 +361,9 @@ public nint DatagramWriteSize { } } - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern unsafe static /* OSStatus */ SslStatus SSLGetMaxDatagramRecordSize (/* SSLContextRef */ IntPtr context, /* size_t* */ out nint maxSize); - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern unsafe static /* OSStatus */ SslStatus SSLSetMaxDatagramRecordSize (/* SSLContextRef */ IntPtr context, /* size_t */ nint maxSize); @@ -387,7 +378,6 @@ public nint MaxDatagramRecordSize { } } - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern unsafe static /* OSStatus */ SslStatus SSLSetDatagramHelloCookie (/* SSLContextRef */ IntPtr context, /* const void* */ byte *cookie, nint cookieLength); @@ -529,11 +519,9 @@ public SecTrust PeerTrust { } } - [Mac (10,8)] [DllImport (Constants.SecurityLibrary)] extern unsafe static /* CFType */ IntPtr SSLContextGetTypeID (); - [Mac (10,8)] public static IntPtr GetTypeId () { return SSLContextGetTypeID (); diff --git a/src/SystemConfiguration/CaptiveNetwork.cs b/src/SystemConfiguration/CaptiveNetwork.cs index 96f4e0b5e0f4..84c7f7aa799d 100644 --- a/src/SystemConfiguration/CaptiveNetwork.cs +++ b/src/SystemConfiguration/CaptiveNetwork.cs @@ -92,13 +92,11 @@ static public StatusCode TryCopyCurrentNetworkInfo (string interfaceName, out NS } #endif - [Mac (10,8)] [DllImport (Constants.SystemConfigurationLibrary)] extern static IntPtr /* CFArrayRef __nullable */ CNCopySupportedInterfaces (); #if !XAMCORE_2_0 [Obsolete ("Replaced by 'TryGetSupportedInterfaces'.")] - [Mac (10,8)] static public string[] GetSupportedInterfaces () { string[] result; @@ -107,7 +105,6 @@ static public string[] GetSupportedInterfaces () } #endif - [Mac (10,8)] static public StatusCode TryGetSupportedInterfaces (out string[] supportedInterfaces) { IntPtr array = CNCopySupportedInterfaces (); @@ -121,15 +118,12 @@ static public StatusCode TryGetSupportedInterfaces (out string[] supportedInterf return StatusCode.OK; } - [Mac (10,8)] [DllImport (Constants.SystemConfigurationLibrary)] extern static bool CNMarkPortalOffline (IntPtr /* CFStringRef __nonnull */ interfaceName); - [Mac (10,8)] [DllImport (Constants.SystemConfigurationLibrary)] extern static bool CNMarkPortalOnline (IntPtr /* CFStringRef __nonnull */ interfaceName); - [Mac (10,8)] static public bool MarkPortalOnline (string iface) { using (var nss = new NSString (iface)) { @@ -137,7 +131,6 @@ static public bool MarkPortalOnline (string iface) } } - [Mac (10,8)] static public bool MarkPortalOffline (string iface) { using (var nss = new NSString (iface)) { @@ -145,11 +138,9 @@ static public bool MarkPortalOffline (string iface) } } - [Mac (10,8)] [DllImport (Constants.SystemConfigurationLibrary)] extern static bool CNSetSupportedSSIDs (IntPtr /* CFArrayRef __nonnull */ ssidArray); - [Mac (10,8)] static public bool SetSupportedSSIDs (string [] ssids) { using (var arr = NSArray.FromStrings (ssids)) { diff --git a/src/VideoToolbox/VTCompressionSession.cs b/src/VideoToolbox/VTCompressionSession.cs index 97d9306b3c0f..42fecd45ad90 100644 --- a/src/VideoToolbox/VTCompressionSession.cs +++ b/src/VideoToolbox/VTCompressionSession.cs @@ -17,7 +17,7 @@ using CoreVideo; namespace VideoToolbox { - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] public class VTCompressionSession : VTSession { GCHandle callbackHandle; diff --git a/src/VideoToolbox/VTDecompressionSession.cs b/src/VideoToolbox/VTDecompressionSession.cs index 34b8d5c0fb2c..db85fba25c51 100644 --- a/src/VideoToolbox/VTDecompressionSession.cs +++ b/src/VideoToolbox/VTDecompressionSession.cs @@ -17,7 +17,7 @@ using CoreVideo; namespace VideoToolbox { - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] public class VTDecompressionSession : VTSession { GCHandle callbackHandle; diff --git a/src/VideoToolbox/VTDefs.cs b/src/VideoToolbox/VTDefs.cs index 1142ac7e8290..57d76065910d 100644 --- a/src/VideoToolbox/VTDefs.cs +++ b/src/VideoToolbox/VTDefs.cs @@ -236,7 +236,7 @@ public VTDataRateLimit (uint numberOfBytes, double seconds) : this () } } - [Mac (10,8), iOS (9,0)] + [iOS (9,0)] public enum VTScalingMode { Unset, Normal, @@ -245,7 +245,7 @@ public enum VTScalingMode { Trim } - [Mac (10,8), iOS (9,0)] + [iOS (9,0)] public enum VTDownsamplingMode { Unset, Decimate, diff --git a/src/VideoToolbox/VTSession.cs b/src/VideoToolbox/VTSession.cs index 922af9a4de43..b8ad0e9f5ee4 100644 --- a/src/VideoToolbox/VTSession.cs +++ b/src/VideoToolbox/VTSession.cs @@ -16,7 +16,7 @@ using CoreVideo; namespace VideoToolbox { - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] public class VTSession : INativeObject, IDisposable { IntPtr handle; diff --git a/src/VideoToolbox/VTVideoEncoder.cs b/src/VideoToolbox/VTVideoEncoder.cs index 53fcef62da71..bb5162a636a9 100644 --- a/src/VideoToolbox/VTVideoEncoder.cs +++ b/src/VideoToolbox/VTVideoEncoder.cs @@ -13,7 +13,7 @@ using CoreMedia; namespace VideoToolbox { - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] public class VTVideoEncoder { [DllImport (Constants.VideoToolboxLibrary)] diff --git a/src/appkit.cs b/src/appkit.cs index 730528233a2c..15e4cbd3ad1a 100644 --- a/src/appkit.cs +++ b/src/appkit.cs @@ -255,11 +255,11 @@ partial interface NSAnimationContext { [Export ("duration")] double Duration { get; set; } - [Mac (10, 7), Export ("completionHandler", ArgumentSemantic.Copy)] + [Export ("completionHandler", ArgumentSemantic.Copy)] Action CompletionHandler { get; set; } [Static] - [Mac (10, 7), Export ("runAnimationGroup:completionHandler:")] + [Export ("runAnimationGroup:completionHandler:")] void RunAnimation (Action changes, [NullAllowed] Action completionHandler); [Static] @@ -267,10 +267,10 @@ partial interface NSAnimationContext { [Export ("runAnimationGroup:")] void RunAnimation (Action changes); - [Mac (10, 7), Export ("timingFunction", ArgumentSemantic.Strong)] + [Export ("timingFunction", ArgumentSemantic.Strong)] CAMediaTimingFunction TimingFunction { get; set; } - [Mac (10, 8), Export ("allowsImplicitAnimation")] + [Export ("allowsImplicitAnimation")] bool AllowsImplicitAnimation { get; set; } } @@ -701,19 +701,19 @@ interface NSApplication : NSAccessibilityElementProtocol, NSUserInterfaceValidat [Export ("orderFrontColorPanel:")] void OrderFrontColorPanel (NSObject sender); - [Mac (10, 7), Export ("disableRelaunchOnLogin"), ThreadSafe] + [Export ("disableRelaunchOnLogin"), ThreadSafe] void DisableRelaunchOnLogin (); - [Mac (10, 7), Export ("enableRelaunchOnLogin"), ThreadSafe] + [Export ("enableRelaunchOnLogin"), ThreadSafe] void EnableRelaunchOnLogin (); - [Mac (10, 7), Export ("enabledRemoteNotificationTypes")] + [Export ("enabledRemoteNotificationTypes")] NSRemoteNotificationType EnabledRemoteNotificationTypes (); - [Mac (10, 7), Export ("registerForRemoteNotificationTypes:")] + [Export ("registerForRemoteNotificationTypes:")] void RegisterForRemoteNotificationTypes (NSRemoteNotificationType types); - [Mac (10, 7), Export ("unregisterForRemoteNotifications")] + [Export ("unregisterForRemoteNotifications")] void UnregisterForRemoteNotifications (); [Mac (10,14, onlyOn64: true)] @@ -766,13 +766,13 @@ interface NSApplication : NSAccessibilityElementProtocol, NSUserInterfaceValidat [Notification, Field ("NSApplicationDidChangeScreenParametersNotification")] NSString DidChangeScreenParametersNotification { get; } - [Mac (10, 7), Field ("NSApplicationLaunchIsDefaultLaunchKey")] + [Field ("NSApplicationLaunchIsDefaultLaunchKey")] NSString LaunchIsDefaultLaunchKey { get; } - [Mac (10, 7), Field ("NSApplicationLaunchRemoteNotificationKey")] + [Field ("NSApplicationLaunchRemoteNotificationKey")] NSString LaunchRemoteNotificationKey { get; } - [Mac (10, 8), Field ("NSApplicationLaunchUserNotificationKey")] + [Field ("NSApplicationLaunchUserNotificationKey")] NSString LaunchUserNotificationKey { get; } [Notification, Field ("NSApplicationDidFinishRestoringWindowsNotification")] @@ -788,12 +788,10 @@ interface NSApplication : NSAccessibilityElementProtocol, NSUserInterfaceValidat bool RestoreWindowWithIdentifier (string identifier, NSCoder state, NSWindowCompletionHandler onCompletion); // This one comes from the NSRestorableStateExtension category ('@interface NSApplication (NSRestorableStateExtension)') - [Mac (10, 7)] [Export ("extendStateRestoration")] void ExtendStateRestoration (); // This one comes from the NSRestorableStateExtension category ('@interface NSApplication (NSRestorableStateExtension)') - [Mac (10, 7)] [Export ("completeStateRestoration")] void CompleteStateRestoration (); @@ -960,19 +958,19 @@ interface NSApplicationDelegate { void OrderFrontStandardAboutPanelWithOptions (NSDictionary optionsDictionary); #endif - [Mac (10, 7), Export ("application:didRegisterForRemoteNotificationsWithDeviceToken:"), EventArgs ("NSData")] + [Export ("application:didRegisterForRemoteNotificationsWithDeviceToken:"), EventArgs ("NSData")] void RegisteredForRemoteNotifications (NSApplication application, NSData deviceToken); - [Mac (10, 7), Export ("application:didFailToRegisterForRemoteNotificationsWithError:"), EventArgs ("NSError", true)] + [Export ("application:didFailToRegisterForRemoteNotificationsWithError:"), EventArgs ("NSError", true)] void FailedToRegisterForRemoteNotifications (NSApplication application, NSError error); - [Mac (10, 7), Export ("application:didReceiveRemoteNotification:"), EventArgs ("NSDictionary")] + [Export ("application:didReceiveRemoteNotification:"), EventArgs ("NSDictionary")] void ReceivedRemoteNotification (NSApplication application, NSDictionary userInfo); - [Mac (10, 7), Export ("application:willEncodeRestorableState:"), EventArgs ("NSCoder")] + [Export ("application:willEncodeRestorableState:"), EventArgs ("NSCoder")] void WillEncodeRestorableState (NSApplication app, NSCoder encoder); - [Mac (10, 7), Export ("application:didDecodeRestorableState:"), EventArgs ("NSCoder")] + [Export ("application:didDecodeRestorableState:"), EventArgs ("NSCoder")] void DecodedRestorableState (NSApplication app, NSCoder state); #if XAMCORE_2_0 @@ -2636,13 +2634,13 @@ interface NSCell : NSUserInterfaceItemIdentification, NSCoding, NSCopying, NSAcc [Export ("interiorBackgroundStyle")] NSBackgroundStyle InteriorBackgroundStyle { get; } - [Mac (10, 7), Export ("draggingImageComponentsWithFrame:inView:")] + [Export ("draggingImageComponentsWithFrame:inView:")] NSDraggingImageComponent [] GenerateDraggingImageComponents (CGRect frame, NSView view); - [Mac (10, 7), Export ("drawFocusRingMaskWithFrame:inView:")] + [Export ("drawFocusRingMaskWithFrame:inView:")] void DrawFocusRing (CGRect cellFrameMask, NSView inControlView); - [Mac (10, 7), Export ("focusRingMaskBoundsForFrame:inView:")] + [Export ("focusRingMaskBoundsForFrame:inView:")] CGRect GetFocusRingMaskBounds (CGRect cellFrame, NSView controlView); } @@ -2755,7 +2753,6 @@ interface NSCollectionViewItem : NSCopying { bool Selected { [Bind ("isSelected")]get; set; } [Export ("imageView", ArgumentSemantic.Assign)] - [Mac (10, 7)] NSImageView ImageView { get; set; } [Export ("textField", ArgumentSemantic.Assign)] @@ -2837,7 +2834,6 @@ interface NSCollectionView : NSDraggingSource, NSDraggingDestination { [Export ("backgroundColors", ArgumentSemantic.Copy), NullAllowed] NSColor [] BackgroundColors { get; set; } - [Mac (10, 7)] [Export ("frameForItemAtIndex:withNumberOfItems:")] CGRect FrameForItemAtIndex (nint index, nint numberOfItems); @@ -3970,7 +3966,6 @@ partial interface NSColor : NSCoding, NSCopying, NSSecureCoding, NSPasteboardRea [Export ("patternImage")] NSImage PatternImage { get; } - [Mac (10, 8)] [Export ("CGColor")] CGColor CGColor { get; } @@ -4751,7 +4746,7 @@ partial interface NSControl { [Export ("takeIntegerValueFrom:")] void TakeIntegerValueFrom (NSObject sender); - [Export ("invalidateIntrinsicContentSizeForCell:"), Mac (10, 7)] + [Export ("invalidateIntrinsicContentSizeForCell:")] void InvalidateIntrinsicContentSizeForCell (NSCell cell); //Detected properties @@ -4903,7 +4898,6 @@ interface NSEditor [Export ("commitEditingWithDelegate:didCommitSelector:contextInfo:")] void CommitEditing ([NullAllowed] NSObject delegateObject, [NullAllowed] Selector didCommitSelector, IntPtr contextInfo); - [Mac (10,7)] [Abstract] [Export ("commitEditingAndReturnError:")] bool CommitEditing ([NullAllowed] out NSError error); @@ -5022,7 +5016,6 @@ interface NSCursor : NSCoding { [Export ("contextualMenuCursor")] NSCursor ContextualMenuCursor { get; } - [Mac (10, 7)] [Static] [Export ("IBeamCursorForVerticalLayout")] NSCursor IBeamCursorForVerticalLayout { get; } @@ -5517,7 +5510,7 @@ partial interface NSDocument /* : NSUserActivityRestoring radar://42781537 */ { void ShouldCloseWindowController (NSWindowController windowController, NSObject delegateObject, Selector shouldCloseSelector, IntPtr contextInfo); [Export ("displayName")] - string DisplayName { get; [Mac (10, 7)][NullAllowed] set; } + string DisplayName { get; [NullAllowed] set; } [Export ("windowForSheet")] NSWindow WindowForSheet { get; } @@ -5576,86 +5569,86 @@ partial interface NSDocument /* : NSUserActivityRestoring radar://42781537 */ { [Export ("hasUndoManager")] bool HasUndoManager { get; set; } - [Mac (10, 7), Export ("performActivityWithSynchronousWaiting:usingBlock:")] + [Export ("performActivityWithSynchronousWaiting:usingBlock:")] void PerformActivity (bool waitSynchronously, Action activityCompletionHandler); - [Mac (10, 7), Export ("continueActivityUsingBlock:")] + [Export ("continueActivityUsingBlock:")] void ContinueActivity (Action resume); - [Mac (10, 7), Export ("continueAsynchronousWorkOnMainThreadUsingBlock:")] + [Export ("continueAsynchronousWorkOnMainThreadUsingBlock:")] void ContinueAsynchronousWorkOnMainThread (Action work); - [Mac (10, 7), Export ("performSynchronousFileAccessUsingBlock:")] + [Export ("performSynchronousFileAccessUsingBlock:")] void PerformSynchronousFileAccess (Action fileAccessCallback); - [Mac (10, 7), Export ("performAsynchronousFileAccessUsingBlock:")] + [Export ("performAsynchronousFileAccessUsingBlock:")] void PerformAsynchronousFileAccess (Action ioCode); - [Mac (10, 7), Export ("isEntireFileLoaded")] + [Export ("isEntireFileLoaded")] bool IsEntireFileLoaded { get; } - [Mac (10, 7), Export ("unblockUserInteraction")] + [Export ("unblockUserInteraction")] void UnblockUserInteraction (); - [Mac (10, 7), Export ("autosavingIsImplicitlyCancellable")] + [Export ("autosavingIsImplicitlyCancellable")] bool AutosavingIsImplicitlyCancellable { get; } - [Mac (10, 7), Export ("saveToURL:ofType:forSaveOperation:completionHandler:")] + [Export ("saveToURL:ofType:forSaveOperation:completionHandler:")] void SaveTo (NSUrl url, string typeName, NSSaveOperationType saveOperation, NSDocumentCompletionHandler completionHandler); - [Mac (10, 7), Export ("canAsynchronouslyWriteToURL:ofType:forSaveOperation:")] + [Export ("canAsynchronouslyWriteToURL:ofType:forSaveOperation:")] bool CanWriteAsynchronously (NSUrl toUrl, string typeName, NSSaveOperationType saveOperation); - [Mac (10, 7), Export ("checkAutosavingSafetyAndReturnError:")] + [Export ("checkAutosavingSafetyAndReturnError:")] bool CheckAutosavingSafety (out NSError outError); - [Mac (10, 7), Export ("scheduleAutosaving")] + [Export ("scheduleAutosaving")] void ScheduleAutosaving (); - [Mac (10, 7), Export ("autosaveWithImplicitCancellability:completionHandler:")] + [Export ("autosaveWithImplicitCancellability:completionHandler:")] void Autosave (bool autosavingIsImplicitlyCancellable, NSDocumentCompletionHandler completionHandler); [Static] - [Mac (10, 7), Export ("autosavesInPlace")] + [Export ("autosavesInPlace")] bool AutosavesInPlace (); [Static] - [Mac (10, 7), Export ("preservesVersions")] + [Export ("preservesVersions")] bool PreservesVersions (); - [Mac (10, 7), Export ("duplicateDocument:")] + [Export ("duplicateDocument:")] void DuplicateDocument (NSObject sender); - [Mac (10, 7), Export ("duplicateDocumentWithDelegate:didDuplicateSelector:contextInfo:"), Internal] + [Export ("duplicateDocumentWithDelegate:didDuplicateSelector:contextInfo:"), Internal] void _DuplicateDocument ([NullAllowed] NSObject cbackobject, [NullAllowed] Selector didDuplicateSelector, IntPtr contextInfo); - [Mac (10, 7), Export ("duplicateAndReturnError:")] + [Export ("duplicateAndReturnError:")] NSDocument Duplicate (out NSError outError); - [Mac (10, 7), Export ("isInViewingMode")] + [Export ("isInViewingMode")] bool IsInViewingMode { get; } - [Mac (10, 7), Export ("changeCountTokenForSaveOperation:")] + [Export ("changeCountTokenForSaveOperation:")] NSObject ChangeCountToken (NSSaveOperationType saveOperation); - [Mac (10, 7), Export ("updateChangeCountWithToken:forSaveOperation:")] + [Export ("updateChangeCountWithToken:forSaveOperation:")] void UpdateChangeCount (NSObject changeCountToken, NSSaveOperationType saveOperation); - [Mac (10, 7), Export ("willNotPresentError:")] + [Export ("willNotPresentError:")] void WillNotPresentError (NSError error); #if !XAMCORE_2_0 - [Mac (10, 7), Export ("setDisplayName:")] + [Export ("setDisplayName:")] [Obsolete ("Use the 'DisplayName' property instead.")] [Sealed] void SetDisplayName ([NullAllowed] string displayNameOrNull); #endif - [Mac (10, 7), Export ("restoreDocumentWindowWithIdentifier:state:completionHandler:")] + [Export ("restoreDocumentWindowWithIdentifier:state:completionHandler:")] void RestoreDocumentWindow (string identifier, NSCoder state, NSWindowCompletionHandler completionHandler); // This one comes from the NSRestorableState category ('@interface NSResponder (NSRestorableState)') - [Mac (10, 7), Export ("encodeRestorableStateWithCoder:")] + [Export ("encodeRestorableStateWithCoder:")] void EncodeRestorableState (NSCoder coder); // This one comes from the NSRestorableState category ('@interface NSResponder (NSRestorableState)') @@ -5764,7 +5757,6 @@ partial interface NSDocumentController : NSWindowRestoration, NSCoding { [Export ("openDocumentWithContentsOfURL:display:error:")] NSObject OpenDocument (NSUrl url, bool displayDocument, out NSError outError); - [Mac (10, 7)] [Export ("openDocumentWithContentsOfURL:display:completionHandler:")] void OpenDocument (NSUrl url, bool display, OpenDocumentCompletionHandler completionHandler); @@ -5849,7 +5841,6 @@ partial interface NSDocumentController : NSWindowRestoration, NSCoding { double AutosavingDelay { get; set; } } - [Mac (10, 7)] [BaseType (typeof (NSObject))] interface NSDraggingImageComponent { [Export ("key", ArgumentSemantic.Copy)] @@ -5971,25 +5962,21 @@ interface NSDraggingInfo { #if XAMCORE_4_0 [Abstract] #endif - [Mac (10, 7)] [Export ("animatesToDestination")] bool AnimatesToDestination { get; set; } #if XAMCORE_4_0 [Abstract] #endif - [Mac (10, 7)] [Export ("numberOfValidItemsForDrop")] nint NumberOfValidItemsForDrop { get; set; } #if XAMCORE_4_0 [Abstract] #endif - [Mac (10, 7)] [Export ("draggingFormation")] NSDraggingFormation DraggingFormation { get; set; } - [Mac (10, 7)] [Internal] [Export ("enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:")] void EnumerateDraggingItems (NSDraggingItemEnumerationOptions enumOpts, NSView view, IntPtr classArray, @@ -6493,7 +6480,6 @@ partial interface NSFont : NSSecureCoding, NSCopying { void _GetAdvancements (IntPtr advancements, IntPtr glyphs, nuint glyphCount); } - [Mac (10, 7)] interface NSFontCollectionChangedEventArgs { [Internal, Export ("NSFontCollectionActionKey")] NSString _Action { get; } @@ -6508,7 +6494,6 @@ interface NSFontCollectionChangedEventArgs { NSNumber _Visibility { get; } } - [Mac (10, 7)] [BaseType (typeof (NSObject))] interface NSFontCollection : NSSecureCoding, NSMutableCopying { [Static] @@ -6612,7 +6597,6 @@ interface NSFontCollection : NSSecureCoding, NSMutableCopying { } - [Mac (10, 7)] [BaseType (typeof (NSFontCollection))] [DisableDefaultCtor] interface NSMutableFontCollection { @@ -7655,42 +7639,34 @@ interface NSEvent : NSCoding, NSCopying { [Export ("mouseCoalescingEnabled")] bool MouseCoalescingEnabled { [Bind ("isMouseCoalescingEnabled")]get; set; } - [Mac (10, 7)] [Export ("hasPreciseScrollingDeltas")] [DebuggerBrowsable (DebuggerBrowsableState.Never)] bool HasPreciseScrollingDeltas { get; } - [Mac (10, 7)] [Export ("scrollingDeltaX")] [DebuggerBrowsable (DebuggerBrowsableState.Never)] nfloat ScrollingDeltaX { get; } - [Mac (10, 7)] [Export ("scrollingDeltaY")] [DebuggerBrowsable (DebuggerBrowsableState.Never)] nfloat ScrollingDeltaY { get; } - [Mac (10, 7)] [Export ("momentumPhase")] [DebuggerBrowsable (DebuggerBrowsableState.Never)] NSEventPhase MomentumPhase { get; } - [Mac (10, 7)] [Export ("isDirectionInvertedFromDevice")] [DebuggerBrowsable (DebuggerBrowsableState.Never)] bool IsDirectionInvertedFromDevice { get; } - [Mac (10, 7)] [Export ("phase")] [DebuggerBrowsable (DebuggerBrowsableState.Never)] NSEventPhase Phase { get; } - [Mac (10, 7)] [Static] [Export ("isSwipeTrackingFromScrollEventsEnabled")] bool IsSwipeTrackingFromScrollEventsEnabled { get; } - [Mac (10, 7)] [Export ("trackSwipeEventWithOptions:dampenAmountThresholdMin:max:usingHandler:")] void TrackSwipeEvent (NSEventSwipeTrackingOptions options, nfloat minDampenThreshold, nfloat maxDampenThreshold, NSEventTrackHandler trackingHandler); @@ -8405,14 +8381,13 @@ partial interface NSNib : NSCoding { [Export ("initWithNibNamed:bundle:")] IntPtr Constructor (string nibName, [NullAllowed] NSBundle bundle); - [Mac (10, 8), Export ("initWithNibData:bundle:")] + [Export ("initWithNibData:bundle:")] IntPtr Constructor (NSData nibData, NSBundle bundle); [Deprecated (PlatformName.MacOSX, 10, 8)] [Export ("instantiateNibWithExternalNameTable:")] bool InstantiateNib (NSDictionary externalNameTable); - [Mac (10,8)] [Export ("instantiateWithOwner:topLevelObjects:")] bool InstantiateNibWithOwner ([NullAllowed] NSObject owner, out NSArray topLevelObjects); } @@ -8847,7 +8822,6 @@ partial interface NSOutlineView { [Export ("child:ofItem:")] NSObject GetChild (nint index, [NullAllowed] NSObject parentItem); - [Mac (10,7)] [Export ("userInterfaceLayoutDirection")] NSUserInterfaceLayoutDirection UserInterfaceLayoutDirection { get; set; } @@ -8915,7 +8889,6 @@ partial interface NSOutlineViewDelegate { [Export ("outlineView:dataCellForTableColumn:item:"), NoDefaultValue] NSCell GetCell (NSOutlineView outlineView, NSTableColumn tableColumn, NSObject item); - [Mac (10, 7)] [Export ("outlineView:viewForTableColumn:item:"), NoDefaultValue] NSView GetView (NSOutlineView outlineView, [NullAllowed] NSTableColumn tableColumn, NSObject item); @@ -8964,13 +8937,13 @@ partial interface NSOutlineViewDelegate { [Export ("outlineViewSelectionDidChange:")] void SelectionDidChange (NSNotification notification); - [Mac (10, 7), Export ("outlineView:rowViewForItem:")] + [Export ("outlineView:rowViewForItem:")] NSTableRowView RowViewForItem (NSOutlineView outlineView, NSObject item); - [Mac (10, 7), Export ("outlineView:didAddRowView:forRow:")] + [Export ("outlineView:didAddRowView:forRow:")] void DidAddRowView (NSOutlineView outlineView, NSTableRowView rowView, nint row); - [Mac (10, 7), Export ("outlineView:didRemoveRowView:forRow:")] + [Export ("outlineView:didRemoveRowView:forRow:")] void DidRemoveRowView (NSOutlineView outlineView, NSTableRowView rowView, nint row); } @@ -9240,7 +9213,6 @@ partial interface NSImage : NSCopying, NSSecureCoding, NSPasteboardReading, NSPa [Export ("matchesOnMultipleResolution")] bool MatchesOnMultipleResolution { get; set; } - [Mac (10,7)] [Export ("matchesOnlyOnBestFittingAxis")] bool MatchesOnlyOnBestFittingAxis { get; set; } @@ -9284,11 +9256,9 @@ partial interface NSImage : NSCopying, NSSecureCoding, NSPasteboardReading, NSPa [Export ("resizingMode")] NSImageResizingMode ResizingMode { get; set; } - [Mac (10,7)] [Export ("recommendedLayerContentsScale:")] nfloat GetRecommendedLayerContentsScale (nfloat preferredContentsScale); - [Mac (10,7)] [Export ("layerContentsForContentsScale:")] NSObject GetLayerContentsForContentsScale (nfloat layerContentsScale); } @@ -9412,7 +9382,6 @@ public enum NSImageName [Field ("NSImageNameMobileMe")] MobileMe, - [Mac (10, 8)] [Field ("NSImageNameShareTemplate")] ShareTemplate, @@ -10458,7 +10427,6 @@ interface NSLevelIndicatorCell { #if MONOMAC [Protocol (IsInformal = true)] - [Mac (10, 7)] interface NSLayerDelegateContentsScaleUpdating { [Export ("layer:shouldInheritContentsScale:fromWindow:")] bool ShouldInheritContentsScale (CALayer layer, nfloat newScale, NSWindow fromWindow); @@ -10561,7 +10529,6 @@ interface NSLayoutDimension } #endif // XAMCORE_2_0 - [Mac (10, 7)] [BaseType (typeof (NSObject))] interface NSLayoutConstraint : NSAnimatablePropertyContainer { [Static] @@ -11255,7 +11222,7 @@ partial interface NSPasteboard // NSPasteboard does _not_ implement NSPasteboard [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use 'NSPasteboardTypeTextFinderOptions' instead.")] NSString NSPasteboardTypeFindPanelSearchOptions { get; } - [Mac (10, 7), Field ("NSPasteboardTypeTextFinderOptions")] + [Field ("NSPasteboardTypeTextFinderOptions")] NSString PasteboardTypeTextFinderOptions { get; } [Mac (10, 13)] @@ -12704,20 +12671,19 @@ partial interface NSResponder : NSCoding, NSTouchBarProvider /* radar://42781537 [DebuggerBrowsable(DebuggerBrowsableState.Never)] NSMenu Menu { get; set; } - [Mac (10, 7), Export ("encodeRestorableStateWithCoder:")] + [Export ("encodeRestorableStateWithCoder:")] void EncodeRestorableState (NSCoder coder); - [Mac (10, 7), Export ("restoreStateWithCoder:")] + [Export ("restoreStateWithCoder:")] void RestoreState (NSCoder coder); - [Mac (10, 7), Export ("invalidateRestorableState")] + [Export ("invalidateRestorableState")] void InvalidateRestorableState (); [Static] - [Mac (10, 7), Export ("restorableStateKeyPaths", ArgumentSemantic.Copy)] + [Export ("restorableStateKeyPaths", ArgumentSemantic.Copy)] string [] RestorableStateKeyPaths (); - [Mac (10, 7)] [Export ("wantsForwardedScrollEventsForAxis:")] bool WantsForwardedScrollEventsForAxis (NSEventGestureAxis axis); @@ -13090,16 +13056,16 @@ partial interface NSScreen { [Export ("userSpaceScaleFactor")] nfloat UserSpaceScaleFactor { get; } - [Mac (10, 7), Export ("convertRectToBacking:")] + [Export ("convertRectToBacking:")] CGRect ConvertRectToBacking (CGRect aRect); - [Mac (10, 7), Export ("convertRectFromBacking:")] + [Export ("convertRectFromBacking:")] CGRect ConvertRectfromBacking (CGRect aRect); - [Mac (10, 7), Export ("backingAlignedRect:options:")] + [Export ("backingAlignedRect:options:")] CGRect GetBackingAlignedRect (CGRect globalScreenCoordRect, NSAlignmentOptions options); - [Mac (10, 7), Export ("backingScaleFactor")] + [Export ("backingScaleFactor")] nfloat BackingScaleFactor { get; } [Mac (10,9)] @@ -13182,21 +13148,21 @@ interface NSScroller { nfloat KnobProportion { get; set; } [Static] - [Mac (10, 7), Export ("isCompatibleWithOverlayScrollers")] + [Export ("isCompatibleWithOverlayScrollers")] bool CompatibleWithOverlayScrollers { get; } - [Mac (10, 7), Export ("knobStyle")] + [Export ("knobStyle")] NSScrollerKnobStyle KnobStyle { get; set; } [Static] - [Mac (10, 7), Export ("preferredScrollerStyle")] + [Export ("preferredScrollerStyle")] NSScrollerStyle PreferredScrollerStyle { get; } [Export ("scrollerStyle")] NSScrollerStyle ScrollerStyle { get; set; } [Static] - [Mac (10, 7), Export ("scrollerWidthForControlSize:scrollerStyle:")] + [Export ("scrollerWidthForControlSize:scrollerStyle:")] nfloat GetScrollerWidth (NSControlSize forControlSize, NSScrollerStyle scrollerStyle); [Notification, Field ("NSPreferredScrollerStyleDidChangeNotification")] @@ -13306,56 +13272,56 @@ partial interface NSScrollView : NSTextFinderBarContainer { NSRulerView VerticalRulerView { get; set; } [Static] - [Mac (10, 7), Export ("contentSizeForFrameSize:horizontalScrollerClass:verticalScrollerClass:borderType:controlSize:scrollerStyle:")] + [Export ("contentSizeForFrameSize:horizontalScrollerClass:verticalScrollerClass:borderType:controlSize:scrollerStyle:")] CGSize GetContentSizeForFrame (CGSize forFrameSize, [NullAllowed] Class horizontalScrollerClass, [NullAllowed] Class verticalScrollerClass, NSBorderType borderType, NSControlSize controlSize, NSScrollerStyle scrollerStyle); - [Mac (10, 7), Export ("findBarPosition")] + [Export ("findBarPosition")] NSScrollViewFindBarPosition FindBarPosition { get; set; } - [Mac (10, 7), Export ("flashScrollers")] + [Export ("flashScrollers")] void FlashScrollers (); [Static] - [Mac (10, 7), Export ("frameSizeForContentSize:horizontalScrollerClass:verticalScrollerClass:borderType:controlSize:scrollerStyle:")] + [Export ("frameSizeForContentSize:horizontalScrollerClass:verticalScrollerClass:borderType:controlSize:scrollerStyle:")] CGSize GetFrameSizeForContent (CGSize contentSize, [NullAllowed] Class horizontalScrollerClass, [NullAllowed] Class verticalScrollerClass, NSBorderType borderType, NSControlSize controlSize, NSScrollerStyle scrollerStyle); - [Mac (10, 7), Export ("horizontalScrollElasticity")] + [Export ("horizontalScrollElasticity")] NSScrollElasticity HorizontalScrollElasticity { get; set; } - [Mac (10, 7), Export ("scrollerKnobStyle")] + [Export ("scrollerKnobStyle")] NSScrollerKnobStyle ScrollerKnobStyle { get; set; } - [Mac (10, 7), Export ("scrollerStyle")] + [Export ("scrollerStyle")] NSScrollerStyle ScrollerStyle { get; set; } - [Mac (10, 7), Export ("usesPredominantAxisScrolling")] + [Export ("usesPredominantAxisScrolling")] bool UsesPredominantAxisScrolling { get; set; } - [Mac (10, 7), Export ("verticalScrollElasticity")] + [Export ("verticalScrollElasticity")] NSScrollElasticity VerticalScrollElasticity { get; set; } - [Mac (10, 8), Export ("allowsMagnification")] + [Export ("allowsMagnification")] bool AllowsMagnification { get; set; } - [Mac (10, 8), Export ("magnification")] + [Export ("magnification")] nfloat Magnification { get; set; } - [Mac (10, 8), Export ("maxMagnification")] + [Export ("maxMagnification")] nfloat MaxMagnification { get; set; } - [Mac (10, 8), Export ("minMagnification")] + [Export ("minMagnification")] nfloat MinMagnification { get; set; } - [Mac (10, 8), Export ("magnifyToFitRect:")] + [Export ("magnifyToFitRect:")] void MagnifyToFitRect (CGRect rect); - [Mac (10, 8), Export ("setMagnification:centeredAtPoint:")] + [Export ("setMagnification:centeredAtPoint:")] void SetMagnification (nfloat magnification, CGPoint centeredAtPoint); - [Mac (10, 8), Notification, Field ("NSScrollViewWillStartLiveMagnifyNotification")] + [Notification, Field ("NSScrollViewWillStartLiveMagnifyNotification")] NSString WillStartLiveMagnifyNotification { get; } - [Mac (10, 8), Notification, Field ("NSScrollViewDidEndLiveMagnifyNotification")] + [Notification, Field ("NSScrollViewDidEndLiveMagnifyNotification")] NSString DidEndLiveMagnifyNotification { get; } [Mac (10,9), Notification, Field ("NSScrollViewDidLiveScrollNotification")] @@ -14415,14 +14381,14 @@ partial interface NSSplitView { [Export ("removeArrangedSubview:")] void RemoveArrangedSubview (NSView view); - [Mac (10, 8), Export ("holdingPriorityForSubviewAtIndex:")] + [Export ("holdingPriorityForSubviewAtIndex:")] #if XAMCORE_2_0 float /*NSLayoutPriority*/ HoldingPriorityForSubview (nint subviewIndex); #else float /*NSLayoutPriority*/ HoldingPriorityForSubviewAtIndex (nint subviewIndex); #endif - [Mac (10, 8), Export ("setHoldingPriority:forSubviewAtIndex:")] + [Export ("setHoldingPriority:forSubviewAtIndex:")] void SetHoldingPriority (float /*NSLayoutPriority*/ priority, nint subviewIndex); [Notification (typeof (NSSplitViewDividerIndexEventArgs))] @@ -14947,11 +14913,9 @@ interface NSStringAttributeKey { [Field ("NSSpellingStateAttributeName")] NSString SpellingState { get; } - [Mac (10,7)] [Field ("NSVerticalGlyphFormAttributeName")] NSString VerticalGlyphForm { get; } - [Mac (10,8)] [Field ("NSTextAlternativesAttributeName")] NSString TextAlternatives { get; } @@ -15121,11 +15085,10 @@ interface INSUserInterfaceItemIdentification {} [Protocol] interface NSUserInterfaceItemIdentification { - [Mac (10, 7), Export ("identifier", ArgumentSemantic.Copy)] + [Export ("identifier", ArgumentSemantic.Copy)] string Identifier { get; set; } } - [Mac (10, 7)] [Protocol] #if !XAMCORE_4_0 [Model] @@ -15235,13 +15198,13 @@ partial interface NSTextFinderClient { [BaseType (typeof (NSObject)), Model, Protocol] partial interface NSTextFinderBarContainer { - [Abstract, Export ("findBarVisible"), Mac (10, 7)] + [Abstract, Export ("findBarVisible")] bool FindBarVisible { [Bind ("isFindBarVisible")] get; set; } - [Abstract, Export ("findBarView", ArgumentSemantic.Retain), Mac (10, 7)] + [Abstract, Export ("findBarView", ArgumentSemantic.Retain)] NSView FindBarView { get; set; } - [Abstract, Export ("findBarViewDidChangeHeight"), Mac (10, 7)] + [Abstract, Export ("findBarViewDidChangeHeight")] void FindBarViewDidChangeHeight (); [Export ("contentView")] @@ -15249,7 +15212,6 @@ partial interface NSTextFinderBarContainer { } [DesignatedDefaultCtor] - [Mac (10, 7)] [BaseType (typeof (NSObject))] partial interface NSTextFinder : NSCoding { [Export ("client", ArgumentSemantic.Assign)] @@ -15801,88 +15763,88 @@ partial interface NSView : NSDraggingDestination, NSAnimatablePropertyContainer, [Notification, Field ("NSViewDidUpdateTrackingAreasNotification")] NSString UpdatedTrackingAreasNotification { get; } - [Mac (10, 7), Export ("constraints")] + [Export ("constraints")] NSLayoutConstraint [] Constraints { get; } - [Mac (10, 7), Export ("addConstraint:")][PostGet ("Constraints")] + [Export ("addConstraint:")][PostGet ("Constraints")] void AddConstraint (NSLayoutConstraint constraint); - [Mac (10, 7), Export ("addConstraints:")][PostGet ("Constraints")] + [Export ("addConstraints:")][PostGet ("Constraints")] void AddConstraints (NSLayoutConstraint [] constraints); - [Mac (10, 7), Export ("removeConstraint:")][PostGet ("Constraints")] + [Export ("removeConstraint:")][PostGet ("Constraints")] void RemoveConstraint (NSLayoutConstraint constraint); - [Mac (10, 7), Export ("removeConstraints:")][PostGet ("Constraints")] + [Export ("removeConstraints:")][PostGet ("Constraints")] void RemoveConstraints (NSLayoutConstraint [] constraints); - [Mac (10, 7), Export ("layoutSubtreeIfNeeded")] + [Export ("layoutSubtreeIfNeeded")] void LayoutSubtreeIfNeeded (); - [Mac (10, 7), Export ("layout")] + [Export ("layout")] void Layout (); - [Mac (10, 7), Export ("needsUpdateConstraints")] + [Export ("needsUpdateConstraints")] bool NeedsUpdateConstraints { get; set; } - [Mac (10, 7), Export ("needsLayout")] + [Export ("needsLayout")] bool NeedsLayout { get; set; } - [Mac (10, 7), Export ("updateConstraints")] + [Export ("updateConstraints")] [RequiresSuper] void UpdateConstraints (); - [Mac (10, 7), Export ("updateConstraintsForSubtreeIfNeeded")] + [Export ("updateConstraintsForSubtreeIfNeeded")] void UpdateConstraintsForSubtreeIfNeeded (); [Static] - [Mac (10, 7), Export ("requiresConstraintBasedLayout")] + [Export ("requiresConstraintBasedLayout")] bool RequiresConstraintBasedLayout (); //Detected properties - [Mac (10, 7), Export ("translatesAutoresizingMaskIntoConstraints")] + [Export ("translatesAutoresizingMaskIntoConstraints")] bool TranslatesAutoresizingMaskIntoConstraints { get; set; } - [Mac (10, 7), Export ("alignmentRectForFrame:")] + [Export ("alignmentRectForFrame:")] CGRect GetAlignmentRectForFrame (CGRect frame); - [Mac (10, 7), Export ("frameForAlignmentRect:")] + [Export ("frameForAlignmentRect:")] CGRect GetFrameForAlignmentRect (CGRect alignmentRect); - [Mac (10, 7), Export ("alignmentRectInsets")] + [Export ("alignmentRectInsets")] NSEdgeInsets AlignmentRectInsets { get; } - [Mac (10, 7), Export ("baselineOffsetFromBottom")] + [Export ("baselineOffsetFromBottom")] nfloat BaselineOffsetFromBottom { get; } - [Mac (10, 7), Export ("intrinsicContentSize")] + [Export ("intrinsicContentSize")] CGSize IntrinsicContentSize { get; } - [Mac (10, 7), Export ("invalidateIntrinsicContentSize")] + [Export ("invalidateIntrinsicContentSize")] void InvalidateIntrinsicContentSize (); - [Mac (10, 7), Export ("contentHuggingPriorityForOrientation:")] + [Export ("contentHuggingPriorityForOrientation:")] float /* NSLayoutPriority = float */ GetContentHuggingPriorityForOrientation (NSLayoutConstraintOrientation orientation); - [Mac (10, 7), Export ("setContentHuggingPriority:forOrientation:")] + [Export ("setContentHuggingPriority:forOrientation:")] void SetContentHuggingPriorityForOrientation (float /* NSLayoutPriority = float */ priority, NSLayoutConstraintOrientation orientation); - [Mac (10, 7), Export ("contentCompressionResistancePriorityForOrientation:")] + [Export ("contentCompressionResistancePriorityForOrientation:")] float /* NSLayoutPriority = float */ GetContentCompressionResistancePriority (NSLayoutConstraintOrientation orientation); - [Mac (10, 7), Export ("setContentCompressionResistancePriority:forOrientation:")] + [Export ("setContentCompressionResistancePriority:forOrientation:")] void SetContentCompressionResistancePriority (float /* NSLayoutPriority = float */ priority, NSLayoutConstraintOrientation orientation); - [Mac (10, 7), Export ("fittingSize")] + [Export ("fittingSize")] CGSize FittingSize { get; } - [Mac (10, 7), Export ("constraintsAffectingLayoutForOrientation:")] + [Export ("constraintsAffectingLayoutForOrientation:")] NSLayoutConstraint [] GetConstraintsAffectingLayout (NSLayoutConstraintOrientation orientation); - [Mac (10, 7), Export ("hasAmbiguousLayout")] + [Export ("hasAmbiguousLayout")] bool HasAmbiguousLayout { get; } - [Mac (10, 7), Export ("exerciseAmbiguityInLayout")] + [Export ("exerciseAmbiguityInLayout")] void ExerciseAmbiguityInLayout (); [Availability (Deprecated = Platform.Mac_10_8)] @@ -15923,7 +15885,7 @@ partial interface NSView : NSDraggingDestination, NSAnimatablePropertyContainer, [Export ("noteFocusRingMaskChanged")] void NoteFocusRingMaskChanged (); - [Mac (10, 7), Export ("isDrawingFindIndicator")] + [Export ("isDrawingFindIndicator")] bool IsDrawingFindIndicator { get; } [Export ("dataWithEPSInsideRect:")] @@ -15991,49 +15953,48 @@ partial interface NSView : NSDraggingDestination, NSAnimatablePropertyContainer, CGPoint LocationOfPrintRect (CGRect aRect); [Deprecated (PlatformName.MacOSX, 10, 14, message : "Use 'Metal' Framework instead.")] - [Mac (10, 7), Export ("wantsBestResolutionOpenGLSurface")] + [Export ("wantsBestResolutionOpenGLSurface")] bool WantsBestResolutionOpenGLSurface { get; set; } - [Mac (10, 7), Export ("backingAlignedRect:options:")] + [Export ("backingAlignedRect:options:")] CGRect BackingAlignedRect (CGRect aRect, NSAlignmentOptions options); - [Mac (10, 7), Export ("convertRectFromBacking:")] + [Export ("convertRectFromBacking:")] CGRect ConvertRectFromBacking (CGRect aRect); - [Mac (10, 7), Export ("convertRectToBacking:")] + [Export ("convertRectToBacking:")] CGRect ConvertRectToBacking (CGRect aRect); - [Mac (10, 7), Export ("convertRectFromLayer:")] + [Export ("convertRectFromLayer:")] CGRect ConvertRectFromLayer (CGRect aRect); - [Mac (10, 7), Export ("convertRectToLayer:")] + [Export ("convertRectToLayer:")] CGRect ConvertRectToLayer (CGRect aRect); - [Mac (10, 7), Export ("convertPointFromBacking:")] + [Export ("convertPointFromBacking:")] CGPoint ConvertPointFromBacking (CGPoint aPoint); - [Mac (10, 7), Export ("convertPointToBacking:")] + [Export ("convertPointToBacking:")] CGPoint ConvertPointToBacking (CGPoint aPoint); - [Mac (10, 7), Export ("convertPointFromLayer:")] + [Export ("convertPointFromLayer:")] CGPoint ConvertPointFromLayer (CGPoint aPoint); - [Mac (10, 7), Export ("convertPointToLayer:")] + [Export ("convertPointToLayer:")] CGPoint ConvertPointToLayer (CGPoint aPoint); - [Mac (10, 7), Export ("convertSizeFromBacking:")] + [Export ("convertSizeFromBacking:")] CGSize ConvertSizeFromBacking (CGSize aSize); - [Mac (10, 7), Export ("convertSizeToBacking:")] + [Export ("convertSizeToBacking:")] CGSize ConvertSizeToBacking (CGSize aSize); - [Mac (10, 7), Export ("convertSizeFromLayer:")] + [Export ("convertSizeFromLayer:")] CGSize ConvertSizeFromLayer (CGSize aSize); - [Mac (10, 7), Export ("convertSizeToLayer:")] + [Export ("convertSizeToLayer:")] CGSize ConvertSizeToLayer (CGSize aSize); - [Availability (Introduced = Platform.Mac_10_7)] [Export ("viewDidChangeBackingProperties")] void DidChangeBackingProperties (); @@ -16053,7 +16014,6 @@ partial interface NSView : NSDraggingDestination, NSAnimatablePropertyContainer, [Export ("removeGestureRecognizer:")][PostGet("GestureRecognizers")] void RemoveGestureRecognizer (NSGestureRecognizer gestureRecognizer); - [Mac (10,7)] [Export ("prepareForReuse")] void PrepareForReuse (); @@ -16409,7 +16369,6 @@ interface NSViewControllerPresentationAnimator { interface INSViewControllerPresentationAnimator {} - [Mac (10, 8)] [BaseType (typeof (NSViewController), Delegates = new [] { "WeakDelegate" }, Events = new [] { typeof (NSPageControllerDelegate) })] @@ -16499,12 +16458,12 @@ interface NSPdfImageRep { [BaseType (typeof (NSObject))] partial interface NSTableColumn : NSUserInterfaceItemIdentification, NSCoding { - [Mac (10, 7), Export ("initWithIdentifier:")] + [Export ("initWithIdentifier:")] [Sealed] IntPtr Constructor (string identifier); [DesignatedInitializer] - [Mac (10, 7), Export ("initWithIdentifier:")] + [Export ("initWithIdentifier:")] IntPtr Constructor (NSString identifier); #if !XAMCORE_2_0 @@ -16558,7 +16517,6 @@ partial interface NSTableColumn : NSUserInterfaceItemIdentification, NSCoding { string Title { get; set; } } - [Mac (10, 7)] [BaseType (typeof (NSView))] interface NSTableRowView : NSAccessibilityRow { [Export ("initWithFrame:")] @@ -16621,7 +16579,6 @@ interface NSTableRowView : NSAccessibilityRow { bool NextRowSelected { [Bind ("isNextRowSelected")] get; set; } } - [Mac (10, 7)] [BaseType (typeof (NSView))] partial interface NSTableCellView { [Export ("initWithFrame:")] @@ -16945,80 +16902,62 @@ partial interface NSTableView : NSDraggingSource, NSAccessibilityTable { [Export ("focusedColumn")] nint FocusedColumn { get; set; } - [Mac (10, 7)] [Export ("effectiveRowSizeStyle")] NSTableViewRowSizeStyle EffectiveRowSizeStyle { get; } - [Mac (10, 7)] [Export ("viewAtColumn:row:makeIfNecessary:")] NSView GetView (nint column, nint row, bool makeIfNecessary); - [Mac (10, 7)] [Export ("rowViewAtRow:makeIfNecessary:")] NSTableRowView GetRowView (nint row, bool makeIfNecessary); - [Mac (10, 7)] [Export ("rowForView:")] nint RowForView (NSView view); - [Mac (10, 7)] [Export ("columnForView:")] nint ColumnForView (NSView view); // According to the header identifier should be non-null but example in // https://bugzilla.xamarin.com/show_bug.cgi?id=36496 shows actual behavior differs - [Mac (10, 7)] [Export ("makeViewWithIdentifier:owner:")] NSView MakeView ([NullAllowed]string identifier, [NullAllowed]NSObject owner); - [Mac (10, 7)] [Export ("enumerateAvailableRowViewsUsingBlock:")] void EnumerateAvailableRowViews (NSTableViewRowHandler callback); - [Mac (10, 7)] [Export ("beginUpdates")] void BeginUpdates (); - [Mac (10, 7)] [Export ("endUpdates")] void EndUpdates (); - [Mac (10, 7)] [Export ("insertRowsAtIndexes:withAnimation:")] void InsertRows (NSIndexSet indexes, NSTableViewAnimation animationOptions); - [Mac (10, 7)] [Export ("removeRowsAtIndexes:withAnimation:")] void RemoveRows (NSIndexSet indexes, NSTableViewAnimation animationOptions); - [Mac (10, 7)] [Export ("moveRowAtIndex:toIndex:")] void MoveRow (nint oldIndex, nint newIndex); - [Mac (10, 7)] [Export ("rowSizeStyle")] NSTableViewRowSizeStyle RowSizeStyle { get; set; } - [Mac (10, 7)] [Export ("floatsGroupRows")] bool FloatsGroupRows { get; set; } [Field ("NSTableViewRowViewKey")] NSString RowViewKey { get; } - [Mac (10,8)] [Export ("registerNib:forIdentifier:")] void RegisterNib ([NullAllowed] NSNib nib, string identifier); - [Mac (10,7)] [Export ("didAddRowView:forRow:")] void RowViewAdded (NSTableRowView rowView, nint row); - [Mac (10,7)] [Export ("didRemoveRowView:forRow:")] void RowViewRemoved (NSTableRowView rowView, nint row); - [Mac (10,8)] [Export ("registeredNibsByIdentifier", ArgumentSemantic.Copy)] NSDictionary RegisteredNibsByIdentifier { get; } @@ -17124,19 +17063,15 @@ partial interface NSTableViewDelegate { [Export ("tableViewSelectionIsChanging:"), EventArgs ("NSNotification")] void SelectionIsChanging (NSNotification notification); - [Mac (10, 7)] [Export ("tableView:viewForTableColumn:row:"), DelegateName ("NSTableViewViewGetter"), NoDefaultValue] NSView GetViewForItem (NSTableView tableView, NSTableColumn tableColumn, nint row); - [Mac (10, 7)] [Export ("tableView:rowViewForRow:"), DelegateName ("NSTableViewRowGetter"), DefaultValue (null)] NSTableRowView CoreGetRowView (NSTableView tableView, nint row); - [Mac (10, 7)] [Export ("tableView:didAddRowView:forRow:"), EventArgs ("NSTableViewRow")] void DidAddRowView (NSTableView tableView, NSTableRowView rowView, nint row); - [Mac (10, 7)] [Export ("tableView:didRemoveRowView:forRow:"), EventArgs ("NSTableViewRow")] void DidRemoveRowView (NSTableView tableView, NSTableRowView rowView, nint row); @@ -17175,7 +17110,6 @@ interface NSTableViewDataSource { [Export ("tableView:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:")] string [] FilesDropped (NSTableView tableView, NSUrl dropDestination, NSIndexSet indexSet ); - [Mac (10, 7)] [Export ("tableView:pasteboardWriterForRow:")] #if XAMCORE_2_0 INSPasteboardWriting GetPasteboardWriterForRow (NSTableView tableView, nint row); @@ -17183,15 +17117,12 @@ interface NSTableViewDataSource { NSPasteboardWriting GetPasteboardWriterForRow (NSTableView tableView, nint row); #endif - [Mac (10, 7)] [Export ("tableView:draggingSession:willBeginAtPoint:forRowIndexes:")] void DraggingSessionWillBegin (NSTableView tableView, NSDraggingSession draggingSession, CGPoint willBeginAtScreenPoint, NSIndexSet rowIndexes); - [Mac (10, 7)] [Export ("tableView:draggingSession:endedAtPoint:operation:")] void DraggingSessionEnded (NSTableView tableView, NSDraggingSession draggingSession, CGPoint endedAtScreenPoint, NSDragOperation operation); - [Mac (10, 7)] [Export ("tableView:updateDraggingItemsForDrag:")] void UpdateDraggingItems (NSTableView tableView, [Protocolize (4)] NSDraggingInfo draggingInfo); } @@ -17305,23 +17236,18 @@ interface NSTableViewSource { [Export ("tableView:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:")] string [] FilesDropped (NSTableView tableView, NSUrl dropDestination, NSIndexSet indexSet ); - [Mac (10, 7)] [Export ("tableView:viewForTableColumn:row:")] NSView GetViewForItem (NSTableView tableView, NSTableColumn tableColumn, nint row); - [Mac (10, 7)] [Export ("tableView:rowViewForRow:")] NSTableRowView GetRowView (NSTableView tableView, nint row); - [Mac (10, 7)] [Export ("tableView:didAddRowView:forRow:")] void DidAddRowView (NSTableView tableView, NSTableRowView rowView, nint row); - [Mac (10, 7)] [Export ("tableView:didRemoveRowView:forRow:")] void DidRemoveRowView (NSTableView tableView, NSTableRowView rowView, nint row); - [Mac (10, 7)] [Export ("tableView:pasteboardWriterForRow:")] #if XAMCORE_2_0 INSPasteboardWriting GetPasteboardWriterForRow (NSTableView tableView, nint row); @@ -17329,15 +17255,12 @@ interface NSTableViewSource { NSPasteboardWriting GetPasteboardWriterForRow (NSTableView tableView, nint row); #endif - [Mac (10, 7)] [Export ("tableView:draggingSession:willBeginAtPoint:forRowIndexes:")] void DraggingSessionWillBegin (NSTableView tableView, NSDraggingSession draggingSession, CGPoint willBeginAtScreenPoint, NSIndexSet rowIndexes); - [Mac (10, 7)] [Export ("tableView:draggingSession:endedAtPoint:operation:")] void DraggingSessionEnded (NSTableView tableView, NSDraggingSession draggingSession, CGPoint endedAtScreenPoint, NSDragOperation operation); - [Mac (10, 7)] [Export ("tableView:updateDraggingItemsForDrag:")] void UpdateDraggingItems (NSTableView tableView, [Protocolize (4)] NSDraggingInfo draggingInfo); } @@ -18051,7 +17974,7 @@ partial interface NSTextField : NSAccessibilityNavigableStaticText, NSUserInterf [Export ("importsGraphics")] bool ImportsGraphics { get; set; } - [Mac (10, 8), Export ("preferredMaxLayoutWidth")] + [Export ("preferredMaxLayoutWidth")] nfloat PreferredMaxLayoutWidth { get; set; } [Mac (10,10)] @@ -19201,7 +19124,6 @@ partial interface NSTextView : NSTextInputClient, NSTextLayoutOrientationProvide [Export ("usesRolloverButtonForSelection")] bool UsesRolloverButtonForSelection { get; set; } - [Mac (10,7)] [Export ("toggleQuickLookPreviewPanel:")] void ToggleQuickLookPreviewPanel (NSObject sender); @@ -20657,53 +20579,53 @@ partial interface NSWindow : NSAnimatablePropertyContainer, NSUserInterfaceItemI IntPtr WindowRef { get; } // This one comes from the NSUserInterfaceRestoration category ('@interface NSWindow (NSUserInterfaceRestoration)') - [Mac (10, 7), Export ("disableSnapshotRestoration")] + [Export ("disableSnapshotRestoration")] void DisableSnapshotRestoration (); // This one comes from the NSUserInterfaceRestoration category ('@interface NSWindow (NSUserInterfaceRestoration)') - [Mac (10, 7), Export ("enableSnapshotRestoration")] + [Export ("enableSnapshotRestoration")] void EnableSnapshotRestoration (); // This one comes from the NSUserInterfaceRestoration category ('@interface NSWindow (NSUserInterfaceRestoration)') - [Mac (10, 7), Export ("restorable")] + [Export ("restorable")] bool Restorable { [Bind ("isRestorable")]get; set; } // This one comes from the NSUserInterfaceRestoration category ('@interface NSWindow (NSUserInterfaceRestoration)') - [Mac (10, 7), Export ("restorationClass")] + [Export ("restorationClass")] Class RestorationClass { get; set; } //Detected properties - [Mac (10, 7), Export ("updateConstraintsIfNeeded")] + [Export ("updateConstraintsIfNeeded")] void UpdateConstraintsIfNeeded (); - [Mac (10, 7), Export ("layoutIfNeeded")] + [Export ("layoutIfNeeded")] void LayoutIfNeeded (); - [Mac (10, 7), Export ("setAnchorAttribute:forOrientation:")] + [Export ("setAnchorAttribute:forOrientation:")] void SetAnchorAttribute (NSLayoutAttribute layoutAttribute, NSLayoutConstraintOrientation forOrientation); - [Mac (10, 7), Export ("visualizeConstraints:")] + [Export ("visualizeConstraints:")] void VisualizeConstraints ([NullAllowed] NSLayoutConstraint [] constraints); - [Mac (10, 7), Export ("convertRectToScreen:")] + [Export ("convertRectToScreen:")] CGRect ConvertRectToScreen (CGRect aRect); - [Mac (10, 7), Export ("convertRectFromScreen:")] + [Export ("convertRectFromScreen:")] CGRect ConvertRectFromScreen (CGRect aRect); - [Mac (10, 7), Export ("convertRectToBacking:")] + [Export ("convertRectToBacking:")] CGRect ConvertRectToBacking (CGRect aRect); - [Mac (10, 7), Export ("convertRectFromBacking:")] + [Export ("convertRectFromBacking:")] CGRect ConvertRectFromBacking (CGRect aRect); - [Mac (10, 7), Export ("backingAlignedRect:options:")] + [Export ("backingAlignedRect:options:")] CGRect BackingAlignedRect (CGRect aRect, NSAlignmentOptions options); - [Mac (10, 7), Export ("backingScaleFactor")] + [Export ("backingScaleFactor")] nfloat BackingScaleFactor { get; } - [Mac (10, 7), Export ("toggleFullScreen:")] + [Export ("toggleFullScreen:")] void ToggleFullScreen ([NullAllowed] NSObject sender); //Detected properties @@ -20774,25 +20696,25 @@ partial interface NSWindow : NSAnimatablePropertyContainer, NSUserInterfaceItemI [Field ("NSWindowWillEnterFullScreenNotification")] NSString WillEnterFullScreenNotification { get; } - [Mac (10, 7), Field ("NSWindowDidEnterFullScreenNotification")] + [Field ("NSWindowDidEnterFullScreenNotification")] NSString DidEnterFullScreenNotification { get; } - [Mac (10, 7), Field ("NSWindowWillExitFullScreenNotification")] + [Field ("NSWindowWillExitFullScreenNotification")] NSString WillExitFullScreenNotification { get; } - [Mac (10, 7), Field ("NSWindowDidExitFullScreenNotification")] + [Field ("NSWindowDidExitFullScreenNotification")] NSString DidExitFullScreenNotification { get; } - [Mac (10, 7), Field ("NSWindowWillEnterVersionBrowserNotification")] + [Field ("NSWindowWillEnterVersionBrowserNotification")] NSString WillEnterVersionBrowserNotification { get; } - [Mac (10, 7), Field ("NSWindowDidEnterVersionBrowserNotification")] + [Field ("NSWindowDidEnterVersionBrowserNotification")] NSString DidEnterVersionBrowserNotification { get; } - [Mac (10, 7), Field ("NSWindowWillExitVersionBrowserNotification")] + [Field ("NSWindowWillExitVersionBrowserNotification")] NSString WillExitVersionBrowserNotification { get; } - [Mac (10, 7), Field ("NSWindowDidExitVersionBrowserNotification")] + [Field ("NSWindowDidExitVersionBrowserNotification")] NSString DidExitVersionBrowserNotification { get; } #endif @@ -20982,7 +20904,6 @@ interface NSVisualEffectView { [BaseType (typeof (NSObject))] [Model] [Protocol] - [Mac (10, 7)] partial interface NSWindowRestoration { [Static] [Export ("restoreWindowWithIdentifier:state:completionHandler:")] @@ -21159,64 +21080,63 @@ interface NSWindowDelegate { [Export ("windowDidEndLiveResize:"), EventArgs ("NSNotification")] void DidEndLiveResize (NSNotification notification); - [Mac (10, 7), Export ("windowWillEnterFullScreen:"), EventArgs ("NSNotification")] + [Export ("windowWillEnterFullScreen:"), EventArgs ("NSNotification")] void WillEnterFullScreen (NSNotification notification); - [Mac (10, 7), Export ("windowDidEnterFullScreen:"), EventArgs ("NSNotification")] + [Export ("windowDidEnterFullScreen:"), EventArgs ("NSNotification")] void DidEnterFullScreen (NSNotification notification); - [Mac (10, 7), Export ("windowWillExitFullScreen:"), EventArgs ("NSNotification")] + [Export ("windowWillExitFullScreen:"), EventArgs ("NSNotification")] void WillExitFullScreen (NSNotification notification); - [Mac (10, 7), Export ("windowDidExitFullScreen:"), EventArgs ("NSNotification")] + [Export ("windowDidExitFullScreen:"), EventArgs ("NSNotification")] void DidExitFullScreen (NSNotification notification); - [Mac (10, 7), Export ("windowDidFailToEnterFullScreen:"), EventArgs ("NSWindow")] + [Export ("windowDidFailToEnterFullScreen:"), EventArgs ("NSWindow")] void DidFailToEnterFullScreen (NSWindow window); - [Mac (10, 7), Export ("windowDidFailToExitFullScreen:"), EventArgs ("NSWindow")] + [Export ("windowDidFailToExitFullScreen:"), EventArgs ("NSWindow")] void DidFailToExitFullScreen (NSWindow window); - [Mac (10, 7), Export ("window:willUseFullScreenContentSize:"), DelegateName ("NSWindowSize"), DefaultValueFromArgument ("proposedSize")] + [Export ("window:willUseFullScreenContentSize:"), DelegateName ("NSWindowSize"), DefaultValueFromArgument ("proposedSize")] CGSize WillUseFullScreenContentSize (NSWindow window, CGSize proposedSize); - [Mac (10, 7), Export ("window:willUseFullScreenPresentationOptions:"), DelegateName ("NSWindowApplicationPresentationOptions"), DefaultValueFromArgument ("proposedOptions")] + [Export ("window:willUseFullScreenPresentationOptions:"), DelegateName ("NSWindowApplicationPresentationOptions"), DefaultValueFromArgument ("proposedOptions")] NSApplicationPresentationOptions WillUseFullScreenPresentationOptions (NSWindow window, NSApplicationPresentationOptions proposedOptions); - [Mac (10, 7), Export ("customWindowsToEnterFullScreenForWindow:"), DelegateName ("NSWindowWindows"), DefaultValue (null)] + [Export ("customWindowsToEnterFullScreenForWindow:"), DelegateName ("NSWindowWindows"), DefaultValue (null)] NSWindow[] CustomWindowsToEnterFullScreen (NSWindow window); - [Mac (10, 7), Export ("customWindowsToExitFullScreenForWindow:"), DelegateName ("NSWindowWindows"), DefaultValue (null)] + [Export ("customWindowsToExitFullScreenForWindow:"), DelegateName ("NSWindowWindows"), DefaultValue (null)] NSWindow[] CustomWindowsToExitFullScreen (NSWindow window); - [Mac (10, 7), Export ("window:startCustomAnimationToEnterFullScreenWithDuration:"), EventArgs("NSWindowDuration")] + [Export ("window:startCustomAnimationToEnterFullScreenWithDuration:"), EventArgs("NSWindowDuration")] void StartCustomAnimationToEnterFullScreen (NSWindow window, double duration); - [Mac (10, 7), Export ("window:startCustomAnimationToExitFullScreenWithDuration:"), EventArgs("NSWindowDuration")] + [Export ("window:startCustomAnimationToExitFullScreenWithDuration:"), EventArgs("NSWindowDuration")] void StartCustomAnimationToExitFullScreen (NSWindow window, double duration); - [Mac (10, 7), Export ("window:willEncodeRestorableState:"), EventArgs ("NSWindowCoder")] + [Export ("window:willEncodeRestorableState:"), EventArgs ("NSWindowCoder")] void WillEncodeRestorableState(NSWindow window, NSCoder coder); - [Mac (10, 7), Export ("window:didDecodeRestorableState:"), EventArgs ("NSWindowCoder")] + [Export ("window:didDecodeRestorableState:"), EventArgs ("NSWindowCoder")] void DidDecodeRestorableState(NSWindow window, NSCoder coder); - [Mac (10, 7), Export ("window:willResizeForVersionBrowserWithMaxPreferredSize:maxAllowedSize:"), DelegateName ("NSWindowSizeSize"), DefaultValueFromArgument ("maxPreferredSize")] + [Export ("window:willResizeForVersionBrowserWithMaxPreferredSize:maxAllowedSize:"), DelegateName ("NSWindowSizeSize"), DefaultValueFromArgument ("maxPreferredSize")] CGSize WillResizeForVersionBrowser(NSWindow window, CGSize maxPreferredSize, CGSize maxAllowedSize); - [Mac (10, 7), Export ("windowWillEnterVersionBrowser:"), EventArgs ("NSNotification")] + [Export ("windowWillEnterVersionBrowser:"), EventArgs ("NSNotification")] void WillEnterVersionBrowser (NSNotification notification); - [Mac (10, 7), Export ("windowDidEnterVersionBrowser:"), EventArgs ("NSNotification")] + [Export ("windowDidEnterVersionBrowser:"), EventArgs ("NSNotification")] void DidEnterVersionBrowser (NSNotification notification); - [Mac (10, 7), Export ("windowWillExitVersionBrowser:"), EventArgs ("NSNotification")] + [Export ("windowWillExitVersionBrowser:"), EventArgs ("NSNotification")] void WillExitVersionBrowser (NSNotification notification); - [Mac (10, 7), Export ("windowDidExitVersionBrowser:"), EventArgs ("NSNotification")] + [Export ("windowDidExitVersionBrowser:"), EventArgs ("NSNotification")] void DidExitVersionBrowser (NSNotification notification); - [Availability (Introduced = Platform.Mac_10_7)] [Export ("windowDidChangeBackingProperties:"), EventArgs ("NSNotification")] void DidChangeBackingProperties (NSNotification notification); } @@ -21412,11 +21332,9 @@ interface NSWorkspace : NSWorkspaceAccessibilityExtensions { [Export ("runningApplications"), ThreadSafe] NSRunningApplication [] RunningApplications { get; } - [Mac (10, 7)] [Export ("frontmostApplication")] NSRunningApplication FrontmostApplication { get; } - [Mac (10, 7)] [Export ("menuBarOwningApplication")] NSRunningApplication MenuBarOwningApplication { get; } @@ -21900,10 +21818,8 @@ interface NSPredicateEditor { // Start of NSSharingService.h - [Mac (10, 8)] delegate void NSSharingServiceHandler (); - [Mac (10, 8)] [BaseType (typeof (NSObject), Delegates=new string [] {"WeakDelegate"}, Events=new Type [] { typeof (NSSharingServiceDelegate) })] @@ -21971,7 +21887,6 @@ interface NSSharingService NSUrl [] AttachmentFileUrls { get; } } - [Mac (10, 8)] enum NSSharingServiceName { [Deprecated (PlatformName.MacOSX, 10, 14, message: "Use the proprietary SDK instead.")] @@ -22052,7 +21967,6 @@ enum NSSharingServiceName { UseAsLinkedInProfileImage, } - [Mac (10, 8)] [BaseType (typeof (NSObject))] [Model] [Protocol] @@ -22101,7 +22015,6 @@ interface NSCloudSharingServiceDelegate void Stopped (NSSharingService sharingService, CKShare share); } - [Mac (10, 8)] [BaseType (typeof (NSObject), Delegates=new string [] {"WeakDelegate"}, Events=new Type [] { typeof (NSSharingServicePickerDelegate) })] @@ -22124,7 +22037,6 @@ interface NSSharingServicePicker interface INSSharingServicePickerDelegate {} - [Mac (10, 8)] [BaseType (typeof (NSObject))] [Model] [Protocol] @@ -22341,30 +22253,30 @@ partial interface NSTypesetter { } partial interface NSCollectionViewDelegate { - [Mac (10, 7), Export ("collectionView:pasteboardWriterForItemAtIndex:")] + [Export ("collectionView:pasteboardWriterForItemAtIndex:")] #if XAMCORE_2_0 INSPasteboardWriting PasteboardWriterForItem (NSCollectionView collectionView, nuint index); #else NSPasteboardWriting PasteboardWriterForItemAtIndex (NSCollectionView collectionView, nuint index); #endif - [Mac (10, 7), Export ("collectionView:updateDraggingItemsForDrag:")] + [Export ("collectionView:updateDraggingItemsForDrag:")] void UpdateDraggingItemsForDrag (NSCollectionView collectionView, [Protocolize (4)] NSDraggingInfo draggingInfo); - [Mac (10, 7), Export ("collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexes:")] + [Export ("collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexes:")] void DraggingSessionWillBegin (NSCollectionView collectionView, NSDraggingSession draggingSession, CGPoint screenPoint, NSIndexSet indexes); - [Mac (10, 7), Export ("collectionView:draggingSession:endedAtPoint:dragOperation:")] + [Export ("collectionView:draggingSession:endedAtPoint:dragOperation:")] void DraggingSessionEnded (NSCollectionView collectionView, NSDraggingSession draggingSession, CGPoint screenPoint, NSDragOperation dragOperation); } partial interface NSColor { - [Mac (10, 7), Static, Export ("colorWithGenericGamma22White:alpha:")] + [Static, Export ("colorWithGenericGamma22White:alpha:")] NSColor FromGamma22White (nfloat white, nfloat alpha); - [Mac (10, 7), Static, Export ("colorWithSRGBRed:green:blue:alpha:")] + [Static, Export ("colorWithSRGBRed:green:blue:alpha:")] NSColor FromSrgb (nfloat red, nfloat green, nfloat blue, nfloat alpha); [Notification, Field ("NSSystemColorsDidChangeNotification")] @@ -22372,24 +22284,24 @@ partial interface NSColor { } partial interface NSDocumentController { - [Mac (10, 7), Export ("duplicateDocumentWithContentsOfURL:copying:displayName:error:")] + [Export ("duplicateDocumentWithContentsOfURL:copying:displayName:error:")] NSDocument DuplicateDocumentWithContentsOfUrl (NSUrl url, bool duplicateByCopying, [NullAllowed] string displayName, out NSError error); #if !XAMCORE_2_0 - [Mac (10, 7), Export ("openDocumentWithContentsOfURL:display:completionHandler:")] + [Export ("openDocumentWithContentsOfURL:display:completionHandler:")] [Obsolete ("Use 'OpenDocument' instead.")] [Sealed] void OpenDocumentWithContentsOfUrl (NSUrl url, bool displayDocument, OpenDocumentCompletionHandler completionHandler); #endif - [Mac (10, 7), Export ("reopenDocumentForURL:withContentsOfURL:display:completionHandler:")] + [Export ("reopenDocumentForURL:withContentsOfURL:display:completionHandler:")] void ReopenDocumentForUrl ([NullAllowed] NSUrl url, NSUrl contentsUrl, bool displayDocument, OpenDocumentCompletionHandler completionHandler); } - [Mac (10, 7), Model] + [Model] interface NSTextLayoutOrientationProvider { [Export ("layoutOrientation")] NSTextLayoutOrientation LayoutOrientation { get; } @@ -22401,7 +22313,7 @@ partial interface NSLayoutManager { // ./AppKit/NSLayoutManager.g.cs(1015,44): error CS1503: Argument `#1' // cannot convert `ushort[]' expression to type `MonoMac.Foundation.NSObject[]' // - // [Mac (10, 7), Export ("showCGGlyphs:positions:count:font:matrix:attributes:inContext:")] + // [Export ("showCGGlyphs:positions:count:font:matrix:attributes:inContext:")] // void ShowCGGlyphs (CGGlyph [] glyphs, CGPoint [] positions, uint glyphCount, NSFont font, // NSAffineTransform textMatrix, NSDictionary attributes, NSGraphicsContext graphicsContext); } @@ -22460,16 +22372,16 @@ partial interface NSOutlineView : NSAccessibilityOutline { NSString ItemDidCollapseNotification { get; } // - (void)moveItemAtIndex:(NSInteger)fromIndex inParent:(id)oldParent toIndex:(NSInteger)toIndex inParent:(id)newParent NS_AVAILABLE_MAC(10_7); - [Mac (10, 7), Export ("moveItemAtIndex:inParent:toIndex:inParent:")] + [Export ("moveItemAtIndex:inParent:toIndex:inParent:")] void MoveItem (nint fromIndex, [NullAllowed] NSObject oldParent, nint toIndex, [NullAllowed] NSObject newParent); #if !XAMCORE_2_0 // - (void)insertItemsAtIndexes:(NSIndexSet *)indexes inParent:(id)parent withAnimation:(NSTableViewAnimationOptions)animationOptions NS_AVAILABLE_MAC(10_7); - [Mac (10, 7), Export ("insertItemsAtIndexes:inParent:withAnimation:")] + [Export ("insertItemsAtIndexes:inParent:withAnimation:")] void InsertItems (NSIndexSet indexes, [NullAllowed] NSObject parent, NSTableViewAnimationOptions animationOptions); // - (void)removeItemsAtIndexes:(NSIndexSet *)indexes inParent:(id)parent withAnimation:(NSTableViewAnimationOptions)animationOptions NS_AVAILABLE_MAC(10_7); - [Mac (10, 7), Export ("removeItemsAtIndexes:inParent:withAnimation:")] + [Export ("removeItemsAtIndexes:inParent:withAnimation:")] void RemoveItems (NSIndexSet indexes, [NullAllowed] NSObject parent, NSTableViewAnimationOptions animationOptions); // - (void)insertRowsAtIndexes:(NSIndexSet *)indexes withAnimation:(NSTableViewAnimationOptions)animationOptions UNAVAILABLE_ATTRIBUTE; @@ -22480,10 +22392,10 @@ partial interface NSOutlineView : NSAccessibilityOutline { [Export ("removeRowsAtIndexes:withAnimation:")] void RemoveRows (NSIndexSet indexes, NSTableViewAnimationOptions animationOptions); #else - [Mac (10, 7), Export ("insertItemsAtIndexes:inParent:withAnimation:")] + [Export ("insertItemsAtIndexes:inParent:withAnimation:")] void InsertItems (NSIndexSet indexes, [NullAllowed] NSObject parent, NSTableViewAnimation animationOptions); - [Mac (10, 7), Export ("removeItemsAtIndexes:inParent:withAnimation:")] + [Export ("removeItemsAtIndexes:inParent:withAnimation:")] void RemoveItems (NSIndexSet indexes, [NullAllowed] NSObject parent, NSTableViewAnimation animationOptions); [Export ("insertRowsAtIndexes:withAnimation:")] @@ -22500,7 +22412,7 @@ partial interface NSOutlineView : NSAccessibilityOutline { partial interface NSOutlineViewDataSource { // - (id )outlineView:(NSOutlineView *)outlineView pasteboardWriterForItem:(id)item NS_AVAILABLE_MAC(10_7); - [Mac (10, 7), Export ("outlineView:pasteboardWriterForItem:")] + [Export ("outlineView:pasteboardWriterForItem:")] #if XAMCORE_2_0 INSPasteboardWriting PasteboardWriterForItem (NSOutlineView outlineView, NSObject item); #else @@ -22508,15 +22420,15 @@ partial interface NSOutlineViewDataSource { #endif // - (void)outlineView:(NSOutlineView *)outlineView draggingSession:(NSDraggingSession *)session willBeginAtPoint:(NSPoint)screenPoint forItems:(NSArray *)draggedItems NS_AVAILABLE_MAC(10_7); - [Mac (10, 7), Export ("outlineView:draggingSession:willBeginAtPoint:forItems:")] + [Export ("outlineView:draggingSession:willBeginAtPoint:forItems:")] void DraggingSessionWillBegin (NSOutlineView outlineView, NSDraggingSession session, CGPoint screenPoint, NSArray draggedItems); // - (void)outlineView:(NSOutlineView *)outlineView draggingSession:(NSDraggingSession *)session endedAtPoint:(NSPoint)screenPoint operation:(NSDragOperation)operation NS_AVAILABLE_MAC(10_7); - [Mac (10, 7), Export ("outlineView:draggingSession:endedAtPoint:operation:")] + [Export ("outlineView:draggingSession:endedAtPoint:operation:")] void DraggingSessionEnded (NSOutlineView outlineView, NSDraggingSession session, CGPoint screenPoint, NSDragOperation operation); // - (void)outlineView:(NSOutlineView *)outlineView updateDraggingItemsForDrag:(id )draggingInfo NS_AVAILABLE_MAC(10_7); - [Mac (10, 7), Export ("outlineView:updateDraggingItemsForDrag:")] + [Export ("outlineView:updateDraggingItemsForDrag:")] void UpdateDraggingItemsForDrag (NSOutlineView outlineView, [Protocolize (4)] NSDraggingInfo draggingInfo); } @@ -22617,35 +22529,35 @@ partial interface NSWindow { [Notification] NSString WillEnterFullScreenNotification { get; } - [Mac (10, 7), Field ("NSWindowDidEnterFullScreenNotification")] + [Field ("NSWindowDidEnterFullScreenNotification")] [Notification] NSString DidEnterFullScreenNotification { get; } - [Mac (10, 7), Field ("NSWindowWillExitFullScreenNotification")] + [Field ("NSWindowWillExitFullScreenNotification")] [Notification] NSString WillExitFullScreenNotification { get; } - [Mac (10, 7), Field ("NSWindowDidExitFullScreenNotification")] + [Field ("NSWindowDidExitFullScreenNotification")] [Notification] NSString DidExitFullScreenNotification { get; } - [Mac (10, 7), Field ("NSWindowWillEnterVersionBrowserNotification")] + [Field ("NSWindowWillEnterVersionBrowserNotification")] [Notification] NSString WillEnterVersionBrowserNotification { get; } - [Mac (10, 7), Field ("NSWindowDidEnterVersionBrowserNotification")] + [Field ("NSWindowDidEnterVersionBrowserNotification")] [Notification] NSString DidEnterVersionBrowserNotification { get; } - [Mac (10, 7), Field ("NSWindowWillExitVersionBrowserNotification")] + [Field ("NSWindowWillExitVersionBrowserNotification")] [Notification] NSString WillExitVersionBrowserNotification { get; } - [Mac (10, 7), Field ("NSWindowDidExitVersionBrowserNotification")] + [Field ("NSWindowDidExitVersionBrowserNotification")] [Notification] NSString DidExitVersionBrowserNotification { get; } - [Mac (10, 7), Field ("NSWindowDidChangeBackingPropertiesNotification")] + [Field ("NSWindowDidChangeBackingPropertiesNotification")] [Notification (typeof (NSWindowBackingPropertiesEventArgs))] NSString DidChangeBackingPropertiesNotification { get; } @@ -22713,85 +22625,85 @@ partial interface NSWindow { } partial interface NSPrintOperation { - [Mac (10, 7), Export ("preferredRenderingQuality")] + [Export ("preferredRenderingQuality")] NSPrintRenderingQuality PreferredRenderingQuality { get; } } #if !XAMCORE_4_0 [Category, BaseType (typeof (NSResponder))] partial interface NSControlEditingSupport { - [Mac (10, 7), Export ("validateProposedFirstResponder:forEvent:")] + [Export ("validateProposedFirstResponder:forEvent:")] bool ValidateProposedFirstResponder (NSResponder responder, [NullAllowed] NSEvent forEvent); } #endif partial interface NSResponder { - [Mac (10, 7), Export ("wantsScrollEventsForSwipeTrackingOnAxis:")] + [Export ("wantsScrollEventsForSwipeTrackingOnAxis:")] bool WantsScrollEventsForSwipeTrackingOnAxis (NSEventGestureAxis axis); - [Mac (10, 7), Export ("supplementalTargetForAction:sender:")] + [Export ("supplementalTargetForAction:sender:")] NSObject SupplementalTargetForAction (Selector action, [NullAllowed] NSObject sender); - [Mac (10, 8), Export ("smartMagnifyWithEvent:")] + [Export ("smartMagnifyWithEvent:")] void SmartMagnify (NSEvent withEvent); - [Mac (10, 8), Export ("quickLookWithEvent:")] + [Export ("quickLookWithEvent:")] void QuickLook (NSEvent withEvent); // From NSControlEditingSupport category. Needs to be here to make the API easier to be used. issue 4837 - [Mac (10, 7), Export ("validateProposedFirstResponder:forEvent:")] + [Export ("validateProposedFirstResponder:forEvent:")] bool ValidateProposedFirstResponder (NSResponder responder, [NullAllowed] NSEvent forEvent); } [Category, BaseType (typeof (NSResponder))] partial interface NSStandardKeyBindingMethods { - [Mac (10, 8), Export ("quickLookPreviewItems:")] + [Export ("quickLookPreviewItems:")] void QuickLookPreviewItems (NSObject sender); } [Category, BaseType (typeof (NSView))] partial interface NSRulerMarkerClientViewDelegation { - [Mac (10, 7), Export ("rulerView:locationForPoint:")] + [Export ("rulerView:locationForPoint:")] nfloat RulerViewLocation (NSRulerView ruler, CGPoint locationForPoint); - [Mac (10, 7), Export ("rulerView:pointForLocation:")] + [Export ("rulerView:pointForLocation:")] CGPoint RulerViewPoint (NSRulerView ruler, nfloat pointForLocation); } [Category, BaseType (typeof (NSResponder))] partial interface NSTextFinderSupport { - [Mac (10, 7), Export ("performTextFinderAction:")] + [Export ("performTextFinderAction:")] void PerformTextFinderAction ([NullAllowed] NSObject sender); } partial interface NSRunningApplication { - [Mac (10, 7), Static, Export ("terminateAutomaticallyTerminableApplications")] + [Static, Export ("terminateAutomaticallyTerminableApplications")] void TerminateAutomaticallyTerminableApplications (); } delegate void NSSpellCheckerShowCorrectionIndicatorOfTypeHandler (string acceptedString); partial interface NSSpellChecker { - [Mac (10, 7), Export ("correctionForWordRange:inString:language:inSpellDocumentWithTag:")] + [Export ("correctionForWordRange:inString:language:inSpellDocumentWithTag:")] string GetCorrection (NSRange forWordRange, string inString, string language, nint inSpellDocumentWithTag); - [Mac (10, 7), Export ("languageForWordRange:inString:orthography:")] + [Export ("languageForWordRange:inString:orthography:")] string GetLanguage (NSRange forWordRange, string inString, NSOrthography orthography); - [Mac (10, 7), Export ("recordResponse:toCorrection:forWord:language:inSpellDocumentWithTag:")] + [Export ("recordResponse:toCorrection:forWord:language:inSpellDocumentWithTag:")] void RecordResponse (NSCorrectionResponse response, string toCorrection, string forWord, string language, nint inSpellDocumentWithTag); - [Mac (10, 7), Export ("dismissCorrectionIndicatorForView:")] + [Export ("dismissCorrectionIndicatorForView:")] void DismissCorrectionIndicator (NSView forView); - [Mac (10, 7), Export ("showCorrectionIndicatorOfType:primaryString:alternativeStrings:forStringInRect:view:completionHandler:")] + [Export ("showCorrectionIndicatorOfType:primaryString:alternativeStrings:forStringInRect:view:completionHandler:")] void ShowCorrectionIndicatorOfType (NSCorrectionIndicatorType type, string primaryString, string [] alternativeStrings, CGRect forStringInRect, NSRulerView view, NSSpellCheckerShowCorrectionIndicatorOfTypeHandler completionHandler); - [Mac (10, 7), Static, Export ("isAutomaticTextReplacementEnabled")] + [Static, Export ("isAutomaticTextReplacementEnabled")] bool IsAutomaticTextReplacementEnabled { get; } - [Mac (10, 7), Static, Export ("isAutomaticSpellingCorrectionEnabled")] + [Static, Export ("isAutomaticSpellingCorrectionEnabled")] bool IsAutomaticSpellingCorrectionEnabled { get; } [Field ("NSTextCheckingOrthographyKey")] @@ -22818,13 +22730,13 @@ void ShowCorrectionIndicatorOfType (NSCorrectionIndicatorType type, string prima [Field ("NSTextCheckingDocumentAuthorKey")] NSString TextCheckingDocumentAuthorKey { get; } - [Mac (10, 7), Field ("NSTextCheckingRegularExpressionsKey")] + [Field ("NSTextCheckingRegularExpressionsKey")] NSString TextCheckingRegularExpressionsKey { get; } - [Mac (10, 7), Notification, Field ("NSSpellCheckerDidChangeAutomaticSpellingCorrectionNotification")] + [Notification, Field ("NSSpellCheckerDidChangeAutomaticSpellingCorrectionNotification")] NSString DidChangeAutomaticSpellingCorrectionNotification { get; } - [Mac (10, 7), Notification, Field ("NSSpellCheckerDidChangeAutomaticTextReplacementNotification")] + [Notification, Field ("NSSpellCheckerDidChangeAutomaticTextReplacementNotification")] NSString DidChangeAutomaticTextReplacementNotification { get; } [Mac (10, 12)] @@ -22862,25 +22774,25 @@ partial interface NSTextViewWillChangeNotifyingTextViewEventArgs { } partial interface NSTextView : NSTextLayoutOrientationProvider { - [Mac (10, 7), Export ("setLayoutOrientation:")] + [Export ("setLayoutOrientation:")] void SetLayoutOrientation (NSTextLayoutOrientation theOrientation); - [Mac (10, 7), Export ("changeLayoutOrientation:")] + [Export ("changeLayoutOrientation:")] void ChangeLayoutOrientation (NSObject sender); - [Mac (10, 7), Export ("usesInspectorBar")] + [Export ("usesInspectorBar")] bool UsesInspectorBar { get; set; } - [Mac (10, 7), Export ("usesFindBar")] + [Export ("usesFindBar")] bool UsesFindBar { get; set; } - [Mac (10, 7), Export ("incrementalSearchingEnabled")] + [Export ("incrementalSearchingEnabled")] bool IsIncrementalSearchingEnabled {[Bind ("isIncrementalSearchingEnabled")]get; set; } - [Mac (10, 7), Export ("quickLookPreviewableItemsInRanges:")] + [Export ("quickLookPreviewableItemsInRanges:")] NSArray QuickLookPreviewableItemsInRanges (NSArray ranges); - [Mac (10, 7), Export ("updateQuickLookPreviewPanel")] + [Export ("updateQuickLookPreviewPanel")] void UpdateQuickLookPreviewPanel (); [Notification (typeof (NSTextViewWillChangeNotifyingTextViewEventArgs))] @@ -22897,13 +22809,13 @@ partial interface NSTextView : NSTextLayoutOrientationProvider { partial interface NSView { - [Mac (10, 8), Export ("wantsUpdateLayer")] + [Export ("wantsUpdateLayer")] bool WantsUpdateLayer { get; } - [Mac (10, 8), Export ("updateLayer")] + [Export ("updateLayer")] void UpdateLayer (); - [Mac (10, 8), Export ("rectForSmartMagnificationAtPoint:inRect:")] + [Export ("rectForSmartMagnificationAtPoint:inRect:")] CGRect RectForSmartMagnificationAtPoint (CGPoint atPoint, CGRect inRect); } @@ -22911,7 +22823,7 @@ partial interface NSView { [Category, BaseType (typeof (NSApplication))] partial interface NSRemoteNotifications_NSApplication { - [Mac (10, 8), Field ("NSApplicationLaunchUserNotificationKey", "AppKit")] + [Field ("NSApplicationLaunchUserNotificationKey", "AppKit")] NSString NSApplicationLaunchUserNotificationKey { get; } } #endif @@ -22935,7 +22847,7 @@ partial interface NSControl { [Field ("NSControlTextDidChangeNotification")] NSString TextDidChangeNotification { get; } - [Mac (10, 8), Export ("allowsExpansionToolTips")] + [Export ("allowsExpansionToolTips")] bool AllowsExpansionToolTips { get; set; } } @@ -22950,28 +22862,28 @@ interface NSViewToolTipOwner partial interface NSMatrix : NSUserInterfaceValidations, NSViewToolTipOwner { - [Mac (10, 8), Export ("autorecalculatesCellSize")] + [Export ("autorecalculatesCellSize")] bool AutoRecalculatesCellSize { get; set; } } partial interface NSForm { - [Mac (10, 8), Export ("preferredTextFieldWidth")] + [Export ("preferredTextFieldWidth")] nfloat PreferredTextFieldWidth { get; set; } } partial interface NSFormCell { - [Mac (10, 8), Export ("preferredTextFieldWidth")] + [Export ("preferredTextFieldWidth")] nfloat PreferredTextFieldWidth { get; set; } } partial interface NSColor { - [Mac (10, 8), Static, Export ("underPageBackgroundColor")] + [Static, Export ("underPageBackgroundColor")] NSColor UnderPageBackgroundColor { get; } - [Mac (10, 8), Static, Export ("colorWithCGColor:")] + [Static, Export ("colorWithCGColor:")] NSColor FromCGColor (CGColor cgColor); } @@ -22979,10 +22891,10 @@ partial interface NSColor { partial interface NSCustomImageRep { - [Mac (10, 8), Export ("initWithSize:flipped:drawingHandler:")] + [Export ("initWithSize:flipped:drawingHandler:")] IntPtr Constructor (CGSize size, bool flipped, NSCustomImageRepDrawingHandler drawingHandler); - [Mac (10, 8), Export ("drawingHandler")] + [Export ("drawingHandler")] NSCustomImageRepDrawingHandler DrawingHandler { get; } } @@ -22998,58 +22910,58 @@ partial interface NSDocument : NSEditorRegistration, NSFilePresenter, NSMenuItem , NSUserInterfaceValidations // ValidateUserInterfaceItem was bound with NSObject and fix would break API compat #endif { - [Mac (10, 8), Export ("draft")] + [Export ("draft")] bool IsDraft { [Bind ("isDraft")] get; set; } - [Mac (10, 8), Export ("backupFileURL")] + [Export ("backupFileURL")] NSUrl BackupFileUrl { get; } - [Mac (10, 8), Export ("browseDocumentVersions:")] + [Export ("browseDocumentVersions:")] void BrowseDocumentVersions (NSObject sender); - [Mac (10, 8), Static, Export ("autosavesDrafts")] + [Static, Export ("autosavesDrafts")] bool AutoSavesDrafts { get; } - [Mac (10, 8), Export ("renameDocument:")] + [Export ("renameDocument:")] void RenameDocument (NSObject sender); - [Mac (10, 8), Export ("moveDocumentToUbiquityContainer:")] + [Export ("moveDocumentToUbiquityContainer:")] void MoveDocumentToUbiquityContainer (NSObject sender); - [Mac (10, 8), Export ("moveDocument:")] + [Export ("moveDocument:")] void MoveDocument (NSObject sender); - [Mac (10, 8), Export ("moveDocumentWithCompletionHandler:")] + [Export ("moveDocumentWithCompletionHandler:")] void MoveDocumentWithCompletionHandler (NSDocumentMoveCompletionHandler completionHandler); - [Mac (10, 8), Export ("moveToURL:completionHandler:")] + [Export ("moveToURL:completionHandler:")] void MoveToUrl (NSUrl url, NSDocumentMoveToUrlCompletionHandler completionHandler); - [Mac (10, 8), Export ("lockDocument:")] + [Export ("lockDocument:")] void LockDocument (NSObject sender); - [Mac (10, 8), Export ("unlockDocument:")] + [Export ("unlockDocument:")] void UnlockDocument (NSObject sender); - [Mac (10, 8), Export ("lockDocumentWithCompletionHandler:")] + [Export ("lockDocumentWithCompletionHandler:")] void LockDocumentWithCompletionHandler (NSDocumentLockDocumentCompletionHandler completionHandler); - [Mac (10, 8), Export ("lockWithCompletionHandler:")] + [Export ("lockWithCompletionHandler:")] void LockWithCompletionHandler (NSDocumentLockCompletionHandler completionHandler); - [Mac (10, 8), Export ("unlockDocumentWithCompletionHandler:")] + [Export ("unlockDocumentWithCompletionHandler:")] void UnlockDocumentWithCompletionHandler (NSDocumentUnlockDocumentCompletionHandler completionHandler); - [Mac (10, 8), Export ("unlockWithCompletionHandler:")] + [Export ("unlockWithCompletionHandler:")] void UnlockWithCompletionHandler (NSDocumentUnlockCompletionHandler completionHandler); - [Mac (10, 8), Export ("isLocked")] + [Export ("isLocked")] bool IsLocked { get; } - [Mac (10, 8), Export ("defaultDraftName")] + [Export ("defaultDraftName")] string DefaultDraftName { get; } - [Mac (10, 8), Static, Export ("usesUbiquitousStorage")] + [Static, Export ("usesUbiquitousStorage")] bool UsesUbiquitousStorage { get; } [Mac (10,13)] @@ -23066,10 +22978,10 @@ partial interface NSDocumentController : NSMenuItemValidation #endif { - [Mac (10, 8), Export ("beginOpenPanelWithCompletionHandler:")] + [Export ("beginOpenPanelWithCompletionHandler:")] void BeginOpenPanelWithCompletionHandler (NSDocumentControllerOpenPanelWithCompletionHandler completionHandler); - [Mac (10, 8), Export ("beginOpenPanel:forTypes:completionHandler:")] + [Export ("beginOpenPanel:forTypes:completionHandler:")] void BeginOpenPanel (NSOpenPanel openPanel, NSArray inTypes, NSDocumentControllerOpenPanelResultHandler completionHandler); [Mac (10, 13)] @@ -23083,7 +22995,7 @@ partial interface NSDocumentController : NSMenuItemValidation partial interface NSImage { - [Mac (10, 8), Static, Export ("imageWithSize:flipped:drawingHandler:")] + [Static, Export ("imageWithSize:flipped:drawingHandler:")] #if XAMCORE_2_0 NSImage ImageWithSize (CGSize size, bool flipped, NSCustomImageRepDrawingHandler drawingHandler); #else @@ -23106,62 +23018,62 @@ partial interface NSSplitViewDividerIndexEventArgs { [Category, BaseType (typeof (NSSegmentedCell))] partial interface NSSegmentBackgroundStyle_NSSegmentedCell { - [Mac (10, 8), Field ("NSSharingServiceNamePostOnFacebook")] + [Field ("NSSharingServiceNamePostOnFacebook")] NSString SharingServiceNamePostOnFacebook { get; } - [Mac (10, 8), Field ("NSSharingServiceNamePostOnTwitter")] + [Field ("NSSharingServiceNamePostOnTwitter")] NSString SharingServiceNamePostOnTwitter { get; } - [Mac (10, 8), Field ("NSSharingServiceNamePostOnSinaWeibo")] + [Field ("NSSharingServiceNamePostOnSinaWeibo")] NSString SharingServiceNamePostOnSinaWeibo { get; } - [Mac (10, 8), Field ("NSSharingServiceNameComposeEmail")] + [Field ("NSSharingServiceNameComposeEmail")] NSString SharingServiceNameComposeEmail { get; } - [Mac (10, 8), Field ("NSSharingServiceNameComposeMessage")] + [Field ("NSSharingServiceNameComposeMessage")] NSString SharingServiceNameComposeMessage { get; } - [Mac (10, 8), Field ("NSSharingServiceNameSendViaAirDrop")] + [Field ("NSSharingServiceNameSendViaAirDrop")] NSString SharingServiceNameSendViaAirDrop { get; } - [Mac (10, 8), Field ("NSSharingServiceNameAddToSafariReadingList")] + [Field ("NSSharingServiceNameAddToSafariReadingList")] NSString SharingServiceNameAddToSafariReadingList { get; } - [Mac (10, 8), Field ("NSSharingServiceNameAddToIPhoto")] + [Field ("NSSharingServiceNameAddToIPhoto")] NSString SharingServiceNameAddToIPhoto { get; } - [Mac (10, 8), Field ("NSSharingServiceNameAddToAperture")] + [Field ("NSSharingServiceNameAddToAperture")] NSString SharingServiceNameAddToAperture { get; } - [Mac (10, 8), Field ("NSSharingServiceNameUseAsTwitterProfileImage")] + [Field ("NSSharingServiceNameUseAsTwitterProfileImage")] NSString SharingServiceNameUseAsTwitterProfileImage { get; } - [Mac (10, 8), Field ("NSSharingServiceNameUseAsDesktopPicture")] + [Field ("NSSharingServiceNameUseAsDesktopPicture")] NSString SharingServiceNameUseAsDesktopPicture { get; } - [Mac (10, 8), Field ("NSSharingServiceNamePostImageOnFlickr")] + [Field ("NSSharingServiceNamePostImageOnFlickr")] NSString SharingServiceNamePostImageOnFlickr { get; } - [Mac (10, 8), Field ("NSSharingServiceNamePostVideoOnVimeo")] + [Field ("NSSharingServiceNamePostVideoOnVimeo")] NSString SharingServiceNamePostVideoOnVimeo { get; } - [Mac (10, 8), Field ("NSSharingServiceNamePostVideoOnYouku")] + [Field ("NSSharingServiceNamePostVideoOnYouku")] NSString SharingServiceNamePostVideoOnYouku { get; } - [Mac (10, 8), Field ("NSSharingServiceNamePostVideoOnTudou")] + [Field ("NSSharingServiceNamePostVideoOnTudou")] NSString SharingServiceNamePostVideoOnTudou { get; } } [Category, BaseType (typeof (NSTextView))] partial interface NSTextView_SharingService { - [Mac (10, 8), Export ("orderFrontSharingServicePicker:")] + [Export ("orderFrontSharingServicePicker:")] void OrderFrontSharingServicePicker (NSObject sender); } /*partial interface NSTextViewDelegate { - [Mac (10, 8), Export ("textView:willShowSharingServicePicker:forItems:"), DelegateName (...)] + [Export ("textView:willShowSharingServicePicker:forItems:"), DelegateName (...)] NSSharingServicePicker WillShowSharingService (NSTextView textView, NSSharingServicePicker servicePicker, NSArray forItems); }*/ @@ -23171,7 +23083,7 @@ interface NSTextAlternativesSelectedAlternativeStringEventArgs { string AlternativeString { get; } } - [Mac (10, 8), BaseType (typeof (NSObject))] + [BaseType (typeof (NSObject))] partial interface NSTextAlternatives { [Export ("initWithPrimaryString:alternativeStrings:")] @@ -23186,7 +23098,7 @@ partial interface NSTextAlternatives { [Export ("noteSelectedAlternativeString:")] void NoteSelectedAlternativeString (string alternativeString); - [Mac (10, 8), Notification (typeof (NSTextAlternativesSelectedAlternativeStringEventArgs)), + [Notification (typeof (NSTextAlternativesSelectedAlternativeStringEventArgs)), Field ("NSTextAlternativesSelectedAlternativeStringNotification")] NSString SelectedAlternativeStringNotification { get; } } @@ -24275,7 +24187,6 @@ interface NSAccessibility [Field ("NSAccessibilitySelectedChildrenMovedNotification")] NSString SelectedChildrenMovedNotification { get; } - [Mac (10, 7)] [Notification] [Field ("NSAccessibilityAnnouncementRequestedNotification")] NSString AnnouncementRequestedNotification { get; } @@ -24587,7 +24498,6 @@ partial interface NSAccessibilityAttributes { [Field ("NSAccessibilityLinkTextAttribute")] NSString LinkTextAttribute { get; } - [Mac (10, 7)] [Field ("NSAccessibilityAutocorrectedTextAttribute")] NSString AutocorrectedAttribute { get; } @@ -24630,7 +24540,6 @@ partial interface NSAccessibilityAttributes { [Field ("NSAccessibilityCancelButtonAttribute")] NSString CancelButtonAttribute { get; } - [Mac (10,7)] [Field ("NSAccessibilityFullScreenButtonAttribute")] NSString FullScreenButtonAttribute { get; } @@ -24655,7 +24564,6 @@ partial interface NSAccessibilityAttributes { [Field ("NSAccessibilityFocusedUIElementAttribute")] NSString FocusedUIElementAttribute { get; } - [Mac (10, 8)] [Field ("NSAccessibilityExtrasMenuBarAttribute")] NSString ExtrasMenuBarAttribute { get; } @@ -24790,7 +24698,6 @@ partial interface NSAccessibilityAttributes { [Field ("NSAccessibilityMarkerTypeDescriptionAttribute")] NSString MarkerTypeDescriptionAttribute { get; } - [Mac (10, 7)] [Field ("NSAccessibilityIdentifierAttribute")] NSString IdentifierAttribute { get; } @@ -24992,7 +24899,6 @@ interface NSAccessibilityRoles { [Field ("NSAccessibilityCellRole")] NSString CellRole { get; } - [Mac (10, 7)] [Field ("NSAccessibilityPopoverRole")] NSString PopoverRole { get; } @@ -25091,7 +24997,6 @@ interface NSAccessibilitySubroles { [Field ("NSAccessibilityDefinitionListSubrole")] NSString DefinitionListSubrole { get; } - [Mac (10, 7)] [Field ("NSAccessibilityFullScreenButtonSubrole")] NSString FullScreenButtonSubrole { get; } @@ -25220,7 +25125,6 @@ interface NSAccessibilityNotifications { [Field ("NSAccessibilitySelectedChildrenMovedNotification")] NSString SelectedChildrenMovedNotification { get; } - [Mac (10, 7)] [Field ("NSAccessibilityAnnouncementRequestedNotification")] NSString AnnouncementRequestedNotification { get; } } diff --git a/src/avfoundation.cs b/src/avfoundation.cs index 90b3d379ba86..02253d83f541 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -178,7 +178,7 @@ enum AVMediaTypes { [Field ("AVMediaTypeMetadataObject")] MetadataObject = 8, - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Field ("AVMediaTypeMetadata")] Metadata = 9, @@ -223,7 +223,7 @@ interface AVMediaType { [Field ("AVMediaTypeMetadataObject")] NSString MetadataObject { get; } - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Field ("AVMediaTypeMetadata")] NSString Metadata { get; } } @@ -330,27 +330,21 @@ enum AVMediaCharacteristics { [Field ("AVMediaCharacteristicUsesWideGamutColorSpace")] UsesWideGamutColorSpace = 4, - [Mac (10, 8)] [Field ("AVMediaCharacteristicIsMainProgramContent")] IsMainProgramContent = 5, - [Mac (10, 8)] [Field ("AVMediaCharacteristicIsAuxiliaryContent")] IsAuxiliaryContent = 6, - [Mac (10, 8)] [Field ("AVMediaCharacteristicContainsOnlyForcedSubtitles")] ContainsOnlyForcedSubtitles = 7, - [Mac (10, 8)] [Field ("AVMediaCharacteristicTranscribesSpokenDialogForAccessibility")] TranscribesSpokenDialogForAccessibility = 8, - [Mac (10, 8)] [Field ("AVMediaCharacteristicDescribesMusicAndSoundForAccessibility")] DescribesMusicAndSoundForAccessibility = 9, - [Mac (10, 8)] [Field ("AVMediaCharacteristicDescribesVideoForAccessibility")] DescribesVideoForAccessibility = 10, @@ -393,27 +387,21 @@ interface AVMediaCharacteristic { [Field ("AVMediaCharacteristicUsesWideGamutColorSpace")] NSString UsesWideGamutColorSpace { get; } - [Mac (10, 8)] [Field ("AVMediaCharacteristicIsMainProgramContent")] NSString IsMainProgramContent { get; } - [Mac (10, 8)] [Field ("AVMediaCharacteristicIsAuxiliaryContent")] NSString IsAuxiliaryContent { get; } - [Mac (10, 8)] [Field ("AVMediaCharacteristicContainsOnlyForcedSubtitles")] NSString ContainsOnlyForcedSubtitles { get; } - [Mac (10, 8)] [Field ("AVMediaCharacteristicTranscribesSpokenDialogForAccessibility")] NSString TranscribesSpokenDialogForAccessibility { get; } - [Mac (10, 8)] [Field ("AVMediaCharacteristicDescribesMusicAndSoundForAccessibility")] NSString DescribesMusicAndSoundForAccessibility { get; } - [Mac (10, 8)] [Field ("AVMediaCharacteristicDescribesVideoForAccessibility")] NSString DescribesVideoForAccessibility { get; } #if !MONOMAC @@ -672,7 +660,6 @@ interface AVVideo { [Field ("AVVideoH264EntropyModeKey")] NSString H264EntropyModeKey { get; } - [Mac (10, 7)] [TV (9, 0)] [Deprecated (PlatformName.iOS, 11, 0, message : "Use 'AVVideoCodecType' enum instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message : "Use 'AVVideoCodecType' enum instead.")] @@ -680,7 +667,6 @@ interface AVVideo { [Field ("AVVideoCodecH264")] NSString CodecH264 { get; } - [Mac (10, 7)] [TV (9, 0)] [Deprecated (PlatformName.iOS, 11, 0, message : "Use 'AVVideoCodecType' enum instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message : "Use 'AVVideoCodecType' enum instead.")] @@ -691,13 +677,12 @@ interface AVVideo { [Deprecated (PlatformName.iOS, 11, 0, message : "Use 'AVVideoCodecType' enum instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message : "Use 'AVVideoCodecType' enum instead.")] [Deprecated (PlatformName.TvOS, 11, 0, message : "Use 'AVVideoCodecType' enum instead.")] - [NoiOS, NoTV, Mac (10,7)] + [NoiOS, NoTV] [Field ("AVVideoCodecAppleProRes4444")] NSString AppleProRes4444 { get; } - [Mac (10, 7)] [Deprecated (PlatformName.MacOSX, 10, 13, message : "Use 'AVVideoCodecType' enum instead.")] - [NoiOS, NoTV, Mac (10,7)] + [NoiOS, NoTV] [Field ("AVVideoCodecAppleProRes422")] NSString AppleProRes422 { get; } @@ -740,7 +725,6 @@ interface AVVideo { [Field ("AVVideoProfileLevelH264Baseline41")] NSString ProfileLevelH264Baseline41 { get; } - [Mac (10, 8)] [Field ("AVVideoProfileLevelH264Main32")] NSString ProfileLevelH264Main32 { get; } @@ -2862,7 +2846,6 @@ interface AVAsset : NSCopying { [Export ("naturalSize")] [Deprecated (PlatformName.iOS, 5, 0, message : "Use 'NaturalSize/PreferredTransform' as appropriate on the video track instead.")] - [Mac (10, 7)] [Deprecated (PlatformName.MacOSX, 10, 8, message : "Use 'NaturalSize/PreferredTransform' as appropriate on the video track instead.")] CGSize NaturalSize { get; } @@ -2940,7 +2923,6 @@ interface AVAsset : NSCopying { [Static, Export ("assetWithURL:")] AVAsset FromUrl (NSUrl url); - [Mac (10,8)] [Export ("availableMediaCharacteristicsWithMediaSelectionOptions")] string [] AvailableMediaCharacteristicsWithMediaSelectionOptions { get; } @@ -2949,14 +2931,12 @@ interface AVAsset : NSCopying { bool CompatibleWithSavedPhotosAlbum { [Bind ("isCompatibleWithSavedPhotosAlbum")] get; } #endif - [Mac (10,8)] [Export ("creationDate"), NullAllowed] AVMetadataItem CreationDate { get; } [Export ("referenceRestrictions")] AVAssetReferenceRestrictions ReferenceRestrictions { get; } - [Mac (10,8)] [return: NullAllowed] [Export ("mediaSelectionGroupForMediaCharacteristic:")] AVMediaSelectionGroup MediaSelectionGroupForMediaCharacteristic (string avMediaCharacteristic); @@ -2972,7 +2952,6 @@ interface AVAsset : NSCopying { void LoadValuesAsynchronously (string [] keys, Action handler); [iOS (6, 0)] - [Mac (10,8)] [Export ("chapterMetadataGroupsBestMatchingPreferredLanguages:")] AVTimedMetadataGroup [] GetChapterMetadataGroupsBestMatchingPreferredLanguages (string [] languages); @@ -4024,36 +4003,35 @@ interface AVAssetWriter { } [NoWatch] - [Mac (10, 7)] [BaseType (typeof (NSObject))] // Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -[AVAssetWriterInput initWithMediaType:outputSettings:] invalid parameter not satisfying: mediaType != ((void*)0) [DisableDefaultCtor] interface AVAssetWriterInput { - [iOS (6,0), Mac (10, 8)] + [iOS (6,0)] [DesignatedInitializer] [Protected] [Export ("initWithMediaType:outputSettings:sourceFormatHint:")] IntPtr Constructor (string mediaType, [NullAllowed] NSDictionary outputSettings, [NullAllowed] CMFormatDescription sourceFormatHint); - [iOS (6,0), Mac (10, 8)] + [iOS (6,0)] [Wrap ("this (mediaType, outputSettings == null ? null : outputSettings.Dictionary, sourceFormatHint)")] IntPtr Constructor (string mediaType, [NullAllowed] AudioSettings outputSettings, [NullAllowed] CMFormatDescription sourceFormatHint); - [iOS (6,0), Mac (10, 8)] + [iOS (6,0)] [Wrap ("this (mediaType, outputSettings == null ? null : outputSettings.Dictionary, sourceFormatHint)")] IntPtr Constructor (string mediaType, [NullAllowed] AVVideoSettingsCompressed outputSettings, [NullAllowed] CMFormatDescription sourceFormatHint); - [iOS (6,0), Mac (10, 8)] + [iOS (6,0)] [Static, Internal] [Export ("assetWriterInputWithMediaType:outputSettings:sourceFormatHint:")] AVAssetWriterInput Create (string mediaType, [NullAllowed] NSDictionary outputSettings, [NullAllowed] CMFormatDescription sourceFormatHint); - [iOS (6,0), Mac (10, 8)] + [iOS (6,0)] [Static] [Wrap ("Create(mediaType, outputSettings == null ? null : outputSettings.Dictionary, sourceFormatHint)")] AVAssetWriterInput Create (string mediaType, [NullAllowed] AudioSettings outputSettings, [NullAllowed] CMFormatDescription sourceFormatHint); - [iOS (6,0), Mac (10, 8)] + [iOS (6,0)] [Static] [Wrap ("Create(mediaType, outputSettings == null ? null : outputSettings.Dictionary, sourceFormatHint)")] AVAssetWriterInput Create (string mediaType, [NullAllowed] AVVideoSettingsCompressed outputSettings, [NullAllowed] CMFormatDescription sourceFormatHint); @@ -4142,7 +4120,7 @@ interface AVAssetWriterInput { [Export ("addTrackAssociationWithTrackOfInput:type:")] void AddTrackAssociationWithTrackOfInput (AVAssetWriterInput input, NSString trackAssociationType); - [iOS (6,0), Mac (10, 8)] + [iOS (6,0)] [Export ("sourceFormatHint"), NullAllowed] CMFormatDescription SourceFormatHint { get; } @@ -4599,20 +4577,16 @@ interface AVAssetTrackGroup : NSCopying { } [NoWatch] - [Mac (10, 8)] [BaseType (typeof (NSObject))] interface AVMediaSelectionGroup : NSCopying { [Export ("options")] - [Mac (10, 8)] AVMediaSelectionOption [] Options { get; } [Export ("allowsEmptySelection")] - [Mac (10, 8)] bool AllowsEmptySelection { get; } [return: NullAllowed] [Export ("mediaSelectionOptionWithPropertyList:")] - [Mac (10, 8)] AVMediaSelectionOption GetMediaSelectionOptionForPropertyList (NSObject propertyList); [Static] @@ -4631,7 +4605,7 @@ interface AVMediaSelectionGroup : NSCopying { [Export ("mediaSelectionOptionsFromArray:withoutMediaCharacteristics:")] AVMediaSelectionOption [] MediaSelectionOptionsExcludingCharacteristics (AVMediaSelectionOption [] source, NSString [] avmediaCharacteristics); - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] [Static] [Export ("mediaSelectionOptionsFromArray:filteredAndSortedAccordingToPreferredLanguages:")] AVMediaSelectionOption[] MediaSelectionOptionsFilteredAndSorted (AVMediaSelectionOption[] mediaSelectionOptions, string[] preferredLanguages); @@ -4642,7 +4616,6 @@ interface AVMediaSelectionGroup : NSCopying { } [NoWatch] - [Mac (10, 8)] [BaseType (typeof (NSObject))] interface AVMediaSelectionOption : NSCopying { [Export ("mediaType")] @@ -4884,7 +4857,6 @@ interface AVMetadata { [Field ("AVMetadataQuickTimeUserDataKeyPhonogramRights")] NSString QuickTimeUserDataKeyPhonogramRights { get; } - [Mac (10, 8)] [Field ("AVMetadataQuickTimeUserDataKeyTaggedCharacteristic")] NSString QuickTimeUserDataKeyTaggedCharacteristic { get; } @@ -5265,7 +5237,6 @@ interface AVMetadata { NSString ID3MetadataKeyCommercial { get; } [Deprecated (PlatformName.iOS, 9, 0)] - [Mac (10, 7)] [Deprecated (PlatformName.MacOSX, 10, 11)] [Field ("AVMetadataID3MetadataKeyCommerical")] NSString ID3MetadataKeyCommerical { get; } @@ -6436,7 +6407,6 @@ interface IcyMetadata { } [NoWatch] - [Mac (10,7)] [BaseType (typeof (NSObject))] interface AVMetadataItem : NSMutableCopying { [Export ("commonKey", ArgumentSemantic.Copy), NullAllowed] @@ -7358,7 +7328,6 @@ interface AVErrorKeys { [NoiOS, NoWatch] [NoTV] - [Mac (10,7)] [Field ("AVErrorDiscontinuityFlagsKey")] NSString DiscontinuityFlags { get; } } @@ -7958,7 +7927,6 @@ interface AVMutableVideoComposition { } [NoWatch] - [Mac (10, 7)] [BaseType (typeof (NSObject))] interface AVVideoCompositionInstruction : NSSecureCoding, NSMutableCopying { [Export ("timeRange")] @@ -8017,7 +7985,6 @@ interface AVMutableVideoCompositionInstruction { } [NoWatch] - [Mac (10, 7)] [BaseType (typeof (NSObject))] interface AVVideoCompositionLayerInstruction : NSSecureCoding, NSMutableCopying { [Export ("trackID", ArgumentSemantic.Assign)] @@ -8211,12 +8178,10 @@ interface AVCaptureSession { NSString PresetInputPriority { get; } #endif [NoiOS] - [Mac (10,7)] [Field ("AVCaptureSessionPreset320x240")] NSString Preset320x240 { get; } [NoiOS] - [Mac (10, 7)] [Field ("AVCaptureSessionPreset960x540")] NSString Preset960x540 { get; } @@ -8300,7 +8265,7 @@ interface AVCaptureSession { [BaseType (typeof (NSObject))] interface AVCaptureConnection { - [iOS (8,0), Mac (10,7)] + [iOS (8,0)] [Static] [Export ("connectionWithInputPorts:output:")] AVCaptureConnection FromInputPorts (AVCaptureInputPort [] ports, AVCaptureOutput output); @@ -8310,11 +8275,11 @@ interface AVCaptureConnection { [Export ("connectionWithInputPort:videoPreviewLayer:")] AVCaptureConnection FromInputPort (AVCaptureInputPort port, AVCaptureVideoPreviewLayer layer); - [iOS (8,0), Mac (10,7)] + [iOS (8,0)] [Export ("initWithInputPorts:output:")] IntPtr Constructor (AVCaptureInputPort [] inputPorts, AVCaptureOutput output); - [iOS (8,0), Mac (10,7)] + [iOS (8,0)] [Export ("initWithInputPort:videoPreviewLayer:")] IntPtr Constructor (AVCaptureInputPort inputPort, AVCaptureVideoPreviewLayer layer); @@ -8349,7 +8314,6 @@ interface AVCaptureConnection { bool _SupportsVideoMinFrameDuration { [Bind ("isVideoMinFrameDurationSupported")] get; } [Deprecated (PlatformName.iOS, 7, 0 /* Only deprecated on iOS */)] - [Mac (10, 7)] [Export ("videoMinFrameDuration")] CMTime VideoMinFrameDuration { get; set; } #if !MONOMAC @@ -8358,7 +8322,6 @@ interface AVCaptureConnection { [Export ("videoMaxFrameDuration")] [Deprecated (PlatformName.iOS, 7, 0 /* Only deprecated on iOS */)] - [Mac (10, 7)] CMTime VideoMaxFrameDuration { get; set; } [Export ("videoMaxScaleAndCropFactor")] @@ -8530,7 +8493,6 @@ interface AVCaptureDeviceInput { #if MONOMAC [NoWatch] [NoTV] - [Mac (10,7)] [BaseType (typeof (NSObject))] interface AVCaptureDeviceInputSource { [Export ("inputSourceID")] @@ -8541,7 +8503,6 @@ interface AVCaptureDeviceInputSource { } [NoWatch] - [Mac (10,7)] [BaseType (typeof (AVCaptureFileOutput))] [NoTV] interface AVCaptureAudioFileOutput { @@ -8563,7 +8524,6 @@ interface AVCaptureAudioFileOutput { [NoWatch] [NoTV] - [Mac (10,7)] [BaseType (typeof (AVCaptureOutput))] interface AVCaptureAudioPreviewOutput { [Export ("outputDeviceUniqueID", ArgumentSemantic.Copy), NullAllowed] @@ -8636,7 +8596,6 @@ interface AVCaptureOutput { #if MONOMAC [NoWatch] [NoTV] - [Mac (10,7)] [BaseType (typeof (AVCaptureInput))] interface AVCaptureScreenInput { [Export ("initWithDisplayID:")] @@ -8654,11 +8613,9 @@ interface AVCaptureScreenInput { [Export ("capturesMouseClicks")] bool CapturesMouseClicks { get; set; } - [Mac (10,8)] [Export ("capturesCursor")] bool CapturesCursor { get; set; } - [Mac (10,8)] [Availability (Deprecated=Platform.Mac_10_10, Message="Ignored since 10.10, if you want to get this behavior, use AVCaptureVideoDataOutput and compare the frame contents on your own code.")] [Export ("removesDuplicateFrames")] bool RemovesDuplicateFrames { get; set; } @@ -8673,7 +8630,7 @@ interface AVCaptureVideoPreviewLayer { [Export ("session", ArgumentSemantic.Retain)] AVCaptureSession Session { get; set; } - [Mac (10,7), iOS (8,0)] + [iOS (8,0)] [Export ("setSessionWithNoConnection:")] void SetSessionWithNoConnection (AVCaptureSession session); @@ -8716,7 +8673,7 @@ interface AVCaptureVideoPreviewLayer { [Internal] IntPtr InitWithConnection (AVCaptureSession session); - [iOS (8,0), Mac (10,7)] + [iOS (8,0)] [Internal] [Export ("initWithSessionWithNoConnection:")] IntPtr InitWithNoConnection (AVCaptureSession session); @@ -8979,11 +8936,9 @@ interface AVCaptureFileOutput { void ResumeRecording (); #if MONOMAC - [Mac (10,7)] [Export ("delegate", ArgumentSemantic.Assign), NullAllowed] IAVCaptureFileOutputDelegate Delegate { get; set; } - [Mac (10,7)] [Export ("recordingPaused")] bool RecordingPaused { [Bind ("isRecordingPaused")] get; } #endif @@ -9539,11 +9494,11 @@ interface AVCaptureMovieFileOutput { NSString [] AvailableVideoCodecTypes { get; } #endif - [iOS (10,0), Mac (10,7)] + [iOS (10,0)] [Export ("outputSettingsForConnection:")] NSDictionary GetOutputSettings (AVCaptureConnection connection); - [iOS (10,0), Mac (10,7)] + [iOS (10,0)] [Export ("setOutputSettings:forConnection:")] void SetOutputSettings (NSDictionary outputSettings, AVCaptureConnection connection); @@ -9898,31 +9853,29 @@ interface AVCaptureDevice { [Static, Export ("authorizationStatusForMediaType:")] AVAuthorizationStatus GetAuthorizationStatus (NSString avMediaTypeToken); - [iOS (7,0)][Mac (10,7)] + [iOS (7,0)] [Export ("activeFormat", ArgumentSemantic.Retain)] AVCaptureDeviceFormat ActiveFormat { get; set; } - [iOS (7,0)][Mac (10,7)] + [iOS (7,0)] [Export ("formats")] AVCaptureDeviceFormat [] Formats { get; } - [Mac (10,7)] // Also iOS 4.0+ but we do not need this metadata [Export ("hasFlash")] bool HasFlash { get; } - [Mac (10,7)] // Also iOS 4.0+ but we do not need this metadata [Export ("hasTorch")] bool HasTorch { get; } - [Mac (10,7), NoiOS] + [NoiOS] [Export ("inUseByAnotherApplication")] bool InUseByAnotherApplication { [Bind ("isInUseByAnotherApplication")] get; } - [Mac (10,7), NoiOS] + [NoiOS] [Export ("suspended")] bool Suspended { [Bind ("isSuspended")] get; } - [Mac (10,7), NoiOS] + [NoiOS] [Export ("linkedDevices")] AVCaptureDevice [] LinkedDevices { get; } @@ -9930,32 +9883,28 @@ interface AVCaptureDevice { [Export ("manufacturer")] string Manufacturer { get; } - [Mac (10,7), NoiOS] + [NoiOS] [Export ("transportControlsSpeed")] float TransportControlsSpeed { get; } // float intended - [Mac (10,7), NoiOS] + [NoiOS] [Export ("transportControlsSupported")] bool TransportControlsSupported { get; } - [Mac (10,7), NoiOS] // TODO: We can provide a better binding once IOKit is bound kIOAudioDeviceTransportType* + [NoiOS] // TODO: We can provide a better binding once IOKit is bound kIOAudioDeviceTransportType* [Export ("transportType")] int WeakTransportType { get; } // int intended #if MONOMAC // Can't use [NoiOS] since types are also inside a block - [Mac (10,7)] [Export ("activeInputSource", ArgumentSemantic.Retain)] AVCaptureDeviceInputSource ActiveInputSource { get; set; } - [Mac (10,7)] [Export ("inputSources")] AVCaptureDeviceInputSource [] InputSources { get; } - [Mac (10,7)] [Export ("setTransportControlsPlaybackMode:speed:")] void SetTransportControlsPlaybackMode (AVCaptureDeviceTransportControlsPlaybackMode mode, float speed); // Float intended - [Mac (10,7)] [Export ("transportControlsPlaybackMode")] AVCaptureDeviceTransportControlsPlaybackMode TransportControlsPlaybackMode { get; } #endif @@ -10193,7 +10142,7 @@ interface AVCaptureSystemPressureState [NoWatch] [NoTV] - [iOS (7,0), Mac(10,7)] + [iOS (7,0)] [DisableDefaultCtor] // crash -> immutable, it can be set but it should be selected from tha available formats (not a custom one) [BaseType (typeof (NSObject))] interface AVCaptureDeviceFormat { @@ -10445,11 +10394,11 @@ interface AVPlayer { [Export ("externalPlaybackVideoGravity", ArgumentSemantic.Copy)] NSString WeakExternalPlaybackVideoGravity { get; set; } - [iOS (7,0)][Mac (10, 7)] + [iOS (7,0)] [Export ("volume")] float Volume { get; set; } // defined as 'float' - [iOS (7,0)][Mac (10, 7)] + [iOS (7,0)] [Export ("muted")] bool Muted { [Bind ("isMuted")] get; set; } @@ -10782,12 +10731,10 @@ interface AVPlayerItem : NSCopying { [Async] void Seek (CMTime time, CMTime toleranceBefore, CMTime toleranceAfter, AVCompletion completion); - [Mac (10, 8)] [Export ("selectMediaOption:inMediaSelectionGroup:")] void SelectMediaOption ([NullAllowed] AVMediaSelectionOption mediaSelectionOption, AVMediaSelectionGroup mediaSelectionGroup); [return: NullAllowed] - [Mac (10, 8)] [Deprecated (PlatformName.iOS, 11, 0, message: "Use 'CurrentMediaSelection' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'CurrentMediaSelection' instead.")] [Export ("selectedMediaOptionInMediaSelectionGroup:")] @@ -10943,7 +10890,6 @@ interface AVPlayerItem : NSCopying { } [NoiOS][NoTV][NoWatch] - [Mac (10, 7)] [Category] [BaseType (typeof (AVPlayerItem))] interface AVPlayerItem_AVPlayerItemProtectedContent { @@ -10968,7 +10914,7 @@ interface AVPlayerItem_AVPlayerItemProtectedContent { [NoWatch] [iOS (6,0)] - [BaseType (typeof (NSObject)), Mac (10, 8)] + [BaseType (typeof (NSObject))] // Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** initialization method -init cannot be sent to an abstract object of class AVPlayerItemOutput: Create a concrete instance! [DisableDefaultCtor] interface AVPlayerItemOutput { @@ -10982,7 +10928,6 @@ interface AVPlayerItemOutput { bool SuppressesPlayerRendering { get; set; } [NoiOS][NoTV] - [Mac (10,8)] [Export ("itemTimeForCVTimeStamp:")] CMTime GetItemTime (CVTimeStamp timestamp); } @@ -11371,7 +11316,6 @@ interface AVPlayerItemErrorLog : NSCopying { [BaseType (typeof (NSObject))] interface AVPlayerItemAccessLogEvent : NSCopying { [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'NumberOfMediaRequests' instead.")] - [Mac (10, 7)] [Deprecated (PlatformName.MacOSX, 10, 9, message : "Use 'NumberOfMediaRequests' instead.")] [Export ("numberOfSegmentsDownloaded")] nint SegmentedDownloadedCount { get; } diff --git a/src/coreanimation.cs b/src/coreanimation.cs index 9790320ea111..908134cf142b 100644 --- a/src/coreanimation.cs +++ b/src/coreanimation.cs @@ -565,7 +565,6 @@ interface CALayer : CAMediaTiming, NSSecureCoding { nfloat RasterizationScale { get; set; } [iOS (6,0)] - [Mac (10,8)] [Export ("drawsAsynchronously")] bool DrawsAsynchronously { get; set; } @@ -1054,11 +1053,9 @@ interface CAAnimation : CAAction, CAMediaTiming, NSSecureCoding, NSMutableCopyin [Field ("kCAAnimationPaced")] NSString AnimationPaced { get; } - [Mac (10, 7)] // iOS 4.0 [Field ("kCAAnimationCubic")] NSString AnimationCubic { get; } - [Mac (10, 7)] // iOS 4.0 [Field ("kCAAnimationCubicPaced")] NSString AnimationCubicPaced { get; } diff --git a/src/corebluetooth.cs b/src/corebluetooth.cs index deb69b26eb42..82a492e5c542 100644 --- a/src/corebluetooth.cs +++ b/src/corebluetooth.cs @@ -46,7 +46,6 @@ interface CBManager { } [Watch (4,0)] - [Mac (10, 7)] [BaseType (typeof (CBManager), Delegates=new[] {"WeakDelegate"}, Events = new[] { typeof (CBCentralManagerDelegate)})] [DisableDefaultCtor] // crash (at dispose time) on OSX interface CBCentralManager { diff --git a/src/coredata.cs b/src/coredata.cs index 37bcb4a71419..52acc489b957 100644 --- a/src/coredata.cs +++ b/src/coredata.cs @@ -313,7 +313,6 @@ interface NSEntityDescription : NSCoding, NSCopying { [NullAllowed] // by default this property is null [Export ("compoundIndexes", ArgumentSemantic.Retain)] - [Mac (10, 7)] [Deprecated (PlatformName.iOS, 11, 0, message : "Use 'NSEntityDescription.Indexes' instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message : "Use 'NSEntityDescription.Indexes' instead.")] [Deprecated (PlatformName.TvOS, 11, 0, message : "Use 'NSEntityDescription.Indexes' instead.")] @@ -1311,7 +1310,6 @@ interface NSMappingModel { } - [Mac (10, 7)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface NSMergeConflict { diff --git a/src/coreimage.cs b/src/coreimage.cs index 9d28e8d62370..5bc3971a4718 100644 --- a/src/coreimage.cs +++ b/src/coreimage.cs @@ -1308,7 +1308,6 @@ interface CIImageInitializationOptionsKeys { [Field ("kCIImageColorSpace")] NSString ColorSpaceKey { get; } - [Mac (10, 8)] [Field ("kCIImageProperties")] NSString PropertiesKey { get; } @@ -1740,15 +1739,12 @@ interface CIImage : NSSecureCoding, NSCopying { IntPtr Constructor (UIImage image, [NullAllowed] CIImageInitializationOptions options); #endif - [Mac (10, 8)] [Field ("kCIImageAutoAdjustFeatures"), Internal] NSString AutoAdjustFeaturesKey { get; } - [Mac (10, 8)] [Field ("kCIImageAutoAdjustRedEye"), Internal] NSString AutoAdjustRedEyeKey { get; } - [Mac (10, 8)] [Field ("kCIImageAutoAdjustEnhance"), Internal] NSString AutoAdjustEnhanceKey { get; } @@ -2399,7 +2395,6 @@ interface CIDetector { [Field ("CIDetectorTypeFace"), Internal] NSString TypeFace { get; } - [Mac (10, 8)] [Field ("CIDetectorImageOrientation"), Internal] NSString ImageOrientation { get; } @@ -2413,12 +2408,10 @@ interface CIDetector { NSString AccuracyHigh { get; } [iOS (6,0)] - [Mac (10,8)] [Field ("CIDetectorTracking"), Internal] NSString Tracking { get; } [iOS (6,0)] - [Mac (10,8)] [Field ("CIDetectorMinFeatureSize"), Internal] NSString MinFeatureSize { get; } @@ -3597,7 +3590,6 @@ interface CIHexagonalPixellate { } [CoreImageFilter] - [Mac (10,7)] [BaseType (typeof (CIFilter))] interface CIHighlightShadowAdjust { @@ -4416,7 +4408,6 @@ interface CIStarShineGenerator { } [CoreImageFilter] - [Mac (10,7)] [BaseType (typeof (CIFilter))] interface CIStraightenFilter { @@ -4488,7 +4479,6 @@ interface CISwipeTransition { } [CoreImageFilter] - [Mac (10,7)] [BaseType (typeof (CIFilter))] interface CITemperatureAndTint { @@ -4500,7 +4490,6 @@ interface CITemperatureAndTint { } [CoreImageFilter] - [Mac (10,7)] [BaseType (typeof (CIFilter))] interface CIToneCurve { @@ -4590,7 +4579,6 @@ interface CIUnsharpMask { } [CoreImageFilter] - [Mac (10,7)] [BaseType (typeof (CIFilter))] interface CIVibrance { diff --git a/src/corelocation.cs b/src/corelocation.cs index 76b8fee9efc9..90fd2403634c 100644 --- a/src/corelocation.cs +++ b/src/corelocation.cs @@ -49,7 +49,6 @@ public enum CLProximity : long { [NoWatch][NoTV] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // will crash, see CoreLocation.cs for compatibility stubs - [Mac (10,7)] partial interface CLHeading : NSSecureCoding, NSCopying { [Export ("magneticHeading")] double MagneticHeading { get; } @@ -121,7 +120,7 @@ partial interface CLLocation : NSSecureCoding, NSCopying, CKRecordValue { // Apple keep changing the 'introduction' of this field (5.0->8.0->5.0) but it was not available in 6.1 // nor in 7.0 - but it works on my iPad3 running iOS 7.1 [NoTV][NoWatch] - [iOS (7,1)][Mac (10, 8)] + [iOS (7,1)] [Field ("kCLErrorUserInfoAlternateRegionKey")] NSString ErrorUserInfoAlternateRegionKey { get; } @@ -210,7 +209,6 @@ partial interface CLLocationManager { #endif [NoWatch][NoTV] - [Mac (10,7)] [Availability (Deprecated = Platform.iOS_6_0)] // Default property value is null but it cannot be set to that value // it crash when a null is provided @@ -218,25 +216,21 @@ partial interface CLLocationManager { string Purpose { get; set; } [NoWatch][NoTV] - [Mac (10,7)] [Export ("headingAvailable"), Static] bool HeadingAvailable { get; } [NoWatch][NoTV] - [Mac (10,7)] [Export ("significantLocationChangeMonitoringAvailable"), Static] bool SignificantLocationChangeMonitoringAvailable { get; } [NoWatch][NoTV] [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'IsMonitoringAvailable' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'IsMonitoringAvailable' instead.")] [Export ("regionMonitoringAvailable"), Static] bool RegionMonitoringAvailable { get; } [NoWatch][NoTV] [Deprecated (PlatformName.iOS, 6, 0, message : "Use 'IsMonitoringAvailable' and 'AuthorizationStatus' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'IsMonitoringAvailable' and 'AuthorizationStatus' instead.")] [Export ("regionMonitoringEnabled"), Static] bool RegionMonitoringEnabled { get; } @@ -253,21 +247,17 @@ partial interface CLLocationManager { [NoWatch][NoTV] [Export ("maximumRegionMonitoringDistance")] - [Mac (10,8)] double MaximumRegionMonitoringDistance { get; } [NoWatch][NoTV] [Export ("monitoredRegions", ArgumentSemantic.Copy)] - [Mac (10,8)] NSSet MonitoredRegions { get; } [NoWatch][NoTV] - [Mac (10,7)] [Export ("startMonitoringSignificantLocationChanges")] void StartMonitoringSignificantLocationChanges (); [NoWatch][NoTV] - [Mac (10,7)] [Export ("stopMonitoringSignificantLocationChanges")] void StopMonitoringSignificantLocationChanges (); @@ -279,16 +269,13 @@ partial interface CLLocationManager { #endif [NoWatch][NoTV] - [Mac (10,8)] [Export ("stopMonitoringForRegion:")] void StopMonitoring (CLRegion region); - [Mac (10,7)] [Export ("authorizationStatus")][Static] CLAuthorizationStatus Status { get; } [NoWatch][NoTV] - [Mac (10,8)] [Export ("startMonitoringForRegion:")] void StartMonitoring (CLRegion region); @@ -419,22 +406,18 @@ partial interface CLLocationManagerDelegate void Failed (CLLocationManager manager, NSError error); [NoWatch][NoTV] - [Mac (10,8)] [Export ("locationManager:didEnterRegion:"), EventArgs ("CLRegion")] void RegionEntered (CLLocationManager manager, CLRegion region); [NoWatch][NoTV] - [Mac (10,8)] [Export ("locationManager:didExitRegion:"), EventArgs ("CLRegion")] void RegionLeft (CLLocationManager manager, CLRegion region); [NoWatch][NoTV] - [Mac (10,8)] [Export ("locationManager:monitoringDidFailForRegion:withError:"), EventArgs ("CLRegionError")] void MonitoringFailed (CLLocationManager manager, CLRegion region, NSError error); [NoWatch][NoTV] - [Mac (10,8)] [Export ("locationManager:didStartMonitoringForRegion:"), EventArgs ("CLRegion")] void DidStartMonitoringForRegion (CLLocationManager manager, CLRegion region); @@ -499,7 +482,6 @@ partial interface CLLocationDistance { double FilterNone { get; } } - [Mac (10,7)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // will crash, see CoreLocation.cs for compatibility stubs partial interface CLRegion : NSSecureCoding, NSCopying { @@ -539,7 +521,6 @@ partial interface CLRegion : NSSecureCoding, NSCopying { bool NotifyOnExit { get; set; } } - [Mac (10,8)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // will crash, see CoreLocation.cs for compatibility stubs interface CLPlacemark : NSSecureCoding, NSCopying { @@ -686,7 +667,6 @@ partial interface CLBeacon : NSCopying, NSSecureCoding { delegate void CLGeocodeCompletionHandler (CLPlacemark [] placemarks, NSError error); - [Mac (10,8)] [BaseType (typeof (NSObject))] interface CLGeocoder { [Export ("isGeocoding")] diff --git a/src/coremedia.cs b/src/coremedia.cs index 8f4df166d26f..19fc41bd5dcb 100644 --- a/src/coremedia.cs +++ b/src/coremedia.cs @@ -13,7 +13,6 @@ namespace CoreMedia { [Partial] interface CMMemoryPool { - [Mac (10,8)] [Internal][Field ("kCMMemoryPoolOption_AgeOutPeriod")] IntPtr AgeOutPeriodSelector { get; } } diff --git a/src/corevideo.cs b/src/corevideo.cs index 3bee4fcd7e20..4426ed9e93b1 100644 --- a/src/corevideo.cs +++ b/src/corevideo.cs @@ -244,7 +244,7 @@ interface CVImageBuffer : CVBuffer { [Static] [Wrap ("CVImageBufferColorPrimaries.P22.GetConstant ()")] - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] NSString ColorPrimaries_P22 { get; } [iOS (8,0), Mac (10,10)] @@ -327,7 +327,7 @@ enum CVImageBufferColorPrimaries { [Field ("kCVImageBufferColorPrimaries_SMPTE_C")] SmpteC, - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] [Field ("kCVImageBufferColorPrimaries_P22")] P22, } diff --git a/src/eventkit.cs b/src/eventkit.cs index 0a0d4725f915..f2781cbbda7a 100644 --- a/src/eventkit.cs +++ b/src/eventkit.cs @@ -323,12 +323,12 @@ interface EKEvent { [NullAllowed, Export ("structuredLocation", ArgumentSemantic.Copy)] EKStructuredLocation StructuredLocation { get; set; } - [iOS (9,0)][Mac (10,8)] + [iOS (9,0)] [Export ("occurrenceDate")] NSDate OccurrenceDate { get; } #if MONOMAC - [Availability (Introduced = Platform.Mac_10_8, Deprecated = Platform.Mac_10_11, Message = "Replaced by 'BirthdayContactIdentifier'.")] + [Availability (Deprecated = Platform.Mac_10_11, Message = "Replaced by 'BirthdayContactIdentifier'.")] [Export ("birthdayPersonUniqueID")] string BirthdayPersonUniqueID { get; } #else diff --git a/src/foundation.cs b/src/foundation.cs index a73735104ff8..5b492055e315 100644 --- a/src/foundation.cs +++ b/src/foundation.cs @@ -713,83 +713,63 @@ interface NSCalendar : NSSecureCoding, NSCopying { NSString IslamicUmmAlQuraCalendar { get; } [Export ("eraSymbols")] - [Mac(10,7)] string [] EraSymbols { get; } [Export ("longEraSymbols")] - [Mac(10,7)] string [] LongEraSymbols { get; } [Export ("monthSymbols")] - [Mac(10,7)] string [] MonthSymbols { get; } [Export ("shortMonthSymbols")] - [Mac(10,7)] string [] ShortMonthSymbols { get; } [Export ("veryShortMonthSymbols")] - [Mac(10,7)] string [] VeryShortMonthSymbols { get; } [Export ("standaloneMonthSymbols")] - [Mac(10,7)] string [] StandaloneMonthSymbols { get; } [Export ("shortStandaloneMonthSymbols")] - [Mac(10,7)] string [] ShortStandaloneMonthSymbols { get; } [Export ("veryShortStandaloneMonthSymbols")] - [Mac(10,7)] string [] VeryShortStandaloneMonthSymbols { get; } [Export ("weekdaySymbols")] - [Mac(10,7)] string [] WeekdaySymbols { get; } [Export ("shortWeekdaySymbols")] - [Mac(10,7)] string [] ShortWeekdaySymbols { get; } [Export ("veryShortWeekdaySymbols")] - [Mac(10,7)] string [] VeryShortWeekdaySymbols { get; } [Export ("standaloneWeekdaySymbols")] - [Mac(10,7)] string [] StandaloneWeekdaySymbols { get; } [Export ("shortStandaloneWeekdaySymbols")] - [Mac(10,7)] string [] ShortStandaloneWeekdaySymbols { get; } [Export ("veryShortStandaloneWeekdaySymbols")] - [Mac(10,7)] string [] VeryShortStandaloneWeekdaySymbols { get; } [Export ("quarterSymbols")] - [Mac(10,7)] string [] QuarterSymbols { get; } [Export ("shortQuarterSymbols")] - [Mac(10,7)] string [] ShortQuarterSymbols { get; } [Export ("standaloneQuarterSymbols")] - [Mac(10,7)] string [] StandaloneQuarterSymbols { get; } [Export ("shortStandaloneQuarterSymbols")] - [Mac(10,7)] string [] ShortStandaloneQuarterSymbols { get; } [Export ("AMSymbol")] - [Mac(10,7)] string AMSymbol { get; } [Export ("PMSymbol")] - [Mac(10,7)] string PMSymbol { get; } [Export ("compareDate:toDate:toUnitGranularity:")] @@ -1545,7 +1525,6 @@ interface NSDateComponents : NSSecureCoding, NSCopying, INSCopying, INSSecureCod nint Second { get; set; } [Export ("nanosecond")] - [Mac(10,7)] nint Nanosecond { get; set; } [Export ("week")] @@ -1559,19 +1538,16 @@ interface NSDateComponents : NSSecureCoding, NSCopying, INSCopying, INSSecureCod [Export ("weekdayOrdinal")] nint WeekdayOrdinal { get; set; } - [Mac(10,7)] [Export ("weekOfMonth")] nint WeekOfMonth { get; set; } - [Mac(10,7)] [Export ("weekOfYear")] nint WeekOfYear { get; set; } - [Mac(10,7)] [Export ("yearForWeekOfYear")] nint YearForWeekOfYear { get; set; } - [Mac(10,8)][iOS(6,0)] + [iOS(6,0)] [Export ("leapMonth")] bool IsLeapMonth { [Bind ("isLeapMonth")] get; set; } @@ -2350,11 +2326,11 @@ interface NSKeyedArchiver { [Field ("NSKeyedArchiveRootObjectKey")] NSString RootObjectKey { get; } - [iOS (6,0), Mac (10, 8)] // Yup, right, this is being "back-supported" to iOS 6 + [iOS (6,0)] // Yup, right, this is being "back-supported" to iOS 6 [Export ("setRequiresSecureCoding:")] void SetRequiresSecureCoding (bool requireSecureEncoding); - [iOS (6,0), Mac(10,8)] // Yup, right, this is being back-supported to iOS 6 + [iOS (6,0)] // Yup, right, this is being back-supported to iOS 6 [Export ("requiresSecureCoding")] bool GetRequiresSecureCoding (); @@ -2446,11 +2422,11 @@ interface NSKeyedUnarchiver { [Export ("classForClassName:")] Class GetClass (string codedName); - [iOS (6,0), Mac (10, 8)] // Yup, right, this is being "back-supported" to iOS 6 + [iOS (6,0)] // Yup, right, this is being "back-supported" to iOS 6 [Export ("setRequiresSecureCoding:")] void SetRequiresSecureCoding (bool requireSecureEncoding); - [iOS (6,0), Mac(10,8)] // Yup, right, this is being back-supported to iOS 6 + [iOS (6,0)] // Yup, right, this is being back-supported to iOS 6 [Export ("requiresSecureCoding")] bool GetRequiresSecureCoding (); @@ -5910,12 +5886,10 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Field ("NSURLUbiquitousItemPercentDownloadedKey")] [Deprecated (PlatformName.iOS, 6, 0, message : "Use 'NSMetadataQuery.UbiquitousItemPercentDownloadedKey' on 'NSMetadataItem' instead.")] - [Mac (10, 7)] [Deprecated (PlatformName.MacOSX, 10, 8, message : "Use 'NSMetadataQuery.UbiquitousItemPercentDownloadedKey' on 'NSMetadataItem' instead.")] NSString UbiquitousItemPercentDownloadedKey { get; } [Deprecated (PlatformName.iOS, 6, 0, message : "Use 'NSMetadataQuery.UbiquitousItemPercentUploadedKey' on 'NSMetadataItem' instead.")] - [Mac (10, 7)] [Deprecated (PlatformName.MacOSX, 10, 8, message : "Use 'NSMetadataQuery.UbiquitousItemPercentUploadedKey' on 'NSMetadataItem' instead.")] [Field ("NSURLUbiquitousItemPercentUploadedKey")] NSString UbiquitousItemPercentUploadedKey { get; } @@ -5956,7 +5930,6 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Field ("NSURLUbiquitousSharedItemPermissionsReadWrite")] NSString UbiquitousSharedItemPermissionsReadWrite { get; } - [Mac (10, 8)] [Field ("NSURLIsExcludedFromBackupKey")] NSString IsExcludedFromBackupKey { get; } @@ -5967,7 +5940,7 @@ partial interface NSUrl : NSSecureCoding, NSCopying IntPtr Constructor (NSData bookmarkData, NSUrlBookmarkResolutionOptions resolutionOptions, [NullAllowed] NSUrl relativeUrl, out bool bookmarkIsStale, out NSError error); [Field ("NSURLPathKey")] - [iOS (6,0)][Mac (10, 8)] + [iOS (6,0)] NSString PathKey { get; } [iOS (7,0), Mac (10, 9)] @@ -5994,11 +5967,11 @@ partial interface NSUrl : NSSecureCoding, NSCopying [Field ("NSURLUbiquitousItemDownloadingStatusCurrent")] NSString UbiquitousItemDownloadingStatusCurrent { get; } - [Mac (10,7), iOS (8,0)] + [iOS (8,0)] [Export ("startAccessingSecurityScopedResource")] bool StartAccessingSecurityScopedResource (); - [Mac (10,7), iOS (8,0)] + [iOS (8,0)] [Export ("stopAccessingSecurityScopedResource")] void StopAccessingSecurityScopedResource (); @@ -9469,7 +9442,6 @@ partial interface NSBundle { // Additions from AppKit #if MONOMAC - [Mac (10,8)] [Export ("loadNibNamed:owner:topLevelObjects:")] bool LoadNibNamed (string nibName, [NullAllowed] NSObject owner, out NSArray topLevelObjects); @@ -10538,32 +10510,26 @@ partial interface NSValue : NSSecureCoding, NSCopying { [Export ("rangeValue")] NSRange RangeValue { get; } - [Mac (10, 7)] [NoWatch] [Static, Export ("valueWithCMTime:")] NSValue FromCMTime (CMTime time); - [Mac (10, 7)] [NoWatch] [Export ("CMTimeValue")] CMTime CMTimeValue { get; } - [Mac (10, 7)] [NoWatch] [Static, Export ("valueWithCMTimeMapping:")] NSValue FromCMTimeMapping (CMTimeMapping timeMapping); - [Mac (10, 7)] [NoWatch] [Export ("CMTimeMappingValue")] CMTimeMapping CMTimeMappingValue { get; } - [Mac (10, 7)] [NoWatch] [Static, Export ("valueWithCMTimeRange:")] NSValue FromCMTimeRange (CMTimeRange timeRange); - [Mac (10, 7)] [NoWatch] [Export ("CMTimeRangeValue")] CMTimeRange CMTimeRangeValue { get; } @@ -11939,11 +11905,9 @@ interface NSFileCoordinator { void Cancel (); [iOS (6,0)] - [Mac (10, 8)] [Export ("itemAtURL:willMoveToURL:")] void WillMove (NSUrl oldUrl, NSUrl newUrl); - [Mac (10,7)] [Export ("purposeIdentifier")] string PurposeIdentifier { get; set; } @@ -12247,17 +12211,15 @@ partial interface NSFileManager { NSUrl GetUrlForPublishingUbiquitousItem (NSUrl url, out NSDate expirationDate, out NSError error); [iOS (6,0)] - [Mac (10, 8)] [Export ("ubiquityIdentityToken")] NSObject UbiquityIdentityToken { get; } [iOS (6,0)] - [Mac (10, 8)] [Field ("NSUbiquityIdentityDidChangeNotification")] [Notification] NSString UbiquityIdentityDidChangeNotification { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Export ("containerURLForSecurityApplicationGroupIdentifier:")] NSUrl GetContainerUrl (string securityApplicationGroupIdentifier); @@ -13057,7 +13019,6 @@ interface NSTextCheckingResult : NSSecureCoding, NSCopying { double TimeInterval { get; } [Export ("components")] - [Mac (10, 7)] [EditorBrowsable (EditorBrowsableState.Advanced)] NSDictionary WeakComponents { get; } @@ -13077,11 +13038,9 @@ interface NSTextCheckingResult : NSSecureCoding, NSCopying { // NSRegularExpression isn't bound // [Export ("regularExpression")] -// [Mac (10, 7)] // NSRegularExpression RegularExpression { get; } [Export ("phoneNumber")] - [Mac (10, 7)] string PhoneNumber { get; } [Export ("addressComponents")] @@ -13092,15 +13051,12 @@ interface NSTextCheckingResult : NSSecureCoding, NSCopying { NSTextCheckingAddressComponents AddressComponents { get; } [Export ("numberOfRanges")] - [Mac (10, 7)] nuint NumberOfRanges { get; } [Export ("rangeAtIndex:")] - [Mac (10, 7)] NSRange RangeAtIndex (nuint idx); [Export ("resultByAdjustingRangesWithOffset:")] - [Mac (10, 7)] NSTextCheckingResult ResultByAdjustingRanges (nint offset); // From the NSTextCheckingResultCreation category on NSTextCheckingResult @@ -13162,18 +13118,15 @@ interface NSTextCheckingResult : NSSecureCoding, NSCopying { // NSRegularExpression isn't bound // [Export ("regularExpressionCheckingResultWithRanges:count:regularExpression:")] -// [Mac (10, 7)] // [Internal] // FIXME // NSTextCheckingResult RegularExpressionCheckingResult (ref NSRange ranges, nuint count, NSRegularExpression regularExpression); [Static] [Export ("phoneNumberCheckingResultWithRange:phoneNumber:")] - [Mac (10, 7)] NSTextCheckingResult PhoneNumberCheckingResult (NSRange range, string phoneNumber); [Static] [Export ("transitInformationCheckingResultWithRange:components:")] - [Mac (10, 7)] [EditorBrowsable (EditorBrowsableState.Advanced)] NSTextCheckingResult TransitInformationCheckingResult (NSRange range, NSDictionary components); @@ -13189,10 +13142,8 @@ interface NSTextCheckingResult : NSSecureCoding, NSCopying { [StrongDictionary ("NSTextChecking")] interface NSTextCheckingTransitComponents { - [Mac (10, 7)] string Airline { get; } - [Mac (10, 7)] string Flight { get; } } @@ -13248,11 +13199,9 @@ interface NSTextChecking { NSString PhoneKey { get; } [Field ("NSTextCheckingAirlineKey")] - [Mac (10, 7)] NSString AirlineKey { get; } [Field ("NSTextCheckingFlightKey")] - [Mac (10, 7)] NSString FlightKey { get; } } @@ -13347,7 +13296,7 @@ interface INSFastEnumeration {} #if MONOMAC partial interface NSBundle { // - (NSImage *)imageForResource:(NSString *)name NS_AVAILABLE_MAC(10_7); - [Mac (10, 7), Export ("imageForResource:")] + [Export ("imageForResource:")] NSImage ImageForResource (string name); } #endif @@ -13355,7 +13304,7 @@ partial interface NSBundle { partial interface NSAttributedString { #if MONOMAC - [Mac (10, 7), Field ("NSTextLayoutSectionOrientation", "AppKit")] + [Field ("NSTextLayoutSectionOrientation", "AppKit")] #else [iOS (7,0)] [Field ("NSTextLayoutSectionOrientation", "UIKit")] @@ -13363,7 +13312,7 @@ partial interface NSAttributedString { NSString TextLayoutSectionOrientation { get; } #if MONOMAC - [Mac (10, 7), Field ("NSTextLayoutSectionRange", "AppKit")] + [Field ("NSTextLayoutSectionRange", "AppKit")] #else [iOS (7,0)] [Field ("NSTextLayoutSectionRange", "UIKit")] @@ -13371,7 +13320,7 @@ partial interface NSAttributedString { NSString TextLayoutSectionRange { get; } #if MONOMAC - [Mac (10, 7), Field ("NSTextLayoutSectionsAttribute", "AppKit")] + [Field ("NSTextLayoutSectionsAttribute", "AppKit")] #else [iOS (7,0)] [Field ("NSTextLayoutSectionsAttribute", "UIKit")] @@ -13388,7 +13337,7 @@ partial interface NSAttributedString { [Field ("NSSpellingStateAttributeName", "AppKit")] NSString SpellingStateAttributeName { get; } - [Mac (10, 8), Field ("NSTextAlternativesAttributeName", "AppKit")] + [Field ("NSTextAlternativesAttributeName", "AppKit")] NSString TextAlternativesAttributeName { get; } #endif @@ -13528,7 +13477,7 @@ interface NSUnitTemperature : NSSecureCoding { partial interface NSFileManager { [iOS (11, 0), NoTV, NoWatch] - [Mac (10, 8), Export ("trashItemAtURL:resultingItemURL:error:")] + [Export ("trashItemAtURL:resultingItemURL:error:")] bool TrashItem (NSUrl url, out NSUrl resultingItemUrl, out NSError error); #if MONOMAC @@ -13551,7 +13500,7 @@ interface NSFileProviderService #if MONOMAC partial interface NSFilePresenter { - [Mac (10, 8), Export ("primaryPresentedItemURL")] + [Export ("primaryPresentedItemURL")] NSUrl PrimaryPresentedItemUrl { get; } } @@ -14281,7 +14230,6 @@ interface NSTask { NSString DidTerminateNotification { get; } } - [Mac (10, 8)] [BaseType (typeof (NSObject))] [DesignatedDefaultCtor] [Advice ("'NSUserNotification' usages should be replaced with 'UserNotifications' framework.")] @@ -14379,7 +14327,6 @@ interface NSUserNotificationAction : NSCopying string Title { get; } } - [Mac (10, 8)] [BaseType (typeof (NSObject), Delegates=new string [] {"WeakDelegate"}, Events=new Type [] { typeof (NSUserNotificationCenterDelegate) })] @@ -14419,7 +14366,6 @@ interface NSUserNotificationCenter void RemoveAllDeliveredNotifications (); } - [Mac (10, 8)] [BaseType (typeof (NSObject))] [Model] [Protocol] @@ -15570,7 +15516,7 @@ interface NSMeasurementFormatter : NSSecureCoding { string ToString (NSUnit unit); } - [iOS (6,0), Mac (10,8), Watch (2,0), TV (9,0)] + [iOS (6,0), Watch (2,0), TV (9,0)] [BaseType (typeof (NSObject), Name = "NSXPCListenerEndpoint")] [DisableDefaultCtor] interface NSXpcListenerEndpoint : NSSecureCoding diff --git a/src/gamekit.cs b/src/gamekit.cs index 188f2e7e5646..d4fe74e87586 100644 --- a/src/gamekit.cs +++ b/src/gamekit.cs @@ -203,7 +203,6 @@ interface GKVoiceChatService { [NoWatch] // deprecated in 2.0 (but framework not added before 3.0) [BaseType (typeof (NSObject))] [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'MultipeerConnectivity.MCSession' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'MultipeerConnectivity.MCSession' instead.")] interface GKSession { [Export ("initWithSessionID:displayName:sessionMode:")] @@ -292,7 +291,6 @@ interface GKSession { } [Watch (3,0)] - [Mac (10, 8)] [BaseType (typeof (NSObject))] interface GKLeaderboard { [Export ("timeScope", ArgumentSemantic.Assign)] @@ -478,7 +476,7 @@ interface GKPlayer : NSSecureCoding { [Async] void LoadPhoto (GKPhotoSize size, [NullAllowed] GKPlayerPhotoLoaded onCompleted); - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Export ("displayName")] string DisplayName { get; } @@ -554,7 +552,6 @@ interface GKScore : NSSecureCoding { [NoWatch] [NoTV] [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'LeaderboardIdentifier' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'LeaderboardIdentifier' instead.")] [NullAllowed] // by default this property is null [Export ("category", ArgumentSemantic.Copy)] @@ -568,7 +565,6 @@ interface GKScore : NSSecureCoding { [NoWatch] [NoTV] [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'ReportScores' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'ReportScores' instead.")] [Export ("reportScoreWithCompletionHandler:")] [Async] @@ -588,7 +584,7 @@ interface GKScore : NSSecureCoding { [NoWatch] [Deprecated (PlatformName.iOS, 7, 0, message : "Pass 'GKPlayers' to 'ChallengeComposeController (GKPlayer [] players, string message, ... )' and present the view controller instead.")] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Pass 'GKPlayers' to 'ChallengeComposeController (GKPlayer [] players, string message, ... )' and present the view controller instead.")] - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] [Export ("issueChallengeToPlayers:message:")] void IssueChallengeToPlayers ([NullAllowed] string[] playerIDs, [NullAllowed] string message); @@ -648,7 +644,6 @@ interface GKLeaderboardViewControllerDelegate { [NoTV][NoWatch] [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'GKGameCenterViewController' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'GKGameCenterViewController' instead.")] #if MONOMAC [BaseType (typeof (GKGameCenterViewController), Events=new Type [] { typeof (GKLeaderboardViewControllerDelegate)}, Delegates=new string [] {"WeakDelegate"})] @@ -681,7 +676,6 @@ interface GKLeaderboardViewController : UIAppearance } [Watch (3,0)] - [Mac (10, 8)] [BaseType (typeof (GKPlayer))] interface GKLocalPlayer #if !TVOS && !WATCH // from GKSavedGame category @@ -769,7 +763,7 @@ interface GKLocalPlayer [NoWatch] [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'SetDefaultLeaderboardIdentifier' instead.")] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'SetDefaultLeaderboardIdentifier' instead.")] - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] [Export ("setDefaultLeaderboardCategoryID:completionHandler:")] [Async] void SetDefaultLeaderboardCategoryID ([NullAllowed] string categoryID, [NullAllowed] Action completionHandler); @@ -973,7 +967,6 @@ interface GKMatchDelegate { [Export ("match:didReceiveData:fromRemotePlayer:"), EventArgs ("GKMatchReceivedDataFromRemotePlayer")] void DataReceivedFromPlayer (GKMatch match, NSData data, GKPlayer player); - [Mac (10,8)] //Yes, the header file says it was available in 4.1 and 10.8... [Export ("match:player:didChangeConnectionState:"), EventArgs ("GKMatchConnectionChanged")] void StateChangedForPlayer (GKMatch match, GKPlayer player, GKPlayerConnectionState state); @@ -1067,12 +1060,12 @@ interface GKMatchRequest { [Export ("playersToInvite", ArgumentSemantic.Retain)] string [] PlayersToInvite { get; set; } - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [NullAllowed] // by default this property is null [Export ("inviteMessage", ArgumentSemantic.Copy)] string InviteMessage { get; set; } - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Export ("defaultNumberOfPlayers", ArgumentSemantic.Assign)] nint DefaultNumberOfPlayers { get; set; } @@ -1214,7 +1207,6 @@ interface GKMatchmaker { [NoWatch] #if MONOMAC [BaseType (typeof (NSViewController), Delegates=new string [] { "WeakMatchmakerDelegate" }, Events=new Type [] {typeof(GKMatchmakerViewControllerDelegate)})] - [Mac (10,8)] #else [BaseType (typeof (UINavigationController), Delegates=new string [] { "WeakMatchmakerDelegate" }, Events=new Type [] {typeof(GKMatchmakerViewControllerDelegate)})] #endif @@ -1257,7 +1249,6 @@ interface GKMatchmakerViewController [NoTV] [Deprecated (PlatformName.iOS, 7, 0)] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10)] [Export ("defaultInvitationMessage", ArgumentSemantic.Copy)] string DefaultInvitationMessage { get; set; } @@ -1323,7 +1314,6 @@ interface GKMatchmakerViewControllerDelegate { } [BaseType (typeof (NSObject))] - [Mac (10, 8)] [Watch (3,0)] [DisableDefaultCtor] interface GKAchievement : NSSecureCoding { @@ -1390,7 +1380,7 @@ interface GKAchievement : NSSecureCoding { [Export ("showsCompletionBanner", ArgumentSemantic.Assign)] bool ShowsCompletionBanner { get; set; } - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] [Static] [Export ("reportAchievements:withCompletionHandler:")] [Async] @@ -1404,13 +1394,13 @@ interface GKAchievement : NSSecureCoding { [NoWatch] [Deprecated (PlatformName.iOS, 7, 0, message : "Pass 'GKPlayers' to 'ChallengeComposeController(GKPlayer[] players, string message, ...)' and present the view controller instead.")] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Pass 'GKPlayers' to 'ChallengeComposeController(GKPlayer[] players, string message, ...)' and present the view controller instead.")] - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] [Export ("issueChallengeToPlayers:message:")] void IssueChallengeToPlayers ([NullAllowed] string[] playerIDs, [NullAllowed] string message); [NoTV] [NoWatch] - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] [Deprecated (PlatformName.iOS, 8, 0, message : "Pass 'GKPlayers' to 'SelectChallengeablePlayers' instead.")] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Pass 'GKPlayers' to 'SelectChallengeablePlayers' instead.")] [Export ("selectChallengeablePlayerIDs:withCompletionHandler:")] @@ -1477,7 +1467,6 @@ string PlayerID { } [BaseType (typeof (NSObject))] - [Mac (10, 8)] [Watch (3,0)] interface GKAchievementDescription : NSSecureCoding { [Export ("identifier", ArgumentSemantic.Copy)] @@ -1508,11 +1497,11 @@ interface GKAchievementDescription : NSSecureCoding { [Async] void LoadImage ([NullAllowed] GKImageLoadedHandler imageLoadedHandler); - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] [Export ("groupIdentifier", ArgumentSemantic.Retain)] string GroupIdentifier { get; } - [iOS (6,0), Mac (10,8)] + [iOS (6,0)] [Export ("replayable", ArgumentSemantic.Assign)] bool Replayable { [Bind ("isReplayable")] get; } @@ -1549,7 +1538,6 @@ interface GKAchievementDescription : NSSecureCoding { [NoWatch] [NoTV] [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'GKGameCenterViewController' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'GKGameCenterViewController' instead.")] [BaseType (typeof (NSObject))] [Model] @@ -1565,7 +1553,6 @@ interface GKAchievementViewControllerDelegate { [NoTV][NoWatch] [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'GKGameCenterViewController' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'GKGameCenterViewController' instead.")] #if MONOMAC [BaseType (typeof (GKGameCenterViewController), Events=new Type [] { typeof (GKAchievementViewControllerDelegate)}, Delegates=new string [] {"WeakDelegate"})] @@ -1606,7 +1593,6 @@ interface GKDialogController { [NoWatch] #if MONOMAC - [Mac (10,8)] [Deprecated (PlatformName.MacOSX, 10, 12)] [BaseType (typeof (NSViewController), Events=new Type [] { typeof (GKFriendRequestComposeViewControllerDelegate)}, Delegates=new string[] {"WeakComposeViewDelegate"})] interface GKFriendRequestComposeViewController : GKViewController { @@ -1673,7 +1659,7 @@ partial interface GKNotificationBanner { [Async] void Show ([NullAllowed] string title, [NullAllowed] string message, [NullAllowed] Action onCompleted); - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Export ("showBannerWithTitle:message:duration:completionHandler:"), Static] [Async] void Show ([NullAllowed] string title, [NullAllowed] string message, double durationSeconds, [NullAllowed] Action completionHandler); @@ -1701,7 +1687,7 @@ interface GKTurnBasedParticipant { [Export ("matchOutcome", ArgumentSemantic.Assign)] GKTurnBasedMatchOutcome MatchOutcome { get; set; } - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Export ("timeoutDate", ArgumentSemantic.Copy)] NSDate TimeoutDate { get; } } @@ -1711,7 +1697,6 @@ interface GKTurnBasedParticipant { [Model] [Protocol] [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'GKLocalPlayer.RegisterListener' with an object that implements 'IGKTurnBasedEventListener'.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use 'GKLocalPlayer.RegisterListener' with an object that implements 'IGKTurnBasedEventListener'.")] [Watch (3,0)] interface GKTurnBasedEventHandlerDelegate { @@ -1726,19 +1711,16 @@ interface GKTurnBasedEventHandlerDelegate { #endif [Export ("handleInviteFromGameCenter:")] [Deprecated (PlatformName.iOS, 7, 0)] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10)] void HandleInviteFromGameCenter (NSString [] playersToInvite); [Deprecated (PlatformName.iOS, 7, 0, message : "Use 'HandleTurnEvent' instead.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 9, message : "Use 'HandleTurnEvent' instead.")] [Export ("handleTurnEventForMatch:")] void HandleTurnEventForMatch (GKTurnBasedMatch match); [iOS (6, 0)] [Deprecated (PlatformName.iOS, 7, 0)] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10)] [Export ("handleMatchEnded:")] void HandleMatchEnded (GKTurnBasedMatch match); @@ -1750,14 +1732,12 @@ interface GKTurnBasedEventHandlerDelegate { [Export ("handleTurnEventForMatch:didBecomeActive:")] [iOS (6, 0)] [Deprecated (PlatformName.iOS, 6, 0)] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10)] void HandleTurnEvent (GKTurnBasedMatch match, bool activated); } [NoTV] [Deprecated (PlatformName.iOS, 7, 0, message : "Use GKLocalPlayer.RegisterListener with an object that implements IGKTurnBasedEventListener.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Use GKLocalPlayer.RegisterListener with an object that implements IGKTurnBasedEventListener.")] [BaseType (typeof (NSObject))] [Watch (3,0)] @@ -1865,23 +1845,23 @@ interface GKTurnBasedMatch { void EndMatchInTurn (NSData matchData, [NullAllowed] GKNotificationHandler onCompletion); #endif - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Static] [Export ("loadMatchWithID:withCompletionHandler:")] [Async] void LoadMatch (string matchId, [NullAllowed] Action completionHandler); - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Export ("acceptInviteWithCompletionHandler:")] [Async] void AcceptInvite ([NullAllowed] Action completionHandler); - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Export ("declineInviteWithCompletionHandler:")] [Async] void DeclineInvite ([NullAllowed] Action completionHandler); - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Export ("matchDataMaximumSize")] nint MatchDataMaximumSize { get; } @@ -1900,7 +1880,7 @@ interface GKTurnBasedMatch { [Async] void ParticipantQuitInTurn (GKTurnBasedMatchOutcome matchOutcome, GKTurnBasedParticipant[] nextParticipants, double timeoutSeconds, NSData matchData, [NullAllowed] Action completionHandler); - [iOS (6,0)][Mac (10,8)] + [iOS (6,0)] [Export ("saveCurrentTurnWithMatchData:completionHandler:")] [Async] void SaveCurrentTurn (NSData matchData, [NullAllowed] Action completionHandler); @@ -1962,7 +1942,6 @@ interface GKTurnBasedMatch { // iOS6 -> Objective-C exception thrown. Name: NSInvalidArgumentException Reason: : must use one of the designated initializers [DisableDefaultCtor] #if MONOMAC - [Mac (10,8)] [BaseType (typeof (NSViewController))] interface GKTurnBasedMatchmakerViewController : GKViewController #else @@ -2151,7 +2130,6 @@ interface GKGameCenterControllerDelegate [NoTV] [iOS (6, 0)] [Deprecated (PlatformName.iOS, 7, 0, message : "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")] [BaseType (typeof (NSObject), Events=new[] { typeof (GKChallengeEventHandlerDelegate) }, Delegates=new[] { "WeakDelegate"})] [DisableDefaultCtor] @@ -2173,7 +2151,6 @@ interface GKChallengeEventHandler [NoTV] [iOS (6, 0)] [Deprecated (PlatformName.iOS, 7, 0, message : "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")] - [Mac (10, 8)] [Deprecated (PlatformName.MacOSX, 10, 10, message : "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")] [Model] [BaseType (typeof (NSObject))] @@ -2562,7 +2539,7 @@ interface GKGameSessionSharingViewControllerDelegate #endif interface IGKChallengesViewControllerDelegate { } - [NoiOS, NoTV, NoWatch, Mac (10,8)] + [NoiOS, NoTV, NoWatch] [BaseType (typeof (NSObject))] [Protocol, Model] interface GKChallengesViewControllerDelegate { @@ -2572,7 +2549,7 @@ interface GKChallengesViewControllerDelegate { void DidFinish (GKChallengesViewController viewController); } - [NoiOS, NoTV, NoWatch, Mac (10,8)] + [NoiOS, NoTV, NoWatch] [Deprecated (PlatformName.MacOSX, 10,10)] [BaseType (typeof (NSViewController))] interface GKChallengesViewController : GKViewController { @@ -2584,7 +2561,7 @@ interface GKChallengesViewController : GKViewController { IGKChallengesViewControllerDelegate ChallengeDelegate { get; set; } } - [NoiOS, NoTV, NoWatch, Mac (10,8)] + [NoiOS, NoTV, NoWatch] [Protocol] interface GKViewController { @@ -2592,7 +2569,6 @@ interface GKViewController [NoTV] [NoWatch] // only exposed thru GKSession (not in 3.0) - [Mac (10,8)] [Deprecated (PlatformName.iOS, 7,0, message: "Use 'MultipeerConnectivity.MCSessionDelegate' instead.")] [Deprecated (PlatformName.MacOSX, 10,10, message: "Use 'MultipeerConnectivity.MCSessionDelegate' instead.")] [BaseType (typeof (NSObject))] diff --git a/src/imageio.cs b/src/imageio.cs index 406edb7e8ae8..d0a2f1acec56 100644 --- a/src/imageio.cs +++ b/src/imageio.cs @@ -1922,7 +1922,7 @@ interface CGImageProperties { NSString PrimaryImage { get; } } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Static] interface CGImageMetadataTagNamespaces { [Field ("kCGImageMetadataNamespaceExif")] @@ -1948,7 +1948,7 @@ interface CGImageMetadataTagNamespaces { NSString IPTCExtension { get; } } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Static] interface CGImageMetadataTagPrefixes { [Field ("kCGImageMetadataPrefixExif")] @@ -1974,7 +1974,7 @@ interface CGImageMetadataTagPrefixes { NSString IPTCExtension { get; } } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] interface CGImageMetadata { [Field ("kCFErrorDomainCGImageMetadata")] NSString ErrorDomain { get; } @@ -2031,23 +2031,23 @@ interface CGImageDestinationOptions { [Internal][Field ("kCGImageDestinationBackgroundColor")] IntPtr kBackgroundColor { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageDestinationDateTime")] IntPtr kDateTime { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageDestinationMergeMetadata")] IntPtr kMergeMetadata { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageDestinationMetadata")] IntPtr kMetadata { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageDestinationOrientation")] IntPtr kOrientation { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageMetadataShouldExcludeXMP")] IntPtr kShouldExcludeXMP { get; } @@ -2213,15 +2213,15 @@ interface CGImageDestinationOptionsKeys { [Partial] interface CGCopyImageSourceOptions { - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageDestinationMetadata")] IntPtr kMetadata { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageDestinationMergeMetadata")] IntPtr kMergeMetadata { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageMetadataShouldExcludeXMP")] IntPtr kShouldExcludeXMP { get; } @@ -2229,11 +2229,11 @@ interface CGCopyImageSourceOptions { [Internal][Field ("kCGImageMetadataShouldExcludeGPS")] IntPtr kShouldExcludeGPS { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageDestinationDateTime")] IntPtr kDateTime { get; } - [iOS (7,0), Mac (10, 8)] + [iOS (7,0)] [Internal][Field ("kCGImageDestinationOrientation")] IntPtr kOrientation { get; } } diff --git a/src/inputmethodkit.cs b/src/inputmethodkit.cs index d985808e64b7..bd1c29eb1d9c 100644 --- a/src/inputmethodkit.cs +++ b/src/inputmethodkit.cs @@ -49,10 +49,10 @@ partial interface IMKServer : IMKServerProxy { [Export ("bundle")] NSBundle Bundle { get; } - [Mac (10, 7), Export ("paletteWillTerminate")] + [Export ("paletteWillTerminate")] bool PaletteWillTerminate { get; } - [Mac (10, 7), Export ("lastKeyEventWasDeadKey")] + [Export ("lastKeyEventWasDeadKey")] bool LastKeyEventWasDeadKey { get; } } @@ -170,7 +170,7 @@ partial interface IMKInputController : IMKStateSetting, IMKMouseHandling { [Export ("client")] NSObject Client { get; } - [Mac (10, 7), Export ("inputControllerWillClose")] + [Export ("inputControllerWillClose")] void InputControllerWillClose (); [Export ("annotationSelected:forCandidate:")] @@ -213,10 +213,10 @@ partial interface IMKCandidates { [Export ("showSublist:subListDelegate:")] void ShowSublist (NSObject [] candidates, NSObject delegateObject); - [Mac (10, 7), Export ("selectedCandidateString")] + [Export ("selectedCandidateString")] NSAttributedString SelectedCandidateString { get; } - [Mac (10, 7), Export ("candidateFrameTopLeft")] + [Export ("candidateFrameTopLeft")] NSPoint CandidateFrameTopLeft { set; } [Export ("candidateFrame")] @@ -235,25 +235,25 @@ partial interface IMKCandidates { [Export ("dismissesAutomatically")] bool DismissesAutomatically { get; set; } - [Mac (10, 7), Export ("selectedCandidate")] + [Export ("selectedCandidate")] nint SelectedCandidate { get; } - [Mac (10, 7), Export ("showChild")] + [Export ("showChild")] void ShowChild (); - [Mac (10, 7), Export ("hideChild")] + [Export ("hideChild")] void HideChild (); - [Mac (10, 7), Export ("attachChild:toCandidate:type:")] + [Export ("attachChild:toCandidate:type:")] void AttachChild (IMKCandidates child, nint candidateIdentifier, IMKStyleType theType); - [Mac (10, 7), Export ("detachChild:")] + [Export ("detachChild:")] void DetachChild (nint candidateIdentifier); - [Mac (10, 7), Export ("candidateData")] + [Export ("candidateData")] NSObject [] CandidateData { set; } - [Mac (10, 7), Export ("selectCandidateWithIdentifier:")] + [Export ("selectCandidateWithIdentifier:")] bool SelectCandidateWithIdentifier (nint candidateIdentifier); [Export ("selectCandidate:")] @@ -262,13 +262,13 @@ partial interface IMKCandidates { [Export ("showCandidates")] void ShowCandidates (); - [Mac (10, 7), Export ("candidateStringIdentifier:")] + [Export ("candidateStringIdentifier:")] nint GetCandidateIdentifier (NSObject candidateString); - [Mac (10, 7), Export ("candidateIdentifierAtLineNumber:")] + [Export ("candidateIdentifierAtLineNumber:")] nint GetCandidateIdentifier (nint lineNumber); - [Mac (10, 7), Export ("lineNumberForCandidateWithIdentifier:")] + [Export ("lineNumberForCandidateWithIdentifier:")] nint GetLineNumberForCandidate (nint candidateIdentifier); [Export ("clearSelection")] diff --git a/src/pdfkit.cs b/src/pdfkit.cs index 956c9f1201e7..139f710bbd51 100644 --- a/src/pdfkit.cs +++ b/src/pdfkit.cs @@ -1048,7 +1048,6 @@ interface PdfAnnotationTextWidget { [Export ("fieldName")] string FieldName { get; set; } - [Mac (10, 8)] [Export ("attributedStringValue")] NSAttributedString AttributedStringValue { get; set; } @@ -1104,7 +1103,6 @@ interface PdfDestination : NSCopying { [Export ("point")] CGPoint Point { get; } - [Mac (10, 7)] [Export ("zoom")] nfloat Zoom { get; set; } @@ -1359,7 +1357,6 @@ interface PdfDocument : NSCopying { PdfSelection GetSelection (PdfPage startPage, nint startCharIndex, PdfPage endPage, nint endCharIndex); [NoiOS] - [Mac (10,7)] [Export ("printOperationForPrintInfo:scalingMode:autoRotate:")] [return: NullAllowed] NSPrintOperation GetPrintOperation ([NullAllowed] NSPrintInfo printInfo, PdfPrintScalingMode scaleMode, bool doRotate); @@ -1600,11 +1597,9 @@ interface PdfSelection : NSCopying { [Export ("boundsForPage:")] CGRect GetBoundsForPage (PdfPage page); - [Mac (10, 7)] [Export ("numberOfTextRangesOnPage:")] nuint GetNumberOfTextRanges (PdfPage page); - [Mac (10, 7)] [Export ("rangeAtIndex:onPage:")] NSRange GetRange (nuint index, PdfPage page); @@ -1791,7 +1786,6 @@ interface PdfView : [Export ("backgroundColor")] NSColor BackgroundColor { get; set; } - [Mac (10,7)] [Export ("interpolationQuality", ArgumentSemantic.Assign)] PdfInterpolationQuality InterpolationQuality { get; set; } diff --git a/src/quicklookUI.cs b/src/quicklookUI.cs index e8786361916d..e1452f87ddeb 100644 --- a/src/quicklookUI.cs +++ b/src/quicklookUI.cs @@ -8,7 +8,6 @@ namespace QuickLookUI { - [Mac (10,7)] [Native] enum QLPreviewViewStyle : ulong { Normal = 0, @@ -136,7 +135,6 @@ interface QLPreviewPanel { [BaseType (typeof (NSView))] // Mac 10.6 interface QLPreviewView { - [Mac (10,7)] [Export ("initWithFrame:style:")] IntPtr Constructor (CGRect frame, QLPreviewViewStyle style); diff --git a/src/scenekit.cs b/src/scenekit.cs index 9155d2b1927c..fd70c717b03d 100644 --- a/src/scenekit.cs +++ b/src/scenekit.cs @@ -109,14 +109,14 @@ interface IMTLRenderCommandEncoder {} interface MTLRenderPassDescriptor {} #endif - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] delegate void SCNSceneSourceStatusHandler (float /* float, not CGFloat */ totalProgress, SCNSceneSourceStatus status, NSError error, ref bool stopLoading); delegate void SCNAnimationDidStartHandler (SCNAnimation animation, SCNAnimatable receiver); delegate void SCNAnimationDidStopHandler (SCNAnimation animation, SCNAnimatable receiver, bool completed); [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Model, Protocol] [BaseType (typeof (NSObject))] interface SCNAnimatable { @@ -319,7 +319,7 @@ interface SCNAudioSource : NSCopying, NSSecureCoding [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Model, Protocol] [BaseType (typeof (NSObject))] interface SCNBoundingVolume { @@ -342,7 +342,7 @@ interface SCNBoundingVolume { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] interface SCNBox { [Export ("width")] @@ -374,7 +374,7 @@ interface SCNBox { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] interface SCNCamera : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCoding { [NullAllowed] // by default this property is null @@ -731,7 +731,7 @@ interface SCNCameraController } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] interface SCNCapsule { [Export ("capRadius")] @@ -754,7 +754,7 @@ interface SCNCapsule { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] interface SCNCone { [Export ("topRadius")] @@ -777,7 +777,7 @@ interface SCNCone { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] interface SCNCylinder { [Export ("radius")] @@ -797,7 +797,7 @@ interface SCNCylinder { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] interface SCNFloor { [Export ("reflectivity")] @@ -830,7 +830,7 @@ interface SCNFloor { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface SCNGeometry : SCNAnimatable, SCNBoundingVolume, SCNShadable, NSCopying, NSSecureCoding { @@ -919,7 +919,7 @@ interface SCNGeometry : SCNAnimatable, SCNBoundingVolume, SCNShadable, NSCopying } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] interface SCNGeometrySource : NSSecureCoding { [Export ("data")] @@ -972,7 +972,7 @@ interface SCNGeometrySource : NSSecureCoding { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Static] interface SCNGeometrySourceSemantic { [Field ("SCNGeometrySourceSemanticVertex")] @@ -1009,7 +1009,7 @@ interface SCNGeometrySourceSemantic { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] interface SCNGeometryElement : NSSecureCoding { [Export ("data")] @@ -1087,7 +1087,7 @@ interface SCNGeometryTessellator : NSCopying, NSSecureCoding #endif [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Static] interface SCNHitTest { [Field ("SCNHitTestFirstFoundOnlyKey")] @@ -1138,7 +1138,7 @@ interface SCNHitTest { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] // quote: The SCNHitTestResult class is exposed as the return object from the hitTest:options: method, as an array of SCNHitTestResult objects. [DisableDefaultCtor] // crash when calling description @@ -1176,7 +1176,7 @@ interface SCNHitTestResult { } #if MONOMAC - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (CAOpenGLLayer))] interface SCNLayer : SCNSceneRenderer, SCNTechniqueSupport { // We already pull in the Scene property from the SCNSceneRenderer protocol, no need to redefine it here. @@ -1186,7 +1186,7 @@ interface SCNLayer : SCNSceneRenderer, SCNTechniqueSupport { #endif [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] interface SCNLight : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCoding { [Export ("type", ArgumentSemantic.Copy)] @@ -1343,7 +1343,7 @@ interface SCNLight : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCodi } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Static] interface SCNLightType { [Field ("SCNLightTypeAmbient")] @@ -1368,7 +1368,7 @@ interface SCNLightType { } #if MONOMAC - [Availability (Introduced = Platform.Mac_10_8, Deprecated = Platform.Mac_10_10)] + [Availability (Deprecated = Platform.Mac_10_10)] [Static] interface SCNLightAttribute { [Field ("SCNLightAttenuationStartKey")] @@ -1395,7 +1395,7 @@ interface SCNLightAttribute { #endif [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Static] interface SCNLightingModel { [Field ("SCNLightingModelPhong")] @@ -1416,7 +1416,7 @@ interface SCNLightingModel { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] interface SCNMaterial : SCNAnimatable, SCNShadable, NSCopying, NSSecureCoding { [NullAllowed] // by default this property is null @@ -1528,7 +1528,7 @@ interface SCNMaterial : SCNAnimatable, SCNShadable, NSCopying, NSSecureCoding { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // runtime -> [SCNKit ERROR] Do not instantiate SCNMaterialProperty objects directly interface SCNMaterialProperty : SCNAnimatable, NSSecureCoding { @@ -1656,14 +1656,14 @@ interface SCNSceneLoadingOptions { NSString _AnimationImportPolicyKey { get; set; } } - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] delegate bool SCNNodePredicate (SCNNode node, out bool stop); - [Mac (10, 8), iOS (8, 0)] + [iOS (8, 0)] delegate void SCNNodeHandler (SCNNode node, out bool stop); [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] interface SCNNode : SCNAnimatable, SCNBoundingVolume, SCNActionable, NSCopying, NSSecureCoding #if IOS || TVOS @@ -2223,7 +2223,7 @@ interface SCNNode : SCNAnimatable, SCNBoundingVolume, SCNActionable, NSCopying, } [NoWatch] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] [Model, Protocol] interface SCNNodeRendererDelegate { @@ -2232,7 +2232,7 @@ interface SCNNodeRendererDelegate { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] interface SCNPlane { [Export ("width")] @@ -2261,7 +2261,7 @@ interface SCNPlane { delegate void SCNBufferBindingHandler (ISCNBufferStream buffer, SCNNode node, SCNShadable shadable, SCNRenderer renderer); - [Mac (10,8), iOS (8,0), NoWatch] + [iOS (8,0), NoWatch] [BaseType (typeof (NSObject))] interface SCNProgram : NSCopying, NSSecureCoding { [NullAllowed] @@ -2331,7 +2331,7 @@ interface SCNProgram : NSCopying, NSSecureCoding { #endif } - [Mac (10,8), iOS (8,0), NoWatch] + [iOS (8,0), NoWatch] [BaseType (typeof (NSObject))] [Model, Protocol] interface SCNProgramDelegate { @@ -2366,7 +2366,7 @@ interface SCNProgramDelegate { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] interface SCNPyramid { [Export ("width")] @@ -2391,7 +2391,7 @@ interface SCNPyramid { SCNPyramid Create (nfloat width, nfloat height, nfloat length); } - [Mac (10,8), iOS (8,0), NoWatch] + [iOS (8,0), NoWatch] [BaseType (typeof (NSObject))] #if !MONOMAC || XAMCORE_2_0 [DisableDefaultCtor] // NSInvalidArgumentException Reason: -[SCNRenderer init]: unrecognized selector sent to instance 0x7ce85a30 @@ -2457,7 +2457,7 @@ interface SCNRenderer : SCNSceneRenderer, SCNTechniqueSupport { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Static] interface SCNRenderingArguments { [Field ("SCNModelTransform")] @@ -2483,7 +2483,7 @@ interface SCNRenderingArguments { delegate void SCNSceneExportProgressHandler (float /* float, not CGFloat */ totalProgress, NSError error, out bool stop); [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] interface SCNScene : #if (XAMCORE_2_0 || !MONOMAC) && !WATCH @@ -2633,7 +2633,7 @@ interface SCNSceneExportDelegate { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface SCNSceneSource { @@ -2707,7 +2707,7 @@ interface SCNSceneSource { delegate bool SCNSceneSourceFilter (NSObject entry, NSString identifier, ref bool stop); [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Static] interface SCNSceneSourceLoading { [Field ("SCNSceneSourceAssetDirectoryURLsKey")] @@ -2785,7 +2785,7 @@ interface SCNSceneSourceLoading { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Static] interface SCNSceneSourceLoadErrors { [Field ("SCNConsistencyElementIDErrorKey")] @@ -2802,7 +2802,7 @@ interface SCNSceneSourceLoadErrors { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Static] interface SCNSceneSourceProperties { [Field ("SCNSceneSourceAssetContributorsKey")] @@ -2836,7 +2836,7 @@ interface SCNSceneSourceProperties { interface ISCNSceneRenderer {} [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Protocol, Model] [BaseType (typeof (NSObject))] interface SCNSceneRenderer { @@ -3078,7 +3078,7 @@ interface SCNSceneRenderer { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [Protocol, Model] [BaseType (typeof (NSObject))] interface SCNSceneRendererDelegate { @@ -3108,7 +3108,7 @@ interface SCNSceneRendererDelegate { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] [DisableDefaultCtor] interface SCNSphere { @@ -3127,7 +3127,7 @@ interface SCNSphere { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] [DisableDefaultCtor] interface SCNText { @@ -3180,7 +3180,7 @@ interface SCNText { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] [DisableDefaultCtor] interface SCNTorus { @@ -3201,7 +3201,7 @@ interface SCNTorus { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (NSObject))] interface SCNTransaction { [Static] @@ -3252,7 +3252,7 @@ interface SCNTransaction { } [Watch (3,0)] - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] [BaseType (typeof (SCNGeometry))] interface SCNTube { [Export ("innerRadius")] @@ -3305,7 +3305,7 @@ interface SCNRenderingOptions } #endif - [Mac (10,8), iOS (8,0), NoWatch] + [iOS (8,0), NoWatch] [BaseType (typeof (NSView))] [DisableDefaultCtor] interface SCNView : SCNSceneRenderer, SCNTechniqueSupport { @@ -3810,7 +3810,7 @@ interface SCNAction : NSCopying, NSSecureCoding { SCNAction PlayAudioSource (SCNAudioSource source, bool wait); } - [Mac (10,8), iOS (8,0)] + [iOS (8,0)] delegate void SCNBindingHandler (uint /* unsigned int */ programId, uint /* unsigned int */ location, SCNNode renderedNode, SCNRenderer renderer); [Watch (3,0)] diff --git a/src/security.cs b/src/security.cs index 9991de8e1e18..2c165377baea 100644 --- a/src/security.cs +++ b/src/security.cs @@ -45,14 +45,13 @@ interface SecPolicyIdentifier { [Field ("kSecPolicyAppleCodeSigning")] NSString AppleCodeSigning { get; } - [iOS (9,0)][Mac (10,7)] + [iOS (9,0)] [Field ("kSecPolicyMacAppStoreReceipt")] NSString MacAppStoreReceipt { get; } [Field ("kSecPolicyAppleIDValidation")] NSString AppleIDValidation { get; } - [Mac (10, 8)] [Field ("kSecPolicyAppleTimeStamping")] NSString AppleTimeStamping { get; } @@ -421,11 +420,9 @@ interface SecKeyGenerationAttributeKeys : SecAttributeKeys { [Field ("kSecAttrKeySizeInBits")] NSString KeySizeInBitsKey { get; } - [Mac (10, 8)] [Field ("kSecPrivateKeyAttrs")] NSString PrivateKeyAttrsKey { get; } - [Mac (10, 8)] [Field ("kSecPublicKeyAttrs")] NSString PublicKeyAttrsKey { get; } @@ -748,13 +745,11 @@ interface SecItem { [Static][Internal] interface SecCertificateOIDs { - [Mac (10,7)] [Field ("kSecOIDX509V1SubjectPublicKey")] IntPtr SubjectPublicKey { get; } } [NoiOS][NoTV][NoWatch] - [Mac (10,7)] [Static][Internal] interface SecPropertyKey { diff --git a/src/social.cs b/src/social.cs index 26fb794880d9..053174219846 100644 --- a/src/social.cs +++ b/src/social.cs @@ -27,19 +27,16 @@ interface SLServiceType { [Deprecated (PlatformName.iOS, 11, 0, message: "Use Facebook SDK instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Facebook SDK instead.")] [Field ("SLServiceTypeFacebook")] - [Mac (10,8)] NSString Facebook { get; } [Deprecated (PlatformName.iOS, 11, 0, message: "Use Twitter SDK instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Twitter SDK instead.")] [Field ("SLServiceTypeTwitter")] - [Mac (10,8)] NSString Twitter { get; } [Deprecated (PlatformName.iOS, 11, 0, message: "Use Sina Weibo SDK instead.")] [Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Sina Weibo SDK instead.")] [Field ("SLServiceTypeSinaWeibo")] - [Mac (10,8)] NSString SinaWeibo { get; } [Deprecated (PlatformName.iOS, 11, 0, message: "Use Tencent Weibo SDK instead.")] diff --git a/src/videotoolbox.cs b/src/videotoolbox.cs index 6127bf970f46..7f75a184aa63 100644 --- a/src/videotoolbox.cs +++ b/src/videotoolbox.cs @@ -14,7 +14,7 @@ namespace VideoToolbox { - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] interface VTCompressionPropertyKey { // Buffers @@ -172,7 +172,7 @@ interface VTCompressionPropertyKey { NSString EncoderId { get; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [StrongDictionary ("VTCompressionPropertyKey")] interface VTCompressionProperties { @@ -280,7 +280,7 @@ interface VTCompressionProperties { string EncoderId { get; set; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] interface VTProfileLevelKeys { // HEVC @@ -474,7 +474,7 @@ interface VTH264EntropyModeKeys { NSString CABAC { get; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [StrongDictionary ("VTVideoEncoderSpecificationKeys")] interface VTVideoEncoderSpecification { @@ -490,7 +490,7 @@ interface VTVideoEncoderSpecification { string EncoderID { get; set; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] interface VTVideoEncoderSpecificationKeys { @@ -506,7 +506,7 @@ interface VTVideoEncoderSpecificationKeys { NSString EncoderID { get; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [StrongDictionary ("VTEncodeFrameOptionKey")] interface VTEncodeFrameOptions { @@ -514,7 +514,7 @@ interface VTEncodeFrameOptions { bool ForceKeyFrame { get; set; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] interface VTEncodeFrameOptionKey { // Per-frame configuration @@ -523,7 +523,7 @@ interface VTEncodeFrameOptionKey { NSString ForceKeyFrame { get; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] interface VTDecompressionPropertyKey { // Pixel buffer pools @@ -647,7 +647,7 @@ interface VTDecompressionPropertyKey { NSString PixelTransferProperties { get; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [StrongDictionary ("VTDecompressionPropertyKey")] interface VTDecompressionProperties { @@ -760,7 +760,7 @@ interface VTVideoDecoderSpecificationKeys { NSString PreferredDecoderGpuRegistryId { get; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [StrongDictionary ("VTDecompressionResolutionKeys")] interface VTDecompressionResolutionOptions { [Export ("Width")] @@ -770,7 +770,7 @@ interface VTDecompressionResolutionOptions { float Height { get; set; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] interface VTDecompressionResolutionKeys { [Field ("kVTDecompressionResolutionKey_Width")] @@ -781,7 +781,7 @@ interface VTDecompressionResolutionKeys { } // VTSession.h - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [StrongDictionary ("VTPropertyKeys")] interface VTPropertyOptions { [Export ("ShouldBeSerialized")] @@ -800,7 +800,7 @@ interface VTPropertyOptions { NSString Documentation { get; set; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] interface VTPropertyKeys { [Field ("kVTPropertyTypeKey")] @@ -825,7 +825,7 @@ interface VTPropertyKeys { NSString DocumentationKey { get; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] interface VTPropertyTypeKeys { [Field ("kVTPropertyType_Boolean")] @@ -838,7 +838,7 @@ interface VTPropertyTypeKeys { NSString Number { get; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] interface VTPropertyReadWriteStatusKeys { [Field ("kVTPropertyReadWriteStatus_ReadOnly")] @@ -849,7 +849,7 @@ interface VTPropertyReadWriteStatusKeys { } // VTVideoEncoderList.h - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [Static] [Internal] interface VTVideoEncoderList { @@ -877,7 +877,7 @@ interface VTMultiPassStorageCreationOptionKeys { NSString DoNotDelete { get; } } - [Mac (10,8), iOS (8,0), TV (10,2)] + [iOS (8,0), TV (10,2)] [StrongDictionary ("VTMultiPassStorageCreationOptionKeys")] interface VTMultiPassStorageCreationOptions { [Export ("DoNotDelete")] @@ -885,7 +885,7 @@ interface VTMultiPassStorageCreationOptions { } // VTPixelTransferProperties are available in iOS 9 radar://22614931 https://trello.com/c/bTl6hRu9 - [Mac (10,8), iOS (9,0), TV (10,2)] + [iOS (9,0), TV (10,2)] [StrongDictionary ("VTPixelTransferPropertyKeys")] interface VTPixelTransferProperties { [StrongDictionary] @@ -902,7 +902,7 @@ interface VTPixelTransferProperties { } // VTPixelTransferProperties are available in iOS 9 radar://22614931 https://trello.com/c/bTl6hRu9 - [Mac (10,8), iOS (9,0), TV (10,2)] + [iOS (9,0), TV (10,2)] [Static] [AdvancedAttribute] interface VTPixelTransferPropertyKeys {