# API diff: Microsoft.macOS.dll ## Microsoft.macOS.dll <h4>Assembly Version Changed: 12.3.300.0 -> 13.0.0.0</h4> ### Namespace AVFoundation #### Type Changed: AVFoundation.AVAssetDownloadDelegate Added method: ```csharp public virtual void DidCreateTask (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task); ``` #### Type Changed: AVFoundation.AVPlayerItem Added property: ```csharp public virtual Foundation.NSDictionary WeakNowPlayingInfo { get; set; } ``` ### Namespace AppKit #### Type Changed: AppKit.NSCollectionLayoutGroup Added methods: ```csharp public static NSCollectionLayoutGroup GetHorizontalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count); public static NSCollectionLayoutGroup GetVerticalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count); ``` #### Type Changed: AppKit.NSMenuToolbarItem Added constructor: ```csharp public NSMenuToolbarItem (string itemIdentifier); ``` #### Type Changed: AppKit.NSSharingServicePickerToolbarItem Added constructor: ```csharp public NSSharingServicePickerToolbarItem (string itemIdentifier); ``` #### Type Changed: AppKit.NSTextElement Added properties: ```csharp public virtual NSTextElement[] ChildElements { get; } public virtual bool IsRepresentedElement { get; } public virtual NSTextElement ParentElement { get; } ``` #### Type Changed: AppKit.NSTextList Added constructor: ```csharp public NSTextList (string markerFormat, NSTextListOptions options, nint startingItemNumber); ``` Added property: ```csharp public virtual bool Ordered { get; } ``` #### Type Changed: AppKit.NSView Added methods: ```csharp public nint AddToolTip (CoreGraphics.CGRect rect, Foundation.NSObject owner); public nint AddToolTip (CoreGraphics.CGRect rect, Foundation.NSObject owner, nint userData); ``` #### New Type: AppKit.NSTextListElement ```csharp public class NSTextListElement : AppKit.NSTextParagraph { // constructors public NSTextListElement (); public NSTextListElement (NSTextContentManager textContentManager); public NSTextListElement (Foundation.NSAttributedString attributedString); protected NSTextListElement (Foundation.NSObjectFlag t); protected NSTextListElement (ObjCRuntime.NativeHandle handle); public NSTextListElement (NSTextListElement parent, NSTextList textList, Foundation.NSAttributedString contents, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> markerAttributes, NSTextListElement[] children); // properties public virtual Foundation.NSAttributedString AttributedString { get; } public virtual NSTextListElement[] ChildElements { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Foundation.NSAttributedString Contents { get; } public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> MarkerAttributes { get; } public virtual NSTextListElement ParentElement { get; } public virtual NSTextList TextList { get; } // methods public static NSTextListElement Create (NSTextListElement[] children, NSTextList textList, nint nestingLevel); public static NSTextListElement Create (Foundation.NSAttributedString contents, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> markerAttributes, NSTextList textList, NSTextListElement[] children); protected override void Dispose (bool disposing); } ``` ### Namespace AutomaticAssessmentConfiguration #### Type Changed: AutomaticAssessmentConfiguration.AEAssessmentErrorCode Added value: ```csharp UnsupportedPlatform = 2, ``` ### Namespace CloudKit #### New Type: CloudKit.CKAllowedSharingOptions ```csharp public class CKAllowedSharingOptions : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CKAllowedSharingOptions (Foundation.NSCoder coder); protected CKAllowedSharingOptions (Foundation.NSObjectFlag t); protected CKAllowedSharingOptions (ObjCRuntime.NativeHandle handle); public CKAllowedSharingOptions (CKSharingParticipantPermissionOption allowedParticipantPermissionOptions, CKSharingParticipantAccessOption allowedParticipantAccessOptions); // properties public virtual CKSharingParticipantAccessOption AllowedParticipantAccessOptions { get; set; } public virtual CKSharingParticipantPermissionOption AllowedParticipantPermissionOptions { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public static CKAllowedSharingOptions StandardOptions { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CloudKit.CKSharingParticipantAccessOption ```csharp [Serializable] [Flags] public enum CKSharingParticipantAccessOption { Any = 3, AnyoneWithLink = 1, SpecifiedRecipientsOnly = 2, } ``` #### New Type: CloudKit.CKSharingParticipantPermissionOption ```csharp [Serializable] [Flags] public enum CKSharingParticipantPermissionOption { Any = 3, ReadOnly = 1, ReadWrite = 2, } ``` #### New Type: CloudKit.CKSystemSharingUIObserver ```csharp public class CKSystemSharingUIObserver : Foundation.NSObject { // constructors public CKSystemSharingUIObserver (CKContainer container); protected CKSystemSharingUIObserver (Foundation.NSObjectFlag t); protected CKSystemSharingUIObserver (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual System.Action<CKRecordID,CloudKit.CKShare,Foundation.NSError> SystemSharingUIDidSaveShareHandler { get; set; } public virtual System.Action<CKRecordID,Foundation.NSError> SystemSharingUIDidStopSharingHandler { get; set; } } ``` ### Namespace CoreAudioKit #### New Type: CoreAudioKit.AUGenericViewController ```csharp public class AUGenericViewController : AppKit.NSViewController { // constructors public AUGenericViewController (); public AUGenericViewController (Foundation.NSCoder coder); protected AUGenericViewController (Foundation.NSObjectFlag t); protected AUGenericViewController (ObjCRuntime.NativeHandle handle); public AUGenericViewController (string nibName, Foundation.NSBundle bundle); // properties public virtual AudioUnit.AUAudioUnit AuAudioUnit { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } } ``` ### Namespace CoreBluetooth #### Type Changed: CoreBluetooth.CBError Added values: ```csharp LEGattExceededBackgroundNotificationLimit = 17, LEGattNearBackgroundNotificationLimit = 18, ``` ### Namespace CoreImage #### Type Changed: CoreImage.CIAttributedTextImageGenerator Added property: ```csharp public float Padding { get; set; } ``` #### Type Changed: CoreImage.CIColorCube Added property: ```csharp public bool Extrapolate { get; set; } ``` #### Type Changed: CoreImage.CIColorCubeWithColorSpace Added property: ```csharp public bool Extrapolate { get; set; } ``` #### Type Changed: CoreImage.CIColorCubesMixedWithMask Added property: ```csharp public bool Extrapolate { get; set; } ``` #### Type Changed: CoreImage.CIImage Added methods: ```csharp public virtual CIImage ConvertLabToWorkingSpace (); public virtual CIImage ConvertWorkingSpaceToLab (); ``` #### Type Changed: CoreImage.CITextImageGenerator Added property: ```csharp public float Padding { get; set; } ``` #### New Type: CoreImage.CIAreaLogarithmicHistogram ```csharp public class CIAreaLogarithmicHistogram : CoreImage.CIFilter, ICIAreaLogarithmicHistogramProtocol, ICIAreaReductionFilterProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CIAreaLogarithmicHistogram (); public CIAreaLogarithmicHistogram (Foundation.NSCoder coder); protected CIAreaLogarithmicHistogram (Foundation.NSObjectFlag t); protected CIAreaLogarithmicHistogram (ObjCRuntime.NativeHandle handle); // properties public virtual IntPtr Count { get; set; } public virtual CoreGraphics.CGRect InputExtent { get; set; } public virtual CIImage InputImage { get; set; } public virtual float MaximumStop { get; set; } public virtual float MinimumStop { get; set; } public virtual CIImage OutputImage { get; } public virtual float Scale { get; set; } } ``` #### New Type: CoreImage.CIAttributedTextImageGeneratorProtocol_Extensions ```csharp public static class CIAttributedTextImageGeneratorProtocol_Extensions { // methods public static float GetPadding (this ICIAttributedTextImageGeneratorProtocol This); public static void SetPadding (this ICIAttributedTextImageGeneratorProtocol This, float value); } ``` #### New Type: CoreImage.CIColorCubeProtocol_Extensions ```csharp public static class CIColorCubeProtocol_Extensions { // methods public static bool GetExtrapolate (this ICIColorCubeProtocol This); public static void SetExtrapolate (this ICIColorCubeProtocol This, bool value); } ``` #### New Type: CoreImage.CIColorCubeWithColorSpaceProtocol_Extensions ```csharp public static class CIColorCubeWithColorSpaceProtocol_Extensions { // methods public static bool GetExtrapolate (this ICIColorCubeWithColorSpaceProtocol This); public static void SetExtrapolate (this ICIColorCubeWithColorSpaceProtocol This, bool value); } ``` #### New Type: CoreImage.CIColorCubesMixedWithMaskProtocol_Extensions ```csharp public static class CIColorCubesMixedWithMaskProtocol_Extensions { // methods public static bool GetExtrapolate (this ICIColorCubesMixedWithMaskProtocol This); public static void SetExtrapolate (this ICIColorCubesMixedWithMaskProtocol This, bool value); } ``` #### New Type: CoreImage.CIImageProcessorInput_Extensions ```csharp public static class CIImageProcessorInput_Extensions { // methods public static ulong GetDigest (this ICIImageProcessorInput This); } ``` #### New Type: CoreImage.CIImageProcessorOutput_Extensions ```csharp public static class CIImageProcessorOutput_Extensions { // methods public static ulong GetDigest (this ICIImageProcessorOutput This); } ``` #### New Type: CoreImage.CITextImageGeneratorProtocol_Extensions ```csharp public static class CITextImageGeneratorProtocol_Extensions { // methods public static float GetPadding (this ICITextImageGeneratorProtocol This); public static void SetPadding (this ICITextImageGeneratorProtocol This, float value); } ``` #### New Type: CoreImage.ICIAreaLogarithmicHistogramProtocol ```csharp public interface ICIAreaLogarithmicHistogramProtocol : ICIAreaReductionFilterProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual nint Count { get; set; } public virtual float MaximumStop { get; set; } public virtual float MinimumStop { get; set; } public virtual float Scale { get; set; } } ``` #### New Type: CoreImage.ICIConvertLabProtocol ```csharp public interface ICIConvertLabProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual CIImage InputImage { get; set; } public virtual bool Normalize { get; set; } } ``` ### Namespace CoreML #### Type Changed: CoreML.MLComputeUnits Added value: ```csharp CPUAndNeuralEngine = 3, ``` #### Type Changed: CoreML.MLModel Added methods: ```csharp public static void CompileModel (Foundation.NSUrl modelUrl, System.Action<Foundation.NSUrl,Foundation.NSError> handler); public static System.Threading.Tasks.Task<Foundation.NSUrl> CompileModelAsync (Foundation.NSUrl modelUrl); public static void Load (MLModelAsset asset, MLModelConfiguration configuration, System.Action<MLModel,Foundation.NSError> handler); public static System.Threading.Tasks.Task<MLModel> LoadAsync (MLModelAsset asset, MLModelConfiguration configuration); ``` #### Type Changed: CoreML.MLModelConfiguration Added property: ```csharp public virtual string ModelDisplayName { get; set; } ``` #### Type Changed: CoreML.MLMultiArray Added methods: ```csharp public virtual void GetBytes (System.Action<System.IntPtr,System.IntPtr> handler); public virtual System.Threading.Tasks.Task<MLMultiArrayDataPointer> GetBytesAsync (); public virtual void GetMutableBytes (System.Action<System.IntPtr,System.IntPtr,Foundation.NSArray<Foundation.NSNumber>> handler); public virtual System.Threading.Tasks.Task<MLMultiArrayMutableDataPointer> GetMutableBytesAsync (); ``` #### New Type: CoreML.MLModelAsset ```csharp public class MLModelAsset : Foundation.NSObject { // constructors protected MLModelAsset (Foundation.NSObjectFlag t); protected MLModelAsset (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } // methods public static MLModelAsset Create (Foundation.NSData specificationData, out Foundation.NSError error); } ``` #### New Type: CoreML.MLModelCompilationLoadResult ```csharp public class MLModelCompilationLoadResult { // constructors public MLModelCompilationLoadResult (MLModel arg1); // properties public MLModel Arg1 { get; set; } } ``` #### New Type: CoreML.MLModelCompilationResult ```csharp public class MLModelCompilationResult { // constructors public MLModelCompilationResult (Foundation.NSUrl arg1); // properties public Foundation.NSUrl Arg1 { get; set; } } ``` #### New Type: CoreML.MLMultiArrayDataPointer ```csharp public class MLMultiArrayDataPointer { // constructors public MLMultiArrayDataPointer (nint arg1, nint arg2); // properties public nint Arg1 { get; set; } public nint Arg2 { get; set; } } ``` #### New Type: CoreML.MLMultiArrayMutableDataPointer ```csharp public class MLMultiArrayMutableDataPointer { // constructors public MLMultiArrayMutableDataPointer (nint arg1, nint arg2, Foundation.NSArray<Foundation.NSNumber> arg3); // properties public nint Arg1 { get; set; } public nint Arg2 { get; set; } public Foundation.NSArray<Foundation.NSNumber> Arg3 { get; set; } } ``` ### Namespace CoreServices #### Type Changed: CoreServices.FSEventStream Obsoleted methods: ```diff [Obsolete ("Starting with macOS13.0 use 'SetDispatchQueue' instead.")] public void ScheduleWithRunLoop (CoreFoundation.CFRunLoop runLoop, Foundation.NSString runLoopMode); [Obsolete ("Starting with macOS13.0 use 'SetDispatchQueue' instead.")] public void UnscheduleFromRunLoop (CoreFoundation.CFRunLoop runLoop, Foundation.NSString runLoopMode); ``` ### Namespace CoreSpotlight #### Type Changed: CoreSpotlight.CSSearchQuery Added constructor: ```csharp public CSSearchQuery (string queryString, CSSearchQueryContext queryContext); ``` #### Type Changed: CoreSpotlight.CSSearchableIndex Added methods: ```csharp public virtual void FetchData (string bundleIdentifier, string itemIdentifier, UniformTypeIdentifiers.UTType contentType, System.Action<Foundation.NSData,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<Foundation.NSData> FetchDataAsync (string bundleIdentifier, string itemIdentifier, UniformTypeIdentifiers.UTType contentType); public virtual void ProvideData (string bundle, string identifier, string type, System.Action<Foundation.NSData,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<Foundation.NSData> ProvideDataAsync (string bundle, string identifier, string type); ``` #### Type Changed: CoreSpotlight.CSSearchableItem Added method: ```csharp public virtual Foundation.NSComparisonResult CompareByRank (CSSearchableItem other); ``` #### New Type: CoreSpotlight.CSSearchQueryContext ```csharp public class CSSearchQueryContext : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CSSearchQueryContext (); public CSSearchQueryContext (Foundation.NSCoder coder); protected CSSearchQueryContext (Foundation.NSObjectFlag t); protected CSSearchQueryContext (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string[] FetchAttributes { get; set; } public virtual string[] FilterQueries { get; set; } public virtual string KeyboardLanguage { get; set; } public virtual string[] ProtectionClasses { get; set; } public virtual CSSearchQuerySourceOptions SourceOptions { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreSpotlight.CSSearchQuerySourceOptions ```csharp [Serializable] public enum CSSearchQuerySourceOptions { AllowMail = 1, Default = 0, } ``` #### New Type: CoreSpotlight.CSSearchableIndexBundleDataResult ```csharp public class CSSearchableIndexBundleDataResult { // constructors public CSSearchableIndexBundleDataResult (Foundation.NSData arg1); // properties public Foundation.NSData Arg1 { get; set; } } ``` #### New Type: CoreSpotlight.CSSuggestion ```csharp public class CSSuggestion : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CSSuggestion (Foundation.NSCoder coder); protected CSSuggestion (Foundation.NSObjectFlag t); protected CSSuggestion (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public static Foundation.NSString HighlightAttributeName { get; } public virtual Foundation.NSAttributedString LocalizedAttributedSuggestion { get; } public virtual CSSuggestionKind SuggestionKind { get; } // methods public virtual Foundation.NSComparisonResult Compare (CSSuggestion other); public virtual Foundation.NSComparisonResult CompareByRank (CSSuggestion other); public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreSpotlight.CSSuggestionKind ```csharp [Serializable] public enum CSSuggestionKind { Custom = 1, Default = 2, None = 0, } ``` #### New Type: CoreSpotlight.CSUserQuery ```csharp public class CSUserQuery : CoreSpotlight.CSSearchQuery { // constructors protected CSUserQuery (Foundation.NSObjectFlag t); protected CSUserQuery (ObjCRuntime.NativeHandle handle); public CSUserQuery (string userQueryString, CSUserQueryContext userQueryContext); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual nint FoundSuggestionCount { get; } public virtual System.Action<Foundation.NSArray<CSSuggestion>> FoundSuggestionsHandler { get; set; } // methods public virtual void Cancel (); public virtual void Start (); } ``` #### New Type: CoreSpotlight.CSUserQueryContext ```csharp public class CSUserQueryContext : CoreSpotlight.CSSearchQueryContext { // constructors public CSUserQueryContext (Foundation.NSCoder coder); protected CSUserQueryContext (Foundation.NSObjectFlag t); protected CSUserQueryContext (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual bool EnableRankedResults { get; set; } public virtual nint MaxResultCount { get; set; } public virtual nint MaxSuggestionCount { get; set; } public static CSUserQueryContext UserQueryContext { get; } // methods public static CSUserQueryContext Create (CSSuggestion currentSuggestion); } ``` ### Namespace CoreText #### Type Changed: CoreText.CTFontOptions Added value: ```csharp PreventAutoDownload = 2, ``` ### Namespace EventKit #### Type Changed: EventKit.EKSource Added property: ```csharp public virtual bool IsDelegate { get; } ``` ### Namespace FileProvider #### Type Changed: FileProvider.INSFileProviderPendingSetEnumerator Added property: ```csharp public virtual bool MaximumSizeReached { get; } ``` #### Type Changed: FileProvider.NSFileProviderDomain Added properties: ```csharp public virtual bool Replicated { get; } public virtual bool SupportsSyncingTrash { get; set; } ``` #### Type Changed: FileProvider.NSFileProviderError Added values: ```csharp DomainDisabled = -2011, ExcludedFromSync = -2010, ``` #### Type Changed: FileProvider.NSFileProviderItem_Extensions Added method: ```csharp public static NSFileProviderContentPolicy GetContentPolicy (this INSFileProviderItem This); ``` #### Type Changed: FileProvider.NSFileProviderManager Added methods: ```csharp public virtual void GetService (string serviceName, string itemIdentifier, System.Action<Foundation.NSFileProviderService,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<Foundation.NSFileProviderService> GetServiceAsync (string serviceName, string itemIdentifier); public virtual void RequestDownload (string itemIdentifier, Foundation.NSRange rangeToMaterialize, System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task RequestDownloadAsync (string itemIdentifier, Foundation.NSRange rangeToMaterialize); public virtual void RequestModification (NSFileProviderItemFields fields, string itemIdentifier, NSFileProviderModifyItemOptions options, System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task RequestModificationAsync (NSFileProviderItemFields fields, string itemIdentifier, NSFileProviderModifyItemOptions options); ``` #### New Type: FileProvider.NSFileProviderContentPolicy ```csharp [Serializable] public enum NSFileProviderContentPolicy { DownloadEagerlyAndKeepDownloaded = 3, DownloadLazily = 1, DownloadLazilyAndEvictOnRemoteUpdate = 2, Inherited = 0, } ``` #### New Type: FileProvider.NSFileProviderServiceSource_Extensions ```csharp public static class NSFileProviderServiceSource_Extensions { // methods public static bool GetRestricted (this INSFileProviderServiceSource This); } ``` ### Namespace Foundation #### Type Changed: Foundation.NSActivityOptions Added values: ```csharp AnimationTrackingEnabled = 35184372088832, TrackingEnabled = 70368744177664, UserInteractive = 1095233437695, ``` #### Type Changed: Foundation.NSAttributedString Added constructors: ```csharp public NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error); public NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error); public NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error); ``` Added property: ```csharp public virtual NSAttributedString AttributedStringByInflectingString { get; } ``` #### Type Changed: Foundation.NSBundle Added method: ```csharp public virtual NSAttributedString GetLocalizedAttributedString (string key, string value, string tableName); ``` #### Type Changed: Foundation.NSByteCountFormatter Added methods: ```csharp public virtual string Create (NSUnitInformationStorage measurement); public static string Create (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle); ``` #### Type Changed: Foundation.NSCocoaError Added value: ```csharp XpcConnectionCodeSigningRequirementFailure = 4102, ``` #### Type Changed: Foundation.NSItemProvider Added constructor: ```csharp public NSItemProvider (NSUrl fileUrl, UniformTypeIdentifiers.UTType contentType, bool openInPlace, bool coordinated, NSItemProviderRepresentationVisibility visibility); ``` Added properties: ```csharp public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypes { get; } public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypesForOpenInPlace { get; } ``` Added methods: ```csharp public virtual NSProgress LoadDataRepresentation (UniformTypeIdentifiers.UTType contentType, ItemProviderDataCompletionHandler completionHandler); public virtual NSProgress LoadFileRepresentation (UniformTypeIdentifiers.UTType contentType, bool openInPlace, LoadFileRepresentationHandler completionHandler); public virtual void RegisterCKShare (CloudKit.CKContainer container, CloudKit.CKAllowedSharingOptions allowedOptions, System.Action preparationHandler); public virtual void RegisterCKShare (CloudKit.CKShare share, CloudKit.CKContainer container, CloudKit.CKAllowedSharingOptions allowedOptions); public virtual void RegisterDataRepresentation (UniformTypeIdentifiers.UTType contentType, NSItemProviderRepresentationVisibility visibility, NSItemProviderUTTypeLoadDelegate loadHandler); public virtual void RegisterFileRepresentation (UniformTypeIdentifiers.UTType contentType, NSItemProviderRepresentationVisibility visibility, bool openInPlace, NSItemProviderUTTypeLoadDelegate loadHandler); public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypesConforming (UniformTypeIdentifiers.UTType contentType); ``` #### Type Changed: Foundation.NSJsonReadingOptions Added values: ```csharp Json5Allowed = 8, TopLevelDictionaryAssumed = 16, ``` #### Type Changed: Foundation.NSMutableUrlRequest Added property: ```csharp public virtual NSURLRequestAttribution Attribution { get; set; } ``` #### Type Changed: Foundation.NSObject Added methods: ```csharp public static NSObject Alloc (ObjCRuntime.Class kls); public void Init (); public static void InvokeInBackground (System.Action action); ``` #### Type Changed: Foundation.NSPersonNameComponentsFormatter Added property: ```csharp public virtual NSLocale Locale { get; set; } ``` #### Type Changed: Foundation.NSProcessInfo Added properties: ```csharp public virtual bool LowPowerModeEnabled { get; } public static NSString PowerStateDidChangeNotification { get; } ``` #### Type Changed: Foundation.NSProcessInfo.Notifications Added methods: ```csharp public static NSObject ObservePowerStateDidChange (System.EventHandler<NSNotificationEventArgs> handler); public static NSObject ObservePowerStateDidChange (NSObject objectToObserve, System.EventHandler<NSNotificationEventArgs> handler); ``` #### Type Changed: Foundation.NSProgress Added property: ```csharp public static NSString FileOperationKindDuplicatingKey { get; } ``` #### Type Changed: Foundation.NSUrlBookmarkCreationOptions Added value: ```csharp CreationWithoutImplicitSecurityScope = 536870912, ``` #### Type Changed: Foundation.NSUrlBookmarkResolutionOptions Added value: ```csharp WithoutImplicitStartAccessing = 32768, ``` #### Type Changed: Foundation.NSUrlComponents Added property: ```csharp public virtual string EncodedHost { get; set; } ``` #### Type Changed: Foundation.NSUrlRequest Added property: ```csharp public virtual NSURLRequestAttribution Attribution { get; } ``` #### Type Changed: Foundation.NSUrlSessionConfiguration Added property: ```csharp public virtual bool RequiresDnsSecValidation { get; set; } ``` #### Type Changed: Foundation.NSUrlSessionTask Added properties: ```csharp public INSUrlSessionTaskDelegate Delegate { get; set; } public virtual NSObject WeakDelegate { get; set; } ``` #### Type Changed: Foundation.NSUrlSessionTaskDelegate Added method: ```csharp public virtual void DidCreateTask (NSUrlSession session, NSUrlSessionTask task); ``` #### Type Changed: Foundation.NSUrlSessionTaskDelegate_Extensions Added method: ```csharp public static void DidCreateTask (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task); ``` #### Type Changed: Foundation.NSUuid Added method: ```csharp public virtual NSComparisonResult Compare (NSUuid otherUuid); ``` #### Type Changed: Foundation.NSXpcConnection Added methods: ```csharp public virtual void Activate (); public virtual void SetCodeSigningRequirement (string requirement); ``` #### Type Changed: Foundation.NSXpcListener Added methods: ```csharp public virtual void Activate (); public virtual void SetConnectionCodeSigningRequirement (string requirement); ``` #### New Type: Foundation.LoadFileRepresentationHandler ```csharp public sealed delegate LoadFileRepresentationHandler : System.MulticastDelegate { // constructors public LoadFileRepresentationHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (NSUrl fileUrl, bool openInPlace, NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (NSUrl fileUrl, bool openInPlace, NSError error); } ``` #### New Type: Foundation.NSAttributedStringFormattingOptions ```csharp [Serializable] [Flags] public enum NSAttributedStringFormattingOptions { ApplyReplacementIndexAttribute = 2, InsertArgumentAttributesWithoutMerging = 1, } ``` #### New Type: Foundation.NSAttributedStringMarkdownInterpretedSyntax ```csharp [Serializable] public enum NSAttributedStringMarkdownInterpretedSyntax { Full = 0, InlineOnly = 1, InlineOnlyPreservingWhitespace = 2, } ``` #### New Type: Foundation.NSAttributedStringMarkdownParsingFailurePolicy ```csharp [Serializable] public enum NSAttributedStringMarkdownParsingFailurePolicy { Error = 0, PartiallyParsedIfPossible = 1, } ``` #### New Type: Foundation.NSAttributedStringMarkdownParsingOptions ```csharp public class NSAttributedStringMarkdownParsingOptions : Foundation.NSObject, INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSAttributedStringMarkdownParsingOptions (); protected NSAttributedStringMarkdownParsingOptions (NSObjectFlag t); protected NSAttributedStringMarkdownParsingOptions (ObjCRuntime.NativeHandle handle); // properties public virtual bool AllowsExtendedAttributes { get; set; } public virtual bool AppliesSourcePositionAttributes { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual NSAttributedStringMarkdownParsingFailurePolicy FailurePolicy { get; set; } public virtual NSAttributedStringMarkdownInterpretedSyntax InterpretedSyntax { get; set; } public virtual string LanguageCode { get; set; } // methods public virtual NSObject Copy (NSZone zone); } ``` #### New Type: Foundation.NSAttributedStringMarkdownSourcePosition ```csharp public class NSAttributedStringMarkdownSourcePosition : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSAttributedStringMarkdownSourcePosition (); public NSAttributedStringMarkdownSourcePosition (NSCoder coder); protected NSAttributedStringMarkdownSourcePosition (NSObjectFlag t); protected NSAttributedStringMarkdownSourcePosition (ObjCRuntime.NativeHandle handle); public NSAttributedStringMarkdownSourcePosition (nint startLine, nint startColumn, nint endLine, nint endColumn); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual nint EndColumn { get; } public virtual nint EndLine { get; } public virtual nint StartColumn { get; } public virtual nint StartLine { get; } // methods public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); public virtual NSRange RangeInString (string string); } ``` #### New Type: Foundation.NSAttributedStringNameKey ```csharp [Serializable] public enum NSAttributedStringNameKey { AlternateDescription = 0, ImageUrl = 1, InflectionAlternative = 3, InflectionRule = 2, InlinePresentationIntent = 4, LanguageIdentifier = 5, MarkdownSourcePosition = 6, Morphology = 7, PresentationIntentAttributeName = 8, ReplacementIndex = 9, } ``` #### New Type: Foundation.NSAttributedStringNameKeyExtensions ```csharp public static class NSAttributedStringNameKeyExtensions { // methods public static NSString GetConstant (this NSAttributedStringNameKey self); public static NSAttributedStringNameKey GetValue (NSString constant); } ``` #### New Type: Foundation.NSGrammaticalGender ```csharp [Serializable] public enum NSGrammaticalGender { Feminine = 1, Masculine = 2, Neuter = 3, NotSet = 0, } ``` #### New Type: Foundation.NSGrammaticalNumber ```csharp [Serializable] public enum NSGrammaticalNumber { NotSet = 0, Plural = 3, PluralFew = 5, PluralMany = 6, PluralTwo = 4, Singular = 1, Zero = 2, } ``` #### New Type: Foundation.NSGrammaticalPartOfSpeech ```csharp [Serializable] public enum NSGrammaticalPartOfSpeech { Abbreviation = 14, Adjective = 6, Adposition = 7, Adverb = 4, Conjunction = 10, Determiner = 1, Interjection = 12, Letter = 3, NotSet = 0, Noun = 9, Numeral = 11, Particle = 5, Preposition = 13, Pronoun = 2, Verb = 8, } ``` #### New Type: Foundation.NSInflectionRule ```csharp public class NSInflectionRule : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSInflectionRule (NSCoder coder); protected NSInflectionRule (NSObjectFlag t); protected NSInflectionRule (ObjCRuntime.NativeHandle handle); // properties public static NSInflectionRule AutomaticRule { get; } public static bool CanInflectPreferredLocalization { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } // methods public static bool CanInflectLanguage (string language); public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); } ``` #### New Type: Foundation.NSInflectionRuleExplicit ```csharp public class NSInflectionRuleExplicit : Foundation.NSInflectionRule { // constructors public NSInflectionRuleExplicit (); public NSInflectionRuleExplicit (NSCoder coder); public NSInflectionRuleExplicit (NSMorphology morphology); protected NSInflectionRuleExplicit (NSObjectFlag t); protected NSInflectionRuleExplicit (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual NSMorphology Morphology { get; } } ``` #### New Type: Foundation.NSInlinePresentationIntent ```csharp [Serializable] public enum NSInlinePresentationIntent { BlockHTML = 512, Code = 4, Emphasized = 1, InlineHTML = 256, LineBreak = 128, SoftBreak = 64, Strikethrough = 32, StronglyEmphasized = 2, } ``` #### New Type: Foundation.NSItemProviderUTTypeLoadDelegate ```csharp public sealed delegate NSItemProviderUTTypeLoadDelegate : System.MulticastDelegate { // constructors public NSItemProviderUTTypeLoadDelegate (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (ItemProviderDataCompletionHandler completionHandler, System.AsyncCallback callback, object object); public virtual NSProgress EndInvoke (System.IAsyncResult result); public virtual NSProgress Invoke (ItemProviderDataCompletionHandler completionHandler); } ``` #### New Type: Foundation.NSMorphology ```csharp public class NSMorphology : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSMorphology (); public NSMorphology (NSCoder coder); protected NSMorphology (NSObjectFlag t); protected NSMorphology (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual NSGrammaticalGender GrammaticalGender { get; set; } public virtual NSGrammaticalNumber Number { get; set; } public virtual NSGrammaticalPartOfSpeech PartOfSpeech { get; set; } public virtual bool Unspecified { get; } public static NSMorphology UserMorphology { get; } // methods public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); public virtual NSMorphologyCustomPronoun GetCustomPronoun (string language); public virtual bool SetCustomPronoun (NSMorphologyCustomPronoun features, string language, out NSError error); } ``` #### New Type: Foundation.NSMorphologyCustomPronoun ```csharp public class NSMorphologyCustomPronoun : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSMorphologyCustomPronoun (); public NSMorphologyCustomPronoun (NSCoder coder); protected NSMorphologyCustomPronoun (NSObjectFlag t); protected NSMorphologyCustomPronoun (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string ObjectForm { get; set; } public virtual string PossessiveAdjectiveForm { get; set; } public virtual string PossessiveForm { get; set; } public virtual string ReflexiveForm { get; set; } public virtual string SubjectForm { get; set; } // methods public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); public static string[] GetRequiredKeysForLanguage (string language); public static bool IsSupported (string language); } ``` #### New Type: Foundation.NSPresentationIntent ```csharp public class NSPresentationIntent : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSPresentationIntent (NSCoder coder); protected NSPresentationIntent (NSObjectFlag t); protected NSPresentationIntent (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual nint Column { get; } public virtual NSNumber[] ColumnAlignments { get; } public virtual nint ColumnCount { get; } public virtual nint HeaderLevel { get; } public virtual nint Identity { get; } public virtual nint IndentationLevel { get; } public virtual NSPresentationIntentKind IntentKind { get; } public virtual string LanguageHint { get; } public virtual nint Ordinal { get; } public virtual NSPresentationIntent ParentIntent { get; } public virtual nint Row { get; } // methods public virtual NSObject Copy (NSZone zone); public static NSPresentationIntent CreateBlockQuoteIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateCodeBlockIntent (nint identity, string languageHint, NSPresentationIntent parent); public static NSPresentationIntent CreateHeaderIntent (nint identity, nint level, NSPresentationIntent parent); public static NSPresentationIntent CreateListItemIntent (nint identity, nint ordinal, NSPresentationIntent parent); public static NSPresentationIntent CreateOrderedListIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateParagraphIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateTableCellIntent (nint identity, nint column, NSPresentationIntent parent); public static NSPresentationIntent CreateTableHeaderRowIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateTableIntent (nint identity, nint columnCount, NSNumber[] alignments, NSPresentationIntent parent); public static NSPresentationIntent CreateTableRowIntent (nint identity, nint row, NSPresentationIntent parent); public static NSPresentationIntent CreateThematicBreakIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateUnorderedListIntent (nint identity, NSPresentationIntent parent); public virtual void EncodeTo (NSCoder encoder); public virtual bool IsEquivalent (NSPresentationIntent other); } ``` #### New Type: Foundation.NSPresentationIntentKind ```csharp [Serializable] public enum NSPresentationIntentKind { BlockQuote = 6, CodeBlock = 5, Header = 1, ListItem = 4, OrderedList = 2, Paragraph = 0, Table = 8, TableCell = 11, TableHeaderRow = 9, TableRow = 10, ThematicBreak = 7, UnorderedList = 3, } ``` #### New Type: Foundation.NSPresentationIntentTableColumnAlignment ```csharp [Serializable] public enum NSPresentationIntentTableColumnAlignment { Center = 1, Left = 0, Right = 2, } ``` #### New Type: Foundation.NSURLRequestAttribution ```csharp [Serializable] public enum NSURLRequestAttribution { Developer = 0, User = 1, } ``` ### Namespace GameController #### Type Changed: GameController.GCInput Added properties: ```csharp public static Foundation.NSString LeftPaddle { get; } public static Foundation.NSString PedalAccelerator { get; } public static Foundation.NSString PedalBrake { get; } public static Foundation.NSString PedalClutch { get; } public static Foundation.NSString RightPaddle { get; } public static Foundation.NSString Shifter { get; } public static Foundation.NSString SteeringWheel { get; } ``` #### Type Changed: GameController.GCPhysicalInputProfile Added property: ```csharp public virtual System.Action<GCPhysicalInputProfile,GameController.GCControllerElement> ValueDidChangeHandler { get; set; } ``` #### Type Changed: GameController.GCProductCategory Added property: ```csharp public static Foundation.NSString GCProductCategoryHid { get; } ``` #### New Type: GameController.GCControllerUserCustomizations ```csharp public static class GCControllerUserCustomizations { // properties public static Foundation.NSString DidChangeNotification { get; } // inner types public static class Notifications { // methods public static Foundation.NSObject ObserveDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); } } ``` #### New Type: GameController.GCDevicePhysicalInputElementChange ```csharp [Serializable] public enum GCDevicePhysicalInputElementChange { Changed = 1, NoChange = 0, UnknownChange = -1, } ``` #### New Type: GameController.GCGearShifterElement ```csharp public class GCGearShifterElement : Foundation.NSObject, IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected GCGearShifterElement (Foundation.NSObjectFlag t); protected GCGearShifterElement (ObjCRuntime.NativeHandle handle); // properties public virtual Foundation.NSSet<Foundation.NSString> Aliases { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string LocalizedName { get; } public virtual IGCSwitchPositionInput PatternInput { get; } public virtual IGCRelativeInput SequentialInput { get; } public virtual string SfSymbolsName { get; } } ``` #### New Type: GameController.GCRacingWheel ```csharp public class GCRacingWheel : Foundation.NSObject, IGCDevice, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected GCRacingWheel (Foundation.NSObjectFlag t); protected GCRacingWheel (ObjCRuntime.NativeHandle handle); // properties public virtual bool Acquired { get; } public virtual GCRacingWheel Capture { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public static Foundation.NSSet<GCRacingWheel> ConnectedRacingWheels { get; } public static Foundation.NSString DidConnectNotification { get; } public static Foundation.NSString DidDisconnectNotification { get; } public virtual CoreFoundation.DispatchQueue HandlerQueue { get; set; } public virtual GCPhysicalInputProfile PhysicalInputProfile { get; } public virtual string ProductCategory { get; } public virtual bool Snapshot { get; } public virtual string VendorName { get; } public virtual GCRacingWheelInput WheelInput { get; } // methods public virtual bool AcquireDevice (out Foundation.NSError error); public virtual void RelinquishDevice (); // inner types public static class Notifications { // methods public static Foundation.NSObject ObserveDidConnect (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDidConnect (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDidDisconnect (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDidDisconnect (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); } } ``` #### New Type: GameController.GCRacingWheelInput ```csharp public class GCRacingWheelInput : GameController.GCRacingWheelInputState, IGCDevicePhysicalInput, IGCDevicePhysicalInputState, ObjCRuntime.INativeObject, System.IDisposable { // constructors public GCRacingWheelInput (); protected GCRacingWheelInput (Foundation.NSObjectFlag t); protected GCRacingWheelInput (ObjCRuntime.NativeHandle handle); // properties public virtual IGCDevicePhysicalInputState Capture { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual IGCDevice Device { get; } public virtual System.Action<IGCPhysicalInputElement> ElementValueDidChangeHandler { get; set; } public virtual System.Action InputStateAvailableHandler { get; set; } public virtual nint InputStateQueueDepth { get; set; } public virtual double LastEventLatency { get; } public virtual double LastEventTimestamp { get; } public virtual Foundation.NSObject NextInputState { get; } public GCRacingWheelInputState WheelInputCapture { get; } public IGCDevicePhysicalInputStateDiff WheelInputNextInputState { get; } // methods protected override void Dispose (bool disposing); public virtual IGCPhysicalInputElement GetObject (string key); } ``` #### New Type: GameController.GCRacingWheelInputState ```csharp public class GCRacingWheelInputState : Foundation.NSObject, IGCDevicePhysicalInputState, ObjCRuntime.INativeObject, System.IDisposable { // constructors public GCRacingWheelInputState (); protected GCRacingWheelInputState (Foundation.NSObjectFlag t); protected GCRacingWheelInputState (ObjCRuntime.NativeHandle handle); // properties public virtual IGCButtonElement AcceleratorPedal { get; } public virtual IGCButtonElement BrakePedal { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual IGCButtonElement ClutchPedal { get; } public virtual IGCDevice Device { get; } public virtual double LastEventLatency { get; } public virtual double LastEventTimestamp { get; } public virtual GCGearShifterElement Shifter { get; } public virtual GCSteeringWheelElement Wheel { get; } // methods protected override void Dispose (bool disposing); public virtual IGCPhysicalInputElement GetObject (string key); } ``` #### New Type: GameController.GCSteeringWheelElement ```csharp public class GCSteeringWheelElement : Foundation.NSObject, IGCAxisElement, IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected GCSteeringWheelElement (Foundation.NSObjectFlag t); protected GCSteeringWheelElement (ObjCRuntime.NativeHandle handle); // properties public virtual IGCAxisInput AbsoluteInput { get; } public virtual Foundation.NSSet<Foundation.NSString> Aliases { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string LocalizedName { get; } public virtual float MaximumDegreesOfRotation { get; } public virtual IGCRelativeInput RelativeInput { get; } public virtual string SfSymbolsName { get; } } ``` #### New Type: GameController.IGCAxisElement ```csharp public interface IGCAxisElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IGCAxisInput AbsoluteInput { get; } public virtual IGCRelativeInput RelativeInput { get; } } ``` #### New Type: GameController.IGCAxisInput ```csharp public interface IGCAxisInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual bool Analog { get; } public virtual bool CanWrap { get; } public virtual double LastValueLatency { get; } public virtual double LastValueTimestamp { get; } public virtual float Value { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCAxisInput,System.Single> ValueDidChangeHandler { get; set; } } ``` #### New Type: GameController.IGCButtonElement ```csharp public interface IGCButtonElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSObject PressedInput { get; } public virtual IGCTouchedStateInput TouchedInput { get; } } ``` #### New Type: GameController.IGCDevicePhysicalInput ```csharp public interface IGCDevicePhysicalInput : IGCDevicePhysicalInputState, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IGCDevicePhysicalInputState Capture { get; } public virtual IGCDevice Device { get; } public virtual System.Action<IGCPhysicalInputElement> ElementValueDidChangeHandler { get; set; } public virtual System.Action InputStateAvailableHandler { get; set; } public virtual nint InputStateQueueDepth { get; set; } public virtual Foundation.NSObject NextInputState { get; } } ``` #### New Type: GameController.IGCDevicePhysicalInputState ```csharp public interface IGCDevicePhysicalInputState : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IGCDevice Device { get; } public virtual double LastEventLatency { get; } public virtual double LastEventTimestamp { get; } // methods public virtual IGCPhysicalInputElement GetObject (string key); } ``` #### New Type: GameController.IGCDevicePhysicalInputStateDiff ```csharp public interface IGCDevicePhysicalInputStateDiff : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSEnumerator<IGCPhysicalInputElement> ChangedElements { get; } // methods public virtual GCDevicePhysicalInputElementChange GetChange (IGCPhysicalInputElement element); } ``` #### New Type: GameController.IGCDirectionPadElement ```csharp public interface IGCDirectionPadElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSObject Down { get; } public virtual Foundation.NSObject Left { get; } public virtual Foundation.NSObject Right { get; } public virtual Foundation.NSObject Up { get; } public virtual IGCAxisInput XAxis { get; } public virtual IGCAxisInput YAxis { get; } } ``` #### New Type: GameController.IGCLinearInput ```csharp public interface IGCLinearInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual bool Analog { get; } public virtual bool CanWrap { get; } public virtual double LastValueLatency { get; } public virtual double LastValueTimestamp { get; } public virtual float Value { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCLinearInput,System.Single> ValueDidChangeHandler { get; set; } } ``` #### New Type: GameController.IGCPhysicalInputElement ```csharp public interface IGCPhysicalInputElement : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSSet<Foundation.NSString> Aliases { get; } public virtual string LocalizedName { get; } public virtual string SfSymbolsName { get; } } ``` #### New Type: GameController.IGCPressedStateInput ```csharp public interface IGCPressedStateInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual double LastPressedStateLatency { get; } public virtual double LastPressedStateTimestamp { get; } public virtual bool Pressed { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCPressedStateInput,System.Boolean> PressedDidChangeHandler { get; set; } } ``` #### New Type: GameController.IGCRelativeInput ```csharp public interface IGCRelativeInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual bool Analog { get; } public virtual float Delta { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCRelativeInput,System.Single> DeltaDidChangeHandler { get; set; } public virtual double LastDeltaLatency { get; } public virtual double LastDeltaTimestamp { get; } } ``` #### New Type: GameController.IGCSwitchElement ```csharp public interface IGCSwitchElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IGCSwitchPositionInput PositionInput { get; } } ``` #### New Type: GameController.IGCSwitchPositionInput ```csharp public interface IGCSwitchPositionInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual bool CanWrap { get; } public virtual double LastPositionLatency { get; } public virtual double LastPositionTimestamp { get; } public virtual nint Position { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCSwitchPositionInput,System.IntPtr> PositionDidChangeHandler { get; set; } public virtual Foundation.NSRange PositionRange { get; } public virtual bool Sequential { get; } } ``` #### New Type: GameController.IGCTouchedStateInput ```csharp public interface IGCTouchedStateInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual double LastTouchedStateLatency { get; } public virtual double LastTouchedStateTimestamp { get; } public virtual bool Touched { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCTouchedStateInput,System.Boolean> TouchedDidChangeHandler { get; set; } } ``` ### Namespace IOSurface #### Type Changed: IOSurface.IOSurfaceOptions Added property: ```csharp public string Name { get; set; } ``` ### Namespace ImageIO #### Type Changed: ImageIO.CGImageProperties Added properties: ```csharp public static Foundation.NSString GroupImageBaseline { get; } public static Foundation.NSString GroupImageDisparityAdjustment { get; } public static Foundation.NSString HeifDictionary { get; } ``` #### New Type: ImageIO.IOCameraExtrinsics ```csharp public static class IOCameraExtrinsics { // properties public static Foundation.NSString CoordinateSystemId { get; } public static Foundation.NSString Position { get; } public static Foundation.NSString Rotation { get; } } ``` #### New Type: ImageIO.IOCameraModel ```csharp public static class IOCameraModel { // properties public static Foundation.NSString Intrinsics { get; } public static Foundation.NSString ModelType { get; } } ``` #### New Type: ImageIO.IOCameraModelType ```csharp public static class IOCameraModelType { // properties public static Foundation.NSString GenericPinhole { get; } public static Foundation.NSString SimplifiedPinhole { get; } } ``` #### New Type: ImageIO.IOMetadata ```csharp public static class IOMetadata { // properties public static Foundation.NSString CameraExtrinsicsKey { get; } public static Foundation.NSString CameraModelKey { get; } } ``` ### Namespace Intents #### Type Changed: Intents.INImage Added method: ```csharp public static INImage FromImage (AppKit.NSImage image); ``` ### Namespace MediaPlayer #### Type Changed: MediaPlayer.MPNowPlayingInfoCenter Added properties: ```csharp public static Foundation.NSString PropertyAdTimeRanges { get; } public static Foundation.NSString PropertyCreditsStartTime { get; } ``` ### Namespace MetalPerformanceShaders #### Type Changed: MetalPerformanceShaders.MPSNDArray Added methods: ```csharp public static MPSNDArray Create (Metal.IMTLDevice device, System.ReadOnlySpan<float> values, int[] shape); public void Read (System.Span<float> values); public void Write (System.ReadOnlySpan<float> values); ``` ### Namespace NaturalLanguage #### Type Changed: NaturalLanguage.NLLanguage Added value: ```csharp Kazakh = 58, ``` ### Namespace ObjCRuntime #### Type Changed: ObjCRuntime.Constants Modified fields: ```diff -public const string SdkVersion = "12.3"; +public const string SdkVersion = "13.0"; -public const string Version = "8.11.0"; +public const string Version = "8.99.0"; ``` Added fields: ```csharp public static const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets"; public static const string MetalPerformanceShadersGraphLibrary = "/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/MetalPerformanceShadersGraph"; public static const string SharedWithYouCoreLibrary = "/System/Library/Frameworks/SharedWithYouCore.framework/SharedWithYouCore"; ``` #### Type Changed: ObjCRuntime.Dlfcn Added method: ```csharp public static IntPtr dlopen (string path, Dlfcn.Mode mode); ``` #### New Type: ObjCRuntime.Dlfcn.Mode ```csharp [Serializable] [Flags] public enum Mode { First = 256, Global = 8, Lazy = 1, Local = 4, NoDelete = 128, NoLoad = 16, None = 0, Now = 2, } ``` #### Type Changed: ObjCRuntime.ThrowHelper Added methods: ```csharp public static void ThrowArgumentNullException (string argumentName, string message); public static void ThrowArgumentOutOfRangeException (string argumentName, object actualValue, string message); ``` #### New Type: ObjCRuntime.NativeNameAttribute ```csharp public sealed class NativeNameAttribute : System.Attribute { // constructors public NativeNameAttribute (string name); // properties public string NativeName { get; set; } } ``` ### Namespace PassKit #### Type Changed: PassKit.PKAddCarKeyPassConfiguration Added properties: ```csharp public virtual string ManufacturerIdentifier { get; set; } public virtual string ProvisioningTemplateIdentifier { get; set; } ``` #### Type Changed: PassKit.PKAddSecureElementPassErrorCode Added value: ```csharp OSVersionNotSupportedError = 6, ``` #### Type Changed: PassKit.PKAddShareablePassConfiguration Added methods: ```csharp public static void GetConfiguration (PKShareablePassMetadata[] passMetadata, PKAddShareablePassConfigurationPrimaryAction action, System.Action<PKAddShareablePassConfiguration,Foundation.NSError> completion); public static System.Threading.Tasks.Task<PKAddShareablePassConfiguration> GetConfigurationAsync (PKShareablePassMetadata[] passMetadata, PKAddShareablePassConfigurationPrimaryAction action); ``` #### Type Changed: PassKit.PKPassLibrary Added methods: ```csharp public virtual void GetEncryptedServiceProviderData (PKSecureElementPass secureElementPass, System.Action<Foundation.NSDictionary,Foundation.NSError> completion); public virtual System.Threading.Tasks.Task<Foundation.NSDictionary> GetEncryptedServiceProviderDataAsync (PKSecureElementPass secureElementPass); ``` #### Type Changed: PassKit.PKPaymentAuthorizationResult Added property: ```csharp public virtual PKPaymentOrderDetails OrderDetails { get; set; } ``` #### Type Changed: PassKit.PKPaymentNetwork Added properties: ```csharp public static Foundation.NSString Bancomat { get; } public static Foundation.NSString Bancontact { get; } ``` #### Type Changed: PassKit.PKPaymentRequest Added properties: ```csharp public virtual PKAutomaticReloadPaymentRequest AutomaticReloadPaymentRequest { get; set; } public virtual PKPaymentTokenContext[] MultiTokenContexts { get; set; } public virtual PKRecurringPaymentRequest RecurringPaymentRequest { get; set; } ``` #### Type Changed: PassKit.PKPaymentRequestCouponCodeUpdate Added properties: ```csharp public virtual PKAutomaticReloadPaymentRequest AutomaticReloadPaymentRequest { get; set; } public virtual PKPaymentTokenContext[] MultiTokenContexts { get; set; } public virtual PKRecurringPaymentRequest RecurringPaymentRequest { get; set; } ``` #### Type Changed: PassKit.PKPaymentRequestUpdate Added properties: ```csharp public virtual PKAutomaticReloadPaymentRequest AutomaticReloadPaymentRequest { get; set; } public virtual PKPaymentTokenContext[] MultiTokenContexts { get; set; } public virtual PKRecurringPaymentRequest RecurringPaymentRequest { get; set; } ``` #### Type Changed: PassKit.PKShareablePassMetadata Added constructors: ```csharp public PKShareablePassMetadata (string credentialIdentifier, string sharingInstanceIdentifier, string templateIdentifier, PKShareablePassMetadataPreview preview); public PKShareablePassMetadata (string credentialIdentifier, string sharingInstanceIdentifier, string templateIdentifier, PKShareablePassMetadataPreview preview, PKShareablePassMetadata.CardType cardType); ``` Modified properties: ```diff -public virtual string AccountHash { get; set; } +public virtual string AccountHash { get; } -public virtual string RelyingPartyIdentifier { get; set; } +public virtual string RelyingPartyIdentifier { get; } -public virtual bool RequiresUnifiedAccessCapableDevice { get; set; } +public virtual bool RequiresUnifiedAccessCapableDevice { get; } ``` Added properties: ```csharp public virtual string CardTemplateIdentifier { get; } public virtual PKShareablePassMetadataPreview Preview { get; } public virtual string ServerEnvironmentIdentifier { get; set; } ``` #### New Type: PassKit.IPKVehicleConnectionDelegate ```csharp public interface IPKVehicleConnectionDelegate : ObjCRuntime.INativeObject, System.IDisposable { // methods public virtual void SessionDidChangeConnectionState (PKVehicleConnectionSessionConnectionState newState); public virtual void SessionDidReceiveData (Foundation.NSData data); } ``` #### New Type: PassKit.PKAutomaticReloadPaymentRequest ```csharp public class PKAutomaticReloadPaymentRequest : Foundation.NSObject { // constructors protected PKAutomaticReloadPaymentRequest (Foundation.NSObjectFlag t); protected PKAutomaticReloadPaymentRequest (ObjCRuntime.NativeHandle handle); public PKAutomaticReloadPaymentRequest (string paymentDescription, PKAutomaticReloadPaymentSummaryItem automaticReloadBilling, Foundation.NSUrl managementUrl); // properties public virtual PKAutomaticReloadPaymentSummaryItem AutomaticReloadBilling { get; set; } public virtual string BillingAgreement { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Foundation.NSUrl ManagementUrl { get; set; } public virtual string PaymentDescription { get; set; } public virtual Foundation.NSUrl TokenNotificationUrl { get; set; } } ``` #### New Type: PassKit.PKAutomaticReloadPaymentSummaryItem ```csharp public class PKAutomaticReloadPaymentSummaryItem : PassKit.PKPaymentSummaryItem { // constructors public PKAutomaticReloadPaymentSummaryItem (); protected PKAutomaticReloadPaymentSummaryItem (Foundation.NSObjectFlag t); protected PKAutomaticReloadPaymentSummaryItem (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Foundation.NSDecimalNumber ThresholdAmount { get; set; } } ``` #### New Type: PassKit.PKPaymentOrderDetails ```csharp public class PKPaymentOrderDetails : Foundation.NSObject { // constructors protected PKPaymentOrderDetails (Foundation.NSObjectFlag t); protected PKPaymentOrderDetails (ObjCRuntime.NativeHandle handle); public PKPaymentOrderDetails (string orderTypeIdentifier, string orderIdentifier, Foundation.NSUrl webServiceUrl, string authenticationToken); // properties public virtual string AuthenticationToken { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string OrderIdentifier { get; set; } public virtual string OrderTypeIdentifier { get; set; } public virtual Foundation.NSUrl WebServiceUrl { get; set; } } ``` #### New Type: PassKit.PKPaymentTokenContext ```csharp public class PKPaymentTokenContext : Foundation.NSObject { // constructors protected PKPaymentTokenContext (Foundation.NSObjectFlag t); protected PKPaymentTokenContext (ObjCRuntime.NativeHandle handle); public PKPaymentTokenContext (string merchantIdentifier, string externalIdentifier, string merchantName, string merchantDomain, Foundation.NSDecimalNumber amount); // properties public virtual Foundation.NSDecimalNumber Amount { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string ExternalIdentifier { get; set; } public virtual string MerchantDomain { get; set; } public virtual string MerchantIdentifier { get; set; } public virtual string MerchantName { get; set; } } ``` #### New Type: PassKit.PKRecurringPaymentRequest ```csharp public class PKRecurringPaymentRequest : Foundation.NSObject { // constructors protected PKRecurringPaymentRequest (Foundation.NSObjectFlag t); protected PKRecurringPaymentRequest (ObjCRuntime.NativeHandle handle); public PKRecurringPaymentRequest (string paymentDescription, PKRecurringPaymentSummaryItem regularBilling, Foundation.NSUrl managementUrl); // properties public virtual string BillingAgreement { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Foundation.NSUrl ManagementUrl { get; set; } public virtual string PaymentDescription { get; set; } public virtual PKRecurringPaymentSummaryItem RegularBilling { get; set; } public virtual Foundation.NSUrl TokenNotificationUrl { get; set; } public virtual PKRecurringPaymentSummaryItem TrialBilling { get; set; } } ``` #### New Type: PassKit.PKShareSecureElementPassErrorCode ```csharp [Serializable] public enum PKShareSecureElementPassErrorCode { SetupError = 1, UnknownError = 0, } ``` #### New Type: PassKit.PKShareSecureElementPassErrorCodeExtensions ```csharp public static class PKShareSecureElementPassErrorCodeExtensions { // methods public static Foundation.NSString GetDomain (this PKShareSecureElementPassErrorCode self); } ``` #### New Type: PassKit.PKShareablePassMetadataPreview ```csharp public class PKShareablePassMetadataPreview : Foundation.NSObject { // constructors protected PKShareablePassMetadataPreview (Foundation.NSObjectFlag t); protected PKShareablePassMetadataPreview (ObjCRuntime.NativeHandle handle); public PKShareablePassMetadataPreview (string templateIdentifier); public PKShareablePassMetadataPreview (CoreGraphics.CGImage passThumbnail, string description); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string LocalizedDescription { get; } public virtual string OwnerDisplayName { get; set; } public virtual CoreGraphics.CGImage PassThumbnailImage { get; } public virtual string ProvisioningTemplateIdentifier { get; } // methods public static PKShareablePassMetadataPreview PreviewWithPassThumbnail (CoreGraphics.CGImage passThumbnail, string description); public static PKShareablePassMetadataPreview PreviewWithTemplateIdentifier (string templateIdentifier); } ``` #### New Type: PassKit.PKVehicleConnectionDelegate ```csharp public abstract class PKVehicleConnectionDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, IPKVehicleConnectionDelegate, System.IDisposable { // constructors protected PKVehicleConnectionDelegate (); protected PKVehicleConnectionDelegate (Foundation.NSObjectFlag t); protected PKVehicleConnectionDelegate (ObjCRuntime.NativeHandle handle); // methods public virtual void SessionDidChangeConnectionState (PKVehicleConnectionSessionConnectionState newState); public virtual void SessionDidReceiveData (Foundation.NSData data); } ``` #### New Type: PassKit.PKVehicleConnectionErrorCode ```csharp [Serializable] public enum PKVehicleConnectionErrorCode { SessionNotActive = 2, SessionUnableToStart = 1, Unknown = 0, } ``` #### New Type: PassKit.PKVehicleConnectionSession ```csharp public class PKVehicleConnectionSession : Foundation.NSObject { // constructors protected PKVehicleConnectionSession (Foundation.NSObjectFlag t); protected PKVehicleConnectionSession (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual PKVehicleConnectionSessionConnectionState ConnectionStatus { get; } public IPKVehicleConnectionDelegate Delegate { get; } public virtual Foundation.NSObject WeakDelegate { get; } // methods protected override void Dispose (bool disposing); public static void GetSession (PKSecureElementPass pass, IPKVehicleConnectionDelegate delegate, System.Action<PKVehicleConnectionSession,Foundation.NSError> completion); public static System.Threading.Tasks.Task<PKVehicleConnectionSession> GetSessionAsync (PKSecureElementPass pass, IPKVehicleConnectionDelegate delegate); public virtual void Invalidate (); public virtual bool SendData (Foundation.NSData message, out Foundation.NSError error); } ``` #### New Type: PassKit.PKVehicleConnectionSessionConnectionState ```csharp [Serializable] public enum PKVehicleConnectionSessionConnectionState { Connected = 1, Connecting = 2, Disconnected = 0, FailedToConnect = 3, } ``` ### Namespace PencilKit #### Type Changed: PencilKit.PKStroke Added constructor: ```csharp public PKStroke (PKInk ink, PKStrokePath strokePath, CoreGraphics.CGAffineTransform transform, AppKit.NSBezierPath mask, uint randomSeed); ``` Added property: ```csharp public virtual uint RandomSeed { get; } ``` ### Namespace Phase #### Type Changed: Phase.PhaseCurveType Added values: ```csharp HoldStartValue = 1668434003, JumpToEndValue = 1668434501, ``` #### Type Changed: Phase.PhaseError Added value: ```csharp InvalidObject = 1346913634, ``` ### Namespace ScreenCaptureKit #### Type Changed: ScreenCaptureKit.SCStream Added property: ```csharp public virtual CoreMedia.CMClock SynchronizationClock { get; } ``` #### Type Changed: ScreenCaptureKit.SCStreamConfiguration Added properties: ```csharp public virtual bool CapturesAudio { get; set; } public virtual nint ChannelCount { get; set; } public virtual bool ExcludesCurrentProcessAudio { get; set; } public virtual nint SampleRate { get; set; } ``` #### Type Changed: ScreenCaptureKit.SCStreamErrorCode Added values: ```csharp FailedToStartAudioCapture = -3818, FailedToStopAudioCapture = -3819, UserStopped = -3817, ``` #### Type Changed: ScreenCaptureKit.SCStreamOutputType Added value: ```csharp Audio = 1, ``` ### Namespace ShazamKit #### Type Changed: ShazamKit.SHErrorCode Added value: ```csharp InternalError = 500, ``` #### Type Changed: ShazamKit.SHMediaItem Added properties: ```csharp public virtual SHRange[] FrequencySkewRanges { get; } public virtual SHRange[] TimeRanges { get; } ``` #### Type Changed: ShazamKit.SHMediaItemProperty Added values: ```csharp FrequencySkewRanges = 15, TimeRanges = 14, ``` #### Type Changed: ShazamKit.SHSignatureGenerator Added methods: ```csharp public static void GenerateSignature (AVFoundation.AVAsset asset, System.Action<SHSignature,Foundation.NSError> completionHandler); public static System.Threading.Tasks.Task<SHSignature> GenerateSignatureAsync (AVFoundation.AVAsset asset); ``` #### New Type: ShazamKit.SHRange ```csharp public class SHRange : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SHRange (Foundation.NSCoder coder); protected SHRange (Foundation.NSObjectFlag t); protected SHRange (ObjCRuntime.NativeHandle handle); public SHRange (double lowerBound, double upperBound); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual double LowerBound { get; } public virtual double UpperBound { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static SHRange CreateRange (double lowerBound, double upperBound); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` ### Namespace Speech #### Type Changed: Speech.SFSpeechRecognitionRequest Added property: ```csharp public virtual bool AddsPunctuation { get; set; } ``` ### Namespace UniformTypeIdentifiers #### Type Changed: UniformTypeIdentifiers.UTType Added properties: ```csharp public static UTType SHCustomCatalogContentType { get; } public static UTType SHSignatureContentType { get; } ``` ### Namespace UserNotifications #### Type Changed: UserNotifications.UNErrorCode Added value: ```csharp BadgeInputInvalid = 1600, ``` #### Type Changed: UserNotifications.UNMutableNotificationContent Added property: ```csharp public virtual string FilterCriteria { get; set; } ``` #### Type Changed: UserNotifications.UNNotificationContent Added property: ```csharp public virtual string FilterCriteria { get; } ``` #### Type Changed: UserNotifications.UNNotificationInterruptionLevel Obsoleted fields: ```diff [Obsolete ("Use 'Active2'.")] Active = 0, [Obsolete ("Use 'Critical2'.")] Critical = 1, [Obsolete ("Use 'Passive2'.")] Passive = 2, [Obsolete ("Use 'TimeSensitive2'.")] TimeSensitive = 3, ``` Added values: ```csharp Active2 = 1, Critical2 = 3, Passive2 = 0, TimeSensitive2 = 2, ``` #### Type Changed: UserNotifications.UNUserNotificationCenter Added methods: ```csharp public virtual void SetBadgeCount (nint newBadgeCount, System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task SetBadgeCountAsync (nint newBadgeCount); ``` ### Namespace VideoSubscriberAccount #### New Type: VideoSubscriberAccount.VSOriginatingDeviceCategory ```csharp [Serializable] public enum VSOriginatingDeviceCategory { Mobile = 0, Other = 1, } ``` #### New Type: VideoSubscriberAccount.VSUserAccount ```csharp public class VSUserAccount : Foundation.NSObject { // constructors protected VSUserAccount (Foundation.NSObjectFlag t); protected VSUserAccount (ObjCRuntime.NativeHandle handle); public VSUserAccount (VSUserAccountType accountType, Foundation.NSUrl url); // properties public virtual string AccountProviderIdentifier { get; set; } public virtual VSUserAccountType AccountType { get; set; } public virtual string AuthenticationData { get; set; } public virtual string BillingIdentifier { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual bool Deleted { get; set; } public virtual VSOriginatingDeviceCategory DeviceCategory { get; } public virtual bool FromCurrentDevice { get; } public virtual string Identifier { get; set; } public virtual bool RequiresSystemTrust { get; set; } public virtual Foundation.NSDate SubscriptionBillingCycleEndDate { get; set; } public virtual string[] TierIdentifiers { get; set; } public virtual Foundation.NSUrl UpdateUrl { get; set; } } ``` #### New Type: VideoSubscriberAccount.VSUserAccountManager ```csharp public class VSUserAccountManager : Foundation.NSObject { // constructors protected VSUserAccountManager (Foundation.NSObjectFlag t); protected VSUserAccountManager (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public static VSUserAccountManager SharedUserAccountManager { get; } // methods public virtual void QueryUserAccounts (VSUserAccountQueryOptions options, System.Action<Foundation.NSArray<VSUserAccount>> completion); public virtual System.Threading.Tasks.Task<Foundation.NSArray<VSUserAccount>> QueryUserAccountsAsync (VSUserAccountQueryOptions options); public virtual void UpdateUserAccount (VSUserAccount account, System.Action<Foundation.NSError> completion); public virtual System.Threading.Tasks.Task UpdateUserAccountAsync (VSUserAccount account); } ``` #### New Type: VideoSubscriberAccount.VSUserAccountQueryOption ```csharp [Serializable] public enum VSUserAccountQueryOption { AllDevices = 1, None = 0, } ``` #### New Type: VideoSubscriberAccount.VSUserAccountQueryOptions ```csharp [Serializable] [Flags] public enum VSUserAccountQueryOptions { AllDevices = 1, None = 0, } ``` #### New Type: VideoSubscriberAccount.VSUserAccountType ```csharp [Serializable] public enum VSUserAccountType { Free = 0, Paid = 1, } ``` ### Namespace Vision #### Type Changed: Vision.VNErrorCode Added values: ```csharp Timeout = 20, TuriCore = -1, ``` #### Type Changed: Vision.VNFaceLandmarkRegion2D Added property: ```csharp public virtual VNPointsClassification PointsClassification { get; } ``` #### Type Changed: Vision.VNGenerateOpticalFlowRequest Added property: ```csharp public virtual bool KeepNetworkOutput { get; set; } ``` #### Type Changed: Vision.VNHorizonObservation Added method: ```csharp public virtual CoreGraphics.CGAffineTransform CreateTransform (nuint width, nuint height); ``` #### Type Changed: Vision.VNImageCropAndScaleOption Added values: ```csharp ScaleFillRotate90Ccw = 258, ScaleFitRotate90Ccw = 257, ``` #### Type Changed: Vision.VNRecognizeTextRequest Added property: ```csharp public virtual bool AutomaticallyDetectsLanguage { get; set; } ``` #### New Type: Vision.VNPointsClassification ```csharp [Serializable] public enum VNPointsClassification { ClosedPath = 2, Disconnected = 0, OpenPath = 1, } ``` ### Namespace WebKit #### Type Changed: WebKit.WKErrorCode Added values: ```csharp CredentialNotFound = 17, DuplicateCredential = 15, MalformedCredential = 16, ``` #### Type Changed: WebKit.WKWebView Added properties: ```csharp public virtual AppKit.NSEdgeInsets MaximumViewportInset { get; } public virtual AppKit.NSEdgeInsets MinimumViewportInset { get; } ``` Added method: ```csharp public virtual void SetViewportInsets (AppKit.NSEdgeInsets minimumViewportInset, AppKit.NSEdgeInsets maximumViewportInset); ``` #### Type Changed: WebKit.WKWebpagePreferences Added property: ```csharp public virtual bool LockdownModeEnabled { get; set; } ``` #### Type Changed: WebKit.WKWebsiteDataType Added property: ```csharp public static Foundation.NSString FileSystem { get; } ``` #### New Type: WebKit.WKDialogResult ```csharp [Serializable] public enum WKDialogResult { AskAgain = 2, Handled = 3, ShowDefault = 1, } ``` ### Namespace iTunesLibrary #### New Type: iTunesLibrary.ITLibraryNotifications ```csharp public static class ITLibraryNotifications { // properties public static Foundation.NSString DidChangeNotification { get; } // inner types public static class Notifications { // methods public static Foundation.NSObject ObserveDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); } } ``` ### New Namespace BackgroundAssets #### New Type: BackgroundAssets.BAAppExtensionInfo ```csharp public class BAAppExtensionInfo : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public BAAppExtensionInfo (Foundation.NSCoder coder); protected BAAppExtensionInfo (Foundation.NSObjectFlag t); protected BAAppExtensionInfo (ObjCRuntime.NativeHandle handle); // properties public virtual string ApplicationIdentifier { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual bool DownloadSizeRestricted { get; } public virtual Foundation.NSDate LastApplicationLaunchTime { get; } public virtual Foundation.NSDate LastPeriodicCheckTime { get; } // methods public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: BackgroundAssets.BADownload ```csharp public class BADownload : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public BADownload (Foundation.NSCoder coder); protected BADownload (Foundation.NSObjectFlag t); protected BADownload (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Foundation.NSError Error { get; } public virtual string Identifier { get; } public virtual nint Priority { get; } public virtual BADownloadState State { get; } public virtual string UniqueIdentifier { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: BackgroundAssets.BADownloadManager ```csharp public class BADownloadManager : Foundation.NSObject { // constructors protected BADownloadManager (Foundation.NSObjectFlag t); protected BADownloadManager (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public IBADownloadManagerDelegate Delegate { get; set; } public static BADownloadManager SharedManager { get; } public virtual Foundation.NSObject WeakDelegate { get; set; } // methods public virtual bool CancelDownload (BADownload download, out Foundation.NSError error); protected override void Dispose (bool disposing); public virtual void FetchCurrentDownloads (System.Action<Foundation.NSArray<BADownload>> completionHandler); public virtual System.Threading.Tasks.Task<Foundation.NSArray<BADownload>> FetchCurrentDownloadsAsync (); public virtual void PerformWithExclusiveControl (System.Action<Foundation.NSError> performHandler); public virtual void PerformWithExclusiveControl (Foundation.NSDate date, System.Action<System.Boolean,Foundation.NSError> performHandler); public virtual bool ScheduleDownload (BADownload download, out Foundation.NSError outError); public virtual bool StartForegroundDownload (BADownload download, out Foundation.NSError outError); } ``` #### New Type: BackgroundAssets.BADownloadManagerDelegate ```csharp public class BADownloadManagerDelegate : Foundation.NSObject, IBADownloadManagerDelegate, ObjCRuntime.INativeObject, System.IDisposable { // constructors public BADownloadManagerDelegate (); protected BADownloadManagerDelegate (Foundation.NSObjectFlag t); protected BADownloadManagerDelegate (ObjCRuntime.NativeHandle handle); // methods public virtual void DidBegin (BADownload download); public virtual void DidPause (BADownload download); public virtual void DidReceiveChallenge (BADownload download, Foundation.NSUrlAuthenticationChallenge challenge, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler); public virtual void DidWriteBytes (BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes); public virtual void Failed (BADownload download, Foundation.NSError error); public virtual void Finished (BADownload download, Foundation.NSUrl fileUrl); } ``` #### New Type: BackgroundAssets.BADownloadManagerDelegate_Extensions ```csharp public static class BADownloadManagerDelegate_Extensions { // methods public static void DidBegin (this IBADownloadManagerDelegate This, BADownload download); public static void DidPause (this IBADownloadManagerDelegate This, BADownload download); public static void DidReceiveChallenge (this IBADownloadManagerDelegate This, BADownload download, Foundation.NSUrlAuthenticationChallenge challenge, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler); public static void DidWriteBytes (this IBADownloadManagerDelegate This, BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes); public static void Failed (this IBADownloadManagerDelegate This, BADownload download, Foundation.NSError error); public static void Finished (this IBADownloadManagerDelegate This, BADownload download, Foundation.NSUrl fileUrl); } ``` #### New Type: BackgroundAssets.BADownloadState ```csharp [Serializable] public enum BADownloadState { Created = 0, Downloading = 2, Failed = -1, Finished = 3, Waiting = 1, } ``` #### New Type: BackgroundAssets.BADownloaderExtension_Extensions ```csharp public static class BADownloaderExtension_Extensions { // methods public static void BackgroundDownloadDidFail (this IBADownloaderExtension This, BADownload failedDownload); public static void BackgroundDownloadDidFinish (this IBADownloaderExtension This, BADownload finishedDownload, Foundation.NSUrl fileUrl); public static void CheckForUpdates (this IBADownloaderExtension This, BAAppExtensionInfo metadata); public static void DidInstallWithMetadata (this IBADownloaderExtension This, BAAppExtensionInfo metadata); public static void DidUpdateWithMetadata (this IBADownloaderExtension This, BAAppExtensionInfo metadata); public static void ExtensionWillTerminate (this IBADownloaderExtension This); public static void ReceivedAuthenticationChallenge (this IBADownloaderExtension This, Foundation.NSUrlAuthenticationChallenge challenge, BADownload download, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler); } ``` #### New Type: BackgroundAssets.BAUrlDownload ```csharp public class BAUrlDownload : BackgroundAssets.BADownload { // constructors public BAUrlDownload (Foundation.NSCoder coder); protected BAUrlDownload (Foundation.NSObjectFlag t); protected BAUrlDownload (ObjCRuntime.NativeHandle handle); public BAUrlDownload (string identifier, Foundation.NSUrlRequest request, string applicationGroupIdentifier); public BAUrlDownload (string identifier, Foundation.NSUrlRequest request, string applicationGroupIdentifier, nint priority); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public static nint DefaultPriority { get; } public static nint MaxPriority { get; } public static nint MinPriority { get; } } ``` #### New Type: BackgroundAssets.IBADownloadManagerDelegate ```csharp public interface IBADownloadManagerDelegate : ObjCRuntime.INativeObject, System.IDisposable { } ``` #### New Type: BackgroundAssets.IBADownloaderExtension ```csharp public interface IBADownloaderExtension : ObjCRuntime.INativeObject, System.IDisposable { } ``` ### New Namespace MetalPerformanceShadersGraph #### New Type: MetalPerformanceShadersGraph.MPSGraph ```csharp public class MPSGraph : Foundation.NSObject { // constructors public MPSGraph (); protected MPSGraph (Foundation.NSObjectFlag t); protected MPSGraph (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MPSGraphOptions Options { get; set; } public virtual MPSGraphTensor[] PlaceholderTensors { get; } // methods public virtual MPSGraphExecutable Compile (MPSGraphDevice device, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphShapedType> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations, MPSGraphCompilationDescriptor compilationDescriptor); public static MPSGraph Create (); public virtual void Encode (MetalPerformanceShaders.MPSCommandBuffer commandBuffer, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphOperation[] targetOperations, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, MPSGraphExecutionDescriptor executionDescriptor); public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> Encode (MetalPerformanceShaders.MPSCommandBuffer commandBuffer, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations, MPSGraphExecutionDescriptor executionDescriptor); public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> Run (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations); public virtual void Run (Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphOperation[] targetOperations, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary); public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> Run (Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations); public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> RunAsync (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations, MPSGraphExecutionDescriptor executionDescriptor); public virtual void RunAsync (Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphOperation[] targetOperations, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, MPSGraphExecutionDescriptor executionDescriptor); public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> RunAsync (Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations, MPSGraphExecutionDescriptor executionDescriptor); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphCompilationDescriptor ```csharp public class MPSGraphCompilationDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphCompilationDescriptor (); protected MPSGraphCompilationDescriptor (Foundation.NSObjectFlag t); protected MPSGraphCompilationDescriptor (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void DisableTypeInference (); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphCompletionHandler ```csharp public sealed delegate MPSGraphCompletionHandler : System.MulticastDelegate { // constructors public MPSGraphCompletionHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, Foundation.NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, Foundation.NSError error); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphControlFlowDependencyBlock ```csharp public sealed delegate MPSGraphControlFlowDependencyBlock : System.MulticastDelegate { // constructors public MPSGraphControlFlowDependencyBlock (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (System.AsyncCallback callback, object object); public virtual MPSGraphTensor[] EndInvoke (System.IAsyncResult result); public virtual MPSGraphTensor[] Invoke (); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphConvolution2DOpDescriptor ```csharp public class MPSGraphConvolution2DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphConvolution2DOpDescriptor (); protected MPSGraphConvolution2DOpDescriptor (Foundation.NSObjectFlag t); protected MPSGraphConvolution2DOpDescriptor (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MPSGraphTensorNamedDataLayout DataLayout { get; set; } public virtual nuint DilationRateInX { get; set; } public virtual nuint DilationRateInY { get; set; } public virtual nuint Groups { get; set; } public virtual nuint PaddingBottom { get; set; } public virtual nuint PaddingLeft { get; set; } public virtual nuint PaddingRight { get; set; } public virtual MPSGraphPaddingStyle PaddingStyle { get; set; } public virtual nuint PaddingTop { get; set; } public virtual nuint StrideInX { get; set; } public virtual nuint StrideInY { get; set; } public virtual MPSGraphTensorNamedDataLayout WeightsLayout { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static MPSGraphConvolution2DOpDescriptor Create (nuint strideInX, nuint strideInY, nuint dilationRateInX, nuint dilationRateInY, nuint groups, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout); public static MPSGraphConvolution2DOpDescriptor Create (nuint strideInX, nuint strideInY, nuint dilationRateInX, nuint dilationRateInY, nuint groups, nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout); public virtual void SetExplicitPadding (nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphCreateSparseOpDescriptor ```csharp public class MPSGraphCreateSparseOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphCreateSparseOpDescriptor (); protected MPSGraphCreateSparseOpDescriptor (Foundation.NSObjectFlag t); protected MPSGraphCreateSparseOpDescriptor (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MetalPerformanceShaders.MPSDataType DataType { get; set; } public virtual MPSGraphSparseStorageType SparseStorageType { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static MPSGraphCreateSparseOpDescriptor Create (MPSGraphSparseStorageType sparseStorageType, MetalPerformanceShaders.MPSDataType dataType); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphDepthwiseConvolution2DOpDescriptor ```csharp public class MPSGraphDepthwiseConvolution2DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphDepthwiseConvolution2DOpDescriptor (); protected MPSGraphDepthwiseConvolution2DOpDescriptor (Foundation.NSObjectFlag t); protected MPSGraphDepthwiseConvolution2DOpDescriptor (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MPSGraphTensorNamedDataLayout DataLayout { get; set; } public virtual nuint DilationRateInX { get; set; } public virtual nuint DilationRateInY { get; set; } public virtual nuint PaddingBottom { get; set; } public virtual nuint PaddingLeft { get; set; } public virtual nuint PaddingRight { get; set; } public virtual MPSGraphPaddingStyle PaddingStyle { get; set; } public virtual nuint PaddingTop { get; set; } public virtual nuint StrideInX { get; set; } public virtual nuint StrideInY { get; set; } public virtual MPSGraphTensorNamedDataLayout WeightsLayout { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static MPSGraphDepthwiseConvolution2DOpDescriptor Create (MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout); public static MPSGraphDepthwiseConvolution2DOpDescriptor Create (nuint strideInX, nuint strideInY, nuint dilationRateInX, nuint dilationRateInY, nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout); public virtual void SetExplicitPadding (nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphDepthwiseConvolution3DOpDescriptor ```csharp public class MPSGraphDepthwiseConvolution3DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphDepthwiseConvolution3DOpDescriptor (); protected MPSGraphDepthwiseConvolution3DOpDescriptor (Foundation.NSObjectFlag t); protected MPSGraphDepthwiseConvolution3DOpDescriptor (ObjCRuntime.NativeHandle handle); // properties public virtual nint ChannelDimensionIndex { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual int[] DilationRates { get; set; } public virtual MPSGraphPaddingStyle PaddingStyle { get; set; } public virtual int[] PaddingValues { get; set; } public virtual int[] Strides { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static MPSGraphDepthwiseConvolution3DOpDescriptor Create (MPSGraphPaddingStyle paddingStyle); public static MPSGraphDepthwiseConvolution3DOpDescriptor Create (int[] strides, int[] dilationRates, int[] paddingValues, MPSGraphPaddingStyle paddingStyle); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphDevice ```csharp public class MPSGraphDevice : Foundation.NSObject { // constructors public MPSGraphDevice (); protected MPSGraphDevice (Foundation.NSObjectFlag t); protected MPSGraphDevice (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Metal.IMTLDevice MetalDevice { get; } public virtual MPSGraphDeviceType Type { get; } // methods public static MPSGraphDevice Create (Metal.IMTLDevice metalDevice); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphDeviceType ```csharp [Serializable] public enum MPSGraphDeviceType { Metal = 0, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphExecutable ```csharp public class MPSGraphExecutable : Foundation.NSObject { // constructors public MPSGraphExecutable (); protected MPSGraphExecutable (Foundation.NSObjectFlag t); protected MPSGraphExecutable (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MPSGraphTensor[] FeedTensors { get; } public virtual MPSGraphOptions Options { get; set; } public virtual MPSGraphTensor[] TargetTensors { get; } // methods public virtual MPSGraphTensorData[] Encode (MetalPerformanceShaders.MPSCommandBuffer commandBuffer, MPSGraphTensorData[] inputsArray, MPSGraphTensorData[] resultsArray, MPSGraphExecutableExecutionDescriptor executionDescriptor); public virtual MPSGraphTensorData[] Run (Metal.IMTLCommandQueue commandQueue, MPSGraphTensorData[] inputsArray, MPSGraphTensorData[] resultsArray, MPSGraphExecutableExecutionDescriptor executionDescriptor); public virtual MPSGraphTensorData[] RunAsync (Metal.IMTLCommandQueue commandQueue, MPSGraphTensorData[] inputsArray, MPSGraphTensorData[] resultsArray, MPSGraphExecutableExecutionDescriptor executionDescriptor); public virtual void Specialize (MPSGraphDevice device, MPSGraphType[] inputTypes, MPSGraphCompilationDescriptor compilationDescriptor); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphExecutableCompletionHandler ```csharp public sealed delegate MPSGraphExecutableCompletionHandler : System.MulticastDelegate { // constructors public MPSGraphExecutableCompletionHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (MPSGraphTensorData[] results, Foundation.NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (MPSGraphTensorData[] results, Foundation.NSError error); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor ```csharp public class MPSGraphExecutableExecutionDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphExecutableExecutionDescriptor (); protected MPSGraphExecutableExecutionDescriptor (Foundation.NSObjectFlag t); protected MPSGraphExecutableExecutionDescriptor (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MPSGraphExecutableCompletionHandler CompletionHandler { get; set; } public virtual MPSGraphExecutableScheduledHandler ScheduledHandler { get; set; } public virtual bool WaitUntilCompleted { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphExecutableScheduledHandler ```csharp public sealed delegate MPSGraphExecutableScheduledHandler : System.MulticastDelegate { // constructors public MPSGraphExecutableScheduledHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (MPSGraphTensorData[] results, Foundation.NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (MPSGraphTensorData[] results, Foundation.NSError error); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor ```csharp public class MPSGraphExecutionDescriptor : Foundation.NSObject { // constructors public MPSGraphExecutionDescriptor (); protected MPSGraphExecutionDescriptor (Foundation.NSObjectFlag t); protected MPSGraphExecutionDescriptor (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MPSGraphCompletionHandler CompletionHandler { get; set; } public virtual MPSGraphScheduledHandler ScheduledHandler { get; set; } public virtual bool WaitUntilCompleted { get; set; } } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphForLoopBodyBlock ```csharp public sealed delegate MPSGraphForLoopBodyBlock : System.MulticastDelegate { // constructors public MPSGraphForLoopBodyBlock (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (MPSGraphTensor index, MPSGraphTensor[] iterationArguments, System.AsyncCallback callback, object object); public virtual MPSGraphTensor[] EndInvoke (System.IAsyncResult result); public virtual MPSGraphTensor[] Invoke (MPSGraphTensor index, MPSGraphTensor[] iterationArguments); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphIfThenElseBlock ```csharp public sealed delegate MPSGraphIfThenElseBlock : System.MulticastDelegate { // constructors public MPSGraphIfThenElseBlock (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (System.AsyncCallback callback, object object); public virtual MPSGraphTensor[] EndInvoke (System.IAsyncResult result); public virtual MPSGraphTensor[] Invoke (); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphLossReductionType ```csharp [Serializable] public enum MPSGraphLossReductionType { Axis = 0, Mean = 2, Sum = 1, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphMemoryOps_Extensions ```csharp public static class MPSGraphMemoryOps_Extensions { // methods public static MPSGraphTensor Constant (this MPSGraph graph, float scalar); public static MPSGraphTensor Constant (this MPSGraph graph, System.ReadOnlySpan<float> values, int[] shape); public static MPSGraphTensor Variable (this MPSGraph graph, System.ReadOnlySpan<float> initialValues, int[] shape, string name); public static MPSGraphTensor Variable (this MPSGraph graph, float initialValue, int[] shape, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphOperation ```csharp public class MPSGraphOperation : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected MPSGraphOperation (Foundation.NSObjectFlag t); protected MPSGraphOperation (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MPSGraphOperation[] ControlDependencies { get; } public virtual MPSGraph Graph { get; } public virtual MPSGraphTensor[] InputTensors { get; } public virtual string Name { get; } public virtual MPSGraphTensor[] OutputTensors { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphOptions ```csharp [Serializable] [Flags] public enum MPSGraphOptions { Default = 1, None = 0, SynchronizeResults = 1, Verbose = 2, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphPaddingMode ```csharp [Serializable] public enum MPSGraphPaddingMode { AntiPeriodic = 6, ClampToEdge = 3, Constant = 0, Periodic = 5, Reflect = 1, Symmetric = 2, Zero = 4, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphPaddingStyle ```csharp [Serializable] public enum MPSGraphPaddingStyle { Explicit = 0, ExplicitOffset = 3, Same = 2, Valid = 1, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphPooling2DOpDescriptor ```csharp public class MPSGraphPooling2DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphPooling2DOpDescriptor (); protected MPSGraphPooling2DOpDescriptor (Foundation.NSObjectFlag t); protected MPSGraphPooling2DOpDescriptor (ObjCRuntime.NativeHandle handle); // properties public virtual bool CeilMode { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MPSGraphTensorNamedDataLayout DataLayout { get; set; } public virtual nuint DilationRateInX { get; set; } public virtual nuint DilationRateInY { get; set; } public virtual bool IncludeZeroPadToAverage { get; set; } public virtual nuint KernelHeight { get; set; } public virtual nuint KernelWidth { get; set; } public virtual nuint PaddingBottom { get; set; } public virtual nuint PaddingLeft { get; set; } public virtual nuint PaddingRight { get; set; } public virtual MPSGraphPaddingStyle PaddingStyle { get; set; } public virtual nuint PaddingTop { get; set; } public virtual nuint StrideInX { get; set; } public virtual nuint StrideInY { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static MPSGraphPooling2DOpDescriptor Create (nuint kernelWidth, nuint kernelHeight, nuint strideInX, nuint strideInY, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout); public static MPSGraphPooling2DOpDescriptor Create (nuint kernelWidth, nuint kernelHeight, nuint strideInX, nuint strideInY, nuint dilationRateInX, nuint dilationRateInY, nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout); public virtual void SetExplicitPadding (nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphPooling4DOpDescriptor ```csharp public class MPSGraphPooling4DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphPooling4DOpDescriptor (); protected MPSGraphPooling4DOpDescriptor (Foundation.NSObjectFlag t); protected MPSGraphPooling4DOpDescriptor (ObjCRuntime.NativeHandle handle); // properties public virtual bool CeilMode { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual int[] DilationRates { get; set; } public virtual bool IncludeZeroPadToAverage { get; set; } public virtual int[] KernelSizes { get; set; } public virtual MPSGraphPaddingStyle PaddingStyle { get; set; } public virtual int[] PaddingValues { get; set; } public virtual int[] Strides { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static MPSGraphPooling4DOpDescriptor Create (int[] kernelSizes, MPSGraphPaddingStyle paddingStyle); public static MPSGraphPooling4DOpDescriptor Create (int[] kernelSizes, int[] strides, int[] dilationRates, int[] paddingValues, MPSGraphPaddingStyle paddingStyle); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphRandomDistribution ```csharp [Serializable] public enum MPSGraphRandomDistribution { Normal = 1, TruncatedNormal = 2, Uniform = 0, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphRandomNormalSamplingMethod ```csharp [Serializable] public enum MPSGraphRandomNormalSamplingMethod { BoxMuller = 1, InvCdf = 0, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphRandomOpDescriptor ```csharp public class MPSGraphRandomOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphRandomOpDescriptor (); protected MPSGraphRandomOpDescriptor (Foundation.NSObjectFlag t); protected MPSGraphRandomOpDescriptor (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MetalPerformanceShaders.MPSDataType DataType { get; set; } public virtual MPSGraphRandomDistribution Distribution { get; set; } public virtual float Max { get; set; } public virtual nint MaxInteger { get; set; } public virtual float Mean { get; set; } public virtual float Min { get; set; } public virtual nint MinInteger { get; set; } public virtual MPSGraphRandomNormalSamplingMethod SamplingMethod { get; set; } public virtual float StandardDeviation { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static MPSGraphRandomOpDescriptor Create (MPSGraphRandomDistribution distribution, MetalPerformanceShaders.MPSDataType dataType); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphReductionMode ```csharp [Serializable] public enum MPSGraphReductionMode { ArgumentMax = 5, ArgumentMin = 4, Max = 1, Min = 0, Product = 3, Sum = 2, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphResizeMode ```csharp [Serializable] public enum MPSGraphResizeMode { Bilinear = 1, Nearest = 0, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphScatterMode ```csharp [Serializable] public enum MPSGraphScatterMode { Add = 0, Div = 3, Max = 5, Min = 4, Mul = 2, Set = 6, Sub = 1, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphScheduledHandler ```csharp public sealed delegate MPSGraphScheduledHandler : System.MulticastDelegate { // constructors public MPSGraphScheduledHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, Foundation.NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, Foundation.NSError error); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphShapedType ```csharp public class MPSGraphShapedType : MetalPerformanceShadersGraph.MPSGraphType { // constructors public MPSGraphShapedType (); protected MPSGraphShapedType (Foundation.NSObjectFlag t); protected MPSGraphShapedType (ObjCRuntime.NativeHandle handle); public MPSGraphShapedType (int[] shape, MetalPerformanceShaders.MPSDataType dataType); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MetalPerformanceShaders.MPSDataType DataType { get; set; } public virtual int[] Shape { get; set; } // methods public virtual bool IsEqualTo (MPSGraphShapedType object); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphSparseStorageType ```csharp [Serializable] public enum MPSGraphSparseStorageType { Coo = 0, Csc = 1, Csr = 2, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphStencilOpDescriptor ```csharp public class MPSGraphStencilOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphStencilOpDescriptor (); protected MPSGraphStencilOpDescriptor (Foundation.NSObjectFlag t); protected MPSGraphStencilOpDescriptor (ObjCRuntime.NativeHandle handle); // properties public virtual MPSGraphPaddingMode BoundaryMode { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual int[] DilationRates { get; set; } public virtual int[] ExplicitPadding { get; set; } public virtual int[] Offsets { get; set; } public virtual float PaddingConstant { get; set; } public virtual MPSGraphPaddingStyle PaddingStyle { get; set; } public virtual MPSGraphReductionMode ReductionMode { get; set; } public virtual int[] Strides { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static MPSGraphStencilOpDescriptor Create (MPSGraphPaddingStyle paddingStyle); public static MPSGraphStencilOpDescriptor Create (int[] explicitPadding); public static MPSGraphStencilOpDescriptor Create (int[] offsets, int[] explicitPadding); public static MPSGraphStencilOpDescriptor Create (MPSGraphReductionMode reductionMode, int[] offsets, int[] strides, int[] dilationRates, int[] explicitPadding, MPSGraphPaddingMode boundaryMode, MPSGraphPaddingStyle paddingStyle, float paddingConstant); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphTensor ```csharp public class MPSGraphTensor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected MPSGraphTensor (Foundation.NSObjectFlag t); protected MPSGraphTensor (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MetalPerformanceShaders.MPSDataType DataType { get; } public virtual MPSGraphOperation Operation { get; } public virtual int[] Shape { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphTensorData ```csharp public class MPSGraphTensorData : Foundation.NSObject { // constructors public MPSGraphTensorData (); public MPSGraphTensorData (Foundation.NSArray<MetalPerformanceShaders.MPSImage> imageBatch); protected MPSGraphTensorData (Foundation.NSObjectFlag t); public MPSGraphTensorData (MetalPerformanceShaders.MPSMatrix matrix); public MPSGraphTensorData (MetalPerformanceShaders.MPSNDArray ndarray); public MPSGraphTensorData (MetalPerformanceShaders.MPSVector vector); protected MPSGraphTensorData (ObjCRuntime.NativeHandle handle); public MPSGraphTensorData (MetalPerformanceShaders.MPSMatrix matrix, nuint rank); public MPSGraphTensorData (MetalPerformanceShaders.MPSVector vector, nuint rank); public MPSGraphTensorData (Metal.IMTLBuffer buffer, int[] shape, MetalPerformanceShaders.MPSDataType dataType); public MPSGraphTensorData (MPSGraphDevice device, Foundation.NSData data, int[] shape, MetalPerformanceShaders.MPSDataType dataType); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MetalPerformanceShaders.MPSDataType DataType { get; } public virtual MPSGraphDevice Device { get; } public virtual MetalPerformanceShaders.MPSNDArray MPSNDArray { get; } public virtual int[] Shape { get; } // methods public static MPSGraphTensorData Create (MetalPerformanceShaders.MPSImage[] imageBatch); public static MPSGraphTensorData Create (Metal.IMTLDevice device, System.ReadOnlySpan<float> values, int[] shape); public void Read (System.Span<float> values); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout ```csharp [Serializable] public enum MPSGraphTensorNamedDataLayout { Chw = 4, Hw = 6, Hwc = 5, Hwio = 3, Nchw = 0, Nhwc = 1, Oihw = 2, } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphType ```csharp public class MPSGraphType : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPSGraphType (); protected MPSGraphType (Foundation.NSObjectFlag t); protected MPSGraphType (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphVariableOp ```csharp public class MPSGraphVariableOp : MetalPerformanceShadersGraph.MPSGraphOperation { // constructors protected MPSGraphVariableOp (Foundation.NSObjectFlag t); protected MPSGraphVariableOp (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual MetalPerformanceShaders.MPSDataType DataType { get; } public virtual int[] Shape { get; } } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphWhileAfterBlock ```csharp public sealed delegate MPSGraphWhileAfterBlock : System.MulticastDelegate { // constructors public MPSGraphWhileAfterBlock (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (MPSGraphTensor[] bodyBlockArguments, System.AsyncCallback callback, object object); public virtual MPSGraphTensor[] EndInvoke (System.IAsyncResult result); public virtual MPSGraphTensor[] Invoke (MPSGraphTensor[] bodyBlockArguments); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraphWhileBeforeBlock ```csharp public sealed delegate MPSGraphWhileBeforeBlock : System.MulticastDelegate { // constructors public MPSGraphWhileBeforeBlock (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (MPSGraphTensor[] inputTensors, Foundation.NSMutableArray<MPSGraphTensor> resultTensors, System.AsyncCallback callback, object object); public virtual MPSGraphTensor EndInvoke (System.IAsyncResult result); public virtual MPSGraphTensor Invoke (MPSGraphTensor[] inputTensors, Foundation.NSMutableArray<MPSGraphTensor> resultTensors); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_GatherNDOps ```csharp public static class MPSGraph_GatherNDOps { // methods public static MPSGraphTensor GatherND (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, nuint batchDimensions, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_GatherOps ```csharp public static class MPSGraph_GatherOps { // methods public static MPSGraphTensor Gather (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, nuint axis, nuint batchDimensions, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphActivationOps ```csharp public static class MPSGraph_MPSGraphActivationOps { // methods public static MPSGraphTensor LeakyReLU (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor alphaTensor, string name); public static MPSGraphTensor LeakyReLU (this MPSGraph This, MPSGraphTensor tensor, double alpha, string name); public static MPSGraphTensor LeakyReLUGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor alphaTensor, string name); public static MPSGraphTensor ReLU (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor ReLUGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, string name); public static MPSGraphTensor Sigmoid (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor SigmoidGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, string name); public static MPSGraphTensor SoftMax (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); public static MPSGraphTensor SoftMaxGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, nint axis, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphArithmeticOps ```csharp public static class MPSGraph_MPSGraphArithmeticOps { // methods public static MPSGraphTensor Absolute (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Acos (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Acosh (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Addition (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Asin (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Asinh (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Atan (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Atan2 (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Atanh (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Ceil (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Clamp (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor minValueTensor, MPSGraphTensor maxValueTensor, string name); public static MPSGraphTensor Cos (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Cosh (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Division (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor DivisionNoNaN (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor EqualTo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Erf (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Exponent (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor ExponentBase10 (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor ExponentBase2 (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Floor (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor FloorModulo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor GreaterThan (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor GreaterThanOrEqualTo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Identity (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor IsFinite (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor IsInfinite (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor IsNaN (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor LessThan (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor LessThanOrEqualTo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Logarithm (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor LogarithmBase10 (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor LogarithmBase2 (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor LogicalAnd (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor LogicalNand (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor LogicalNor (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor LogicalOr (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor LogicalXnor (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor LogicalXor (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Maximum (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor MaximumWithNaNPropagation (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Minimum (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor MinimumWithNaNPropagation (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Modulo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Multiplication (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Negative (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Not (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor NotEqualTo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Power (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Reciprocal (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor ReverseSquareRoot (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Rint (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Round (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Select (this MPSGraph This, MPSGraphTensor predicateTensor, MPSGraphTensor truePredicateTensor, MPSGraphTensor falseSelectTensor, string name); public static MPSGraphTensor Sign (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Signbit (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Sin (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Sinh (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Square (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor SquareRoot (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Subtraction (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); public static MPSGraphTensor Tan (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Tanh (this MPSGraph This, MPSGraphTensor tensor, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphControlFlowOps ```csharp public static class MPSGraph_MPSGraphControlFlowOps { // methods public static MPSGraphTensor[] ControlDependency (this MPSGraph This, MPSGraphOperation[] operations, MPSGraphControlFlowDependencyBlock dependentBlock, string name); public static MPSGraphTensor[] For (this MPSGraph This, MPSGraphTensor numberOfIterations, MPSGraphTensor[] initialBodyArguments, MPSGraphForLoopBodyBlock body, string name); public static MPSGraphTensor[] For (this MPSGraph This, MPSGraphTensor lowerBound, MPSGraphTensor upperBound, MPSGraphTensor step, MPSGraphTensor[] initialBodyArguments, MPSGraphForLoopBodyBlock body, string name); public static MPSGraphTensor[] If (this MPSGraph This, MPSGraphTensor predicateTensor, MPSGraphIfThenElseBlock thenBlock, MPSGraphIfThenElseBlock elseBlock, string name); public static MPSGraphTensor[] While (this MPSGraph This, MPSGraphTensor[] initialInputs, MPSGraphWhileBeforeBlock before, MPSGraphWhileAfterBlock after, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphConvolutionOps ```csharp public static class MPSGraph_MPSGraphConvolutionOps { // methods public static MPSGraphTensor Convolution2D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphConvolution2DOpDescriptor descriptor, string name); public static MPSGraphTensor Convolution2DDataGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor weights, MPSGraphTensor outputShapeTensor, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name); public static MPSGraphTensor Convolution2DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, int[] outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name); public static MPSGraphTensor Convolution2DWeightsGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor outputShapeTensor, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name); public static MPSGraphTensor Convolution2DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor source, int[] outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphConvolutionTransposeOps ```csharp public static class MPSGraph_MPSGraphConvolutionTransposeOps { // methods public static MPSGraphTensor ConvolutionTranspose2D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphTensor outputShape, MPSGraphConvolution2DOpDescriptor descriptor, string name); public static MPSGraphTensor ConvolutionTranspose2D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, int[] outputShape, MPSGraphConvolution2DOpDescriptor descriptor, string name); public static MPSGraphTensor ConvolutionTranspose2DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, MPSGraphTensor outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name); public static MPSGraphTensor ConvolutionTranspose2DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, int[] outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name); public static MPSGraphTensor ConvolutionTranspose2DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor source, MPSGraphTensor outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name); public static MPSGraphTensor ConvolutionTranspose2DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor source, int[] outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphDepthwiseConvolutionOps ```csharp public static class MPSGraph_MPSGraphDepthwiseConvolutionOps { // methods public static MPSGraphTensor DepthwiseConvolution2D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphDepthwiseConvolution2DOpDescriptor descriptor, string name); public static MPSGraphTensor DepthwiseConvolution2DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, int[] outputShape, MPSGraphDepthwiseConvolution2DOpDescriptor descriptor, string name); public static MPSGraphTensor DepthwiseConvolution2DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor source, int[] outputShape, MPSGraphDepthwiseConvolution2DOpDescriptor descriptor, string name); public static MPSGraphTensor DepthwiseConvolution3D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphDepthwiseConvolution3DOpDescriptor descriptor, string name); public static MPSGraphTensor DepthwiseConvolution3DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, int[] outputShape, MPSGraphDepthwiseConvolution3DOpDescriptor descriptor, string name); public static MPSGraphTensor DepthwiseConvolution3DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor source, int[] outputShape, MPSGraphDepthwiseConvolution3DOpDescriptor descriptor, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphGradientOps ```csharp public static class MPSGraph_MPSGraphGradientOps { // methods public static Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensor> Gradients (this MPSGraph This, MPSGraphTensor of, MPSGraphTensor[] with, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphLossOps ```csharp public static class MPSGraph_MPSGraphLossOps { // methods public static MPSGraphTensor SoftMaxCrossEntropy (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor labels, nint axis, MPSGraphLossReductionType reductionType, string name); public static MPSGraphTensor SoftMaxCrossEntropyGradient (this MPSGraph This, MPSGraphTensor gradientTensor, MPSGraphTensor sourceTensor, MPSGraphTensor labelsTensor, nint axis, MPSGraphLossReductionType reductionType, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphMatrixMultiplicationOps ```csharp public static class MPSGraph_MPSGraphMatrixMultiplicationOps { // methods public static MPSGraphTensor MatrixMultiplication (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphNormalizationOps ```csharp public static class MPSGraph_MPSGraphNormalizationOps { // methods public static MPSGraphTensor Mean (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name); public static MPSGraphTensor Normalization (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor mean, MPSGraphTensor variance, MPSGraphTensor gamma, MPSGraphTensor beta, float epsilon, string name); public static MPSGraphTensor NormalizationBetaGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, int[] axes, string name); public static MPSGraphTensor NormalizationGammaGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, MPSGraphTensor meanTensor, MPSGraphTensor varianceTensor, int[] axes, float epsilon, string name); public static MPSGraphTensor NormalizationGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, MPSGraphTensor meanTensor, MPSGraphTensor varianceTensor, MPSGraphTensor gamma, MPSGraphTensor gammaGradient, MPSGraphTensor betaGradient, int[] axes, float epsilon, string name); public static MPSGraphTensor Variance (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name); public static MPSGraphTensor Variance (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor meanTensor, int[] axes, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphOneHotOps ```csharp public static class MPSGraph_MPSGraphOneHotOps { // methods public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, string name); public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, MetalPerformanceShaders.MPSDataType dataType, string name); public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, nuint axis, string name); public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, nuint axis, MetalPerformanceShaders.MPSDataType dataType, string name); public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, MetalPerformanceShaders.MPSDataType dataType, double onValue, double offValue, string name); public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, nuint axis, MetalPerformanceShaders.MPSDataType dataType, double onValue, double offValue, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphOptimizerOps ```csharp public static class MPSGraph_MPSGraphOptimizerOps { // methods public static MPSGraphOperation ApplyStochasticGradientDescent (this MPSGraph This, MPSGraphTensor learningRate, MPSGraphVariableOp variable, MPSGraphTensor gradient, string name); public static MPSGraphTensor StochasticGradientDescent (this MPSGraph This, MPSGraphTensor learningRate, MPSGraphTensor values, MPSGraphTensor gradient, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphPoolingOps ```csharp public static class MPSGraph_MPSGraphPoolingOps { // methods public static MPSGraphTensor AvgPooling2D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, string name); public static MPSGraphTensor AvgPooling2DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, string name); public static MPSGraphTensor AvgPooling4D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name); public static MPSGraphTensor AvgPooling4DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name); public static MPSGraphTensor L2NormPooling4D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name); public static MPSGraphTensor L2NormPooling4DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name); public static MPSGraphTensor MaxPooling2D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, string name); public static MPSGraphTensor MaxPooling2DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, string name); public static MPSGraphTensor MaxPooling4D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name); public static MPSGraphTensor MaxPooling4DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphRandomOps ```csharp public static class MPSGraph_MPSGraphRandomOps { // methods public static MPSGraphTensor Dropout (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor rate, string name); public static MPSGraphTensor Dropout (this MPSGraph This, MPSGraphTensor tensor, double rate, string name); public static MPSGraphTensor Random (this MPSGraph This, MPSGraphTensor shapeTensor, MPSGraphRandomOpDescriptor descriptor, string name); public static MPSGraphTensor Random (this MPSGraph This, int[] shape, MPSGraphRandomOpDescriptor descriptor, string name); public static MPSGraphTensor[] Random (this MPSGraph This, MPSGraphTensor shapeTensor, MPSGraphRandomOpDescriptor descriptor, MPSGraphTensor state, string name); public static MPSGraphTensor Random (this MPSGraph This, MPSGraphTensor shapeTensor, MPSGraphRandomOpDescriptor descriptor, nuint seed, string name); public static MPSGraphTensor[] Random (this MPSGraph This, int[] shape, MPSGraphRandomOpDescriptor descriptor, MPSGraphTensor state, string name); public static MPSGraphTensor Random (this MPSGraph This, int[] shape, MPSGraphRandomOpDescriptor descriptor, nuint seed, string name); public static MPSGraphTensor RandomPhiloxState (this MPSGraph This, nuint seed, string name); public static MPSGraphTensor RandomPhiloxState (this MPSGraph This, nuint counterLow, nuint counterHigh, nuint key, string name); public static MPSGraphTensor RandomUniform (this MPSGraph This, MPSGraphTensor shapeTensor, string name); public static MPSGraphTensor RandomUniform (this MPSGraph This, int[] shape, string name); public static MPSGraphTensor[] RandomUniform (this MPSGraph This, MPSGraphTensor shapeTensor, MPSGraphTensor state, string name); public static MPSGraphTensor RandomUniform (this MPSGraph This, MPSGraphTensor shapeTensor, nuint seed, string name); public static MPSGraphTensor[] RandomUniform (this MPSGraph This, int[] shape, MPSGraphTensor state, string name); public static MPSGraphTensor RandomUniform (this MPSGraph This, int[] shape, nuint seed, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphReductionOps ```csharp public static class MPSGraph_MPSGraphReductionOps { // methods public static MPSGraphTensor ReductionArgMaximum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); public static MPSGraphTensor ReductionArgMinimum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); public static MPSGraphTensor ReductionMaximum (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name); public static MPSGraphTensor ReductionMaximum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); public static MPSGraphTensor ReductionMaximumPropagateNaN (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name); public static MPSGraphTensor ReductionMaximumPropagateNaN (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); public static MPSGraphTensor ReductionMinimum (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name); public static MPSGraphTensor ReductionMinimum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); public static MPSGraphTensor ReductionMinimumPropagateNaN (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name); public static MPSGraphTensor ReductionMinimumPropagateNaN (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); public static MPSGraphTensor ReductionProduct (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name); public static MPSGraphTensor ReductionProduct (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); public static MPSGraphTensor ReductionSum (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name); public static MPSGraphTensor ReductionSum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphResizeOps ```csharp public static class MPSGraph_MPSGraphResizeOps { // methods public static MPSGraphTensor Resize (this MPSGraph This, MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphResizeMode mode, bool centerResult, bool alignCorners, MPSGraphTensorNamedDataLayout layout, string name); public static MPSGraphTensor Resize (this MPSGraph This, MPSGraphTensor imagesTensor, int[] size, MPSGraphResizeMode mode, bool centerResult, bool alignCorners, MPSGraphTensorNamedDataLayout layout, string name); public static MPSGraphTensor ResizeGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor input, MPSGraphResizeMode mode, bool centerResult, bool alignCorners, MPSGraphTensorNamedDataLayout layout, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphScatterOps ```csharp public static class MPSGraph_MPSGraphScatterOps { // methods public static MPSGraphTensor Scatter (this MPSGraph This, MPSGraphTensor dataTensor, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, nint axis, MPSGraphScatterMode mode, string name); public static MPSGraphTensor Scatter (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, int[] shape, nint axis, MPSGraphScatterMode mode, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphSparseOps ```csharp public static class MPSGraph_MPSGraphSparseOps { // methods public static MPSGraphTensor Sparse (this MPSGraph This, MPSGraphCreateSparseOpDescriptor sparseDescriptor, MPSGraphTensor[] inputTensorArray, int[] shape, string name); public static MPSGraphTensor Sparse (this MPSGraph This, MPSGraphSparseStorageType sparseStorageType, MPSGraphTensor[] inputTensorArray, int[] shape, MetalPerformanceShaders.MPSDataType dataType, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphStencilOps ```csharp public static class MPSGraph_MPSGraphStencilOps { // methods public static MPSGraphTensor Stencil (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphStencilOpDescriptor descriptor, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphTensorShapeOps ```csharp public static class MPSGraph_MPSGraphTensorShapeOps { // methods public static MPSGraphTensor Broadcast (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor shapeTensor, string name); public static MPSGraphTensor Broadcast (this MPSGraph This, MPSGraphTensor tensor, int[] shape, string name); public static MPSGraphTensor Cast (this MPSGraph This, MPSGraphTensor tensor, MetalPerformanceShaders.MPSDataType type, string name); public static MPSGraphTensor Concat (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor tensor2, nint dimensionIndex, string name); public static MPSGraphTensor ConcatTensors (this MPSGraph This, MPSGraphTensor[] tensors, nint dimensionIndex, string name); public static MPSGraphTensor ConcatTensors (this MPSGraph This, MPSGraphTensor[] tensors, nint dimensionIndex, bool interleave, string name); public static MPSGraphTensor DepthToSpace2D (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor widthAxisTensor, MPSGraphTensor heightAxisTensor, MPSGraphTensor depthAxisTensor, nuint blockSize, bool usePixelShuffleOrder, string name); public static MPSGraphTensor DepthToSpace2D (this MPSGraph This, MPSGraphTensor tensor, nuint widthAxis, nuint heightAxis, nuint depthAxis, nuint blockSize, bool usePixelShuffleOrder, string name); public static MPSGraphTensor Flatten2D (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor axisTensor, string name); public static MPSGraphTensor Flatten2D (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name); public static MPSGraphTensor Pad (this MPSGraph This, MPSGraphTensor tensor, MPSGraphPaddingMode paddingMode, int[] leftPadding, int[] rightPadding, double constantValue, string name); public static MPSGraphTensor PadGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, MPSGraphPaddingMode paddingMode, int[] leftPadding, int[] rightPadding, string name); public static MPSGraphTensor Reshape (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor shapeTensor, string name); public static MPSGraphTensor Reshape (this MPSGraph This, MPSGraphTensor tensor, int[] shape, string name); public static MPSGraphTensor Reverse (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Reverse (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor axesTensor, string name); public static MPSGraphTensor Reverse (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name); public static MPSGraphTensor Shape (this MPSGraph This, MPSGraphTensor tensor, string name); public static MPSGraphTensor Slice (this MPSGraph This, MPSGraphTensor tensor, int[] starts, int[] ends, int[] strides, string name); public static MPSGraphTensor Slice (this MPSGraph This, MPSGraphTensor tensor, nuint dimensionIndex, nint start, nint length, string name); public static MPSGraphTensor Slice (this MPSGraph This, MPSGraphTensor tensor, int[] starts, int[] ends, int[] strides, uint startMask, uint endMask, uint squeezeMask, string name); public static MPSGraphTensor SliceGradient (this MPSGraph This, MPSGraphTensor inputGradientTensor, MPSGraphTensor fwdInShapeTensor, int[] starts, int[] ends, int[] strides, string name); public static MPSGraphTensor SliceGradient (this MPSGraph This, MPSGraphTensor inputGradientTensor, MPSGraphTensor fwdInShapeTensor, int[] starts, int[] ends, int[] strides, uint startMask, uint endMask, uint squeezeMask, string name); public static MPSGraphTensor SpaceToDepth2D (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor widthAxisTensor, MPSGraphTensor heightAxisTensor, MPSGraphTensor depthAxisTensor, nuint blockSize, bool usePixelShuffleOrder, string name); public static MPSGraphTensor SpaceToDepth2D (this MPSGraph This, MPSGraphTensor tensor, nuint widthAxis, nuint heightAxis, nuint depthAxis, nuint blockSize, bool usePixelShuffleOrder, string name); public static MPSGraphTensor Tile (this MPSGraph This, MPSGraphTensor tensor, int[] multiplier, string name); public static MPSGraphTensor TileGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, int[] multiplier, string name); public static MPSGraphTensor Transpose (this MPSGraph This, MPSGraphTensor tensor, nuint dimensionIndex, nuint dimensionIndex2, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphTopKGradientOps ```csharp public static class MPSGraph_MPSGraphTopKGradientOps { // methods public static MPSGraphTensor TopKGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor kTensor, string name); public static MPSGraphTensor TopKGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, nuint k, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MPSGraphTopKOps ```csharp public static class MPSGraph_MPSGraphTopKOps { // methods public static MPSGraphTensor[] TopK (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor kTensor, string name); public static MPSGraphTensor[] TopK (this MPSGraph This, MPSGraphTensor source, nuint k, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_MemoryOps ```csharp public static class MPSGraph_MemoryOps { // methods public static MPSGraphOperation Assign (this MPSGraph This, MPSGraphTensor variable, MPSGraphTensor tensor, string name); public static MPSGraphTensor Constant (this MPSGraph This, double scalar, MetalPerformanceShaders.MPSDataType dataType); public static MPSGraphTensor Constant (this MPSGraph This, Foundation.NSData data, int[] shape, MetalPerformanceShaders.MPSDataType dataType); public static MPSGraphTensor Constant (this MPSGraph This, double scalar, int[] shape, MetalPerformanceShaders.MPSDataType dataType); public static MPSGraphTensor Placeholder (this MPSGraph This, int[] shape, string name); public static MPSGraphTensor Placeholder (this MPSGraph This, int[] shape, MetalPerformanceShaders.MPSDataType dataType, string name); public static MPSGraphTensor Read (this MPSGraph This, MPSGraphTensor variable, string name); public static MPSGraphTensor Variable (this MPSGraph This, Foundation.NSData data, int[] shape, MetalPerformanceShaders.MPSDataType dataType, string name); } ``` #### New Type: MetalPerformanceShadersGraph.MPSGraph_ScatterNDOps ```csharp public static class MPSGraph_ScatterNDOps { // methods public static MPSGraphTensor ScatterND (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, int[] shape, nuint batchDimensions, string name); public static MPSGraphTensor ScatterND (this MPSGraph This, MPSGraphTensor dataTensor, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, nuint batchDimensions, MPSGraphScatterMode mode, string name); public static MPSGraphTensor ScatterND (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, int[] shape, nuint batchDimensions, MPSGraphScatterMode mode, string name); } ``` ### New Namespace SharedWithYouCore #### New Type: SharedWithYouCore.ISWCollaborationActionHandler ```csharp public interface ISWCollaborationActionHandler : ObjCRuntime.INativeObject, System.IDisposable { // methods public virtual void HandleStartCollaborationAction (SWCollaborationCoordinator coordinator, SWStartCollaborationAction action); public virtual void HandleUpdateCollaborationParticipantsAction (SWCollaborationCoordinator coordinator, SWUpdateCollaborationParticipantsAction action); } ``` #### New Type: SharedWithYouCore.SWAction ```csharp public class SWAction : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWAction (); public SWAction (Foundation.NSCoder coder); protected SWAction (Foundation.NSObjectFlag t); protected SWAction (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual bool Complete { get; } public virtual Foundation.NSUuid Uuid { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); public virtual void Fail (); public virtual void Fulfill (); } ``` #### New Type: SharedWithYouCore.SWCollaborationCoordinator ```csharp public class SWCollaborationCoordinator : Foundation.NSObject { // constructors protected SWCollaborationCoordinator (Foundation.NSObjectFlag t); protected SWCollaborationCoordinator (ObjCRuntime.NativeHandle handle); // properties public virtual ISWCollaborationActionHandler ActionHandler { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public static SWCollaborationCoordinator SharedCoordinator { get; } // methods protected override void Dispose (bool disposing); } ``` #### New Type: SharedWithYouCore.SWCollaborationMetadata ```csharp public class SWCollaborationMetadata : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSMutableCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWCollaborationMetadata (Foundation.NSCoder coder); protected SWCollaborationMetadata (Foundation.NSObjectFlag t); protected SWCollaborationMetadata (ObjCRuntime.NativeHandle handle); public SWCollaborationMetadata (string localIdentifier); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string CollaborationIdentifier { get; } public virtual SWCollaborationShareOptions DefaultShareOptions { get; set; } public virtual string InitiatorHandle { get; set; } public virtual Foundation.NSPersonNameComponents InitiatorNameComponents { get; set; } public virtual string LocalIdentifier { get; } public virtual string Title { get; set; } public virtual SWCollaborationShareOptions UserSelectedShareOptions { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); public virtual Foundation.NSObject MutableCopy (Foundation.NSZone zone); } ``` #### New Type: SharedWithYouCore.SWCollaborationOption ```csharp public class SWCollaborationOption : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWCollaborationOption (Foundation.NSCoder coder); protected SWCollaborationOption (Foundation.NSObjectFlag t); protected SWCollaborationOption (ObjCRuntime.NativeHandle handle); public SWCollaborationOption (string title, string identifier); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string Identifier { get; } public virtual string[] RequiredOptionsIdentifiers { get; set; } public virtual bool Selected { get; set; } public virtual string Subtitle { get; set; } public virtual string Title { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static SWCollaborationOption Create (string title, string identifier); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: SharedWithYouCore.SWCollaborationOptionsGroup ```csharp public class SWCollaborationOptionsGroup : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWCollaborationOptionsGroup (Foundation.NSCoder coder); protected SWCollaborationOptionsGroup (Foundation.NSObjectFlag t); protected SWCollaborationOptionsGroup (ObjCRuntime.NativeHandle handle); public SWCollaborationOptionsGroup (string identifier, SWCollaborationOption[] options); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string Footer { get; set; } public virtual string Identifier { get; } public virtual SWCollaborationOption[] Options { get; set; } public virtual string Title { get; set; } public static Foundation.NSString TypeIdentifier { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static SWCollaborationOptionsGroup Create (string identifier, SWCollaborationOption[] options); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: SharedWithYouCore.SWCollaborationOptionsPickerGroup ```csharp public class SWCollaborationOptionsPickerGroup : SharedWithYouCore.SWCollaborationOptionsGroup { // constructors public SWCollaborationOptionsPickerGroup (); public SWCollaborationOptionsPickerGroup (Foundation.NSCoder coder); protected SWCollaborationOptionsPickerGroup (Foundation.NSObjectFlag t); protected SWCollaborationOptionsPickerGroup (ObjCRuntime.NativeHandle handle); public SWCollaborationOptionsPickerGroup (string identifier, SWCollaborationOption[] options); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual string SelectedOptionIdentifier { get; set; } } ``` #### New Type: SharedWithYouCore.SWCollaborationShareOptions ```csharp public class SWCollaborationShareOptions : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWCollaborationShareOptions (Foundation.NSCoder coder); protected SWCollaborationShareOptions (Foundation.NSObjectFlag t); protected SWCollaborationShareOptions (ObjCRuntime.NativeHandle handle); public SWCollaborationShareOptions (SWCollaborationOptionsGroup[] optionsGroups); public SWCollaborationShareOptions (SWCollaborationOptionsGroup[] optionsGroups, string summary); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual SWCollaborationOptionsGroup[] OptionsGroups { get; set; } public virtual string Summary { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static SWCollaborationShareOptions Create (SWCollaborationOptionsGroup[] optionsGroups); public static SWCollaborationShareOptions Create (SWCollaborationOptionsGroup[] optionsGroups, string summary); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: SharedWithYouCore.SWPerson ```csharp public class SWPerson : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWPerson (Foundation.NSCoder coder); protected SWPerson (Foundation.NSObjectFlag t); protected SWPerson (ObjCRuntime.NativeHandle handle); public SWPerson (string handle, SWPersonIdentity identity, string displayName, Foundation.NSData thumbnailImageData); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } // methods public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: SharedWithYouCore.SWPersonIdentity ```csharp public class SWPersonIdentity : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWPersonIdentity (Foundation.NSCoder coder); public SWPersonIdentity (Foundation.NSData rootHash); protected SWPersonIdentity (Foundation.NSObjectFlag t); protected SWPersonIdentity (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Foundation.NSData RootHash { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: SharedWithYouCore.SWPersonIdentityProof ```csharp public class SWPersonIdentityProof : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWPersonIdentityProof (Foundation.NSCoder coder); protected SWPersonIdentityProof (Foundation.NSObjectFlag t); protected SWPersonIdentityProof (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Foundation.NSData[] InclusionHashes { get; } public virtual Foundation.NSData PublicKey { get; } public virtual nuint PublicKeyIndex { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: SharedWithYouCore.SWSignedPersonIdentityProof ```csharp public class SWSignedPersonIdentityProof : SharedWithYouCore.SWPersonIdentityProof { // constructors public SWSignedPersonIdentityProof (); public SWSignedPersonIdentityProof (Foundation.NSCoder coder); protected SWSignedPersonIdentityProof (Foundation.NSObjectFlag t); protected SWSignedPersonIdentityProof (ObjCRuntime.NativeHandle handle); public SWSignedPersonIdentityProof (SWPersonIdentityProof personIdentityProof, Foundation.NSData data); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Foundation.NSData SignatureData { get; } } ``` #### New Type: SharedWithYouCore.SWStartCollaborationAction ```csharp public class SWStartCollaborationAction : SharedWithYouCore.SWAction, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWStartCollaborationAction (Foundation.NSCoder coder); protected SWStartCollaborationAction (Foundation.NSObjectFlag t); protected SWStartCollaborationAction (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual SWCollaborationMetadata CollaborationMetadata { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); public virtual void Fulfill (Foundation.NSUrl url, string collaborationIdentifier); } ``` #### New Type: SharedWithYouCore.SWUpdateCollaborationParticipantsAction ```csharp public class SWUpdateCollaborationParticipantsAction : SharedWithYouCore.SWAction, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SWUpdateCollaborationParticipantsAction (Foundation.NSCoder coder); protected SWUpdateCollaborationParticipantsAction (Foundation.NSObjectFlag t); protected SWUpdateCollaborationParticipantsAction (ObjCRuntime.NativeHandle handle); // properties public virtual SWPersonIdentity[] AddedIdentities { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual SWCollaborationMetadata CollaborationMetadata { get; } public virtual SWPersonIdentity[] RemovedIdentities { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ```