Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created December 31, 2024 09:54
Show Gist options
  • Save vs-mobiletools-engineering-service2/642e39fe6595f3a7f00f7205aba21428 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/642e39fe6595f3a7f00f7205aba21428 to your computer and use it in GitHub Desktop.
stable-api-comparison/diff/Microsoft.macOS.md

API diff: Microsoft.macOS.dll

Microsoft.macOS.dll

Assembly Version Changed: 15.0.0.0 -> 15.2.0.0

Namespace AVFoundation

Type Changed: AVFoundation.AVCaptureConnection

Added property:

public virtual System.Runtime.InteropServices.NFloat VideoRotationAngle { get; }

Added method:

public virtual bool IsVideoRotationAngleSupported (System.Runtime.InteropServices.NFloat videoRotationAngle);

Type Changed: AVFoundation.AVCaptureFileOutputRecordingDelegate

Added method:

public virtual void DidStartRecording (AVCaptureFileOutput captureOutput, Foundation.NSUrl outputFileUrl, CoreMedia.CMTime startPts, Foundation.NSObject[] connections);

Type Changed: AVFoundation.AVCaptureFileOutputRecordingDelegate_Extensions

Added method:

public static void DidStartRecording (this IAVCaptureFileOutputRecordingDelegate This, AVCaptureFileOutput captureOutput, Foundation.NSUrl outputFileUrl, CoreMedia.CMTime startPts, Foundation.NSObject[] connections);

Type Changed: AVFoundation.AVCaptureVideoStabilizationMode

Added values:

CinematicExtendedEnhanced = 5,
PreviewOptimized = 4,

Type Changed: AVFoundation.AVPlayerItemVideoOutput

Added method:

public CoreVideo.CVPixelBuffer CopyPixelBuffer (CoreMedia.CMTime itemTime, ref CoreMedia.CMTime outItemTimeForDisplay);

Type Changed: AVFoundation.IAVCaptureFileOutputRecordingDelegate

Added method:

public virtual void DidStartRecording (AVCaptureFileOutput captureOutput, Foundation.NSUrl outputFileUrl, CoreMedia.CMTime startPts, Foundation.NSObject[] connections);

New Type: AVFoundation.AVAudioApplication

public class AVAudioApplication : Foundation.NSObject {
	// constructors
	protected AVAudioApplication (Foundation.NSObjectFlag t);
	protected AVAudioApplication (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual bool InputMuted { get; }
	public virtual AVAudioApplicationRecordPermission RecordPermission { get; }
	public static AVAudioApplication SharedInstance { get; }
	// methods
	public static void RequestRecordPermission (System.Action<bool> response);
	public static System.Threading.Tasks.Task<bool> RequestRecordPermissionAsync ();
	public virtual bool SetInputMuteStateChangeHandler (AVAudioApplicationSetInputMuteStateChangeHandler inputMuteHandler, out Foundation.NSError outError);
	public virtual bool SetInputMuted (bool muted, out Foundation.NSError outError);
}

New Type: AVFoundation.AVAudioApplicationRecordPermission

[Serializable]
public enum AVAudioApplicationRecordPermission {
	Denied = 1684369017,
	Granted = 1735552628,
	Undetermined = 1970168948,
}

New Type: AVFoundation.AVAudioApplicationSetInputMuteStateChangeHandler

public sealed delegate AVAudioApplicationSetInputMuteStateChangeHandler : System.MulticastDelegate {
	// constructors
	public AVAudioApplicationSetInputMuteStateChangeHandler (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (bool inputShouldBeMuted, System.AsyncCallback callback, object object);
	public virtual bool EndInvoke (System.IAsyncResult result);
	public virtual bool Invoke (bool inputShouldBeMuted);
}

New Type: AVFoundation.AVCaptureReactionType

[Serializable]
public enum AVCaptureReactionType {
	Balloons = 2,
	Confetti = 6,
	Fireworks = 4,
	Heart = 3,
	Lasers = 7,
	Rain = 5,
	ThumbsDown = 1,
	ThumbsUp = 0,
}

New Type: AVFoundation.AVCaptureReactionTypeExtensions

public static class AVCaptureReactionTypeExtensions {
	// methods
	public static Foundation.NSString GetConstant (this AVCaptureReactionType self);
	public static AVCaptureReactionType GetValue (Foundation.NSString constant);
}

Namespace AVKit

Type Changed: AVKit.AVPlayerView

Added property:

public virtual AVVideoFrameAnalysisType VideoFrameAnalysisTypes { get; set; }

Namespace Accessibility

Type Changed: Accessibility.AXSettingsFeature

Added value:

AllowAppsToAddAudioToCalls = 2,

New Type: Accessibility.AXMathExpression

public class AXMathExpression : Foundation.NSObject {
	// constructors
	protected AXMathExpression (Foundation.NSObjectFlag t);
	protected AXMathExpression (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
}

New Type: Accessibility.AXMathExpressionFenced

public class AXMathExpressionFenced : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionFenced (Foundation.NSObjectFlag t);
	protected AXMathExpressionFenced (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionFenced (AXMathExpression[] expressions, string openString, string closeString);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual string CloseString { get; }
	public virtual AXMathExpression[] Expressions { get; }
	public virtual string OpenString { get; }
}

New Type: Accessibility.AXMathExpressionFraction

public class AXMathExpressionFraction : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionFraction (Foundation.NSObjectFlag t);
	protected AXMathExpressionFraction (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionFraction (AXMathExpression numeratorExpression, AXMathExpression denimonatorExpression);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual AXMathExpression DenimonatorExpression { get; }
	public virtual AXMathExpression NumeratorExpression { get; }
}

New Type: Accessibility.AXMathExpressionIdentifier

public class AXMathExpressionIdentifier : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionIdentifier (Foundation.NSObjectFlag t);
	protected AXMathExpressionIdentifier (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionIdentifier (string content);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual string Content { get; }
}

New Type: Accessibility.AXMathExpressionMultiscript

public class AXMathExpressionMultiscript : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionMultiscript (Foundation.NSObjectFlag t);
	protected AXMathExpressionMultiscript (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionMultiscript (AXMathExpression baseExpression, AXMathExpressionSubSuperscript[] prescriptExpressions, AXMathExpressionSubSuperscript[] postscriptExpressions);
	// properties
	public virtual AXMathExpression BaseExpression { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual AXMathExpressionSubSuperscript[] PostscriptExpressions { get; }
	public virtual AXMathExpressionSubSuperscript[] PrescriptExpressions { get; }
}

New Type: Accessibility.AXMathExpressionNumber

public class AXMathExpressionNumber : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionNumber (Foundation.NSObjectFlag t);
	protected AXMathExpressionNumber (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionNumber (string content);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual string Content { get; }
}

New Type: Accessibility.AXMathExpressionOperator

public class AXMathExpressionOperator : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionOperator (Foundation.NSObjectFlag t);
	protected AXMathExpressionOperator (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionOperator (string content);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual string Content { get; }
}

New Type: Accessibility.AXMathExpressionRoot

public class AXMathExpressionRoot : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionRoot (Foundation.NSObjectFlag t);
	protected AXMathExpressionRoot (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionRoot (AXMathExpression[] radicandExpressions, AXMathExpression rootIndexExpression);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual AXMathExpression[] RadicandExpressions { get; }
	public virtual AXMathExpression RootIndexExpression { get; }
}

New Type: Accessibility.AXMathExpressionRow

public class AXMathExpressionRow : Accessibility.AXMathExpression {
	// constructors
	public AXMathExpressionRow (AXMathExpression[] expressions);
	protected AXMathExpressionRow (Foundation.NSObjectFlag t);
	protected AXMathExpressionRow (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual AXMathExpression[] Expressions { get; }
}

New Type: Accessibility.AXMathExpressionSubSuperscript

public class AXMathExpressionSubSuperscript : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionSubSuperscript (Foundation.NSObjectFlag t);
	protected AXMathExpressionSubSuperscript (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionSubSuperscript (AXMathExpression[] baseExpression, AXMathExpression[] subscriptExpressions, AXMathExpression[] superscriptExpressions);
	// properties
	public virtual AXMathExpression BaseExpression { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual AXMathExpression[] SubscriptExpressions { get; }
	public virtual AXMathExpression[] SuperscriptExpressions { get; }
}

New Type: Accessibility.AXMathExpressionTable

public class AXMathExpressionTable : Accessibility.AXMathExpression {
	// constructors
	public AXMathExpressionTable (AXMathExpression[] expressions);
	protected AXMathExpressionTable (Foundation.NSObjectFlag t);
	protected AXMathExpressionTable (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual AXMathExpression[] Expressions { get; }
}

New Type: Accessibility.AXMathExpressionTableCell

public class AXMathExpressionTableCell : Accessibility.AXMathExpression {
	// constructors
	public AXMathExpressionTableCell (AXMathExpression[] expressions);
	protected AXMathExpressionTableCell (Foundation.NSObjectFlag t);
	protected AXMathExpressionTableCell (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual AXMathExpression[] Expressions { get; }
}

New Type: Accessibility.AXMathExpressionTableRow

public class AXMathExpressionTableRow : Accessibility.AXMathExpression {
	// constructors
	public AXMathExpressionTableRow (AXMathExpression[] expressions);
	protected AXMathExpressionTableRow (Foundation.NSObjectFlag t);
	protected AXMathExpressionTableRow (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual AXMathExpression[] Expressions { get; }
}

New Type: Accessibility.AXMathExpressionText

public class AXMathExpressionText : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionText (Foundation.NSObjectFlag t);
	protected AXMathExpressionText (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionText (string content);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual string Content { get; }
}

New Type: Accessibility.AXMathExpressionUnderOver

public class AXMathExpressionUnderOver : Accessibility.AXMathExpression {
	// constructors
	protected AXMathExpressionUnderOver (Foundation.NSObjectFlag t);
	protected AXMathExpressionUnderOver (ObjCRuntime.NativeHandle handle);
	public AXMathExpressionUnderOver (AXMathExpression baseExpression, AXMathExpression underExpression, AXMathExpression overExpression);
	// properties
	public virtual AXMathExpression BaseExpression { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual AXMathExpression OverExpression { get; }
	public virtual AXMathExpression UnderExpression { get; }
}

New Type: Accessibility.IAXMathExpressionProvider

public interface IAXMathExpressionProvider : ObjCRuntime.INativeObject, System.IDisposable {
	// properties
	public virtual AXMathExpression AccessibilityMathExpression { get; }
}

Namespace AppKit

Type Changed: AppKit.NSMenu

Added property:

public virtual bool AutomaticallyInsertsWritingToolsItems { get; set; }

Type Changed: AppKit.NSMenuItem

Added property:

public static NSMenuItem[] WritingToolsItems { get; }

Type Changed: AppKit.NSStringAttributeKey

Added property:

public static Foundation.NSString WritingToolsExclusion { get; }

Type Changed: AppKit.NSTextField

Added property:

public virtual bool AllowsWritingTools { get; set; }

Type Changed: AppKit.NSToolbar

Added property:

public static Foundation.NSString NSToolbarWritingToolsItemIdentifier { get; }

Type Changed: AppKit.NSView

Added property:

public virtual NSWritingToolsCoordinator WritingToolsCoordinator { get; set; }

New Type: AppKit.INSWritingToolsCoordinatorDelegate

public interface INSWritingToolsCoordinatorDelegate : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual void FinishTextAnimation (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorTextAnimation textAnimation, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, System.Action completion);
	public virtual void PrepareForTextAnimation (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorTextAnimation textAnimation, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, System.Action completion);
	public virtual void ReplaceRange (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, Foundation.NSAttributedString replacementText, NSWritingToolsCoordinatorTextReplacementReason reason, NSWritingToolsCoordinatorAnimationParameters animationParameters, NSWritingToolsCoordinatorDelegateReplaceRangeCallback completion);
	public virtual void RequestsBoundingBezierPaths (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsBoundingBezierPathsCallback completion);
	public virtual void RequestsContexts (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorContextScope scope, NSWritingToolsCoordinatorDelegateRequestsContextsCallback completion);
	public virtual void RequestsDecorationContainerView (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsDecorationContainerViewCallback completion);
	public virtual void RequestsPreview (NSWritingToolsCoordinator writingToolsCoordinator, CoreGraphics.CGRect rect, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsPreviewCallback completion);
	public virtual void RequestsPreviewForTextAnimation (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorTextAnimation textAnimation, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsPreviewForTextAnimationCallback completion);
	public virtual void RequestsRange (NSWritingToolsCoordinator writingToolsCoordinator, CoreGraphics.CGPoint point, NSWritingToolsCoordinatorDelegateRequestsRangeCallback completion);
	public virtual void RequestsSingleContainerSubranges (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsSingleContainerSubrangesCallback completion);
	public virtual void RequestsUnderlinePaths (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsUnderlinePathsCallback completion);
	public virtual void SelectRanges (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSValue[] ranges, NSWritingToolsCoordinatorContext context, System.Action completion);
	public virtual void WillChangeToState (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorState newState, System.Action completion);
}

New Type: AppKit.NSResponder_NSWritingToolsSupport

public static class NSResponder_NSWritingToolsSupport {
	// methods
	public static void ShowWritingTools (this NSResponder This, Foundation.NSObject sender);
}

New Type: AppKit.NSTextPreview

public class NSTextPreview : Foundation.NSObject {
	// constructors
	protected NSTextPreview (Foundation.NSObjectFlag t);
	protected NSTextPreview (ObjCRuntime.NativeHandle handle);
	public NSTextPreview (CoreGraphics.CGImage snapshotImage, CoreGraphics.CGRect presentationFrame);
	public NSTextPreview (CoreGraphics.CGImage snapshotImage, CoreGraphics.CGRect presentationFrame, CoreGraphics.CGRect[] candidateRects);
	// properties
	public virtual CoreGraphics.CGRect[] CandidateRects { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual CoreGraphics.CGRect PresentationFrame { get; }
	public virtual CoreGraphics.CGImage PreviewImage { get; }
}

New Type: AppKit.NSToolbarItemVisibilityPriority

[Serializable]
public enum NSToolbarItemVisibilityPriority {
	High = 1000,
	Low = -1000,
	Standard = 0,
	User = 2000,
}

New Type: AppKit.NSWritingToolsCoordinator

public class NSWritingToolsCoordinator : Foundation.NSObject {
	// constructors
	public NSWritingToolsCoordinator ();
	public NSWritingToolsCoordinator (INSWritingToolsCoordinatorDelegate delegate);
	protected NSWritingToolsCoordinator (Foundation.NSObjectFlag t);
	protected NSWritingToolsCoordinator (ObjCRuntime.NativeHandle handle);
	// properties
	public virtual NSWritingToolsBehavior Behavior { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual NSView DecorationContainerView { get; set; }
	public INSWritingToolsCoordinatorDelegate Delegate { get; }
	public virtual NSView EffectContainerView { get; set; }
	public static bool IsWritingToolsAvailable { get; }
	public virtual NSWritingToolsBehavior PreferredBehavior { get; set; }
	public virtual NSWritingToolsResultOptions PreferredResultOptions { get; set; }
	public virtual NSWritingToolsResultOptions ResultOptions { get; }
	public virtual NSWritingToolsCoordinatorState State { get; }
	public virtual NSView View { get; }
	public virtual Foundation.NSObject WeakDelegate { get; }
	// methods
	protected override void Dispose (bool disposing);
	public virtual void StopWritingTools ();
	public virtual void UpdateForReflowedTextInContext (Foundation.NSUuid contextId);
	public virtual void UpdateRange (Foundation.NSRange range, Foundation.NSAttributedString replacementText, NSWritingToolsCoordinatorTextUpdateReason reason, Foundation.NSUuid contextId);
}

New Type: AppKit.NSWritingToolsCoordinatorAnimationParameters

public class NSWritingToolsCoordinatorAnimationParameters : Foundation.NSObject {
	// constructors
	protected NSWritingToolsCoordinatorAnimationParameters (Foundation.NSObjectFlag t);
	protected NSWritingToolsCoordinatorAnimationParameters (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual System.Action CompletionHandler { get; set; }
	public virtual System.Runtime.InteropServices.NFloat Delay { get; }
	public virtual System.Runtime.InteropServices.NFloat Duration { get; }
	public virtual System.Action<float> ProgressHandler { get; set; }
}

New Type: AppKit.NSWritingToolsCoordinatorContext

public class NSWritingToolsCoordinatorContext : Foundation.NSObject {
	// constructors
	protected NSWritingToolsCoordinatorContext (Foundation.NSObjectFlag t);
	protected NSWritingToolsCoordinatorContext (ObjCRuntime.NativeHandle handle);
	public NSWritingToolsCoordinatorContext (Foundation.NSAttributedString attributedString, Foundation.NSRange range);
	// properties
	public virtual Foundation.NSAttributedString AttributedString { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual Foundation.NSUuid Identifier { get; }
	public virtual Foundation.NSRange Range { get; }
	public virtual Foundation.NSRange ResolvedRange { get; }
}

New Type: AppKit.NSWritingToolsCoordinatorContextScope

[Serializable]
public enum NSWritingToolsCoordinatorContextScope {
	FullDocument = 1,
	UserSelection = 0,
	VisibleArea = 2,
}

New Type: AppKit.NSWritingToolsCoordinatorDelegate

public abstract class NSWritingToolsCoordinatorDelegate : Foundation.NSObject, INSWritingToolsCoordinatorDelegate, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	protected NSWritingToolsCoordinatorDelegate ();
	protected NSWritingToolsCoordinatorDelegate (Foundation.NSObjectFlag t);
	protected NSWritingToolsCoordinatorDelegate (ObjCRuntime.NativeHandle handle);
	// methods
	public virtual void FinishTextAnimation (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorTextAnimation textAnimation, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, System.Action completion);
	public virtual void PrepareForTextAnimation (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorTextAnimation textAnimation, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, System.Action completion);
	public virtual void ReplaceRange (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, Foundation.NSAttributedString replacementText, NSWritingToolsCoordinatorTextReplacementReason reason, NSWritingToolsCoordinatorAnimationParameters animationParameters, NSWritingToolsCoordinatorDelegateReplaceRangeCallback completion);
	public virtual void RequestsBoundingBezierPaths (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsBoundingBezierPathsCallback completion);
	public virtual void RequestsContexts (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorContextScope scope, NSWritingToolsCoordinatorDelegateRequestsContextsCallback completion);
	public virtual void RequestsDecorationContainerView (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsDecorationContainerViewCallback completion);
	public virtual void RequestsPreview (NSWritingToolsCoordinator writingToolsCoordinator, CoreGraphics.CGRect rect, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsPreviewCallback completion);
	public virtual void RequestsPreviewForTextAnimation (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorTextAnimation textAnimation, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsPreviewForTextAnimationCallback completion);
	public virtual void RequestsRange (NSWritingToolsCoordinator writingToolsCoordinator, CoreGraphics.CGPoint point, NSWritingToolsCoordinatorDelegateRequestsRangeCallback completion);
	public virtual void RequestsSingleContainerSubranges (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsSingleContainerSubrangesCallback completion);
	public virtual void RequestsUnderlinePaths (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSRange range, NSWritingToolsCoordinatorContext context, NSWritingToolsCoordinatorDelegateRequestsUnderlinePathsCallback completion);
	public virtual void SelectRanges (NSWritingToolsCoordinator writingToolsCoordinator, Foundation.NSValue[] ranges, NSWritingToolsCoordinatorContext context, System.Action completion);
	public virtual void WillChangeToState (NSWritingToolsCoordinator writingToolsCoordinator, NSWritingToolsCoordinatorState newState, System.Action completion);
}

New Type: AppKit.NSWritingToolsCoordinatorDelegateReplaceRangeCallback

public sealed delegate NSWritingToolsCoordinatorDelegateReplaceRangeCallback : System.MulticastDelegate {
	// constructors
	public NSWritingToolsCoordinatorDelegateReplaceRangeCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (Foundation.NSAttributedString replacementText, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (Foundation.NSAttributedString replacementText);
}

New Type: AppKit.NSWritingToolsCoordinatorDelegateRequestsBoundingBezierPathsCallback

public sealed delegate NSWritingToolsCoordinatorDelegateRequestsBoundingBezierPathsCallback : System.MulticastDelegate {
	// constructors
	public NSWritingToolsCoordinatorDelegateRequestsBoundingBezierPathsCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (NSBezierPath[] paths, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (NSBezierPath[] paths);
}

New Type: AppKit.NSWritingToolsCoordinatorDelegateRequestsContextsCallback

public sealed delegate NSWritingToolsCoordinatorDelegateRequestsContextsCallback : System.MulticastDelegate {
	// constructors
	public NSWritingToolsCoordinatorDelegateRequestsContextsCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (NSWritingToolsCoordinatorContext[] contexts, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (NSWritingToolsCoordinatorContext[] contexts);
}

New Type: AppKit.NSWritingToolsCoordinatorDelegateRequestsDecorationContainerViewCallback

public sealed delegate NSWritingToolsCoordinatorDelegateRequestsDecorationContainerViewCallback : System.MulticastDelegate {
	// constructors
	public NSWritingToolsCoordinatorDelegateRequestsDecorationContainerViewCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (NSView view, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (NSView view);
}

New Type: AppKit.NSWritingToolsCoordinatorDelegateRequestsPreviewCallback

public sealed delegate NSWritingToolsCoordinatorDelegateRequestsPreviewCallback : System.MulticastDelegate {
	// constructors
	public NSWritingToolsCoordinatorDelegateRequestsPreviewCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (NSTextPreview textPreview, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (NSTextPreview textPreview);
}

New Type: AppKit.NSWritingToolsCoordinatorDelegateRequestsPreviewForTextAnimationCallback

public sealed delegate NSWritingToolsCoordinatorDelegateRequestsPreviewForTextAnimationCallback : System.MulticastDelegate {
	// constructors
	public NSWritingToolsCoordinatorDelegateRequestsPreviewForTextAnimationCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (NSTextPreview[] view, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (NSTextPreview[] view);
}

New Type: AppKit.NSWritingToolsCoordinatorDelegateRequestsRangeCallback

public sealed delegate NSWritingToolsCoordinatorDelegateRequestsRangeCallback : System.MulticastDelegate {
	// constructors
	public NSWritingToolsCoordinatorDelegateRequestsRangeCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (Foundation.NSRange range, Foundation.NSUuid contextId, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (Foundation.NSRange range, Foundation.NSUuid contextId);
}

New Type: AppKit.NSWritingToolsCoordinatorDelegateRequestsSingleContainerSubrangesCallback

public sealed delegate NSWritingToolsCoordinatorDelegateRequestsSingleContainerSubrangesCallback : System.MulticastDelegate {
	// constructors
	public NSWritingToolsCoordinatorDelegateRequestsSingleContainerSubrangesCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (Foundation.NSValue[] ranges, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (Foundation.NSValue[] ranges);
}

New Type: AppKit.NSWritingToolsCoordinatorDelegateRequestsUnderlinePathsCallback

public sealed delegate NSWritingToolsCoordinatorDelegateRequestsUnderlinePathsCallback : System.MulticastDelegate {
	// constructors
	public NSWritingToolsCoordinatorDelegateRequestsUnderlinePathsCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (NSBezierPath[] paths, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (NSBezierPath[] paths);
}

New Type: AppKit.NSWritingToolsCoordinatorState

[Serializable]
public enum NSWritingToolsCoordinatorState {
	Inactive = 0,
	InteractiveResting = 2,
	InteractiveStreaming = 3,
	Noninteractive = 1,
}

New Type: AppKit.NSWritingToolsCoordinatorTextAnimation

[Serializable]
public enum NSWritingToolsCoordinatorTextAnimation {
	Anticipate = 0,
	AnticipateInactive = 8,
	Insert = 2,
	Remove = 1,
	Translate = 9,
}

New Type: AppKit.NSWritingToolsCoordinatorTextReplacementReason

[Serializable]
public enum NSWritingToolsCoordinatorTextReplacementReason {
	Interactive = 0,
	Noninteractive = 1,
}

New Type: AppKit.NSWritingToolsCoordinatorTextUpdateReason

[Serializable]
public enum NSWritingToolsCoordinatorTextUpdateReason {
	Typing = 0,
	UndoRedo = 1,
}

Namespace AudioUnit

Type Changed: AudioUnit.AudioComponentStatus

Added value:

InstanceTimedOut = -66754,

Type Changed: AudioUnit.AudioUnitStatus

Added values:

ComponentManagerNotSupported = -66740,
InvalidFilePath = -66742,
MissingKey = -66741,
MultipleVoiceProcessors = -66635,
RenderTimeout = -66745,

Namespace AuthenticationServices

Type Changed: AuthenticationServices.ASAuthorizationError

Added values:

CredentialExport = 1008,
CredentialImport = 1007,

Namespace BrowserEngineKit

Type Changed: BrowserEngineKit.BENetworkingProcess

Added method:

public static void Create (string bundleId, System.Action interruptionHandler, BENetworkingProcessCreateCallback completion);

Type Changed: BrowserEngineKit.BERenderingProcess

Added methods:

public static void Create (string bundleId, System.Action interruptionHandler, BERenderingProcessCreateCallback completion);
public static System.Threading.Tasks.Task<BERenderingProcess> CreateAsync (string bundleId, System.Action interruptionHandler);

Type Changed: BrowserEngineKit.BEWebContentProcess

Added methods:

public static void Create (string bundleId, System.Action interruptionHandler, BEWebContentProcessCreateCallback completion);
public static System.Threading.Tasks.Task<BEWebContentProcess> CreateAsync (string bundleId, System.Action interruptionHandler);

Type Changed: BrowserEngineKit.NSObject_BEAccessibility

Added methods:

public static IntPtr GetAccessibilityLineEndPositionFromCurrentSelection (this Foundation.NSObject This);
public static Foundation.NSRange GetAccessibilityLineRangeForPosition (this Foundation.NSObject This, IntPtr position);
public static IntPtr GetAccessibilityLineStartPositionFromCurrentSelection (this Foundation.NSObject This);

New Type: BrowserEngineKit.BEAccessibilityTextMarker

public class BEAccessibilityTextMarker : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public BEAccessibilityTextMarker ();
	public BEAccessibilityTextMarker (Foundation.NSCoder coder);
	protected BEAccessibilityTextMarker (Foundation.NSObjectFlag t);
	protected BEAccessibilityTextMarker (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: BrowserEngineKit.BEAccessibilityTextMarkerRange

public class BEAccessibilityTextMarkerRange : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public BEAccessibilityTextMarkerRange ();
	public BEAccessibilityTextMarkerRange (Foundation.NSCoder coder);
	protected BEAccessibilityTextMarkerRange (Foundation.NSObjectFlag t);
	protected BEAccessibilityTextMarkerRange (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual BEAccessibilityTextMarker EndMarker { get; set; }
	public virtual BEAccessibilityTextMarker StartMarker { get; set; }
	// methods
	public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: BrowserEngineKit.IBEAccessibilityTextMarkerSupport

public interface IBEAccessibilityTextMarkerSupport : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual CoreGraphics.CGRect GetAccessibilityBounds (BEAccessibilityTextMarkerRange range);
	public virtual string GetAccessibilityContent (BEAccessibilityTextMarkerRange range);
	public virtual BEAccessibilityTextMarker GetAccessibilityLineEndMarker (BEAccessibilityTextMarker marker);
	public virtual BEAccessibilityTextMarker GetAccessibilityLineStartMarker (BEAccessibilityTextMarker marker);
	public virtual BEAccessibilityTextMarker GetAccessibilityMarker (CoreGraphics.CGPoint point);
	public virtual BEAccessibilityTextMarker GetAccessibilityNextTextMarker (BEAccessibilityTextMarker marker);
	public virtual BEAccessibilityTextMarker GetAccessibilityPreviousTextMarker (BEAccessibilityTextMarker marker);
	public virtual Foundation.NSRange GetAccessibilityRange (BEAccessibilityTextMarkerRange range);
	public virtual BEAccessibilityTextMarkerRange GetAccessibilityTextMarker (Foundation.NSRange range);
	public virtual BEAccessibilityTextMarker GetAccessibilityTextMarker (IntPtr position);
	public virtual BEAccessibilityTextMarkerRange GetAccessibilityTextMarkerRange ();
	public virtual BEAccessibilityTextMarkerRange GetAccessibilityTextMarkerRangeForCurrentSelection ();
}

Namespace CoreImage

New Type: CoreImage.CIDistanceGradientFromRedMask

public class CIDistanceGradientFromRedMask : CoreImage.CIFilter, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public CIDistanceGradientFromRedMask ();
	public CIDistanceGradientFromRedMask (Foundation.NSCoder coder);
	protected CIDistanceGradientFromRedMask (Foundation.NSObjectFlag t);
	protected CIDistanceGradientFromRedMask (ObjCRuntime.NativeHandle handle);
	// properties
	public CIImage InputImage { get; set; }
	public int MaximumDistance { get; set; }
	public virtual CIImage OutputImage { get; }
}

Namespace CoreLocation

Type Changed: CoreLocation.CLLocation

Obsoleted properties:

 [Obsolete ("Use 'AccuracyBestForNavigation' instead.")]
 public static double AccurracyBestForNavigation { get; }

Added property:

public static double AccuracyBestForNavigation { get; }

Namespace CoreVideo

Type Changed: CoreVideo.CVMetalBufferCache

Added methods:

public static bool TryCreate (Metal.IMTLDevice device, Foundation.NSDictionary attributes, out CVMetalBufferCache metalBufferCache, out CVReturn status);
public static bool TryCreateHandle (Metal.IMTLDevice device, Foundation.NSDictionary attributes, out IntPtr handle, out CVReturn status);

Namespace Foundation

Type Changed: Foundation.NSArray

Added method:

public static T[] ArrayFromHandleFunc<T> (ObjCRuntime.NativeHandle handle, System.Func<ObjCRuntime.NativeHandle,T> createObject, bool releaseHandle);

Type Changed: Foundation.NSAttributedString

Obsoleted constructors:

 [Obsolete ("Use the 'Create' method instead, because there's no way to return an error from a constructor.")]
 public NSAttributedString (NSData data, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, out NSError error);
 [Obsolete ("Use the 'Create' method instead, because there's no way to return an error from a constructor.")]
 public NSAttributedString (NSData data, NSDictionary options, out NSDictionary docAttributes, out NSError error);
 [Obsolete ("Use the 'Create' method instead, because there's no way to return an error from a constructor.")]
 public NSAttributedString (NSUrl url, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, out NSError error);
 [Obsolete ("Use the 'Create' method instead, because there's no way to return an error from a constructor.")]
 public NSAttributedString (NSUrl url, NSDictionary options, out NSDictionary resultDocumentAttributes, out NSError error);

Added methods:

public static NSAttributedString Create (NSData data, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, out NSError error);
public static NSAttributedString Create (NSData data, NSDictionary options, out NSDictionary resultDocumentAttributes, out NSError error);
public static NSAttributedString Create (NSUrl url, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, out NSError error);
public static NSAttributedString Create (NSUrl url, NSDictionary options, out NSDictionary resultDocumentAttributes, out NSError error);

Type Changed: Foundation.NSHttpCookie

Added property:

public static NSString KeySetByJavaScript { get; }

Type Changed: Foundation.NSMutableUrlRequest

Added property:

public virtual string CookiePartitionIdentifier { get; set; }

Type Changed: Foundation.NSUrlRequest

Added property:

public virtual string CookiePartitionIdentifier { get; }

Namespace HealthKit

Type Changed: HealthKit.HKAudiogramSample

Added method:

public static HKAudiogramSample GetAudiogramSample (HKAudiogramSensitivityPoint[] sensitivityPoints, Foundation.NSDate startDate, Foundation.NSDate endDate, HKDevice device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);

Type Changed: HealthKit.HKAudiogramSensitivityPoint

Added property:

public virtual HKAudiogramSensitivityTest[] Tests { get; }

Added method:

public static HKAudiogramSensitivityPoint GetSensitivityPoint (HKQuantity frequency, HKAudiogramSensitivityTest[] tests, out Foundation.NSError error);

Type Changed: HealthKit.HKMetadata

Added property:

public string AppleFitnessPlusCatalogIdentifier { get; set; }

Type Changed: HealthKit.HKMetadataKey

Added property:

public static Foundation.NSString AppleFitnessPlusCatalogIdentifier { get; }

New Type: HealthKit.HKAudiogramConductionType

[Serializable]
public enum HKAudiogramConductionType {
	Air = 0,
}

New Type: HealthKit.HKAudiogramSensitivityPointClampingRange

public class HKAudiogramSensitivityPointClampingRange : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public HKAudiogramSensitivityPointClampingRange (Foundation.NSCoder coder);
	protected HKAudiogramSensitivityPointClampingRange (Foundation.NSObjectFlag t);
	protected HKAudiogramSensitivityPointClampingRange (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual HKQuantity LowerBound { get; }
	public virtual HKQuantity UpperBound { get; }
	// methods
	public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
	public static HKAudiogramSensitivityPointClampingRange Create (double? lowerBound, double? upperBound, out Foundation.NSError error);
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: HealthKit.HKAudiogramSensitivityTest

public class HKAudiogramSensitivityTest : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public HKAudiogramSensitivityTest (Foundation.NSCoder coder);
	protected HKAudiogramSensitivityTest (Foundation.NSObjectFlag t);
	protected HKAudiogramSensitivityTest (ObjCRuntime.NativeHandle handle);
	public HKAudiogramSensitivityTest (HKQuantity sensitivity, HKAudiogramConductionType type, bool masked, HKAudiogramSensitivityTestSide side, HKAudiogramSensitivityPointClampingRange clampingRange, out Foundation.NSError error);
	// properties
	public virtual HKAudiogramSensitivityPointClampingRange ClampingRange { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual bool Masked { get; }
	public virtual HKQuantity Sensitivity { get; }
	public virtual HKAudiogramSensitivityTestSide Side { get; }
	public virtual HKAudiogramConductionType Type { get; }
	// methods
	public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: HealthKit.HKAudiogramSensitivityTestSide

[Serializable]
public enum HKAudiogramSensitivityTestSide {
	Left = 0,
	Right = 1,
}

Namespace JavaScriptCore

Type Changed: JavaScriptCore.JSValue

Added property:

public virtual bool IsBigInt { get; }

Added methods:

public virtual JSRelationCondition Compare (JSValue other);
public virtual JSRelationCondition Compare (double other);
public virtual JSRelationCondition Compare (long other);
public virtual JSRelationCondition Compare (ulong other);
public static JSValue CreateNewBigInt (double uint64, JSContext context);
public static JSValue CreateNewBigInt (long int64, JSContext context);
public static JSValue CreateNewBigInt (string string, JSContext context);
public static JSValue CreateNewBigInt (ulong uint64, JSContext context);
public virtual long ToInt64 ();
public virtual ulong ToUInt64 ();

New Type: JavaScriptCore.JSRelationCondition

[Serializable]
public enum JSRelationCondition {
	Equal = 1,
	GreaterThan = 2,
	LessThan = 3,
	Undefined = 0,
}

Namespace MapKit

Type Changed: MapKit.MKUserLocation

Added interfaces:

IMKAnnotation
ObjCRuntime.INativeObject
System.IDisposable

Namespace MetalPerformanceShadersGraph

Type Changed: MetalPerformanceShadersGraph.MPSGraph_MPSGraphTensorShapeOps

Added methods:

public static MPSGraphTensor Slice (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor startTensor, MPSGraphTensor sizeTensor, uint squeezeMask, string name);
public static MPSGraphTensor Slice (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor startTensor, MPSGraphTensor endTensor, MPSGraphTensor strideTensor, uint startMask, uint endMask, uint squeezeMask, string name);
public static MPSGraphTensor SliceGradient (this MPSGraph This, MPSGraphTensor inputGradientTensor, MPSGraphTensor fwdInShapeTensor, MPSGraphTensor startTensor, MPSGraphTensor sizeTensor, uint squeezeMask, string name);
public static MPSGraphTensor SliceGradient (this MPSGraph This, MPSGraphTensor inputGradientTensor, MPSGraphTensor fwdInShapeTensor, MPSGraphTensor startTensor, MPSGraphTensor endTensor, MPSGraphTensor strideTensor, uint startMask, uint endMask, uint squeezeMask, string name);

Namespace NetworkExtension

Type Changed: NetworkExtension.NEProviderStopReason

Added value:

InternalError = 17,

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string SdkVersion = "15.0";
+public const string SdkVersion = "15.2";
-public const string Version = "9.99.0";
+public const string Version = "15.2.9164";

Type Changed: ObjCRuntime.Runtime

Added method:

public static Foundation.NSObject GetNSObject (NativeHandle ptr, bool owns);

Type Changed: ObjCRuntime.Selector

Added method:

public static Selector FromHandle (NativeHandle selector, bool owns);

Namespace PassKit

Type Changed: PassKit.PKPassLibrary

Added method:

public virtual Foundation.NSSet<PKSecureElementPass> GetPasses (string readerIdentifier);

Type Changed: PassKit.PKPaymentAuthorizationController

Added methods:

public static bool SupportsDisbursements ();
public static bool SupportsDisbursements (string[] supportedNetworks);
public static bool SupportsDisbursements (string[] supportedNetworks, PKMerchantCapability capabilities);

Namespace ScreenCaptureKit

Type Changed: ScreenCaptureKit.ISCStreamDelegate

Added methods:

public virtual void StreamDidBecomeActive (SCStream stream);
public virtual void StreamDidBecomeInactive (SCStream stream);

Type Changed: ScreenCaptureKit.SCContentFilter

Added properties:

public virtual SCRunningApplication[] IncludedApplications { get; }
public virtual SCDisplay[] IncludedDisplays { get; }
public virtual SCWindow[] IncludedWindows { get; }

Type Changed: ScreenCaptureKit.SCScreenshotManager

Added methods:

public static void CaptureImage (CoreGraphics.CGRect rect, SCScreenshotManagerCaptureImageCallback completionHandler);
public static System.Threading.Tasks.Task<CoreGraphics.CGImage> CaptureImageAsync (CoreGraphics.CGRect rect);

Type Changed: ScreenCaptureKit.SCStreamDelegate

Added methods:

public virtual void StreamDidBecomeActive (SCStream stream);
public virtual void StreamDidBecomeInactive (SCStream stream);

Type Changed: ScreenCaptureKit.SCStreamDelegate_Extensions

Added methods:

public static void StreamDidBecomeActive (this ISCStreamDelegate This, SCStream stream);
public static void StreamDidBecomeInactive (this ISCStreamDelegate This, SCStream stream);

New Type: ScreenCaptureKit.SCScreenshotManagerCaptureImageCallback

public sealed delegate SCScreenshotManagerCaptureImageCallback : System.MulticastDelegate {
	// constructors
	public SCScreenshotManagerCaptureImageCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (CoreGraphics.CGImage image, Foundation.NSError error, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (CoreGraphics.CGImage image, Foundation.NSError error);
}

Namespace Speech

Type Changed: Speech.SFSpeechErrorCode

Added value:

Timeout = 10,

Namespace StoreKit

New Type: StoreKit.AppStore

public static class AppStore {
	// methods
	public static void RequestReview (AppKit.NSViewController in);
}

Namespace UniformTypeIdentifiers

Type Changed: UniformTypeIdentifiers.UTTypes

Added property:

public static UTType JpegXl { get; }

Namespace Vision

Type Changed: Vision.VNCircle

Added constructor:

public VNCircle (VNPoint center, double radiusOrDiameter, VNCircleInitializationOption option);

Type Changed: Vision.VNUtils

Added property:

public static double VisionVersionNumber { get; }

Type Changed: Vision.VNVector

Added constructor:

public VNVector (System.ValueTuple<System.Double,System.Double> polarCoordinates);

New Type: Vision.VNCircleInitializationOption

[Serializable]
public enum VNCircleInitializationOption {
	Diameter = 1,
	Radius = 0,
}

Namespace WebKit

Type Changed: WebKit.IWKDownloadDelegate

Added methods:

public virtual void DecidePlaceholderPolicy (WKDownload download, WKDownloadDelegateDecidePlaceholderPolicyCallback completionHandler);
public virtual void DidReceiveFinalUrl (WKDownload download, Foundation.NSUrl url);
public virtual void DidReceivePlaceholderUrl (WKDownload download, Foundation.NSUrl url, System.Action completionHandler);

Type Changed: WebKit.WKDownload

Added properties:

public virtual WKFrameInfo OriginatingFrame { get; }
public virtual bool UserInitiated { get; }

Type Changed: WebKit.WKDownloadDelegate

Added methods:

public virtual void DecidePlaceholderPolicy (WKDownload download, WKDownloadDelegateDecidePlaceholderPolicyCallback completionHandler);
public virtual void DidReceiveFinalUrl (WKDownload download, Foundation.NSUrl url);
public virtual void DidReceivePlaceholderUrl (WKDownload download, Foundation.NSUrl url, System.Action completionHandler);

Type Changed: WebKit.WKDownloadDelegate_Extensions

Added methods:

public static void DecidePlaceholderPolicy (this IWKDownloadDelegate This, WKDownload download, WKDownloadDelegateDecidePlaceholderPolicyCallback completionHandler);
public static void DidReceiveFinalUrl (this IWKDownloadDelegate This, WKDownload download, Foundation.NSUrl url);
public static void DidReceivePlaceholderUrl (this IWKDownloadDelegate This, WKDownload download, Foundation.NSUrl url, System.Action completionHandler);

Type Changed: WebKit.WKWebpagePreferences

Added property:

public virtual WKWebpagePreferencesUpgradeToHttpsPolicy PreferredHttpsNavigationPolicy { get; set; }

Type Changed: WebKit.WKWebsiteDataStore

Added property:

public virtual Network.NWProxyConfig[] ProxyConfigurations { get; set; }

New Type: WebKit.WKDownloadDelegateDecidePlaceholderPolicyCallback

public sealed delegate WKDownloadDelegateDecidePlaceholderPolicyCallback : System.MulticastDelegate {
	// constructors
	public WKDownloadDelegateDecidePlaceholderPolicyCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (WKDownloadPlaceholderPolicy policy, Foundation.NSUrl url, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (WKDownloadPlaceholderPolicy policy, Foundation.NSUrl url);
}

New Type: WebKit.WKDownloadPlaceholderPolicy

[Serializable]
public enum WKDownloadPlaceholderPolicy {
	Disable = 0,
	Enable = 1,
}

New Type: WebKit.WKWebpagePreferencesUpgradeToHttpsPolicy

[Serializable]
public enum WKWebpagePreferencesUpgradeToHttpsPolicy {
	AutomaticFallbackToHttp = 1,
	ErrorOnFailure = 3,
	KeepAsRequested = 0,
	UserMediatedFallbackToHttp = 2,
}

New Namespace ObjCBindings

New Type: ObjCBindings.BindingTypeAttribute

public class BindingTypeAttribute : System.Attribute {
	// constructors
	public BindingTypeAttribute ();
	// properties
	public string Name { get; set; }
}

New Type: ObjCBindings.Constructor

[Serializable]
[Flags]
public enum Constructor {
	Default = 0,
	DesignatedInitializer = 4,
}

New Type: ObjCBindings.EnumValue

[Serializable]
[Flags]
public enum EnumValue {
	None = 0,
}

New Type: ObjCBindings.ExportAttribute`1

public class ExportAttribute`1 : System.Attribute {
	// constructors
	protected ExportAttribute`1 ();
	public ExportAttribute`1 (string selector);
	public ExportAttribute`1 (string selector, ObjCRuntime.ArgumentSemantic semantic);
	public ExportAttribute`1 (string selector, T flags);
	public ExportAttribute`1 (string selector, ObjCRuntime.ArgumentSemantic semantic, T flags);
	// properties
	public ObjCRuntime.ArgumentSemantic ArgumentSemantic { get; set; }
	public T Flags { get; set; }
	public string Selector { get; set; }
}

New Type: ObjCBindings.Field

[Serializable]
[Flags]
public enum Field {
	None = 0,
}

New Type: ObjCBindings.FieldAttribute`1

public class FieldAttribute`1 : System.Attribute {
	// constructors
	public FieldAttribute`1 (string symbolName);
	public FieldAttribute`1 (string symbolName, string libraryName);
	public FieldAttribute`1 (string symbolName, T flags);
	public FieldAttribute`1 (string symbolName, string libraryName, T flags);
	// properties
	public T Flags { get; set; }
	public string LibraryName { get; set; }
	public string SymbolName { get; set; }
}

New Type: ObjCBindings.Method

[Serializable]
[Flags]
public enum Method {
	Default = 0,
	IgnoredInDelegate = 8,
	IsVariadic = 4,
	MarshalNativeExceptions = 16,
}

New Type: ObjCBindings.Property

[Serializable]
[Flags]
public enum Property {
	Default = 0,
	IsThreadStaticAttribute = 4,
	Notification = 8,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment