Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 6, 2022 10:11
Show Gist options
  • Save vs-mobiletools-engineering-service2/60ab492c0001c9fe4c19478257ed8dcc to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/60ab492c0001c9fe4c19478257ed8dcc to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/dotnet/ios/generated-sources/MessageUI/MFMessageComposeViewController.g.cs b/new/dotnet/ios/generated-sources/MessageUI/MFMessageComposeViewController.g.cs
index e5fac38..ddd2e20 100644
--- a/old/dotnet/ios/generated-sources/MessageUI/MFMessageComposeViewController.g.cs
+++ b/new/dotnet/ios/generated-sources/MessageUI/MFMessageComposeViewController.g.cs
@@ -161,6 +161,26 @@ namespace MessageUI {
return CFArray.ArrayFromHandle<NSDictionary>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attachments")))!;
}
}
+ [Export ("insertCollaborationItemProvider:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool InsertCollaboration (NSItemProvider itemProvider)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var itemProvider__handle__ = itemProvider!.GetNonNullHandle (nameof (itemProvider));
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("insertCollaborationItemProvider:"), itemProvider__handle__);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("insertCollaborationItemProvider:"), itemProvider__handle__);
+ }
+ #endif
+ }
[Export ("isSupportedAttachmentUTI:")]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("maccatalyst7.0.0")]
diff --git a/old/dotnet/maccatalyst/generated-sources/MessageUI/MFMessageComposeViewController.g.cs b/new/dotnet/maccatalyst/generated-sources/MessageUI/MFMessageComposeViewController.g.cs
index 9cc3fb8..e56e7e6 100644
--- a/old/dotnet/maccatalyst/generated-sources/MessageUI/MFMessageComposeViewController.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/MessageUI/MFMessageComposeViewController.g.cs
@@ -161,6 +161,22 @@ namespace MessageUI {
return CFArray.ArrayFromHandle<NSDictionary>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attachments")))!;
}
}
+ [Export ("insertCollaborationItemProvider:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool InsertCollaboration (NSItemProvider itemProvider)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var itemProvider__handle__ = itemProvider!.GetNonNullHandle (nameof (itemProvider));
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("insertCollaborationItemProvider:"), itemProvider__handle__);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("insertCollaborationItemProvider:"), itemProvider__handle__);
+ }
+ }
[Export ("isSupportedAttachmentUTI:")]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("maccatalyst7.0.0")]
diff --git a/old/ios/native/MessageUI/MFMessageComposeViewController.g.cs b/new/ios/native/MessageUI/MFMessageComposeViewController.g.cs
index a951705..5253698 100644
--- a/old/ios/native/MessageUI/MFMessageComposeViewController.g.cs
+++ b/new/ios/native/MessageUI/MFMessageComposeViewController.g.cs
@@ -152,6 +152,27 @@ namespace MessageUI {
return CFArray.ArrayFromHandle<NSDictionary>(global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attachments")))!;
}
}
+ [Export ("insertCollaborationItemProvider:")]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Unavailable (PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All)]
+ [Unavailable (PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool InsertCollaboration (NSItemProvider itemProvider)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var itemProvider__handle__ = itemProvider!.GetNonNullHandle (nameof (itemProvider));
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("insertCollaborationItemProvider:"), itemProvider__handle__);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("insertCollaborationItemProvider:"), itemProvider__handle__);
+ }
+ #endif
+ }
[Export ("isSupportedAttachmentUTI:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static bool IsSupportedAttachment (string uti)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment