Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created October 22, 2024 09:02
Show Gist options
  • Save vs-mobiletools-engineering-service2/24247bf3c9e07f123a48b598aaba1367 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/24247bf3c9e07f123a48b598aaba1367 to your computer and use it in GitHub Desktop.
stable-api-comparison/diff/Microsoft.MacCatalyst.md

API diff: Microsoft.MacCatalyst.dll

Microsoft.MacCatalyst.dll

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

Namespace AppKit

New Type: AppKit.NSToolbarItemVisibilityPriority

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

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string Version = "17.99.0";
+public const string Version = "18.0.9691";

Namespace StoreKit

New Type: StoreKit.AppStore

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

Namespace UIKit

Type Changed: UIKit.UISegmentedControl

Added methods:

public virtual Foundation.NSDictionary GetWeakTitleTextAttributes (UIControlState state);
public virtual void SetTitleTextAttributes (Foundation.NSDictionary attributes, UIControlState state);

Type Changed: UIKit.UISegmentedControl.UISegmentedControlAppearance

Added methods:

public virtual Foundation.NSDictionary GetWeakTitleTextAttributes (UIControlState state);
public virtual void SetTitleTextAttributes (Foundation.NSDictionary attributes, UIControlState state);

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

Added property:

public static double VisionVersionNumber { get; }

New Namespace ObjCBindings

New Type: ObjCBindings.BindingTypeAttribute

public class BindingTypeAttribute : System.Attribute {
	// constructors
	public BindingTypeAttribute ();
	// properties
	public string Name { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment