From 23d81b7da8590dc7967d0c16cd1861bd5619d457 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Wed, 13 Sep 2023 14:27:53 -0400 Subject: [PATCH 1/2] [Messages] Add support for Xcode 15 beta 7. --- src/messages.cs | 5 +++++ tests/xtro-sharpie/api-annotations-dotnet/iOS-Messages.todo | 1 - tests/xtro-sharpie/iOS-Messages.todo | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-Messages.todo delete mode 100644 tests/xtro-sharpie/iOS-Messages.todo diff --git a/src/messages.cs b/src/messages.cs index 2225d1633b3e..232720f6a408 100644 --- a/src/messages.cs +++ b/src/messages.cs @@ -265,6 +265,11 @@ interface MSSticker { [DesignatedInitializer] NativeHandle Constructor (NSUrl fileUrl, string localizedDescription, [NullAllowed] out NSError error); + [iOS (17,0), MacCatalyst (17, 0)] + [Export ("initWithFileURL:identifier:localizedDescription:")] + [DesignatedInitializer] + NativeHandle Constructor (NSUrl url, NSUuid identifier, string localizedDescription); + [Export ("imageFileURL", ArgumentSemantic.Strong)] NSUrl ImageFileUrl { get; } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Messages.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-Messages.todo deleted file mode 100644 index 9150eb4e6554..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Messages.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-selector! MSSticker::initWithFileURL:identifier:localizedDescription: not bound diff --git a/tests/xtro-sharpie/iOS-Messages.todo b/tests/xtro-sharpie/iOS-Messages.todo deleted file mode 100644 index 9150eb4e6554..000000000000 --- a/tests/xtro-sharpie/iOS-Messages.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-selector! MSSticker::initWithFileURL:identifier:localizedDescription: not bound From 8b58e38981caf73e25ea78d259462bd219609072 Mon Sep 17 00:00:00 2001 From: GitHub Actions Autoformatter Date: Wed, 13 Sep 2023 18:35:19 +0000 Subject: [PATCH 2/2] Auto-format source code --- src/messages.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages.cs b/src/messages.cs index 232720f6a408..588e3bf6246c 100644 --- a/src/messages.cs +++ b/src/messages.cs @@ -265,7 +265,7 @@ interface MSSticker { [DesignatedInitializer] NativeHandle Constructor (NSUrl fileUrl, string localizedDescription, [NullAllowed] out NSError error); - [iOS (17,0), MacCatalyst (17, 0)] + [iOS (17, 0), MacCatalyst (17, 0)] [Export ("initWithFileURL:identifier:localizedDescription:")] [DesignatedInitializer] NativeHandle Constructor (NSUrl url, NSUuid identifier, string localizedDescription);