Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created November 28, 2024 19:19
Show Gist options
  • Select an option

  • Save vs-mobiletools-engineering-service2/a815ee76b17d11242e52c7a854b5f662 to your computer and use it in GitHub Desktop.

Select an option

Save vs-mobiletools-engineering-service2/a815ee76b17d11242e52c7a854b5f662 to your computer and use it in GitHub Desktop.
stable-api-comparison/diff/Microsoft.MacCatalyst.md

API diff: Microsoft.MacCatalyst.dll

Microsoft.MacCatalyst.dll

Assembly Version Changed: 18.0.0.0 -> 18.2.0.0

Namespace AVFoundation

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

New Type: AppKit.NSToolbarItemVisibilityPriority

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

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 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);

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 NetworkExtension

Type Changed: NetworkExtension.NEProviderStopReason

Added value:

InternalError = 17,

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string SdkVersion = "18.0"; +public const string SdkVersion = "18.2"; -public const string Version = "17.99.0"; +public const string Version = "18.2.9027";

Namespace StoreKit

New Type: StoreKit.AppStore

public static class AppStore { // methods public static void RequestReview (UIKit.UIWindowScene in); }

Namespace UIKit

Type Changed: UIKit.UIMenuIdentifier

Added value:

Open = 48,

Type Changed: UIKit.UIPressType

Added values:

TVRemoteFourColors = 33, TVRemoteOneTwoThree = 32,

Type Changed: UIKit.UITraitCollection

Obsoleted methods:

 [Obsolete ("Use the overload that takes a 'UITraitMutations' parameter instead.")] public virtual UITraitCollection GetTraitCollectionByModifyingTraits (System.Func<IUIMutableTraits> mutations); [Obsolete ("Use the overload that takes a 'UITraitMutations' parameter instead.")] public static UITraitCollection GetTraitCollectionWithTraits (System.Func<IUIMutableTraits> mutations);

Added methods:

public virtual UITraitCollection GetTraitCollectionByModifyingTraits (UITraitMutations mutations); public static UITraitCollection GetTraitCollectionWithTraits (UITraitMutations mutations);

New Type: UIKit.NSObject_UIAccessibilityTextOperations

public static class NSObject_UIAccessibilityTextOperations { // methods public static IUITextInput GetAccessibilityTextInputResponder (this Foundation.NSObject This); public static UITextInputReturnHandler GetAccessibilityTextInputResponderHandler (this Foundation.NSObject This); public static void SetAccessibilityTextInputResponder (this Foundation.NSObject This, IUITextInput textInput); public static void SetAccessibilityTextInputResponderHandler (this Foundation.NSObject This, UITextInputReturnHandler handler); }

New Type: UIKit.UITextInputReturnHandler

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

New Type: UIKit.UITraitMutations

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

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

New Namespace ObjCBindings

New Type: ObjCBindings.BindingTypeAttribute

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

New Type: ObjCBindings.EnumValue

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

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; } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment