Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 21, 2024 11:59
Show Gist options
  • Save vs-mobiletools-engineering-service2/1d8d9d6c5a1a9bbbc24a6b5bed5d783a to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/1d8d9d6c5a1a9bbbc24a6b5bed5d783a to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
index 4113562..50c6de6 100644
--- a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("bgen")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5b25f9e7fa78666d9eb998103728d6dfdfa90687")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+07aa8c9db3dddb6f70309a9a0740ed25dbb5f739")]
[assembly: System.Reflection.AssemblyProductAttribute("bgen")]
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
index fa4c91b..371f163 100644
--- a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
@@ -1 +1 @@
-{"documents":{"/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/5b25f9e7fa78666d9eb998103728d6dfdfa90687/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/bd3d13362bfda48a34fa0cc419744c4a1f4dc45a/*"}}
\ No newline at end of file
+{"documents":{"/Users/builder/azdo/_work/4/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/07aa8c9db3dddb6f70309a9a0740ed25dbb5f739/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/bd3d13362bfda48a34fa0cc419744c4a1f4dc45a/*"}}
\ No newline at end of file
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json
index d67a032..ff361f2 100644
--- a/old/dotnet/ios/SourceLink.json
+++ b/new/dotnet/ios/SourceLink.json
@@ -1,5 +1,5 @@
{
"documents": {
- "/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/5b25f9e7fa78666d9eb998103728d6dfdfa90687/src*"
+ "/Users/builder/azdo/_work/4/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/07aa8c9db3dddb6f70309a9a0740ed25dbb5f739/src*"
}
}
diff --git a/old/dotnet/ios/generated-sources/Photos/PHAsset.g.cs b/new/dotnet/ios/generated-sources/Photos/PHAsset.g.cs
index 080f43e..41119ff 100644
--- a/old/dotnet/ios/generated-sources/Photos/PHAsset.g.cs
+++ b/new/dotnet/ios/generated-sources/Photos/PHAsset.g.cs
@@ -254,7 +254,7 @@ namespace Photos {
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual string? AdjustmentFormatIdentifier {
- [Export ("adjustmentFormatIdentifier")]
+ [Export ("adjustmentFormatIdentifier", ArgumentSemantic.Copy)]
get {
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs b/new/dotnet/ios/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
index 4abf4c9..25f528b 100644
--- a/old/dotnet/ios/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
@@ -154,10 +154,10 @@ namespace Photos {
}
[Export ("changeRequestForAssetCollection:assets:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult assets)
+ public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult? assets)
{
var assetCollection__handle__ = assetCollection!.GetNonNullHandle (nameof (assetCollection));
- var assets__handle__ = assets!.GetNonNullHandle (nameof (assets));
+ var assets__handle__ = assets.GetHandle ();
return Runtime.GetNSObject<PHAssetCollectionChangeRequest> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("changeRequestForAssetCollection:assets:"), assetCollection__handle__, assets__handle__))!;
}
[Export ("creationRequestForAssetCollectionWithTitle:")]
diff --git a/old/dotnet/ios/generated-sources/Photos/PHAssetCollectionSubtype.g.cs b/new/dotnet/ios/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
index ac76049..b59ec1f 100644
--- a/old/dotnet/ios/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
+++ b/new/dotnet/ios/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
@@ -118,6 +118,11 @@ namespace Photos {
[SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
SmartAlbumCinematic = 218,
+ [SupportedOSPlatform ("tvos18.0")]
+ [SupportedOSPlatform ("macos15.0")]
+ [SupportedOSPlatform ("ios18.0")]
+ [SupportedOSPlatform ("maccatalyst18.0")]
+ SmartAlbumSpatial = 219,
Any = 9223372036854775807,
}
}
diff --git a/old/dotnet/ios/generated-sources/Photos/PHAssetMediaSubtype.g.cs b/new/dotnet/ios/generated-sources/Photos/PHAssetMediaSubtype.g.cs
index 7ffd417..ef1cfc0 100644
--- a/old/dotnet/ios/generated-sources/Photos/PHAssetMediaSubtype.g.cs
+++ b/new/dotnet/ios/generated-sources/Photos/PHAssetMediaSubtype.g.cs
@@ -75,6 +75,11 @@ namespace Photos {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
PhotoDepthEffect = 16,
+ [SupportedOSPlatform ("tvos18.0")]
+ [SupportedOSPlatform ("macos15.0")]
+ [SupportedOSPlatform ("ios18.0")]
+ [SupportedOSPlatform ("maccatalyst18.0")]
+ SmartAlbumSpatial = 1024,
VideoStreamed = 65536,
VideoHighFrameRate = 131072,
VideoTimelapse = 262144,
diff --git a/old/dotnet/maccatalyst/SourceLink.json b/new/dotnet/maccatalyst/SourceLink.json
index d67a032..ff361f2 100644
--- a/old/dotnet/maccatalyst/SourceLink.json
+++ b/new/dotnet/maccatalyst/SourceLink.json
@@ -1,5 +1,5 @@
{
"documents": {
- "/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/5b25f9e7fa78666d9eb998103728d6dfdfa90687/src*"
+ "/Users/builder/azdo/_work/4/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/07aa8c9db3dddb6f70309a9a0740ed25dbb5f739/src*"
}
}
diff --git a/old/dotnet/maccatalyst/generated-sources/Photos/PHAsset.g.cs b/new/dotnet/maccatalyst/generated-sources/Photos/PHAsset.g.cs
index a2e5a31..dc14a39 100644
--- a/old/dotnet/maccatalyst/generated-sources/Photos/PHAsset.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Photos/PHAsset.g.cs
@@ -234,7 +234,7 @@ namespace Photos {
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual string? AdjustmentFormatIdentifier {
- [Export ("adjustmentFormatIdentifier")]
+ [Export ("adjustmentFormatIdentifier", ArgumentSemantic.Copy)]
get {
if (IsDirectBinding) {
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("adjustmentFormatIdentifier")))!;
diff --git a/old/dotnet/maccatalyst/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
index 59303c2..012b350 100644
--- a/old/dotnet/maccatalyst/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
@@ -154,10 +154,10 @@ namespace Photos {
}
[Export ("changeRequestForAssetCollection:assets:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult assets)
+ public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult? assets)
{
var assetCollection__handle__ = assetCollection!.GetNonNullHandle (nameof (assetCollection));
- var assets__handle__ = assets!.GetNonNullHandle (nameof (assets));
+ var assets__handle__ = assets.GetHandle ();
return Runtime.GetNSObject<PHAssetCollectionChangeRequest> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("changeRequestForAssetCollection:assets:"), assetCollection__handle__, assets__handle__))!;
}
[Export ("creationRequestForAssetCollectionWithTitle:")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Photos/PHAssetCollectionSubtype.g.cs b/new/dotnet/maccatalyst/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
index 682ee09..5af5ea0 100644
--- a/old/dotnet/maccatalyst/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
@@ -118,6 +118,11 @@ namespace Photos {
[SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
SmartAlbumCinematic = 218,
+ [SupportedOSPlatform ("tvos18.0")]
+ [SupportedOSPlatform ("macos15.0")]
+ [SupportedOSPlatform ("ios18.0")]
+ [SupportedOSPlatform ("maccatalyst18.0")]
+ SmartAlbumSpatial = 219,
Any = 9223372036854775807,
}
}
diff --git a/old/dotnet/maccatalyst/generated-sources/Photos/PHAssetMediaSubtype.g.cs b/new/dotnet/maccatalyst/generated-sources/Photos/PHAssetMediaSubtype.g.cs
index fc568e3..843cca0 100644
--- a/old/dotnet/maccatalyst/generated-sources/Photos/PHAssetMediaSubtype.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Photos/PHAssetMediaSubtype.g.cs
@@ -75,6 +75,11 @@ namespace Photos {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
PhotoDepthEffect = 16,
+ [SupportedOSPlatform ("tvos18.0")]
+ [SupportedOSPlatform ("macos15.0")]
+ [SupportedOSPlatform ("ios18.0")]
+ [SupportedOSPlatform ("maccatalyst18.0")]
+ SmartAlbumSpatial = 1024,
VideoStreamed = 65536,
VideoHighFrameRate = 131072,
VideoTimelapse = 262144,
diff --git a/old/dotnet/macos/SourceLink.json b/new/dotnet/macos/SourceLink.json
index d67a032..ff361f2 100644
--- a/old/dotnet/macos/SourceLink.json
+++ b/new/dotnet/macos/SourceLink.json
@@ -1,5 +1,5 @@
{
"documents": {
- "/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/5b25f9e7fa78666d9eb998103728d6dfdfa90687/src*"
+ "/Users/builder/azdo/_work/4/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/07aa8c9db3dddb6f70309a9a0740ed25dbb5f739/src*"
}
}
diff --git a/old/dotnet/macos/generated-sources/Photos/PHAsset.g.cs b/new/dotnet/macos/generated-sources/Photos/PHAsset.g.cs
index 3cd0393..3048a45 100644
--- a/old/dotnet/macos/generated-sources/Photos/PHAsset.g.cs
+++ b/new/dotnet/macos/generated-sources/Photos/PHAsset.g.cs
@@ -291,7 +291,7 @@ namespace Photos {
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual string? AdjustmentFormatIdentifier {
- [Export ("adjustmentFormatIdentifier")]
+ [Export ("adjustmentFormatIdentifier", ArgumentSemantic.Copy)]
get {
if (IsDirectBinding) {
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selAdjustmentFormatIdentifierXHandle))!;
diff --git a/old/dotnet/macos/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs b/new/dotnet/macos/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
index b3f5dc2..318779d 100644
--- a/old/dotnet/macos/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
+++ b/new/dotnet/macos/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
@@ -188,10 +188,10 @@ namespace Photos {
}
[Export ("changeRequestForAssetCollection:assets:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult assets)
+ public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult? assets)
{
var assetCollection__handle__ = assetCollection!.GetNonNullHandle (nameof (assetCollection));
- var assets__handle__ = assets!.GetNonNullHandle (nameof (assets));
+ var assets__handle__ = assets.GetHandle ();
return Runtime.GetNSObject<PHAssetCollectionChangeRequest> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (class_ptr, selChangeRequestForAssetCollection_Assets_XHandle, assetCollection__handle__, assets__handle__))!;
}
[Export ("creationRequestForAssetCollectionWithTitle:")]
diff --git a/old/dotnet/macos/generated-sources/Photos/PHAssetCollectionSubtype.g.cs b/new/dotnet/macos/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
index f159c19..64d4172 100644
--- a/old/dotnet/macos/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
+++ b/new/dotnet/macos/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
@@ -113,6 +113,11 @@ namespace Photos {
[SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
SmartAlbumCinematic = 218,
+ [SupportedOSPlatform ("tvos18.0")]
+ [SupportedOSPlatform ("macos15.0")]
+ [SupportedOSPlatform ("ios18.0")]
+ [SupportedOSPlatform ("maccatalyst18.0")]
+ SmartAlbumSpatial = 219,
Any = 9223372036854775807,
}
}
diff --git a/old/dotnet/macos/generated-sources/Photos/PHAssetMediaSubtype.g.cs b/new/dotnet/macos/generated-sources/Photos/PHAssetMediaSubtype.g.cs
index fee0789..bc0b65b 100644
--- a/old/dotnet/macos/generated-sources/Photos/PHAssetMediaSubtype.g.cs
+++ b/new/dotnet/macos/generated-sources/Photos/PHAssetMediaSubtype.g.cs
@@ -70,6 +70,11 @@ namespace Photos {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
PhotoDepthEffect = 16,
+ [SupportedOSPlatform ("tvos18.0")]
+ [SupportedOSPlatform ("macos15.0")]
+ [SupportedOSPlatform ("ios18.0")]
+ [SupportedOSPlatform ("maccatalyst18.0")]
+ SmartAlbumSpatial = 1024,
VideoStreamed = 65536,
VideoHighFrameRate = 131072,
VideoTimelapse = 262144,
diff --git a/old/dotnet/tvos/SourceLink.json b/new/dotnet/tvos/SourceLink.json
index d67a032..ff361f2 100644
--- a/old/dotnet/tvos/SourceLink.json
+++ b/new/dotnet/tvos/SourceLink.json
@@ -1,5 +1,5 @@
{
"documents": {
- "/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/5b25f9e7fa78666d9eb998103728d6dfdfa90687/src*"
+ "/Users/builder/azdo/_work/4/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/07aa8c9db3dddb6f70309a9a0740ed25dbb5f739/src*"
}
}
diff --git a/old/dotnet/tvos/generated-sources/Photos/PHAsset.g.cs b/new/dotnet/tvos/generated-sources/Photos/PHAsset.g.cs
index 5e206b6..fbbfa8c 100644
--- a/old/dotnet/tvos/generated-sources/Photos/PHAsset.g.cs
+++ b/new/dotnet/tvos/generated-sources/Photos/PHAsset.g.cs
@@ -246,7 +246,7 @@ namespace Photos {
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual string? AdjustmentFormatIdentifier {
- [Export ("adjustmentFormatIdentifier")]
+ [Export ("adjustmentFormatIdentifier", ArgumentSemantic.Copy)]
get {
if (IsDirectBinding) {
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("adjustmentFormatIdentifier")))!;
diff --git a/old/dotnet/tvos/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs b/new/dotnet/tvos/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
index 4a7250d..149263b 100644
--- a/old/dotnet/tvos/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
+++ b/new/dotnet/tvos/generated-sources/Photos/PHAssetCollectionChangeRequest.g.cs
@@ -146,10 +146,10 @@ namespace Photos {
}
[Export ("changeRequestForAssetCollection:assets:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult assets)
+ public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult? assets)
{
var assetCollection__handle__ = assetCollection!.GetNonNullHandle (nameof (assetCollection));
- var assets__handle__ = assets!.GetNonNullHandle (nameof (assets));
+ var assets__handle__ = assets.GetHandle ();
return Runtime.GetNSObject<PHAssetCollectionChangeRequest> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("changeRequestForAssetCollection:assets:"), assetCollection__handle__, assets__handle__))!;
}
[Export ("creationRequestForAssetCollectionWithTitle:")]
diff --git a/old/dotnet/tvos/generated-sources/Photos/PHAssetCollectionSubtype.g.cs b/new/dotnet/tvos/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
index ac8c42c..b618cb0 100644
--- a/old/dotnet/tvos/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
+++ b/new/dotnet/tvos/generated-sources/Photos/PHAssetCollectionSubtype.g.cs
@@ -110,6 +110,11 @@ namespace Photos {
[SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
SmartAlbumCinematic = 218,
+ [SupportedOSPlatform ("tvos18.0")]
+ [SupportedOSPlatform ("macos15.0")]
+ [SupportedOSPlatform ("ios18.0")]
+ [SupportedOSPlatform ("maccatalyst18.0")]
+ SmartAlbumSpatial = 219,
Any = 9223372036854775807,
}
}
diff --git a/old/dotnet/tvos/generated-sources/Photos/PHAssetMediaSubtype.g.cs b/new/dotnet/tvos/generated-sources/Photos/PHAssetMediaSubtype.g.cs
index 6ae20d2..1b301b5 100644
--- a/old/dotnet/tvos/generated-sources/Photos/PHAssetMediaSubtype.g.cs
+++ b/new/dotnet/tvos/generated-sources/Photos/PHAssetMediaSubtype.g.cs
@@ -67,6 +67,11 @@ namespace Photos {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
PhotoDepthEffect = 16,
+ [SupportedOSPlatform ("tvos18.0")]
+ [SupportedOSPlatform ("macos15.0")]
+ [SupportedOSPlatform ("ios18.0")]
+ [SupportedOSPlatform ("maccatalyst18.0")]
+ SmartAlbumSpatial = 1024,
VideoStreamed = 65536,
VideoHighFrameRate = 131072,
VideoTimelapse = 262144,
diff --git a/old/ios/native/Photos/PHAsset.g.cs b/new/ios/native/Photos/PHAsset.g.cs
index b826624..3251de5 100644
--- a/old/ios/native/Photos/PHAsset.g.cs
+++ b/new/ios/native/Photos/PHAsset.g.cs
@@ -235,7 +235,7 @@ namespace Photos {
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)]
- [Export ("adjustmentFormatIdentifier")]
+ [Export ("adjustmentFormatIdentifier", ArgumentSemantic.Copy)]
get {
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/ios/native/Photos/PHAssetCollectionChangeRequest.g.cs b/new/ios/native/Photos/PHAssetCollectionChangeRequest.g.cs
index 787aaf6..7786b8b 100644
--- a/old/ios/native/Photos/PHAssetCollectionChangeRequest.g.cs
+++ b/new/ios/native/Photos/PHAssetCollectionChangeRequest.g.cs
@@ -149,10 +149,10 @@ namespace Photos {
}
[Export ("changeRequestForAssetCollection:assets:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult assets)
+ public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult? assets)
{
var assetCollection__handle__ = assetCollection!.GetNonNullHandle (nameof (assetCollection));
- var assets__handle__ = assets!.GetNonNullHandle (nameof (assets));
+ var assets__handle__ = assets.GetHandle ();
return Runtime.GetNSObject<PHAssetCollectionChangeRequest> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr_IntPtr (class_ptr, Selector.GetHandle ("changeRequestForAssetCollection:assets:"), assetCollection__handle__, assets__handle__))!;
}
[Export ("creationRequestForAssetCollectionWithTitle:")]
diff --git a/old/ios/native/Photos/PHAssetCollectionSubtype.g.cs b/new/ios/native/Photos/PHAssetCollectionSubtype.g.cs
index 66e39f4..654ccb2 100644
--- a/old/ios/native/Photos/PHAssetCollectionSubtype.g.cs
+++ b/new/ios/native/Photos/PHAssetCollectionSubtype.g.cs
@@ -87,6 +87,11 @@ namespace Photos {
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)]
SmartAlbumCinematic = 218,
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ SmartAlbumSpatial = 219,
Any = 9223372036854775807,
}
}
diff --git a/old/ios/native/Photos/PHAssetMediaSubtype.g.cs b/new/ios/native/Photos/PHAssetMediaSubtype.g.cs
index eb22b78..66fcc13 100644
--- a/old/ios/native/Photos/PHAssetMediaSubtype.g.cs
+++ b/new/ios/native/Photos/PHAssetMediaSubtype.g.cs
@@ -58,6 +58,11 @@ namespace Photos {
Screenshot = 4,
PhotoLive = 8,
PhotoDepthEffect = 16,
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ SmartAlbumSpatial = 1024,
VideoStreamed = 65536,
VideoHighFrameRate = 131072,
VideoTimelapse = 262144,
diff --git a/old/mac/full/Photos/PHAsset.g.cs b/new/mac/full/Photos/PHAsset.g.cs
index 5edee6f..0b0d95c 100644
--- a/old/mac/full/Photos/PHAsset.g.cs
+++ b/new/mac/full/Photos/PHAsset.g.cs
@@ -274,7 +274,7 @@ namespace Photos {
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)]
- [Export ("adjustmentFormatIdentifier")]
+ [Export ("adjustmentFormatIdentifier", ArgumentSemantic.Copy)]
get {
if (IsDirectBinding) {
return CFString.FromHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selAdjustmentFormatIdentifierXHandle))!;
diff --git a/old/mac/full/Photos/PHAssetCollectionChangeRequest.g.cs b/new/mac/full/Photos/PHAssetCollectionChangeRequest.g.cs
index 5a6ba9e..e9c132d 100644
--- a/old/mac/full/Photos/PHAssetCollectionChangeRequest.g.cs
+++ b/new/mac/full/Photos/PHAssetCollectionChangeRequest.g.cs
@@ -183,10 +183,10 @@ namespace Photos {
}
[Export ("changeRequestForAssetCollection:assets:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult assets)
+ public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult? assets)
{
var assetCollection__handle__ = assetCollection!.GetNonNullHandle (nameof (assetCollection));
- var assets__handle__ = assets!.GetNonNullHandle (nameof (assets));
+ var assets__handle__ = assets.GetHandle ();
return Runtime.GetNSObject<PHAssetCollectionChangeRequest> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr_IntPtr (class_ptr, selChangeRequestForAssetCollection_Assets_XHandle, assetCollection__handle__, assets__handle__))!;
}
[Export ("creationRequestForAssetCollectionWithTitle:")]
diff --git a/old/mac/full/Photos/PHAssetCollectionSubtype.g.cs b/new/mac/full/Photos/PHAssetCollectionSubtype.g.cs
index b09bc83..e9bcc69 100644
--- a/old/mac/full/Photos/PHAssetCollectionSubtype.g.cs
+++ b/new/mac/full/Photos/PHAssetCollectionSubtype.g.cs
@@ -82,6 +82,11 @@ namespace Photos {
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)]
SmartAlbumCinematic = 218,
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ SmartAlbumSpatial = 219,
Any = 9223372036854775807,
}
}
diff --git a/old/mac/full/Photos/PHAssetMediaSubtype.g.cs b/new/mac/full/Photos/PHAssetMediaSubtype.g.cs
index fd81f2e..8a070ea 100644
--- a/old/mac/full/Photos/PHAssetMediaSubtype.g.cs
+++ b/new/mac/full/Photos/PHAssetMediaSubtype.g.cs
@@ -53,6 +53,11 @@ namespace Photos {
Screenshot = 4,
PhotoLive = 8,
PhotoDepthEffect = 16,
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ SmartAlbumSpatial = 1024,
VideoStreamed = 65536,
VideoHighFrameRate = 131072,
VideoTimelapse = 262144,
diff --git a/old/mac/mobile/Photos/PHAsset.g.cs b/new/mac/mobile/Photos/PHAsset.g.cs
index 5edee6f..0b0d95c 100644
--- a/old/mac/mobile/Photos/PHAsset.g.cs
+++ b/new/mac/mobile/Photos/PHAsset.g.cs
@@ -274,7 +274,7 @@ namespace Photos {
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)]
- [Export ("adjustmentFormatIdentifier")]
+ [Export ("adjustmentFormatIdentifier", ArgumentSemantic.Copy)]
get {
if (IsDirectBinding) {
return CFString.FromHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selAdjustmentFormatIdentifierXHandle))!;
diff --git a/old/mac/mobile/Photos/PHAssetCollectionChangeRequest.g.cs b/new/mac/mobile/Photos/PHAssetCollectionChangeRequest.g.cs
index 5a6ba9e..e9c132d 100644
--- a/old/mac/mobile/Photos/PHAssetCollectionChangeRequest.g.cs
+++ b/new/mac/mobile/Photos/PHAssetCollectionChangeRequest.g.cs
@@ -183,10 +183,10 @@ namespace Photos {
}
[Export ("changeRequestForAssetCollection:assets:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult assets)
+ public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult? assets)
{
var assetCollection__handle__ = assetCollection!.GetNonNullHandle (nameof (assetCollection));
- var assets__handle__ = assets!.GetNonNullHandle (nameof (assets));
+ var assets__handle__ = assets.GetHandle ();
return Runtime.GetNSObject<PHAssetCollectionChangeRequest> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr_IntPtr (class_ptr, selChangeRequestForAssetCollection_Assets_XHandle, assetCollection__handle__, assets__handle__))!;
}
[Export ("creationRequestForAssetCollectionWithTitle:")]
diff --git a/old/mac/mobile/Photos/PHAssetCollectionSubtype.g.cs b/new/mac/mobile/Photos/PHAssetCollectionSubtype.g.cs
index b09bc83..e9bcc69 100644
--- a/old/mac/mobile/Photos/PHAssetCollectionSubtype.g.cs
+++ b/new/mac/mobile/Photos/PHAssetCollectionSubtype.g.cs
@@ -82,6 +82,11 @@ namespace Photos {
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)]
SmartAlbumCinematic = 218,
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ SmartAlbumSpatial = 219,
Any = 9223372036854775807,
}
}
diff --git a/old/mac/mobile/Photos/PHAssetMediaSubtype.g.cs b/new/mac/mobile/Photos/PHAssetMediaSubtype.g.cs
index fd81f2e..8a070ea 100644
--- a/old/mac/mobile/Photos/PHAssetMediaSubtype.g.cs
+++ b/new/mac/mobile/Photos/PHAssetMediaSubtype.g.cs
@@ -53,6 +53,11 @@ namespace Photos {
Screenshot = 4,
PhotoLive = 8,
PhotoDepthEffect = 16,
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ SmartAlbumSpatial = 1024,
VideoStreamed = 65536,
VideoHighFrameRate = 131072,
VideoTimelapse = 262144,
diff --git a/old/tvos/tvos/Photos/PHAsset.g.cs b/new/tvos/tvos/Photos/PHAsset.g.cs
index 0603c94..73b9c8f 100644
--- a/old/tvos/tvos/Photos/PHAsset.g.cs
+++ b/new/tvos/tvos/Photos/PHAsset.g.cs
@@ -227,7 +227,7 @@ namespace Photos {
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)]
- [Export ("adjustmentFormatIdentifier")]
+ [Export ("adjustmentFormatIdentifier", ArgumentSemantic.Copy)]
get {
if (IsDirectBinding) {
return CFString.FromHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("adjustmentFormatIdentifier")))!;
diff --git a/old/tvos/tvos/Photos/PHAssetCollectionChangeRequest.g.cs b/new/tvos/tvos/Photos/PHAssetCollectionChangeRequest.g.cs
index 6e1ffb7..4831c17 100644
--- a/old/tvos/tvos/Photos/PHAssetCollectionChangeRequest.g.cs
+++ b/new/tvos/tvos/Photos/PHAssetCollectionChangeRequest.g.cs
@@ -141,10 +141,10 @@ namespace Photos {
}
[Export ("changeRequestForAssetCollection:assets:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult assets)
+ public static PHAssetCollectionChangeRequest? ChangeRequest (PHAssetCollection assetCollection, PHFetchResult? assets)
{
var assetCollection__handle__ = assetCollection!.GetNonNullHandle (nameof (assetCollection));
- var assets__handle__ = assets!.GetNonNullHandle (nameof (assets));
+ var assets__handle__ = assets.GetHandle ();
return Runtime.GetNSObject<PHAssetCollectionChangeRequest> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr_IntPtr (class_ptr, Selector.GetHandle ("changeRequestForAssetCollection:assets:"), assetCollection__handle__, assets__handle__))!;
}
[Export ("creationRequestForAssetCollectionWithTitle:")]
diff --git a/old/tvos/tvos/Photos/PHAssetCollectionSubtype.g.cs b/new/tvos/tvos/Photos/PHAssetCollectionSubtype.g.cs
index 811c1a6..4f3c630 100644
--- a/old/tvos/tvos/Photos/PHAssetCollectionSubtype.g.cs
+++ b/new/tvos/tvos/Photos/PHAssetCollectionSubtype.g.cs
@@ -79,6 +79,11 @@ namespace Photos {
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)]
SmartAlbumCinematic = 218,
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ SmartAlbumSpatial = 219,
Any = 9223372036854775807,
}
}
diff --git a/old/tvos/tvos/Photos/PHAssetMediaSubtype.g.cs b/new/tvos/tvos/Photos/PHAssetMediaSubtype.g.cs
index 407bbdf..bc65643 100644
--- a/old/tvos/tvos/Photos/PHAssetMediaSubtype.g.cs
+++ b/new/tvos/tvos/Photos/PHAssetMediaSubtype.g.cs
@@ -50,6 +50,11 @@ namespace Photos {
Screenshot = 4,
PhotoLive = 8,
PhotoDepthEffect = 16,
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)]
+ SmartAlbumSpatial = 1024,
VideoStreamed = 65536,
VideoHighFrameRate = 131072,
VideoTimelapse = 262144,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment