Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 26, 2022 21:17
Show Gist options
  • Save vs-mobiletools-engineering-service2/701b58b61cdb51b675ba5af99756d8cb to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/701b58b61cdb51b675ba5af99756d8cb to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file has been truncated, but you can view the full file.
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPApplicationDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPApplicationDelegate.g.cs
index 2d5e99d..2a12a19 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPApplicationDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPApplicationDelegate.g.cs
@@ -956,6 +956,10 @@ namespace CarPlay {
[Advice ("Starting with ios10.0 Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
#endif
[UnsupportedOSPlatform ("ios10.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0 Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
#if __MACCATALYST__ && !__IOS__
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
index b3f9b80..5289007 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
@@ -6540,6 +6540,10 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
[return: MarshalAs (UnmanagedType.I1)]
public extern static bool bool_objc_msgSendSuper_NativeHandle_NativeHandle_NSRange_IntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NSRange arg3, IntPtr arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NSRange_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NSRange arg2, NativeHandle arg3);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NSRange_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NSRange arg2, NativeHandle arg3);
[DllImport ("__Internal", EntryPoint="xamarin_simd__Vector3_objc_msgSend_Vector3")]
public extern static global::System.Numerics.Vector3 xamarin_simd__Vector3_objc_msgSend_Vector3 (IntPtr receiver, IntPtr selector, global::System.Numerics.Vector3 arg1);
[DllImport ("__Internal", EntryPoint="xamarin_simd__Vector3_objc_msgSendSuper_Vector3")]
@@ -7423,6 +7427,14 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_CGPoint_CGAffineTransform (IntPtr receiver, IntPtr selector, NativeHandle arg1, CGPoint arg2, CGAffineTransform arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static CGRect CGRect_objc_msgSend_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static CGRect CGRect_objc_msgSendSuper_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
+ public extern static void CGRect_objc_msgSend_stret_NativeHandle_NativeHandle (out CGRect retval, IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
+ public extern static void CGRect_objc_msgSendSuper_stret_NativeHandle_NativeHandle (out CGRect retval, IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_CGRect_nfloat_NativeHandle (IntPtr receiver, IntPtr selector, CGRect arg1, nfloat arg2, NativeHandle arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_CGRect_nfloat_NativeHandle (IntPtr receiver, IntPtr selector, CGRect arg1, nfloat arg2, NativeHandle arg3);
@@ -7439,6 +7451,10 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static nint IntPtr_objc_msgSendSuper_NativeHandle_nfloat (IntPtr receiver, IntPtr selector, NativeHandle arg1, nfloat arg2);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static nint IntPtr_objc_msgSend_nfloat_Double_Double (IntPtr receiver, IntPtr selector, nfloat arg1, double arg2, double arg3);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static nint IntPtr_objc_msgSendSuper_nfloat_Double_Double (IntPtr receiver, IntPtr selector, nfloat arg1, double arg2, double arg3);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_CGAffineTransform (IntPtr receiver, IntPtr selector, NativeHandle arg1, CGAffineTransform arg2);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_CGAffineTransform (IntPtr receiver, IntPtr selector, NativeHandle arg1, CGAffineTransform arg2);
@@ -7495,6 +7511,10 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_UIEdgeInsets_IntPtr_Double (IntPtr receiver, IntPtr selector, NativeHandle arg1, global::UIKit.UIEdgeInsets arg2, IntPtr arg3, double arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NativeHandle_Double_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, double arg3, NativeHandle arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_Double_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, double arg3, NativeHandle arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_nfloat_IntPtr (IntPtr receiver, IntPtr selector, nfloat arg1, IntPtr arg2);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_nfloat_IntPtr (IntPtr receiver, IntPtr selector, nfloat arg1, IntPtr arg2);
@@ -7507,14 +7527,6 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static void void_objc_msgSendSuper_NativeHandle_CGRect_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, CGRect arg2, NativeHandle arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public extern static CGRect CGRect_objc_msgSend_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public extern static CGRect CGRect_objc_msgSendSuper_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
- public extern static void CGRect_objc_msgSend_stret_NativeHandle_NativeHandle (out CGRect retval, IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
- public extern static void CGRect_objc_msgSendSuper_stret_NativeHandle_NativeHandle (out CGRect retval, IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static void void_objc_msgSend_NativeHandle_NativeHandle_CGPoint_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, CGPoint arg3, NativeHandle arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static void void_objc_msgSendSuper_NativeHandle_NativeHandle_CGPoint_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, CGPoint arg3, NativeHandle arg4);
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
index 0a892b9..1a58d5e 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
@@ -147,7 +147,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, uint inNumberOfPackets, out global::AVFoundation.AVAudioConverterInputStatus outStatus) {
var descriptor = (BlockLiteral *) block;
var del = (global::AVFoundation.AVAudioConverterInputHandler) (descriptor->Target);
- AVFoundation.AVAudioBuffer retval = del (inNumberOfPackets, out outStatus);
+ AVAudioBuffer retval = del (inNumberOfPackets, out outStatus);
return retval.GetHandle ();
}
} /* class SDAVAudioConverterInputHandler */
@@ -314,7 +314,7 @@ namespace ObjCRuntime {
var descriptor = (BlockLiteral *) block;
var del = (global::AVFoundation.AVAudioSinkNodeReceiverHandler) (descriptor->Target);
var __xamarin_pref2 = Runtime.GetINativeObject<AudioToolbox.AudioBuffers> (inputData, false)!;
- System.Int32 retval = del (timestamp, frameCount, ref __xamarin_pref2);
+ int retval = del (timestamp, frameCount, ref __xamarin_pref2);
inputData = __xamarin_pref2.GetHandle ();
return retval;
}
@@ -360,7 +360,7 @@ namespace ObjCRuntime {
var descriptor = (BlockLiteral *) block;
var del = (global::AVFoundation.AVAudioSourceNodeRenderHandler) (descriptor->Target);
var __xamarin_pref3 = Runtime.GetINativeObject<AudioToolbox.AudioBuffers> (outputData, false)!;
- System.Int32 retval = del (ref isSilence, ref timestamp, frameCount, ref __xamarin_pref3);
+ int retval = del (ref isSilence, ref timestamp, frameCount, ref __xamarin_pref3);
outputData = __xamarin_pref3.GetHandle ();
return retval;
}
@@ -405,7 +405,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle comp, [System.Runtime.InteropServices.MarshalAs (System.Runtime.InteropServices.UnmanagedType.I1)] ref bool stop) {
var descriptor = (BlockLiteral *) block;
var del = (global::AVFoundation.AVAudioUnitComponentFilter) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<AVAudioUnitComponent> (comp)!, ref stop);
+ bool retval = del ( Runtime.GetNSObject<AVAudioUnitComponent> (comp)!, ref stop);
return retval;
}
} /* class SDAVAudioUnitComponentFilter */
@@ -609,7 +609,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, double dataValue) {
var descriptor = (BlockLiteral *) block;
var del = (global::Accessibility.ValueDescriptionProviderHandler) (descriptor->Target);
- Foundation.NSString retval = del (dataValue);
+ NSString retval = del (dataValue);
return retval.GetHandle ();
}
} /* class SDValueDescriptionProviderHandler */
@@ -855,7 +855,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, ref global::AudioUnit.AUHostTransportStateFlags transportStateFlags, ref double currentSamplePosition, ref double cycleStartBeatPosition, ref double cycleEndBeatPosition) {
var descriptor = (BlockLiteral *) block;
var del = (global::AudioUnit.AUHostTransportStateBlock) (descriptor->Target);
- System.Boolean retval = del (ref transportStateFlags, ref currentSamplePosition, ref cycleStartBeatPosition, ref cycleEndBeatPosition);
+ bool retval = del (ref transportStateFlags, ref currentSamplePosition, ref cycleStartBeatPosition, ref cycleEndBeatPosition);
return retval;
}
} /* class SDAUHostTransportStateBlock */
@@ -896,7 +896,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle node, nint desiredLength) {
var descriptor = (BlockLiteral *) block;
var del = (global::AudioUnit.AUImplementorDisplayNameWithLengthCallback) (descriptor->Target);
- System.String retval = del ( Runtime.GetNSObject<AUParameterNode> (node)!, desiredLength);
+ string retval = del ( Runtime.GetNSObject<AUParameterNode> (node)!, desiredLength);
return NSString.CreateNative (retval, true);
}
} /* class SDAUImplementorDisplayNameWithLengthCallback */
@@ -941,7 +941,7 @@ namespace ObjCRuntime {
Single? __xamarin_nullified__1 = null;
if (value != IntPtr.Zero)
__xamarin_nullified__1 = * (Single *) value;
- System.String retval = del ( Runtime.GetNSObject<AUParameter> (param)!, ref __xamarin_nullified__1);
+ string retval = del ( Runtime.GetNSObject<AUParameter> (param)!, ref __xamarin_nullified__1);
return NSString.CreateNative (retval, true);
}
} /* class SDAUImplementorStringFromValueCallback */
@@ -989,7 +989,7 @@ namespace ObjCRuntime {
static unsafe float Invoke (IntPtr block, NativeHandle param, NativeHandle str) {
var descriptor = (BlockLiteral *) block;
var del = (global::AudioUnit.AUImplementorValueFromStringCallback) (descriptor->Target);
- System.Single retval = del ( Runtime.GetNSObject<AUParameter> (param)!, CFString.FromHandle (str)!);
+ float retval = del ( Runtime.GetNSObject<AUParameter> (param)!, CFString.FromHandle (str)!);
return retval;
}
} /* class SDAUImplementorValueFromStringCallback */
@@ -1076,7 +1076,7 @@ namespace ObjCRuntime {
static unsafe float Invoke (IntPtr block, NativeHandle param) {
var descriptor = (BlockLiteral *) block;
var del = (global::AudioUnit.AUImplementorValueProvider) (descriptor->Target);
- System.Single retval = del ( Runtime.GetNSObject<AUParameter> (param)!);
+ float retval = del ( Runtime.GetNSObject<AUParameter> (param)!);
return retval;
}
} /* class SDAUImplementorValueProvider */
@@ -1158,7 +1158,7 @@ namespace ObjCRuntime {
static unsafe AudioUnitStatus Invoke (IntPtr block, ref global::AudioUnit.AudioUnitRenderActionFlags actionFlags, ref global::AudioToolbox.AudioTimeStamp timestamp, uint frameCount, nint outputBusNumber, NativeHandle outputData, NativeHandle realtimeEventListHead, NativeHandle pullInputBlock) {
var descriptor = (BlockLiteral *) block;
var del = (global::AudioUnit.AUInternalRenderBlock) (descriptor->Target);
- AudioUnit.AudioUnitStatus retval = del (ref actionFlags, ref timestamp, frameCount, outputBusNumber, new global::AudioToolbox.AudioBuffers (outputData), new AudioUnit.AURenderEventEnumerator (realtimeEventListHead, false), NIDAURenderPullInputBlock.Create (pullInputBlock)!);
+ AudioUnitStatus retval = del (ref actionFlags, ref timestamp, frameCount, outputBusNumber, new global::AudioToolbox.AudioBuffers (outputData), new AudioUnit.AURenderEventEnumerator (realtimeEventListHead, false), NIDAURenderPullInputBlock.Create (pullInputBlock)!);
return retval;
}
} /* class SDAUInternalRenderBlock */
@@ -1253,7 +1253,7 @@ namespace ObjCRuntime {
static unsafe int Invoke (IntPtr block, long eventSampleTime, byte cable, nint length, nint midiBytes) {
var descriptor = (BlockLiteral *) block;
var del = (global::AudioUnit.AUMidiOutputEventBlock) (descriptor->Target);
- System.Int32 retval = del (eventSampleTime, cable, length, midiBytes);
+ int retval = del (eventSampleTime, cable, length, midiBytes);
return retval;
}
} /* class SDAUMidiOutputEventBlock */
@@ -1414,7 +1414,7 @@ namespace ObjCRuntime {
static unsafe AudioUnitStatus Invoke (IntPtr block, ref global::AudioUnit.AudioUnitRenderActionFlags actionFlags, ref global::AudioToolbox.AudioTimeStamp timestamp, uint frameCount, nint outputBusNumber, NativeHandle outputData, NativeHandle pullInputBlock) {
var descriptor = (BlockLiteral *) block;
var del = (global::AudioUnit.AURenderBlock) (descriptor->Target);
- AudioUnit.AudioUnitStatus retval = del (ref actionFlags, ref timestamp, frameCount, outputBusNumber, new global::AudioToolbox.AudioBuffers (outputData), NIDAURenderPullInputBlock.Create (pullInputBlock)!);
+ AudioUnitStatus retval = del (ref actionFlags, ref timestamp, frameCount, outputBusNumber, new global::AudioToolbox.AudioBuffers (outputData), NIDAURenderPullInputBlock.Create (pullInputBlock)!);
return retval;
}
} /* class SDAURenderBlock */
@@ -1467,7 +1467,7 @@ namespace ObjCRuntime {
static unsafe AudioUnitStatus Invoke (IntPtr block, ref global::AudioUnit.AudioUnitRenderActionFlags actionFlags, ref global::AudioToolbox.AudioTimeStamp timestamp, uint frameCount, nint inputBusNumber, NativeHandle inputData) {
var descriptor = (BlockLiteral *) block;
var del = (global::AudioUnit.AURenderPullInputBlock) (descriptor->Target);
- AudioUnit.AudioUnitStatus retval = del (ref actionFlags, ref timestamp, frameCount, inputBusNumber, new global::AudioToolbox.AudioBuffers (inputData));
+ AudioUnitStatus retval = del (ref actionFlags, ref timestamp, frameCount, inputBusNumber, new global::AudioToolbox.AudioBuffers (inputData));
return retval;
}
} /* class SDAURenderPullInputBlock */
@@ -3123,7 +3123,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle dictionary) {
var descriptor = (BlockLiteral *) block;
var del = (global::CoreData.NSBatchInsertRequestDictionaryHandler) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<NSMutableDictionary> (dictionary)!);
+ bool retval = del ( Runtime.GetNSObject<NSMutableDictionary> (dictionary)!);
return retval;
}
} /* class SDNSBatchInsertRequestDictionaryHandler */
@@ -3165,7 +3165,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle managedObject) {
var descriptor = (BlockLiteral *) block;
var del = (global::CoreData.NSBatchInsertRequestManagedObjectHandler) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<CoreData.NSManagedObject> (managedObject)!);
+ bool retval = del ( Runtime.GetNSObject<CoreData.NSManagedObject> (managedObject)!);
return retval;
}
} /* class SDNSBatchInsertRequestManagedObjectHandler */
@@ -3419,7 +3419,7 @@ namespace ObjCRuntime {
static unsafe CGRect Invoke (IntPtr block, int index, CGRect rect) {
var descriptor = (BlockLiteral *) block;
var del = (global::CoreImage.CIKernelRoiCallback) (descriptor->Target);
- CoreGraphics.CGRect retval = del (index, rect);
+ CGRect retval = del (index, rect);
return retval;
}
} /* class SDCIKernelRoiCallback */
@@ -5293,7 +5293,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle url, NativeHandle error) {
var descriptor = (BlockLiteral *) block;
var del = (NSEnumerateErrorHandler) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<NSUrl> (url)!, Runtime.GetNSObject<NSError> (error)!);
+ bool retval = del ( Runtime.GetNSObject<NSUrl> (url)!, Runtime.GetNSObject<NSError> (error)!);
return retval;
}
} /* class SDNSEnumerateErrorHandler */
@@ -5336,7 +5336,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle tag, NSRange tokenRange, NSRange sentenceRange, [System.Runtime.InteropServices.MarshalAs (System.Runtime.InteropServices.UnmanagedType.I1)] ref bool stop) {
var descriptor = (BlockLiteral *) block;
var del = (NSEnumerateLinguisticTagsEnumerator) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<NSString> (tag)!, tokenRange, sentenceRange, ref stop);
+ bool retval = del ( Runtime.GetNSObject<NSString> (tag)!, tokenRange, sentenceRange, ref stop);
return retval;
}
} /* class SDNSEnumerateLinguisticTagsEnumerator */
@@ -5378,7 +5378,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle error, NativeHandle userInfoKey) {
var descriptor = (BlockLiteral *) block;
var del = (NSErrorUserInfoValueProvider) (descriptor->Target);
- Foundation.NSObject retval = del ( Runtime.GetNSObject<NSError> (error)!, Runtime.GetNSObject<NSString> (userInfoKey)!);
+ NSObject retval = del ( Runtime.GetNSObject<NSError> (error)!, Runtime.GetNSObject<NSString> (userInfoKey)!);
return retval.GetHandle ();
}
} /* class SDNSErrorUserInfoValueProvider */
@@ -5421,7 +5421,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle evaluatedObject, NativeHandle expressions, NativeHandle context) {
var descriptor = (BlockLiteral *) block;
var del = (NSExpressionCallbackHandler) (descriptor->Target);
- Foundation.NSObject retval = del ( Runtime.GetNSObject<NSObject> (evaluatedObject)!, CFArray.ArrayFromHandle<NSExpression> (expressions)!, Runtime.GetNSObject<NSMutableDictionary> (context)!);
+ NSObject retval = del ( Runtime.GetNSObject<NSObject> (evaluatedObject)!, CFArray.ArrayFromHandle<NSExpression> (expressions)!, Runtime.GetNSObject<NSMutableDictionary> (context)!);
return retval.GetHandle ();
}
} /* class SDNSExpressionCallbackHandler */
@@ -5653,7 +5653,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle completionHandler) {
var descriptor = (BlockLiteral *) block;
var del = (NSItemProviderUTTypeLoadDelegate) (descriptor->Target);
- Foundation.NSProgress retval = del (NIDItemProviderDataCompletionHandler.Create (completionHandler)!);
+ NSProgress retval = del (NIDItemProviderDataCompletionHandler.Create (completionHandler)!);
return retval.GetHandle ();
}
} /* class SDNSItemProviderUTTypeLoadDelegate */
@@ -5825,7 +5825,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle evaluatedObject, NativeHandle bindings) {
var descriptor = (BlockLiteral *) block;
var del = (NSPredicateEvaluator) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<NSObject> (evaluatedObject)!, Runtime.GetNSObject<NSDictionary> (bindings)!);
+ bool retval = del ( Runtime.GetNSObject<NSObject> (evaluatedObject)!, Runtime.GetNSObject<NSDictionary> (bindings)!);
return retval;
}
} /* class SDNSPredicateEvaluator */
@@ -6220,7 +6220,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle completionHandler) {
var descriptor = (BlockLiteral *) block;
var del = (RegisterDataRepresentationLoadHandler) (descriptor->Target);
- Foundation.NSProgress retval = del (NIDItemProviderDataCompletionHandler.Create (completionHandler)!);
+ NSProgress retval = del (NIDItemProviderDataCompletionHandler.Create (completionHandler)!);
return retval.GetHandle ();
}
} /* class SDRegisterDataRepresentationLoadHandler */
@@ -6269,7 +6269,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle completionHandler) {
var descriptor = (BlockLiteral *) block;
var del = (RegisterFileRepresentationLoadHandler) (descriptor->Target);
- Foundation.NSProgress retval = del (NIDRegisterFileRepresentationCompletionHandler.Create (completionHandler)!);
+ NSProgress retval = del (NIDRegisterFileRepresentationCompletionHandler.Create (completionHandler)!);
return retval.GetHandle ();
}
} /* class SDRegisterFileRepresentationLoadHandler */
@@ -6318,7 +6318,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle completionHandler) {
var descriptor = (BlockLiteral *) block;
var del = (RegisterObjectRepresentationLoadHandler) (descriptor->Target);
- Foundation.NSProgress retval = del (NIDRegisterObjectRepresentationCompletionHandler.Create (completionHandler)!);
+ NSProgress retval = del (NIDRegisterObjectRepresentationCompletionHandler.Create (completionHandler)!);
return retval.GetHandle ();
}
} /* class SDRegisterObjectRepresentationLoadHandler */
@@ -9725,7 +9725,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle filter, NativeHandle commandBuffer, NativeHandle sourceTexture) {
var descriptor = (BlockLiteral *) block;
var del = (global::MetalPerformanceShaders.MPSCopyAllocator) (descriptor->Target);
- Foundation.NSObject retval = del ( Runtime.GetNSObject<MetalPerformanceShaders.MPSKernel> (filter)!, Runtime.GetNSObject<NSObject> (commandBuffer)!, Runtime.GetNSObject<NSObject> (sourceTexture)!);
+ NSObject retval = del ( Runtime.GetNSObject<MetalPerformanceShaders.MPSKernel> (filter)!, Runtime.GetNSObject<NSObject> (commandBuffer)!, Runtime.GetNSObject<NSObject> (sourceTexture)!);
return retval.GetHandle ();
}
} /* class SDMPSCopyAllocator */
@@ -9855,7 +9855,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block) {
var descriptor = (BlockLiteral *) block;
var del = (global::MetalPerformanceShadersGraph.MPSGraphControlFlowDependencyBlock) (descriptor->Target);
- MetalPerformanceShadersGraph.MPSGraphTensor[] retval = del ();
+ MPSGraphTensor[] retval = del ();
return NSArray.FromNSObjects(retval).Handle;
}
} /* class SDMPSGraphControlFlowDependencyBlock */
@@ -9988,7 +9988,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle index, NativeHandle iterationArguments) {
var descriptor = (BlockLiteral *) block;
var del = (global::MetalPerformanceShadersGraph.MPSGraphForLoopBodyBlock) (descriptor->Target);
- MetalPerformanceShadersGraph.MPSGraphTensor[] retval = del ( Runtime.GetNSObject<MPSGraphTensor> (index)!, CFArray.ArrayFromHandle<global::MetalPerformanceShadersGraph.MPSGraphTensor> (iterationArguments)!);
+ MPSGraphTensor[] retval = del ( Runtime.GetNSObject<MPSGraphTensor> (index)!, CFArray.ArrayFromHandle<global::MetalPerformanceShadersGraph.MPSGraphTensor> (iterationArguments)!);
return NSArray.FromNSObjects(retval).Handle;
}
} /* class SDMPSGraphForLoopBodyBlock */
@@ -10035,7 +10035,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block) {
var descriptor = (BlockLiteral *) block;
var del = (global::MetalPerformanceShadersGraph.MPSGraphIfThenElseBlock) (descriptor->Target);
- MetalPerformanceShadersGraph.MPSGraphTensor[] retval = del ();
+ MPSGraphTensor[] retval = del ();
return NSArray.FromNSObjects(retval).Handle;
}
} /* class SDMPSGraphIfThenElseBlock */
@@ -10118,7 +10118,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle bodyBlockArguments) {
var descriptor = (BlockLiteral *) block;
var del = (global::MetalPerformanceShadersGraph.MPSGraphWhileAfterBlock) (descriptor->Target);
- MetalPerformanceShadersGraph.MPSGraphTensor[] retval = del (CFArray.ArrayFromHandle<global::MetalPerformanceShadersGraph.MPSGraphTensor> (bodyBlockArguments)!);
+ MPSGraphTensor[] retval = del (CFArray.ArrayFromHandle<global::MetalPerformanceShadersGraph.MPSGraphTensor> (bodyBlockArguments)!);
return NSArray.FromNSObjects(retval).Handle;
}
} /* class SDMPSGraphWhileAfterBlock */
@@ -10164,7 +10164,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle inputTensors, NativeHandle resultTensors) {
var descriptor = (BlockLiteral *) block;
var del = (global::MetalPerformanceShadersGraph.MPSGraphWhileBeforeBlock) (descriptor->Target);
- MetalPerformanceShadersGraph.MPSGraphTensor retval = del (CFArray.ArrayFromHandle<global::MetalPerformanceShadersGraph.MPSGraphTensor> (inputTensors)!, Runtime.GetNSObject<global::Foundation.NSMutableArray<global::MetalPerformanceShadersGraph.MPSGraphTensor>> (resultTensors)!);
+ MPSGraphTensor retval = del (CFArray.ArrayFromHandle<global::MetalPerformanceShadersGraph.MPSGraphTensor> (inputTensors)!, Runtime.GetNSObject<global::Foundation.NSMutableArray<global::MetalPerformanceShadersGraph.MPSGraphTensor>> (resultTensors)!);
return retval.GetHandle ();
}
} /* class SDMPSGraphWhileBeforeBlock */
@@ -11331,7 +11331,7 @@ namespace ObjCRuntime {
var descriptor = (BlockLiteral *) block;
var del = (global::Photos.PHLivePhotoFrameProcessingBlock) (descriptor->Target);
var __xamarin_pref1 = Runtime.GetINativeObject<NSError> (error, false)!;
- CoreImage.CIImage retval = del ( Runtime.GetINativeObject<Photos.IPHLivePhotoFrame> (frame, false)!, ref __xamarin_pref1);
+ CIImage retval = del ( Runtime.GetINativeObject<Photos.IPHLivePhotoFrame> (frame, false)!, ref __xamarin_pref1);
error = __xamarin_pref1.GetHandle ();
return retval.GetHandle ();
}
@@ -11417,7 +11417,7 @@ namespace ObjCRuntime {
var descriptor = (BlockLiteral *) block;
var del = (global::QuickLook.QLPreviewReplyDataCreationHandler) (descriptor->Target);
var __xamarin_pref1 = Runtime.GetINativeObject<NSError> (error, false)!;
- Foundation.NSData retval = del ( Runtime.GetNSObject<QLPreviewReply> (reply)!, out __xamarin_pref1);
+ NSData retval = del ( Runtime.GetNSObject<QLPreviewReply> (reply)!, out __xamarin_pref1);
error = __xamarin_pref1.GetHandle ();
return retval.GetHandle ();
}
@@ -11463,7 +11463,7 @@ namespace ObjCRuntime {
var descriptor = (BlockLiteral *) block;
var del = (global::QuickLook.QLPreviewReplyDrawingHandler) (descriptor->Target);
var __xamarin_pref2 = Runtime.GetINativeObject<NSError> (error, false)!;
- System.Boolean retval = del (new CoreGraphics.CGContext (context, false), Runtime.GetNSObject<QLPreviewReply> (reply)!, out __xamarin_pref2);
+ bool retval = del (new CoreGraphics.CGContext (context, false), Runtime.GetNSObject<QLPreviewReply> (reply)!, out __xamarin_pref2);
error = __xamarin_pref2.GetHandle ();
return retval;
}
@@ -11510,7 +11510,7 @@ namespace ObjCRuntime {
var descriptor = (BlockLiteral *) block;
var del = (global::QuickLook.QLPreviewReplyUIDocumentCreationHandler) (descriptor->Target);
var __xamarin_pref1 = Runtime.GetINativeObject<NSError> (error, false)!;
- CoreGraphics.CGPDFDocument retval = del ( Runtime.GetNSObject<QLPreviewReply> (reply)!, out __xamarin_pref1);
+ CGPDFDocument retval = del ( Runtime.GetNSObject<QLPreviewReply> (reply)!, out __xamarin_pref1);
error = __xamarin_pref1.GetHandle ();
return retval.GetHandle ();
}
@@ -11899,7 +11899,7 @@ namespace ObjCRuntime {
static unsafe SCNVector3 Invoke (IntPtr block, global::SceneKit.SCNVector3 position, global::SceneKit.SCNVector3 velocity, float mass, float charge, double timeInSeconds) {
var descriptor = (BlockLiteral *) block;
var del = (global::SceneKit.SCNFieldForceEvaluator) (descriptor->Target);
- SceneKit.SCNVector3 retval = del (position, velocity, mass, charge, timeInSeconds);
+ SCNVector3 retval = del (position, velocity, mass, charge, timeInSeconds);
return retval;
}
} /* class SDSCNFieldForceEvaluator */
@@ -11983,7 +11983,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle node, [System.Runtime.InteropServices.MarshalAs (System.Runtime.InteropServices.UnmanagedType.I1)] out bool stop) {
var descriptor = (BlockLiteral *) block;
var del = (global::SceneKit.SCNNodePredicate) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<SCNNode> (node)!, out stop);
+ bool retval = del ( Runtime.GetNSObject<SCNNode> (node)!, out stop);
return retval;
}
} /* class SDSCNNodePredicate */
@@ -12148,7 +12148,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle entry, NativeHandle identifier, [System.Runtime.InteropServices.MarshalAs (System.Runtime.InteropServices.UnmanagedType.I1)] ref bool stop) {
var descriptor = (BlockLiteral *) block;
var del = (global::SceneKit.SCNSceneSourceFilter) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<NSObject> (entry)!, Runtime.GetNSObject<NSString> (identifier)!, ref stop);
+ bool retval = del ( Runtime.GetNSObject<NSObject> (entry)!, Runtime.GetNSObject<NSString> (identifier)!, ref stop);
return retval;
}
} /* class SDSCNSceneSourceFilter */
@@ -12232,7 +12232,7 @@ namespace ObjCRuntime {
static unsafe SCNMatrix4 Invoke (IntPtr block, NativeHandle node, global::SceneKit.SCNMatrix4 transform) {
var descriptor = (BlockLiteral *) block;
var del = (global::SceneKit.SCNTransformConstraintHandler) (descriptor->Target);
- SceneKit.SCNMatrix4 retval = del ( Runtime.GetNSObject<SCNNode> (node)!, transform);
+ SCNMatrix4 retval = del ( Runtime.GetNSObject<SCNNode> (node)!, transform);
return retval;
}
} /* class SDSCNTransformConstraintHandler */
@@ -12503,7 +12503,7 @@ namespace ObjCRuntime {
static unsafe float Invoke (IntPtr block, float time) {
var descriptor = (BlockLiteral *) block;
var del = (global::SpriteKit.SKActionTimingFunction2) (descriptor->Target);
- System.Single retval = del (time);
+ float retval = del (time);
return retval;
}
} /* class SDSKActionTimingFunction2 */
@@ -14559,28 +14559,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity1V51 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<INSItemProviderReading[]>))]
- internal delegate void DActionArity1V245 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V246 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V245 {
- static internal readonly DActionArity1V245 Handler = Invoke;
+ static internal class SDActionArity1V246 {
+ static internal readonly DActionArity1V246 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V245))]
+ [MonoPInvokeCallback (typeof (DActionArity1V246))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<INSItemProviderReading[]>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<INSItemProviderReading> (obj)!);
}
- } /* class SDActionArity1V245 */
- internal sealed class NIDActionArity1V245 : TrampolineBlockBase {
- DActionArity1V245 invoker;
+ } /* class SDActionArity1V246 */
+ internal sealed class NIDActionArity1V246 : TrampolineBlockBase {
+ DActionArity1V246 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V245 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V246 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V245> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V246> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -14589,7 +14589,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<INSItemProviderReading[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V245 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V246 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (INSItemProviderReading[] obj)
@@ -14601,31 +14601,31 @@ namespace ObjCRuntime {
if (nsa_obj != null)
nsa_obj.Dispose ();
}
- } /* class NIDActionArity1V245 */
+ } /* class NIDActionArity1V246 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSArray>))]
- internal delegate void DActionArity1V271 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V272 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V271 {
- static internal readonly DActionArity1V271 Handler = Invoke;
+ static internal class SDActionArity1V272 {
+ static internal readonly DActionArity1V272 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V271))]
+ [MonoPInvokeCallback (typeof (DActionArity1V272))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSArray>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSArray> (obj)!);
}
- } /* class SDActionArity1V271 */
- internal sealed class NIDActionArity1V271 : TrampolineBlockBase {
- DActionArity1V271 invoker;
+ } /* class SDActionArity1V272 */
+ internal sealed class NIDActionArity1V272 : TrampolineBlockBase {
+ DActionArity1V272 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V271 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V272 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V271> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V272> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -14634,7 +14634,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSArray>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V271 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V272 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSArray obj)
@@ -14642,7 +14642,7 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V271 */
+ } /* class NIDActionArity1V272 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSArray<global::CoreSpotlight.CSSuggestion>>))]
internal delegate void DActionArity1V45 (IntPtr block, NativeHandle obj);
@@ -15059,28 +15059,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity1V55 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSIndexPath>))]
- internal delegate void DActionArity1V241 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V242 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V241 {
- static internal readonly DActionArity1V241 Handler = Invoke;
+ static internal class SDActionArity1V242 {
+ static internal readonly DActionArity1V242 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V241))]
+ [MonoPInvokeCallback (typeof (DActionArity1V242))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSIndexPath>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSIndexPath> (obj)!);
}
- } /* class SDActionArity1V241 */
- internal sealed class NIDActionArity1V241 : TrampolineBlockBase {
- DActionArity1V241 invoker;
+ } /* class SDActionArity1V242 */
+ internal sealed class NIDActionArity1V242 : TrampolineBlockBase {
+ DActionArity1V242 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V241 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V242 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V241> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V242> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -15089,7 +15089,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSIndexPath>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V241 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V242 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSIndexPath obj)
@@ -15097,7 +15097,7 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V241 */
+ } /* class NIDActionArity1V242 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSInputStream>))]
internal delegate void DActionArity1V2 (IntPtr block, NativeHandle obj);
@@ -15223,28 +15223,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity1V58 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSObject[]>))]
- internal delegate void DActionArity1V250 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V251 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V250 {
- static internal readonly DActionArity1V250 Handler = Invoke;
+ static internal class SDActionArity1V251 {
+ static internal readonly DActionArity1V251 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V250))]
+ [MonoPInvokeCallback (typeof (DActionArity1V251))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSObject[]>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<NSObject> (obj)!);
}
- } /* class SDActionArity1V250 */
- internal sealed class NIDActionArity1V250 : TrampolineBlockBase {
- DActionArity1V250 invoker;
+ } /* class SDActionArity1V251 */
+ internal sealed class NIDActionArity1V251 : TrampolineBlockBase {
+ DActionArity1V251 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V250 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V251 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V250> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V251> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -15253,7 +15253,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSObject[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V250 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V251 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSObject[] obj)
@@ -15265,31 +15265,31 @@ namespace ObjCRuntime {
if (nsa_obj != null)
nsa_obj.Dispose ();
}
- } /* class NIDActionArity1V250 */
+ } /* class NIDActionArity1V251 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSSet<global::UserNotifications.UNNotificationCategory>>))]
- internal delegate void DActionArity1V257 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V258 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V257 {
- static internal readonly DActionArity1V257 Handler = Invoke;
+ static internal class SDActionArity1V258 {
+ static internal readonly DActionArity1V258 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V257))]
+ [MonoPInvokeCallback (typeof (DActionArity1V258))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSSet<global::UserNotifications.UNNotificationCategory>>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<global::Foundation.NSSet<global::UserNotifications.UNNotificationCategory>> (obj)!);
}
- } /* class SDActionArity1V257 */
- internal sealed class NIDActionArity1V257 : TrampolineBlockBase {
- DActionArity1V257 invoker;
+ } /* class SDActionArity1V258 */
+ internal sealed class NIDActionArity1V258 : TrampolineBlockBase {
+ DActionArity1V258 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V257 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V258 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V257> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V258> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -15298,7 +15298,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSSet<global::UserNotifications.UNNotificationCategory>>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V257 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V258 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSSet<global::UserNotifications.UNNotificationCategory> obj)
@@ -15306,7 +15306,7 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V257 */
+ } /* class NIDActionArity1V258 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSString>))]
internal delegate void DActionArity1V50 (IntPtr block, NativeHandle obj);
@@ -15554,28 +15554,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity1V61 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSUrl[]>))]
- internal delegate void DActionArity1V244 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V245 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V244 {
- static internal readonly DActionArity1V244 Handler = Invoke;
+ static internal class SDActionArity1V245 {
+ static internal readonly DActionArity1V245 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V244))]
+ [MonoPInvokeCallback (typeof (DActionArity1V245))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSUrl[]>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<NSUrl> (obj)!);
}
- } /* class SDActionArity1V244 */
- internal sealed class NIDActionArity1V244 : TrampolineBlockBase {
- DActionArity1V244 invoker;
+ } /* class SDActionArity1V245 */
+ internal sealed class NIDActionArity1V245 : TrampolineBlockBase {
+ DActionArity1V245 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V244 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V245 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V244> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V245> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -15584,7 +15584,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSUrl[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V244 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V245 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSUrl[] obj)
@@ -15596,7 +15596,7 @@ namespace ObjCRuntime {
if (nsa_obj != null)
nsa_obj.Dispose ();
}
- } /* class NIDActionArity1V244 */
+ } /* class NIDActionArity1V245 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::GameController.GCController>))]
internal delegate void DActionArity1V62 (IntPtr block, NativeHandle obj);
@@ -22846,28 +22846,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity1V237 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.IUIFocusAnimationContext>))]
- internal delegate void DActionArity1V246 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V247 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V246 {
- static internal readonly DActionArity1V246 Handler = Invoke;
+ static internal class SDActionArity1V247 {
+ static internal readonly DActionArity1V247 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V246))]
+ [MonoPInvokeCallback (typeof (DActionArity1V247))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.IUIFocusAnimationContext>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<UIKit.IUIFocusAnimationContext> (obj, false)!);
}
- } /* class SDActionArity1V246 */
- internal sealed class NIDActionArity1V246 : TrampolineBlockBase {
- DActionArity1V246 invoker;
+ } /* class SDActionArity1V247 */
+ internal sealed class NIDActionArity1V247 : TrampolineBlockBase {
+ DActionArity1V247 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V246 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V247 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V246> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V247> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -22876,7 +22876,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.IUIFocusAnimationContext>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V246 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V247 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.IUIFocusAnimationContext obj)
@@ -22884,31 +22884,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V246 */
+ } /* class NIDActionArity1V247 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.IUITextInput>))]
- internal delegate void DActionArity1V251 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V252 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V251 {
- static internal readonly DActionArity1V251 Handler = Invoke;
+ static internal class SDActionArity1V252 {
+ static internal readonly DActionArity1V252 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V251))]
+ [MonoPInvokeCallback (typeof (DActionArity1V252))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.IUITextInput>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<UIKit.IUITextInput> (obj, false)!);
}
- } /* class SDActionArity1V251 */
- internal sealed class NIDActionArity1V251 : TrampolineBlockBase {
- DActionArity1V251 invoker;
+ } /* class SDActionArity1V252 */
+ internal sealed class NIDActionArity1V252 : TrampolineBlockBase {
+ DActionArity1V252 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V251 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V252 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V251> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V252> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -22917,7 +22917,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.IUITextInput>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V251 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V252 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.IUITextInput obj)
@@ -22925,31 +22925,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V251 */
+ } /* class NIDActionArity1V252 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.IUIViewControllerTransitionCoordinatorContext>))]
- internal delegate void DActionArity1V254 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V255 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V254 {
- static internal readonly DActionArity1V254 Handler = Invoke;
+ static internal class SDActionArity1V255 {
+ static internal readonly DActionArity1V255 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V254))]
+ [MonoPInvokeCallback (typeof (DActionArity1V255))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.IUIViewControllerTransitionCoordinatorContext>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<UIKit.IUIViewControllerTransitionCoordinatorContext> (obj, false)!);
}
- } /* class SDActionArity1V254 */
- internal sealed class NIDActionArity1V254 : TrampolineBlockBase {
- DActionArity1V254 invoker;
+ } /* class SDActionArity1V255 */
+ internal sealed class NIDActionArity1V255 : TrampolineBlockBase {
+ DActionArity1V255 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V254 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V255 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V254> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V255> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -22958,7 +22958,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.IUIViewControllerTransitionCoordinatorContext>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V254 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V255 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.IUIViewControllerTransitionCoordinatorContext obj)
@@ -22966,7 +22966,7 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V254 */
+ } /* class NIDActionArity1V255 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UIAlertAction>))]
internal delegate void DActionArity1V238 (IntPtr block, NativeHandle obj);
@@ -23091,28 +23091,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity1V240 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UICollectionViewCell>))]
- internal delegate void DActionArity1V243 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V244 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V243 {
- static internal readonly DActionArity1V243 Handler = Invoke;
+ static internal class SDActionArity1V244 {
+ static internal readonly DActionArity1V244 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V243))]
+ [MonoPInvokeCallback (typeof (DActionArity1V244))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.UICollectionViewCell>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<UICollectionViewCell> (obj)!);
}
- } /* class SDActionArity1V243 */
- internal sealed class NIDActionArity1V243 : TrampolineBlockBase {
- DActionArity1V243 invoker;
+ } /* class SDActionArity1V244 */
+ internal sealed class NIDActionArity1V244 : TrampolineBlockBase {
+ DActionArity1V244 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V243 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V244 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V243> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V244> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23121,7 +23121,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.UICollectionViewCell>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V243 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V244 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.UICollectionViewCell obj)
@@ -23129,31 +23129,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V243 */
+ } /* class NIDActionArity1V244 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UIContextMenuConfiguration>))]
- internal delegate void DActionArity1V265 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V266 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V265 {
- static internal readonly DActionArity1V265 Handler = Invoke;
+ static internal class SDActionArity1V266 {
+ static internal readonly DActionArity1V266 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V265))]
+ [MonoPInvokeCallback (typeof (DActionArity1V266))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.UIContextMenuConfiguration>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<UIContextMenuConfiguration> (obj)!);
}
- } /* class SDActionArity1V265 */
- internal sealed class NIDActionArity1V265 : TrampolineBlockBase {
- DActionArity1V265 invoker;
+ } /* class SDActionArity1V266 */
+ internal sealed class NIDActionArity1V266 : TrampolineBlockBase {
+ DActionArity1V266 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V265 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V266 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V265> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V266> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23162,7 +23162,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.UIContextMenuConfiguration>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V265 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V266 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.UIContextMenuConfiguration obj)
@@ -23170,31 +23170,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V265 */
+ } /* class NIDActionArity1V266 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UIGraphicsImageRendererContext>))]
- internal delegate void DActionArity1V247 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V248 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V247 {
- static internal readonly DActionArity1V247 Handler = Invoke;
+ static internal class SDActionArity1V248 {
+ static internal readonly DActionArity1V248 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V247))]
+ [MonoPInvokeCallback (typeof (DActionArity1V248))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.UIGraphicsImageRendererContext>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<UIGraphicsImageRendererContext> (obj)!);
}
- } /* class SDActionArity1V247 */
- internal sealed class NIDActionArity1V247 : TrampolineBlockBase {
- DActionArity1V247 invoker;
+ } /* class SDActionArity1V248 */
+ internal sealed class NIDActionArity1V248 : TrampolineBlockBase {
+ DActionArity1V248 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V247 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V248 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V247> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V248> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23203,7 +23203,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.UIGraphicsImageRendererContext>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V247 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V248 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.UIGraphicsImageRendererContext obj)
@@ -23211,31 +23211,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V247 */
+ } /* class NIDActionArity1V248 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UIGraphicsPdfRendererContext>))]
- internal delegate void DActionArity1V248 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V249 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V248 {
- static internal readonly DActionArity1V248 Handler = Invoke;
+ static internal class SDActionArity1V249 {
+ static internal readonly DActionArity1V249 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V248))]
+ [MonoPInvokeCallback (typeof (DActionArity1V249))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.UIGraphicsPdfRendererContext>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<UIGraphicsPdfRendererContext> (obj)!);
}
- } /* class SDActionArity1V248 */
- internal sealed class NIDActionArity1V248 : TrampolineBlockBase {
- DActionArity1V248 invoker;
+ } /* class SDActionArity1V249 */
+ internal sealed class NIDActionArity1V249 : TrampolineBlockBase {
+ DActionArity1V249 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V248 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V249 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V248> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V249> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23244,7 +23244,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.UIGraphicsPdfRendererContext>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V248 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V249 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.UIGraphicsPdfRendererContext obj)
@@ -23252,31 +23252,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V248 */
+ } /* class NIDActionArity1V249 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UIGraphicsRendererContext>))]
- internal delegate void DActionArity1V249 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V250 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V249 {
- static internal readonly DActionArity1V249 Handler = Invoke;
+ static internal class SDActionArity1V250 {
+ static internal readonly DActionArity1V250 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V249))]
+ [MonoPInvokeCallback (typeof (DActionArity1V250))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.UIGraphicsRendererContext>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<UIGraphicsRendererContext> (obj)!);
}
- } /* class SDActionArity1V249 */
- internal sealed class NIDActionArity1V249 : TrampolineBlockBase {
- DActionArity1V249 invoker;
+ } /* class SDActionArity1V250 */
+ internal sealed class NIDActionArity1V250 : TrampolineBlockBase {
+ DActionArity1V250 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V249 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V250 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V249> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V250> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23285,7 +23285,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.UIGraphicsRendererContext>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V249 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V250 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.UIGraphicsRendererContext obj)
@@ -23293,7 +23293,7 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V249 */
+ } /* class NIDActionArity1V250 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UIImage>))]
internal delegate void DActionArity1V119 (IntPtr block, NativeHandle obj);
@@ -23337,28 +23337,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity1V119 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UILexicon>))]
- internal delegate void DActionArity1V252 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V253 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V252 {
- static internal readonly DActionArity1V252 Handler = Invoke;
+ static internal class SDActionArity1V253 {
+ static internal readonly DActionArity1V253 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V252))]
+ [MonoPInvokeCallback (typeof (DActionArity1V253))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.UILexicon>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<UILexicon> (obj)!);
}
- } /* class SDActionArity1V252 */
- internal sealed class NIDActionArity1V252 : TrampolineBlockBase {
- DActionArity1V252 invoker;
+ } /* class SDActionArity1V253 */
+ internal sealed class NIDActionArity1V253 : TrampolineBlockBase {
+ DActionArity1V253 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V252 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V253 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V252> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V253> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23367,7 +23367,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.UILexicon>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V252 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V253 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.UILexicon obj)
@@ -23375,31 +23375,72 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V252 */
+ } /* class NIDActionArity1V253 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Action<global::UIKit.UIMenu>))]
+ internal delegate void DActionArity1V241 (IntPtr block, NativeHandle obj);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDActionArity1V241 {
+ static internal readonly DActionArity1V241 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DActionArity1V241))]
+ static unsafe void Invoke (IntPtr block, NativeHandle obj) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Action<global::UIKit.UIMenu>) (descriptor->Target);
+ if (del != null)
+ del ( Runtime.GetNSObject<UIMenu> (obj)!);
+ }
+ } /* class SDActionArity1V241 */
+ internal sealed class NIDActionArity1V241 : TrampolineBlockBase {
+ DActionArity1V241 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDActionArity1V241 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DActionArity1V241> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Action<global::UIKit.UIMenu>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Action<global::UIKit.UIMenu>) GetExistingManagedDelegate (block);
+ return del ?? new NIDActionArity1V241 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (global::UIKit.UIMenu obj)
+ {
+ var obj__handle__ = obj.GetHandle ();
+ invoker (BlockPointer, obj__handle__);
+ }
+ } /* class NIDActionArity1V241 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UITableViewCell>))]
- internal delegate void DActionArity1V253 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V254 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V253 {
- static internal readonly DActionArity1V253 Handler = Invoke;
+ static internal class SDActionArity1V254 {
+ static internal readonly DActionArity1V254 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V253))]
+ [MonoPInvokeCallback (typeof (DActionArity1V254))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.UITableViewCell>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<UITableViewCell> (obj)!);
}
- } /* class SDActionArity1V253 */
- internal sealed class NIDActionArity1V253 : TrampolineBlockBase {
- DActionArity1V253 invoker;
+ } /* class SDActionArity1V254 */
+ internal sealed class NIDActionArity1V254 : TrampolineBlockBase {
+ DActionArity1V254 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V253 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V254 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V253> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V254> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23408,7 +23449,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.UITableViewCell>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V253 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V254 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.UITableViewCell obj)
@@ -23416,7 +23457,7 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V253 */
+ } /* class NIDActionArity1V254 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UITextField>))]
internal delegate void DActionArity1V239 (IntPtr block, NativeHandle obj);
@@ -23460,28 +23501,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity1V239 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UIViewAnimatingPosition>))]
- internal delegate void DActionArity1V242 (IntPtr block, IntPtr obj);
+ internal delegate void DActionArity1V243 (IntPtr block, IntPtr obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V242 {
- static internal readonly DActionArity1V242 Handler = Invoke;
+ static internal class SDActionArity1V243 {
+ static internal readonly DActionArity1V243 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V242))]
+ [MonoPInvokeCallback (typeof (DActionArity1V243))]
static unsafe void Invoke (IntPtr block, IntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UIKit.UIViewAnimatingPosition>) (descriptor->Target);
if (del != null)
del ((UIViewAnimatingPosition) (long) obj);
}
- } /* class SDActionArity1V242 */
- internal sealed class NIDActionArity1V242 : TrampolineBlockBase {
- DActionArity1V242 invoker;
+ } /* class SDActionArity1V243 */
+ internal sealed class NIDActionArity1V243 : TrampolineBlockBase {
+ DActionArity1V243 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V242 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V243 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V242> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V243> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23490,14 +23531,14 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UIKit.UIViewAnimatingPosition>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V242 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V243 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UIKit.UIViewAnimatingPosition obj)
{
invoker (BlockPointer, (IntPtr) (long) obj);
}
- } /* class NIDActionArity1V242 */
+ } /* class NIDActionArity1V243 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UIKit.UIViewController>))]
internal delegate void DActionArity1V16 (IntPtr block, NativeHandle obj);
@@ -23541,28 +23582,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity1V16 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UserNotifications.UNNotificationContent>))]
- internal delegate void DActionArity1V255 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V256 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V255 {
- static internal readonly DActionArity1V255 Handler = Invoke;
+ static internal class SDActionArity1V256 {
+ static internal readonly DActionArity1V256 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V255))]
+ [MonoPInvokeCallback (typeof (DActionArity1V256))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UserNotifications.UNNotificationContent>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<UserNotifications.UNNotificationContent> (obj)!);
}
- } /* class SDActionArity1V255 */
- internal sealed class NIDActionArity1V255 : TrampolineBlockBase {
- DActionArity1V255 invoker;
+ } /* class SDActionArity1V256 */
+ internal sealed class NIDActionArity1V256 : TrampolineBlockBase {
+ DActionArity1V256 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V255 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V256 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V255> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V256> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23571,7 +23612,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UserNotifications.UNNotificationContent>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V255 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V256 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UserNotifications.UNNotificationContent obj)
@@ -23579,31 +23620,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V255 */
+ } /* class NIDActionArity1V256 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UserNotifications.UNNotificationPresentationOptions>))]
- internal delegate void DActionArity1V260 (IntPtr block, UIntPtr obj);
+ internal delegate void DActionArity1V261 (IntPtr block, UIntPtr obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V260 {
- static internal readonly DActionArity1V260 Handler = Invoke;
+ static internal class SDActionArity1V261 {
+ static internal readonly DActionArity1V261 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V260))]
+ [MonoPInvokeCallback (typeof (DActionArity1V261))]
static unsafe void Invoke (IntPtr block, UIntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UserNotifications.UNNotificationPresentationOptions>) (descriptor->Target);
if (del != null)
del ((UserNotifications.UNNotificationPresentationOptions) (ulong) obj);
}
- } /* class SDActionArity1V260 */
- internal sealed class NIDActionArity1V260 : TrampolineBlockBase {
- DActionArity1V260 invoker;
+ } /* class SDActionArity1V261 */
+ internal sealed class NIDActionArity1V261 : TrampolineBlockBase {
+ DActionArity1V261 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V260 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V261 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V260> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V261> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23612,38 +23653,38 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UserNotifications.UNNotificationPresentationOptions>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V260 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V261 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UserNotifications.UNNotificationPresentationOptions obj)
{
invoker (BlockPointer, (UIntPtr) (ulong) obj);
}
- } /* class NIDActionArity1V260 */
+ } /* class NIDActionArity1V261 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UserNotifications.UNNotificationRequest[]>))]
- internal delegate void DActionArity1V259 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V260 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V259 {
- static internal readonly DActionArity1V259 Handler = Invoke;
+ static internal class SDActionArity1V260 {
+ static internal readonly DActionArity1V260 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V259))]
+ [MonoPInvokeCallback (typeof (DActionArity1V260))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UserNotifications.UNNotificationRequest[]>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<global::UserNotifications.UNNotificationRequest> (obj)!);
}
- } /* class SDActionArity1V259 */
- internal sealed class NIDActionArity1V259 : TrampolineBlockBase {
- DActionArity1V259 invoker;
+ } /* class SDActionArity1V260 */
+ internal sealed class NIDActionArity1V260 : TrampolineBlockBase {
+ DActionArity1V260 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V259 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V260 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V259> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V260> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23652,7 +23693,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UserNotifications.UNNotificationRequest[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V259 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V260 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UserNotifications.UNNotificationRequest[] obj)
@@ -23664,31 +23705,31 @@ namespace ObjCRuntime {
if (nsa_obj != null)
nsa_obj.Dispose ();
}
- } /* class NIDActionArity1V259 */
+ } /* class NIDActionArity1V260 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UserNotifications.UNNotificationSettings>))]
- internal delegate void DActionArity1V258 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V259 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V258 {
- static internal readonly DActionArity1V258 Handler = Invoke;
+ static internal class SDActionArity1V259 {
+ static internal readonly DActionArity1V259 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V258))]
+ [MonoPInvokeCallback (typeof (DActionArity1V259))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UserNotifications.UNNotificationSettings>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<UserNotifications.UNNotificationSettings> (obj)!);
}
- } /* class SDActionArity1V258 */
- internal sealed class NIDActionArity1V258 : TrampolineBlockBase {
- DActionArity1V258 invoker;
+ } /* class SDActionArity1V259 */
+ internal sealed class NIDActionArity1V259 : TrampolineBlockBase {
+ DActionArity1V259 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V258 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V259 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V258> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V259> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23697,7 +23738,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UserNotifications.UNNotificationSettings>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V258 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V259 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UserNotifications.UNNotificationSettings obj)
@@ -23705,31 +23746,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V258 */
+ } /* class NIDActionArity1V259 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UserNotifications.UNNotification[]>))]
- internal delegate void DActionArity1V256 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V257 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V256 {
- static internal readonly DActionArity1V256 Handler = Invoke;
+ static internal class SDActionArity1V257 {
+ static internal readonly DActionArity1V257 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V256))]
+ [MonoPInvokeCallback (typeof (DActionArity1V257))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UserNotifications.UNNotification[]>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<global::UserNotifications.UNNotification> (obj)!);
}
- } /* class SDActionArity1V256 */
- internal sealed class NIDActionArity1V256 : TrampolineBlockBase {
- DActionArity1V256 invoker;
+ } /* class SDActionArity1V257 */
+ internal sealed class NIDActionArity1V257 : TrampolineBlockBase {
+ DActionArity1V257 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V256 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V257 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V256> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V257> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23738,7 +23779,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UserNotifications.UNNotification[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V256 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V257 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UserNotifications.UNNotification[] obj)
@@ -23750,31 +23791,31 @@ namespace ObjCRuntime {
if (nsa_obj != null)
nsa_obj.Dispose ();
}
- } /* class NIDActionArity1V256 */
+ } /* class NIDActionArity1V257 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::UserNotificationsUI.UNNotificationContentExtensionResponseOption>))]
- internal delegate void DActionArity1V261 (IntPtr block, UIntPtr obj);
+ internal delegate void DActionArity1V262 (IntPtr block, UIntPtr obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V261 {
- static internal readonly DActionArity1V261 Handler = Invoke;
+ static internal class SDActionArity1V262 {
+ static internal readonly DActionArity1V262 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V261))]
+ [MonoPInvokeCallback (typeof (DActionArity1V262))]
static unsafe void Invoke (IntPtr block, UIntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::UserNotificationsUI.UNNotificationContentExtensionResponseOption>) (descriptor->Target);
if (del != null)
del ((UserNotificationsUI.UNNotificationContentExtensionResponseOption) (ulong) obj);
}
- } /* class SDActionArity1V261 */
- internal sealed class NIDActionArity1V261 : TrampolineBlockBase {
- DActionArity1V261 invoker;
+ } /* class SDActionArity1V262 */
+ internal sealed class NIDActionArity1V262 : TrampolineBlockBase {
+ DActionArity1V262 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V261 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V262 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V261> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V262> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23783,38 +23824,38 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::UserNotificationsUI.UNNotificationContentExtensionResponseOption>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V261 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V262 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::UserNotificationsUI.UNNotificationContentExtensionResponseOption obj)
{
invoker (BlockPointer, (UIntPtr) (ulong) obj);
}
- } /* class NIDActionArity1V261 */
+ } /* class NIDActionArity1V262 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::WebKit.WKDialogResult>))]
- internal delegate void DActionArity1V267 (IntPtr block, IntPtr obj);
+ internal delegate void DActionArity1V268 (IntPtr block, IntPtr obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V267 {
- static internal readonly DActionArity1V267 Handler = Invoke;
+ static internal class SDActionArity1V268 {
+ static internal readonly DActionArity1V268 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V267))]
+ [MonoPInvokeCallback (typeof (DActionArity1V268))]
static unsafe void Invoke (IntPtr block, IntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::WebKit.WKDialogResult>) (descriptor->Target);
if (del != null)
del ((WebKit.WKDialogResult) (long) obj);
}
- } /* class SDActionArity1V267 */
- internal sealed class NIDActionArity1V267 : TrampolineBlockBase {
- DActionArity1V267 invoker;
+ } /* class SDActionArity1V268 */
+ internal sealed class NIDActionArity1V268 : TrampolineBlockBase {
+ DActionArity1V268 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V267 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V268 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V267> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V268> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23823,38 +23864,38 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::WebKit.WKDialogResult>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V267 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V268 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::WebKit.WKDialogResult obj)
{
invoker (BlockPointer, (IntPtr) (long) obj);
}
- } /* class NIDActionArity1V267 */
+ } /* class NIDActionArity1V268 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::WebKit.WKDownload>))]
- internal delegate void DActionArity1V270 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V271 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V270 {
- static internal readonly DActionArity1V270 Handler = Invoke;
+ static internal class SDActionArity1V271 {
+ static internal readonly DActionArity1V271 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V270))]
+ [MonoPInvokeCallback (typeof (DActionArity1V271))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::WebKit.WKDownload>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<WebKit.WKDownload> (obj)!);
}
- } /* class SDActionArity1V270 */
- internal sealed class NIDActionArity1V270 : TrampolineBlockBase {
- DActionArity1V270 invoker;
+ } /* class SDActionArity1V271 */
+ internal sealed class NIDActionArity1V271 : TrampolineBlockBase {
+ DActionArity1V271 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V270 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V271 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V270> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V271> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23863,7 +23904,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::WebKit.WKDownload>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V270 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V271 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::WebKit.WKDownload obj)
@@ -23871,31 +23912,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V270 */
+ } /* class NIDActionArity1V271 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::WebKit.WKDownloadRedirectPolicy>))]
- internal delegate void DActionArity1V262 (IntPtr block, IntPtr obj);
+ internal delegate void DActionArity1V263 (IntPtr block, IntPtr obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V262 {
- static internal readonly DActionArity1V262 Handler = Invoke;
+ static internal class SDActionArity1V263 {
+ static internal readonly DActionArity1V263 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V262))]
+ [MonoPInvokeCallback (typeof (DActionArity1V263))]
static unsafe void Invoke (IntPtr block, IntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::WebKit.WKDownloadRedirectPolicy>) (descriptor->Target);
if (del != null)
del ((WebKit.WKDownloadRedirectPolicy) (long) obj);
}
- } /* class SDActionArity1V262 */
- internal sealed class NIDActionArity1V262 : TrampolineBlockBase {
- DActionArity1V262 invoker;
+ } /* class SDActionArity1V263 */
+ internal sealed class NIDActionArity1V263 : TrampolineBlockBase {
+ DActionArity1V263 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V262 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V263 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V262> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V263> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23904,38 +23945,38 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::WebKit.WKDownloadRedirectPolicy>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V262 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V263 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::WebKit.WKDownloadRedirectPolicy obj)
{
invoker (BlockPointer, (IntPtr) (long) obj);
}
- } /* class NIDActionArity1V262 */
+ } /* class NIDActionArity1V263 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::WebKit.WKFindResult>))]
- internal delegate void DActionArity1V268 (IntPtr block, NativeHandle obj);
+ internal delegate void DActionArity1V269 (IntPtr block, NativeHandle obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V268 {
- static internal readonly DActionArity1V268 Handler = Invoke;
+ static internal class SDActionArity1V269 {
+ static internal readonly DActionArity1V269 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V268))]
+ [MonoPInvokeCallback (typeof (DActionArity1V269))]
static unsafe void Invoke (IntPtr block, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::WebKit.WKFindResult>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<WebKit.WKFindResult> (obj)!);
}
- } /* class SDActionArity1V268 */
- internal sealed class NIDActionArity1V268 : TrampolineBlockBase {
- DActionArity1V268 invoker;
+ } /* class SDActionArity1V269 */
+ internal sealed class NIDActionArity1V269 : TrampolineBlockBase {
+ DActionArity1V269 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V268 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V269 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V268> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V269> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23944,7 +23985,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::WebKit.WKFindResult>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V268 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V269 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::WebKit.WKFindResult obj)
@@ -23952,31 +23993,31 @@ namespace ObjCRuntime {
var obj__handle__ = obj.GetHandle ();
invoker (BlockPointer, obj__handle__);
}
- } /* class NIDActionArity1V268 */
+ } /* class NIDActionArity1V269 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::WebKit.WKMediaPlaybackState>))]
- internal delegate void DActionArity1V269 (IntPtr block, UIntPtr obj);
+ internal delegate void DActionArity1V270 (IntPtr block, UIntPtr obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V269 {
- static internal readonly DActionArity1V269 Handler = Invoke;
+ static internal class SDActionArity1V270 {
+ static internal readonly DActionArity1V270 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V269))]
+ [MonoPInvokeCallback (typeof (DActionArity1V270))]
static unsafe void Invoke (IntPtr block, UIntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::WebKit.WKMediaPlaybackState>) (descriptor->Target);
if (del != null)
del ((WebKit.WKMediaPlaybackState) (ulong) obj);
}
- } /* class SDActionArity1V269 */
- internal sealed class NIDActionArity1V269 : TrampolineBlockBase {
- DActionArity1V269 invoker;
+ } /* class SDActionArity1V270 */
+ internal sealed class NIDActionArity1V270 : TrampolineBlockBase {
+ DActionArity1V270 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V269 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V270 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V269> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V270> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -23985,38 +24026,38 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::WebKit.WKMediaPlaybackState>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V269 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V270 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::WebKit.WKMediaPlaybackState obj)
{
invoker (BlockPointer, (UIntPtr) (ulong) obj);
}
- } /* class NIDActionArity1V269 */
+ } /* class NIDActionArity1V270 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::WebKit.WKNavigationActionPolicy>))]
- internal delegate void DActionArity1V263 (IntPtr block, IntPtr obj);
+ internal delegate void DActionArity1V264 (IntPtr block, IntPtr obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V263 {
- static internal readonly DActionArity1V263 Handler = Invoke;
+ static internal class SDActionArity1V264 {
+ static internal readonly DActionArity1V264 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V263))]
+ [MonoPInvokeCallback (typeof (DActionArity1V264))]
static unsafe void Invoke (IntPtr block, IntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::WebKit.WKNavigationActionPolicy>) (descriptor->Target);
if (del != null)
del ((WebKit.WKNavigationActionPolicy) (long) obj);
}
- } /* class SDActionArity1V263 */
- internal sealed class NIDActionArity1V263 : TrampolineBlockBase {
- DActionArity1V263 invoker;
+ } /* class SDActionArity1V264 */
+ internal sealed class NIDActionArity1V264 : TrampolineBlockBase {
+ DActionArity1V264 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V263 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V264 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V263> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V264> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -24025,38 +24066,38 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::WebKit.WKNavigationActionPolicy>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V263 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V264 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::WebKit.WKNavigationActionPolicy obj)
{
invoker (BlockPointer, (IntPtr) (long) obj);
}
- } /* class NIDActionArity1V263 */
+ } /* class NIDActionArity1V264 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::WebKit.WKNavigationResponsePolicy>))]
- internal delegate void DActionArity1V264 (IntPtr block, IntPtr obj);
+ internal delegate void DActionArity1V265 (IntPtr block, IntPtr obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V264 {
- static internal readonly DActionArity1V264 Handler = Invoke;
+ static internal class SDActionArity1V265 {
+ static internal readonly DActionArity1V265 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V264))]
+ [MonoPInvokeCallback (typeof (DActionArity1V265))]
static unsafe void Invoke (IntPtr block, IntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::WebKit.WKNavigationResponsePolicy>) (descriptor->Target);
if (del != null)
del ((WebKit.WKNavigationResponsePolicy) (long) obj);
}
- } /* class SDActionArity1V264 */
- internal sealed class NIDActionArity1V264 : TrampolineBlockBase {
- DActionArity1V264 invoker;
+ } /* class SDActionArity1V265 */
+ internal sealed class NIDActionArity1V265 : TrampolineBlockBase {
+ DActionArity1V265 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V264 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V265 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V264> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V265> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -24065,38 +24106,38 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::WebKit.WKNavigationResponsePolicy>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V264 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V265 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::WebKit.WKNavigationResponsePolicy obj)
{
invoker (BlockPointer, (IntPtr) (long) obj);
}
- } /* class NIDActionArity1V264 */
+ } /* class NIDActionArity1V265 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::WebKit.WKPermissionDecision>))]
- internal delegate void DActionArity1V266 (IntPtr block, IntPtr obj);
+ internal delegate void DActionArity1V267 (IntPtr block, IntPtr obj);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity1V266 {
- static internal readonly DActionArity1V266 Handler = Invoke;
+ static internal class SDActionArity1V267 {
+ static internal readonly DActionArity1V267 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity1V266))]
+ [MonoPInvokeCallback (typeof (DActionArity1V267))]
static unsafe void Invoke (IntPtr block, IntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::WebKit.WKPermissionDecision>) (descriptor->Target);
if (del != null)
del ((WebKit.WKPermissionDecision) (long) obj);
}
- } /* class SDActionArity1V266 */
- internal sealed class NIDActionArity1V266 : TrampolineBlockBase {
- DActionArity1V266 invoker;
+ } /* class SDActionArity1V267 */
+ internal sealed class NIDActionArity1V267 : TrampolineBlockBase {
+ DActionArity1V267 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity1V266 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity1V267 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity1V266> ();
+ invoker = block->GetDelegateForBlock<DActionArity1V267> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -24105,14 +24146,14 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::WebKit.WKPermissionDecision>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity1V266 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity1V267 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::WebKit.WKPermissionDecision obj)
{
invoker (BlockPointer, (IntPtr) (long) obj);
}
- } /* class NIDActionArity1V266 */
+ } /* class NIDActionArity1V267 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::ARKit.ARFrame, NSError>))]
internal delegate void DActionArity2V1 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
@@ -31699,7 +31740,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::Metal.IMTLTexture>) (descriptor->Target);
- Metal.IMTLTexture retval = del ();
+ IMTLTexture retval = del ();
return retval.GetHandle ();
}
} /* class SDFuncArity1V0 */
@@ -31740,7 +31781,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<bool>) (descriptor->Target);
- System.Boolean retval = del ();
+ bool retval = del ();
return retval;
}
} /* class SDFuncArity1V1 */
@@ -31768,6 +31809,47 @@ namespace ObjCRuntime {
}
} /* class NIDFuncArity1V1 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Func<global::UIKit.UIActivityViewController>))]
+ internal delegate NativeHandle DFuncArity1V4 (IntPtr block);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDFuncArity1V4 {
+ static internal readonly DFuncArity1V4 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DFuncArity1V4))]
+ static unsafe NativeHandle Invoke (IntPtr block) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Func<global::UIKit.UIActivityViewController>) (descriptor->Target);
+ UIActivityViewController retval = del ();
+ return retval.GetHandle ();
+ }
+ } /* class SDFuncArity1V4 */
+ internal sealed class NIDFuncArity1V4 : TrampolineBlockBase {
+ DFuncArity1V4 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDFuncArity1V4 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DFuncArity1V4> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Func<global::UIKit.UIActivityViewController>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Func<global::UIKit.UIActivityViewController>) GetExistingManagedDelegate (block);
+ return del ?? new NIDFuncArity1V4 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe global::UIKit.UIActivityViewController Invoke ()
+ {
+ var ret = Runtime.GetNSObject<global::UIKit.UIActivityViewController> (invoker (BlockPointer))!;
+ return ret!;
+ }
+ } /* class NIDFuncArity1V4 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.UIActivity[]>))]
internal delegate NativeHandle DFuncArity1V2 (IntPtr block);
//
@@ -31781,7 +31863,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::UIKit.UIActivity[]>) (descriptor->Target);
- UIKit.UIActivity[] retval = del ();
+ UIActivity[] retval = del ();
return NSArray.FromNSObjects(retval).Handle;
}
} /* class SDFuncArity1V2 */
@@ -31810,6 +31892,47 @@ namespace ObjCRuntime {
} /* class NIDFuncArity1V2 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.UIDragPreview>))]
+ internal delegate NativeHandle DFuncArity1V5 (IntPtr block);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDFuncArity1V5 {
+ static internal readonly DFuncArity1V5 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DFuncArity1V5))]
+ static unsafe NativeHandle Invoke (IntPtr block) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Func<global::UIKit.UIDragPreview>) (descriptor->Target);
+ UIDragPreview retval = del ();
+ return retval.GetHandle ();
+ }
+ } /* class SDFuncArity1V5 */
+ internal sealed class NIDFuncArity1V5 : TrampolineBlockBase {
+ DFuncArity1V5 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDFuncArity1V5 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DFuncArity1V5> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Func<global::UIKit.UIDragPreview>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Func<global::UIKit.UIDragPreview>) GetExistingManagedDelegate (block);
+ return del ?? new NIDFuncArity1V5 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe global::UIKit.UIDragPreview Invoke ()
+ {
+ var ret = Runtime.GetNSObject<global::UIKit.UIDragPreview> (invoker (BlockPointer))!;
+ return ret!;
+ }
+ } /* class NIDFuncArity1V5 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Func<global::UIKit.UIView>))]
internal delegate NativeHandle DFuncArity1V3 (IntPtr block);
//
// This class bridges native block invocations that call into C#
@@ -31821,8 +31944,8 @@ namespace ObjCRuntime {
[MonoPInvokeCallback (typeof (DFuncArity1V3))]
static unsafe NativeHandle Invoke (IntPtr block) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Func<global::UIKit.UIDragPreview>) (descriptor->Target);
- UIKit.UIDragPreview retval = del ();
+ var del = (global::System.Func<global::UIKit.UIView>) (descriptor->Target);
+ UIView retval = del ();
return retval.GetHandle ();
}
} /* class SDFuncArity1V3 */
@@ -31835,17 +31958,17 @@ namespace ObjCRuntime {
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Func<global::UIKit.UIDragPreview>? Create (IntPtr block)
+ public unsafe static global::System.Func<global::UIKit.UIView>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Func<global::UIKit.UIDragPreview>) GetExistingManagedDelegate (block);
+ var del = (global::System.Func<global::UIKit.UIView>) GetExistingManagedDelegate (block);
return del ?? new NIDFuncArity1V3 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe global::UIKit.UIDragPreview Invoke ()
+ unsafe global::UIKit.UIView Invoke ()
{
- var ret = Runtime.GetNSObject<global::UIKit.UIDragPreview> (invoker (BlockPointer))!;
+ var ret = Runtime.GetNSObject<global::UIKit.UIView> (invoker (BlockPointer))!;
return ret!;
}
} /* class NIDFuncArity1V3 */
@@ -31863,7 +31986,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<CGContext, bool>) (descriptor->Target);
- System.Boolean retval = del (new CoreGraphics.CGContext (arg, false));
+ bool retval = del (new CoreGraphics.CGContext (arg, false));
return retval;
}
} /* class SDFuncArity2V5 */
@@ -31905,7 +32028,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, CGSize arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<CGSize, global::UIKit.UIImage>) (descriptor->Target);
- UIKit.UIImage retval = del (arg);
+ UIImage retval = del (arg);
return retval.GetHandle ();
}
} /* class SDFuncArity2V2 */
@@ -31933,6 +32056,48 @@ namespace ObjCRuntime {
}
} /* class NIDFuncArity2V2 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Func<NSArray<global::UIKit.UIMenuElement>, global::UIKit.UIMenu>))]
+ internal delegate NativeHandle DFuncArity2V14 (IntPtr block, NativeHandle arg);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDFuncArity2V14 {
+ static internal readonly DFuncArity2V14 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DFuncArity2V14))]
+ static unsafe NativeHandle Invoke (IntPtr block, NativeHandle arg) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Func<NSArray<global::UIKit.UIMenuElement>, global::UIKit.UIMenu>) (descriptor->Target);
+ UIMenu retval = del ( Runtime.GetNSObject<global::Foundation.NSArray<global::UIKit.UIMenuElement>> (arg)!);
+ return retval.GetHandle ();
+ }
+ } /* class SDFuncArity2V14 */
+ internal sealed class NIDFuncArity2V14 : TrampolineBlockBase {
+ DFuncArity2V14 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDFuncArity2V14 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DFuncArity2V14> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Func<NSArray<global::UIKit.UIMenuElement>, global::UIKit.UIMenu>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Func<NSArray<global::UIKit.UIMenuElement>, global::UIKit.UIMenu>) GetExistingManagedDelegate (block);
+ return del ?? new NIDFuncArity2V14 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe global::UIKit.UIMenu Invoke (NSArray<global::UIKit.UIMenuElement> arg)
+ {
+ var arg__handle__ = arg.GetHandle ();
+ var ret = Runtime.GetNSObject<global::UIKit.UIMenu> (invoker (BlockPointer, arg__handle__))!;
+ return ret!;
+ }
+ } /* class NIDFuncArity2V14 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::GameplayKit.GKRuleSystem, bool>))]
internal delegate bool DFuncArity2V1 (IntPtr block, NativeHandle arg);
//
@@ -31946,7 +32111,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::GameplayKit.GKRuleSystem, bool>) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<GKRuleSystem> (arg)!);
+ bool retval = del ( Runtime.GetNSObject<GKRuleSystem> (arg)!);
return retval;
}
} /* class SDFuncArity2V1 */
@@ -32030,7 +32195,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::Photos.PHAdjustmentData, bool>) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<PHAdjustmentData> (arg)!);
+ bool retval = del ( Runtime.GetNSObject<PHAdjustmentData> (arg)!);
return retval;
}
} /* class SDFuncArity2V4 */
@@ -32072,7 +32237,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, double arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<double, NSString>) (descriptor->Target);
- Foundation.NSString retval = del (arg);
+ NSString retval = del (arg);
return retval.GetHandle ();
}
} /* class SDFuncArity2V0 */
@@ -32113,7 +32278,7 @@ namespace ObjCRuntime {
static unsafe float Invoke (IntPtr block, float arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<float, float>) (descriptor->Target);
- System.Single retval = del (arg);
+ float retval = del (arg);
return retval;
}
} /* class SDFuncArity2V6 */
@@ -32141,6 +32306,90 @@ namespace ObjCRuntime {
}
} /* class NIDFuncArity2V6 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Func<global::UIKit.IUIDragSession, NSArray<global::UIKit.UIDragItem>>))]
+ internal delegate NativeHandle DFuncArity2V12 (IntPtr block, NativeHandle arg);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDFuncArity2V12 {
+ static internal readonly DFuncArity2V12 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DFuncArity2V12))]
+ static unsafe NativeHandle Invoke (IntPtr block, NativeHandle arg) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Func<global::UIKit.IUIDragSession, NSArray<global::UIKit.UIDragItem>>) (descriptor->Target);
+ global::Foundation.NSArray<global::UIKit.UIDragItem> retval = del ( Runtime.GetINativeObject<UIKit.IUIDragSession> (arg, false)!);
+ return retval.GetHandle ();
+ }
+ } /* class SDFuncArity2V12 */
+ internal sealed class NIDFuncArity2V12 : TrampolineBlockBase {
+ DFuncArity2V12 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDFuncArity2V12 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DFuncArity2V12> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Func<global::UIKit.IUIDragSession, NSArray<global::UIKit.UIDragItem>>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Func<global::UIKit.IUIDragSession, NSArray<global::UIKit.UIDragItem>>) GetExistingManagedDelegate (block);
+ return del ?? new NIDFuncArity2V12 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe NSArray<global::UIKit.UIDragItem> Invoke (global::UIKit.IUIDragSession arg)
+ {
+ var arg__handle__ = arg.GetHandle ();
+ var ret = Runtime.GetNSObject<NSArray<global::UIKit.UIDragItem>> (invoker (BlockPointer, arg__handle__))!;
+ return ret!;
+ }
+ } /* class NIDFuncArity2V12 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Func<global::UIKit.IUISheetPresentationControllerDetentResolutionContext, nfloat>))]
+ internal delegate nfloat DFuncArity2V15 (IntPtr block, NativeHandle arg);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDFuncArity2V15 {
+ static internal readonly DFuncArity2V15 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DFuncArity2V15))]
+ static unsafe nfloat Invoke (IntPtr block, NativeHandle arg) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Func<global::UIKit.IUISheetPresentationControllerDetentResolutionContext, nfloat>) (descriptor->Target);
+ NFloat retval = del ( Runtime.GetINativeObject<UIKit.IUISheetPresentationControllerDetentResolutionContext> (arg, false)!);
+ return retval;
+ }
+ } /* class SDFuncArity2V15 */
+ internal sealed class NIDFuncArity2V15 : TrampolineBlockBase {
+ DFuncArity2V15 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDFuncArity2V15 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DFuncArity2V15> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Func<global::UIKit.IUISheetPresentationControllerDetentResolutionContext, nfloat>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Func<global::UIKit.IUISheetPresentationControllerDetentResolutionContext, nfloat>) GetExistingManagedDelegate (block);
+ return del ?? new NIDFuncArity2V15 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe nfloat Invoke (global::UIKit.IUISheetPresentationControllerDetentResolutionContext arg)
+ {
+ var arg__handle__ = arg.GetHandle ();
+ var ret = invoker (BlockPointer, arg__handle__);
+ return ret!;
+ }
+ } /* class NIDFuncArity2V15 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.NSTextElement, bool>))]
internal delegate bool DFuncArity2V7 (IntPtr block, NativeHandle arg);
//
@@ -32154,7 +32403,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::UIKit.NSTextElement, bool>) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<NSTextElement> (arg)!);
+ bool retval = del ( Runtime.GetNSObject<NSTextElement> (arg)!);
return retval;
}
} /* class SDFuncArity2V7 */
@@ -32196,7 +32445,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::UIKit.NSTextLayoutFragment, bool>) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<NSTextLayoutFragment> (arg)!);
+ bool retval = del ( Runtime.GetNSObject<NSTextLayoutFragment> (arg)!);
return retval;
}
} /* class SDFuncArity2V8 */
@@ -32238,7 +32487,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::UIKit.UICollectionViewCell, global::UIKit.UIDragPreviewParameters>) (descriptor->Target);
- UIKit.UIDragPreviewParameters retval = del ( Runtime.GetNSObject<UICollectionViewCell> (arg)!);
+ UIDragPreviewParameters retval = del ( Runtime.GetNSObject<UICollectionViewCell> (arg)!);
return retval.GetHandle ();
}
} /* class SDFuncArity2V9 */
@@ -32280,7 +32529,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::UIKit.UIMenu, global::UIKit.UIMenu>) (descriptor->Target);
- UIKit.UIMenu retval = del ( Runtime.GetNSObject<UIMenu> (arg)!);
+ UIMenu retval = del ( Runtime.GetNSObject<UIMenu> (arg)!);
return retval.GetHandle ();
}
} /* class SDFuncArity2V11 */
@@ -32310,28 +32559,28 @@ namespace ObjCRuntime {
} /* class NIDFuncArity2V11 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.UIMenuElement[], global::UIKit.UIMenuElement[]>))]
- internal delegate NativeHandle DFuncArity2V12 (IntPtr block, NativeHandle arg);
+ internal delegate NativeHandle DFuncArity2V13 (IntPtr block, NativeHandle arg);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDFuncArity2V12 {
- static internal readonly DFuncArity2V12 Handler = Invoke;
+ static internal class SDFuncArity2V13 {
+ static internal readonly DFuncArity2V13 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DFuncArity2V12))]
+ [MonoPInvokeCallback (typeof (DFuncArity2V13))]
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::UIKit.UIMenuElement[], global::UIKit.UIMenuElement[]>) (descriptor->Target);
- UIKit.UIMenuElement[] retval = del (CFArray.ArrayFromHandle<global::UIKit.UIMenuElement> (arg)!);
+ UIMenuElement[] retval = del (CFArray.ArrayFromHandle<global::UIKit.UIMenuElement> (arg)!);
return NSArray.FromNSObjects(retval).Handle;
}
- } /* class SDFuncArity2V12 */
- internal sealed class NIDFuncArity2V12 : TrampolineBlockBase {
- DFuncArity2V12 invoker;
+ } /* class SDFuncArity2V13 */
+ internal sealed class NIDFuncArity2V13 : TrampolineBlockBase {
+ DFuncArity2V13 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDFuncArity2V12 (BlockLiteral *block) : base (block)
+ public unsafe NIDFuncArity2V13 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DFuncArity2V12> ();
+ invoker = block->GetDelegateForBlock<DFuncArity2V13> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -32340,7 +32589,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Func<global::UIKit.UIMenuElement[], global::UIKit.UIMenuElement[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDFuncArity2V12 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDFuncArity2V13 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe global::UIKit.UIMenuElement[] Invoke (global::UIKit.UIMenuElement[] arg)
@@ -32353,31 +32602,31 @@ namespace ObjCRuntime {
nsa_arg.Dispose ();
return ret!;
}
- } /* class NIDFuncArity2V12 */
+ } /* class NIDFuncArity2V13 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.UITableViewCell, global::UIKit.UIDragPreviewParameters>))]
- internal delegate NativeHandle DFuncArity2V13 (IntPtr block, NativeHandle arg);
+ internal delegate NativeHandle DFuncArity2V16 (IntPtr block, NativeHandle arg);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDFuncArity2V13 {
- static internal readonly DFuncArity2V13 Handler = Invoke;
+ static internal class SDFuncArity2V16 {
+ static internal readonly DFuncArity2V16 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DFuncArity2V13))]
+ [MonoPInvokeCallback (typeof (DFuncArity2V16))]
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::UIKit.UITableViewCell, global::UIKit.UIDragPreviewParameters>) (descriptor->Target);
- UIKit.UIDragPreviewParameters retval = del ( Runtime.GetNSObject<UITableViewCell> (arg)!);
+ UIDragPreviewParameters retval = del ( Runtime.GetNSObject<UITableViewCell> (arg)!);
return retval.GetHandle ();
}
- } /* class SDFuncArity2V13 */
- internal sealed class NIDFuncArity2V13 : TrampolineBlockBase {
- DFuncArity2V13 invoker;
+ } /* class SDFuncArity2V16 */
+ internal sealed class NIDFuncArity2V16 : TrampolineBlockBase {
+ DFuncArity2V16 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDFuncArity2V13 (BlockLiteral *block) : base (block)
+ public unsafe NIDFuncArity2V16 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DFuncArity2V13> ();
+ invoker = block->GetDelegateForBlock<DFuncArity2V16> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -32386,7 +32635,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Func<global::UIKit.UITableViewCell, global::UIKit.UIDragPreviewParameters>) GetExistingManagedDelegate (block);
- return del ?? new NIDFuncArity2V13 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDFuncArity2V16 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe global::UIKit.UIDragPreviewParameters Invoke (global::UIKit.UITableViewCell arg)
@@ -32395,7 +32644,7 @@ namespace ObjCRuntime {
var ret = Runtime.GetNSObject<global::UIKit.UIDragPreviewParameters> (invoker (BlockPointer, arg__handle__))!;
return ret!;
}
- } /* class NIDFuncArity2V13 */
+ } /* class NIDFuncArity2V16 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Func<global::UIKit.UITraitCollection, global::UIKit.UIColor>))]
internal delegate NativeHandle DFuncArity2V10 (IntPtr block, NativeHandle arg);
@@ -32410,7 +32659,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle arg) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::UIKit.UITraitCollection, global::UIKit.UIColor>) (descriptor->Target);
- UIKit.UIColor retval = del ( Runtime.GetNSObject<UITraitCollection> (arg)!);
+ UIColor retval = del ( Runtime.GetNSObject<UITraitCollection> (arg)!);
return retval.GetHandle ();
}
} /* class SDFuncArity2V10 */
@@ -32495,7 +32744,7 @@ namespace ObjCRuntime {
static unsafe global::SceneKit.SCNQuaternion Invoke (IntPtr block, NativeHandle arg1, global::SceneKit.SCNQuaternion arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::SceneKit.SCNNode, global::SceneKit.SCNQuaternion, global::SceneKit.SCNQuaternion>) (descriptor->Target);
- SceneKit.SCNQuaternion retval = del ( Runtime.GetNSObject<SCNNode> (arg1)!, arg2);
+ SCNQuaternion retval = del ( Runtime.GetNSObject<SCNNode> (arg1)!, arg2);
return retval;
}
} /* class SDFuncArity3V1 */
@@ -32537,7 +32786,7 @@ namespace ObjCRuntime {
static unsafe global::SceneKit.SCNVector3 Invoke (IntPtr block, NativeHandle arg1, global::SceneKit.SCNVector3 arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Func<global::SceneKit.SCNNode, global::SceneKit.SCNVector3, global::SceneKit.SCNVector3>) (descriptor->Target);
- SceneKit.SCNVector3 retval = del ( Runtime.GetNSObject<SCNNode> (arg1)!, arg2);
+ SCNVector3 retval = del ( Runtime.GetNSObject<SCNNode> (arg1)!, arg2);
return retval;
}
} /* class SDFuncArity3V2 */
@@ -32622,7 +32871,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle layoutEnvironment) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.NSCollectionLayoutGroupCustomItemProvider) (descriptor->Target);
- UIKit.NSCollectionLayoutGroupCustomItem[] retval = del ( Runtime.GetINativeObject<UIKit.INSCollectionLayoutEnvironment> (layoutEnvironment, false)!);
+ NSCollectionLayoutGroupCustomItem[] retval = del ( Runtime.GetINativeObject<UIKit.INSCollectionLayoutEnvironment> (layoutEnvironment, false)!);
return NSArray.FromNSObjects(retval).Handle;
}
} /* class SDNSCollectionLayoutGroupCustomItemProvider */
@@ -32795,7 +33044,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle textLayoutManager, NativeHandle attributes, NativeHandle textRange) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.NSTextLayoutManagerEnumerateRenderingAttributesDelegate) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<NSTextLayoutManager> (textLayoutManager)!, Runtime.GetNSObject<global::Foundation.NSDictionary<NSString, NSObject>> (attributes)!, Runtime.GetNSObject<NSTextRange> (textRange)!);
+ bool retval = del ( Runtime.GetNSObject<NSTextLayoutManager> (textLayoutManager)!, Runtime.GetNSObject<global::Foundation.NSDictionary<NSString, NSObject>> (attributes)!, Runtime.GetNSObject<NSTextRange> (textRange)!);
return retval;
}
} /* class SDNSTextLayoutManagerEnumerateRenderingAttributesDelegate */
@@ -32839,7 +33088,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle textSegmentRange, CGRect textSegmentFrame, nfloat baselinePosition, NativeHandle textContainer) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.NSTextLayoutManagerEnumerateTextSegmentsDelegate) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<NSTextRange> (textSegmentRange)!, textSegmentFrame, baselinePosition, Runtime.GetNSObject<NSTextContainer> (textContainer)!);
+ bool retval = del ( Runtime.GetNSObject<NSTextRange> (textSegmentRange)!, textSegmentFrame, baselinePosition, Runtime.GetNSObject<NSTextContainer> (textContainer)!);
return retval;
}
} /* class SDNSTextLayoutManagerEnumerateTextSegmentsDelegate */
@@ -33000,6 +33249,52 @@ namespace ObjCRuntime {
}
} /* class NIDNSTextSelectionDataSourceEnumerateSubstringsDelegate */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::UIKit.OptionsMenuProviderHandler))]
+ internal delegate NativeHandle DOptionsMenuProviderHandler (IntPtr block, NativeHandle elements);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDOptionsMenuProviderHandler {
+ static internal readonly DOptionsMenuProviderHandler Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DOptionsMenuProviderHandler))]
+ static unsafe NativeHandle Invoke (IntPtr block, NativeHandle elements) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::UIKit.OptionsMenuProviderHandler) (descriptor->Target);
+ UIMenu retval = del (CFArray.ArrayFromHandle<global::UIKit.UIMenuElement> (elements)!);
+ return retval.GetHandle ();
+ }
+ } /* class SDOptionsMenuProviderHandler */
+ internal sealed class NIDOptionsMenuProviderHandler : TrampolineBlockBase {
+ DOptionsMenuProviderHandler invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDOptionsMenuProviderHandler (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DOptionsMenuProviderHandler> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::UIKit.OptionsMenuProviderHandler? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::UIKit.OptionsMenuProviderHandler) GetExistingManagedDelegate (block);
+ return del ?? new NIDOptionsMenuProviderHandler ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe global::UIKit.UIMenu Invoke (global::UIKit.UIMenuElement[] elements)
+ {
+ if (elements is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (elements));
+ var nsa_elements = elements is null ? null : NSArray.FromNSObjects (elements);
+ var ret = Runtime.GetNSObject<global::UIKit.UIMenu> (invoker (BlockPointer, nsa_elements.GetHandle ()))!;
+ if (nsa_elements != null)
+ nsa_elements.Dispose ();
+ return ret!;
+ }
+ } /* class NIDOptionsMenuProviderHandler */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::UIKit.UIAccessibilityCustomActionHandler))]
internal delegate bool DUIAccessibilityCustomActionHandler (IntPtr block, NativeHandle customAction);
//
@@ -33013,7 +33308,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle customAction) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIAccessibilityCustomActionHandler) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<UIAccessibilityCustomAction> (customAction)!);
+ bool retval = del ( Runtime.GetNSObject<UIAccessibilityCustomAction> (customAction)!);
return retval;
}
} /* class SDUIAccessibilityCustomActionHandler */
@@ -33055,7 +33350,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle predicate) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIAccessibilityCustomRotorSearch) (descriptor->Target);
- UIKit.UIAccessibilityCustomRotorItemResult retval = del ( Runtime.GetNSObject<UIAccessibilityCustomRotorSearchPredicate> (predicate)!);
+ UIAccessibilityCustomRotorItemResult retval = del ( Runtime.GetNSObject<UIAccessibilityCustomRotorSearchPredicate> (predicate)!);
return retval.GetHandle ();
}
} /* class SDUIAccessibilityCustomRotorSearch */
@@ -33138,7 +33433,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle activityItemsConfigurationMetadataKey) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIActivityItemsConfigurationMetadataProviderHandler) (descriptor->Target);
- Foundation.NSObject retval = del ( Runtime.GetNSObject<NSString> (activityItemsConfigurationMetadataKey)!);
+ NSObject retval = del ( Runtime.GetNSObject<NSString> (activityItemsConfigurationMetadataKey)!);
return retval.GetHandle ();
}
} /* class SDUIActivityItemsConfigurationMetadataProviderHandler */
@@ -33180,7 +33475,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, nint index, NativeHandle activityItemsConfigurationMetadataKey) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIActivityItemsConfigurationPerItemMetadataProviderHandler) (descriptor->Target);
- Foundation.NSObject retval = del (index, Runtime.GetNSObject<NSString> (activityItemsConfigurationMetadataKey)!);
+ NSObject retval = del (index, Runtime.GetNSObject<NSString> (activityItemsConfigurationMetadataKey)!);
return retval.GetHandle ();
}
} /* class SDUIActivityItemsConfigurationPerItemMetadataProviderHandler */
@@ -33222,7 +33517,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, nint index, NativeHandle activityItemsConfigurationPreviewIntent, CGSize suggestedSize) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIActivityItemsConfigurationPreviewProviderHandler) (descriptor->Target);
- Foundation.NSObject retval = del (index, Runtime.GetNSObject<NSString> (activityItemsConfigurationPreviewIntent)!, suggestedSize);
+ NSObject retval = del (index, Runtime.GetNSObject<NSString> (activityItemsConfigurationPreviewIntent)!, suggestedSize);
return retval.GetHandle ();
}
} /* class SDUIActivityItemsConfigurationPreviewProviderHandler */
@@ -33356,7 +33651,7 @@ namespace ObjCRuntime {
static unsafe bool Invoke (IntPtr block, NativeHandle interaction, CGPoint point) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIBandSelectionInteractionShouldBeginHandler) (descriptor->Target);
- System.Boolean retval = del ( Runtime.GetNSObject<UIBandSelectionInteraction> (interaction)!, point);
+ bool retval = del ( Runtime.GetNSObject<UIBandSelectionInteraction> (interaction)!, point);
return retval;
}
} /* class SDUIBandSelectionInteractionShouldBeginHandler */
@@ -33439,7 +33734,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle button, NativeHandle proposedEffect, NativeHandle proposedShape) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIButtonPointerStyleProvider) (descriptor->Target);
- UIKit.UIPointerStyle retval = del ( Runtime.GetNSObject<UIButton> (button)!, Runtime.GetNSObject<UIPointerEffect> (proposedEffect)!, Runtime.GetNSObject<UIPointerShape> (proposedShape)!);
+ UIPointerStyle retval = del ( Runtime.GetNSObject<UIButton> (button)!, Runtime.GetNSObject<UIPointerEffect> (proposedEffect)!, Runtime.GetNSObject<UIPointerShape> (proposedShape)!);
return retval.GetHandle ();
}
} /* class SDUIButtonPointerStyleProvider */
@@ -33483,7 +33778,7 @@ namespace ObjCRuntime {
static unsafe nuint Invoke (IntPtr block, NativeHandle accessories) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UICellAccessoryPosition) (descriptor->Target);
- System.UIntPtr retval = del (CFArray.ArrayFromHandle<global::UIKit.UICellAccessory> (accessories)!);
+ UIntPtr retval = del (CFArray.ArrayFromHandle<global::UIKit.UICellAccessory> (accessories)!);
return retval;
}
} /* class SDUICellAccessoryPosition */
@@ -33578,7 +33873,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle indexPath, NativeHandle sectionSeparatorConfiguration) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UICollectionLayoutListItemSeparatorHandler) (descriptor->Target);
- UIKit.UIListSeparatorConfiguration retval = del ( Runtime.GetNSObject<NSIndexPath> (indexPath)!, Runtime.GetNSObject<UIListSeparatorConfiguration> (sectionSeparatorConfiguration)!);
+ UIListSeparatorConfiguration retval = del ( Runtime.GetNSObject<NSIndexPath> (indexPath)!, Runtime.GetNSObject<UIListSeparatorConfiguration> (sectionSeparatorConfiguration)!);
return retval.GetHandle ();
}
} /* class SDUICollectionLayoutListItemSeparatorHandler */
@@ -33621,7 +33916,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle indexPath) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UICollectionLayoutListSwipeActionsConfigurationProvider) (descriptor->Target);
- UIKit.UISwipeActionsConfiguration retval = del ( Runtime.GetNSObject<NSIndexPath> (indexPath)!);
+ UISwipeActionsConfiguration retval = del ( Runtime.GetNSObject<NSIndexPath> (indexPath)!);
return retval.GetHandle ();
}
} /* class SDUICollectionLayoutListSwipeActionsConfigurationProvider */
@@ -33748,7 +34043,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, nint section, NativeHandle layoutEnvironment) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UICollectionViewCompositionalLayoutSectionProvider) (descriptor->Target);
- UIKit.NSCollectionLayoutSection retval = del (section, Runtime.GetINativeObject<UIKit.INSCollectionLayoutEnvironment> (layoutEnvironment, false)!);
+ NSCollectionLayoutSection retval = del (section, Runtime.GetINativeObject<UIKit.INSCollectionLayoutEnvironment> (layoutEnvironment, false)!);
return retval.GetHandle ();
}
} /* class SDUICollectionViewCompositionalLayoutSectionProvider */
@@ -33790,7 +34085,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle collectionView, NativeHandle indexPath, NativeHandle itemIdentifier) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UICollectionViewDiffableDataSourceCellProvider) (descriptor->Target);
- UIKit.UICollectionViewCell retval = del ( Runtime.GetNSObject<UICollectionView> (collectionView)!, Runtime.GetNSObject<NSIndexPath> (indexPath)!, Runtime.GetNSObject<NSObject> (itemIdentifier)!);
+ UICollectionViewCell retval = del ( Runtime.GetNSObject<UICollectionView> (collectionView)!, Runtime.GetNSObject<NSIndexPath> (indexPath)!, Runtime.GetNSObject<NSObject> (itemIdentifier)!);
return retval.GetHandle ();
}
} /* class SDUICollectionViewDiffableDataSourceCellProvider */
@@ -33834,7 +34129,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle collectionView, NativeHandle elementKind, NativeHandle indexPath) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UICollectionViewDiffableDataSourceSupplementaryViewProvider) (descriptor->Target);
- UIKit.UICollectionReusableView retval = del ( Runtime.GetNSObject<UICollectionView> (collectionView)!, CFString.FromHandle (elementKind)!, Runtime.GetNSObject<NSIndexPath> (indexPath)!);
+ UICollectionReusableView retval = del ( Runtime.GetNSObject<UICollectionView> (collectionView)!, CFString.FromHandle (elementKind)!, Runtime.GetNSObject<NSIndexPath> (indexPath)!);
return retval.GetHandle ();
}
} /* class SDUICollectionViewDiffableDataSourceSupplementaryViewProvider */
@@ -34007,7 +34302,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle color) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIConfigurationColorTransformerHandler) (descriptor->Target);
- UIKit.UIColor retval = del ( Runtime.GetNSObject<UIColor> (color)!);
+ UIColor retval = del ( Runtime.GetNSObject<UIColor> (color)!);
return retval.GetHandle ();
}
} /* class SDUIConfigurationColorTransformerHandler */
@@ -34049,7 +34344,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle textAttributes) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIConfigurationTextAttributesTransformerHandler) (descriptor->Target);
- Foundation.NSDictionary retval = del ( Runtime.GetNSObject<NSDictionary> (textAttributes)!);
+ NSDictionary retval = del ( Runtime.GetNSObject<NSDictionary> (textAttributes)!);
return retval.GetHandle ();
}
} /* class SDUIConfigurationTextAttributesTransformerHandler */
@@ -34091,7 +34386,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle suggestedActions) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIContextMenuActionProvider) (descriptor->Target);
- UIKit.UIMenu retval = del (CFArray.ArrayFromHandle<global::UIKit.UIMenuElement> (suggestedActions)!);
+ UIMenu retval = del (CFArray.ArrayFromHandle<global::UIKit.UIMenuElement> (suggestedActions)!);
return retval.GetHandle ();
}
} /* class SDUIContextMenuActionProvider */
@@ -34137,7 +34432,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIContextMenuContentPreviewProvider) (descriptor->Target);
- UIKit.UIViewController retval = del ();
+ UIViewController retval = del ();
return retval.GetHandle ();
}
} /* class SDUIContextMenuContentPreviewProvider */
@@ -34321,7 +34616,7 @@ namespace ObjCRuntime {
static unsafe CGVector Invoke (IntPtr block, NativeHandle field, CGPoint position, CGVector velocity, nfloat mass, nfloat charge, double deltaTime) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIFieldCustomEvaluator) (descriptor->Target);
- CoreGraphics.CGVector retval = del ( Runtime.GetNSObject<UIFieldBehavior> (field)!, position, velocity, mass, charge, deltaTime);
+ CGVector retval = del ( Runtime.GetNSObject<UIFieldBehavior> (field)!, position, velocity, mass, charge, deltaTime);
return retval;
}
} /* class SDUIFieldCustomEvaluator */
@@ -34569,7 +34864,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle pdfData, nint indexOfCurrentPage, CGRect rectInCurrentPage) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIScreenshotServiceDelegatePdfHandler) (descriptor->Target);
- Foundation.NSDictionary retval = del ( Runtime.GetNSObject<NSData> (pdfData)!, indexOfCurrentPage, rectInCurrentPage);
+ NSDictionary retval = del ( Runtime.GetNSObject<NSData> (pdfData)!, indexOfCurrentPage, rectInCurrentPage);
return retval.GetHandle ();
}
} /* class SDUIScreenshotServiceDelegatePdfHandler */
@@ -34611,7 +34906,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle coder) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIStoryboardViewControllerCreator) (descriptor->Target);
- UIKit.UIViewController retval = del ( Runtime.GetNSObject<NSCoder> (coder)!);
+ UIViewController retval = del ( Runtime.GetNSObject<NSCoder> (coder)!);
return retval.GetHandle ();
}
} /* class SDUIStoryboardViewControllerCreator */
@@ -34695,7 +34990,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle tableView, NativeHandle indexPath, NativeHandle obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UITableViewDiffableDataSourceCellProvider) (descriptor->Target);
- UIKit.UITableViewCell retval = del ( Runtime.GetNSObject<UITableView> (tableView)!, Runtime.GetNSObject<NSIndexPath> (indexPath)!, Runtime.GetNSObject<NSObject> (obj)!);
+ UITableViewCell retval = del ( Runtime.GetNSObject<UITableView> (tableView)!, Runtime.GetNSObject<NSIndexPath> (indexPath)!, Runtime.GetNSObject<NSObject> (obj)!);
return retval.GetHandle ();
}
} /* class SDUITableViewDiffableDataSourceCellProvider */
@@ -34781,7 +35076,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle textAttributes) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UITextAttributesConversionHandler) (descriptor->Target);
- Foundation.NSDictionary retval = del ( Runtime.GetNSObject<NSDictionary> (textAttributes)!);
+ NSDictionary retval = del ( Runtime.GetNSObject<NSDictionary> (textAttributes)!);
return retval.GetHandle ();
}
} /* class SDUITextAttributesConversionHandler */
@@ -34823,7 +35118,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle action) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIWindowSceneActivationActionConfigurationProvider) (descriptor->Target);
- UIKit.UIWindowSceneActivationConfiguration retval = del ( Runtime.GetNSObject<UIWindowSceneActivationAction> (action)!);
+ UIWindowSceneActivationConfiguration retval = del ( Runtime.GetNSObject<UIWindowSceneActivationAction> (action)!);
return retval.GetHandle ();
}
} /* class SDUIWindowSceneActivationActionConfigurationProvider */
@@ -34865,7 +35160,7 @@ namespace ObjCRuntime {
static unsafe NativeHandle Invoke (IntPtr block, NativeHandle interaction, CGPoint location) {
var descriptor = (BlockLiteral *) block;
var del = (global::UIKit.UIWindowSceneActivationInteractionConfigurationProvider) (descriptor->Target);
- UIKit.UIWindowSceneActivationConfiguration retval = del ( Runtime.GetNSObject<UIWindowSceneActivationInteraction> (interaction)!, location);
+ UIWindowSceneActivationConfiguration retval = del ( Runtime.GetNSObject<UIWindowSceneActivationInteraction> (interaction)!, location);
return retval.GetHandle ();
}
} /* class SDUIWindowSceneActivationInteractionConfigurationProvider */
diff --git a/old/dotnet/ios/generated-sources/Social/SLComposeServiceViewController.g.cs b/new/dotnet/ios/generated-sources/Social/SLComposeServiceViewController.g.cs
index 8f9ccf2..a7a1212 100644
--- a/old/dotnet/ios/generated-sources/Social/SLComposeServiceViewController.g.cs
+++ b/new/dotnet/ios/generated-sources/Social/SLComposeServiceViewController.g.cs
@@ -210,6 +210,31 @@ namespace Social {
return CFArray.ArrayFromHandle<SLComposeSheetConfigurationItem>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("configurationItems")))!;
}
}
+ [Export ("textView:editMenuForTextInRange:suggestedActions:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIMenu? GetEditMenuForText (global::UIKit.UITextView textView, NSRange range, global::UIKit.UIMenuElement[] suggestedActions)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var textView__handle__ = textView!.GetNonNullHandle (nameof (textView));
+ if (suggestedActions is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (suggestedActions));
+ var nsa_suggestedActions = NSArray.FromNSObjects (suggestedActions);
+ UIMenu? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIMenu> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NSRange_NativeHandle (this.Handle, Selector.GetHandle ("textView:editMenuForTextInRange:suggestedActions:"), textView__handle__, range, nsa_suggestedActions.Handle))!;
+ } else {
+ ret = Runtime.GetNSObject<UIMenu> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NSRange_NativeHandle (this.SuperHandle, Selector.GetHandle ("textView:editMenuForTextInRange:suggestedActions:"), textView__handle__, range, nsa_suggestedActions.Handle))!;
+ }
+ nsa_suggestedActions.Dispose ();
+ return ret!;
+ #endif
+ }
[Export ("isContentValid")]
[SupportedOSPlatform ("macos10.10")]
[SupportedOSPlatform ("ios8.0")]
@@ -361,13 +386,16 @@ namespace Social {
[Advice ("Starting with ios10.0 Use the 'ShouldInteractWithTextAttachment' overload that takes 'UITextItemInteraction' instead.")]
#endif
[UnsupportedOSPlatform ("ios10.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0 Use the 'ShouldInteractWithTextAttachment' overload that takes 'UITextItemInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst7.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0 Use the 'ShouldInteractWithTextAttachment' overload that takes 'UITextItemInteraction' instead.")]
#endif
[UnsupportedOSPlatform ("maccatalyst10.0")]
- [UnsupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual bool ShouldInteractWithTextAttachment (global::UIKit.UITextView textView, global::UIKit.NSTextAttachment textAttachment, NSRange characterRange)
{
@@ -401,13 +429,16 @@ namespace Social {
[Advice ("Starting with ios10.0 Use the 'ShouldInteractWithUrl' overload that takes 'UITextItemInteraction' instead.")]
#endif
[UnsupportedOSPlatform ("ios10.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0 Use the 'ShouldInteractWithUrl' overload that takes 'UITextItemInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst7.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0 Use the 'ShouldInteractWithUrl' overload that takes 'UITextItemInteraction' instead.")]
#endif
[UnsupportedOSPlatform ("maccatalyst10.0")]
- [UnsupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual bool ShouldInteractWithUrl (global::UIKit.UITextView textView, NSUrl URL, NSRange characterRange)
{
@@ -448,6 +479,46 @@ namespace Social {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("validateContent"));
}
}
+ [Export ("textView:willDismissEditMenuWithAnimator:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillDismissEditMenu (global::UIKit.UITextView textView, global::UIKit.IUIEditMenuInteractionAnimating aniamtor)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var textView__handle__ = textView!.GetNonNullHandle (nameof (textView));
+ var aniamtor__handle__ = aniamtor!.GetNonNullHandle (nameof (aniamtor));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("textView:willDismissEditMenuWithAnimator:"), textView__handle__, aniamtor__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("textView:willDismissEditMenuWithAnimator:"), textView__handle__, aniamtor__handle__);
+ }
+ #endif
+ }
+ [Export ("textView:willPresentEditMenuWithAnimator:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillPresentEditMenu (global::UIKit.UITextView textView, global::UIKit.IUIEditMenuInteractionAnimating animator)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var textView__handle__ = textView!.GetNonNullHandle (nameof (textView));
+ var animator__handle__ = animator!.GetNonNullHandle (nameof (animator));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("textView:willPresentEditMenuWithAnimator:"), textView__handle__, animator__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("textView:willPresentEditMenuWithAnimator:"), textView__handle__, animator__handle__);
+ }
+ #endif
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios8.0")]
diff --git a/old/dotnet/ios/generated-sources/SupportDelegates.g.cs b/new/dotnet/ios/generated-sources/SupportDelegates.g.cs
index e115f89..fd0fb28 100644
--- a/old/dotnet/ios/generated-sources/SupportDelegates.g.cs
+++ b/new/dotnet/ios/generated-sources/SupportDelegates.g.cs
@@ -545,6 +545,7 @@ namespace UIKit {
public delegate void NSTextSelectionDataSourceEnumerateCaretOffsetsDelegate (NFloat caretOffset, INSTextLocation location, bool leadingEdge, out bool stop);
public delegate void NSTextSelectionDataSourceEnumerateContainerBoundariesDelegate (INSTextLocation location, out bool stop);
public delegate void NSTextSelectionDataSourceEnumerateSubstringsDelegate (NSString substring, NSTextRange substringRange, NSTextRange enclodingRange, out bool stop);
+ public delegate UIMenu OptionsMenuProviderHandler (UIMenuElement[] elements);
public delegate bool ShouldDismiss (UIPopoverPresentationController popoverPresentationController);
public delegate bool UIAccessibilityCustomActionHandler (UIAccessibilityCustomAction customAction);
public delegate UIAccessibilityCustomRotorItemResult UIAccessibilityCustomRotorSearch (UIAccessibilityCustomRotorSearchPredicate predicate);
diff --git a/old/dotnet/ios/generated-sources/UIKit/NSCollectionLayoutGroup.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSCollectionLayoutGroup.g.cs
index 4e3cfdc..23971a6 100644
--- a/old/dotnet/ios/generated-sources/UIKit/NSCollectionLayoutGroup.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/NSCollectionLayoutGroup.g.cs
@@ -201,6 +201,40 @@ namespace UIKit {
return ret!;
#endif
}
+ [Export ("horizontalGroupWithLayoutSize:repeatingSubitem:count:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSCollectionLayoutGroup GetHorizontalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var layoutSize__handle__ = layoutSize!.GetNonNullHandle (nameof (layoutSize));
+ var repeatingSubitem__handle__ = repeatingSubitem!.GetNonNullHandle (nameof (repeatingSubitem));
+ return Runtime.GetNSObject<NSCollectionLayoutGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr (class_ptr, Selector.GetHandle ("horizontalGroupWithLayoutSize:repeatingSubitem:count:"), layoutSize__handle__, repeatingSubitem__handle__, count))!;
+ #endif
+ }
+ [Export ("verticalGroupWithLayoutSize:repeatingSubitem:count:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSCollectionLayoutGroup GetVerticalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var layoutSize__handle__ = layoutSize!.GetNonNullHandle (nameof (layoutSize));
+ var repeatingSubitem__handle__ = repeatingSubitem!.GetNonNullHandle (nameof (repeatingSubitem));
+ return Runtime.GetNSObject<NSCollectionLayoutGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr (class_ptr, Selector.GetHandle ("verticalGroupWithLayoutSize:repeatingSubitem:count:"), layoutSize__handle__, repeatingSubitem__handle__, count))!;
+ #endif
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/NSCollectionLayoutSection.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSCollectionLayoutSection.g.cs
index 954f47d..87f4241 100644
--- a/old/dotnet/ios/generated-sources/UIKit/NSCollectionLayoutSection.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/NSCollectionLayoutSection.g.cs
@@ -411,12 +411,36 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[UnsupportedOSPlatform ("macos")]
public virtual bool SupplementariesFollowContentInsets {
[Export ("supplementariesFollowContentInsets")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -434,6 +458,18 @@ namespace UIKit {
#endif
}
[Export ("setSupplementariesFollowContentInsets:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -452,6 +488,49 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIContentInsetsReference SupplementaryContentInsetsReference {
+ [Export ("supplementaryContentInsetsReference", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst13.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIContentInsetsReference ret;
+ if (IsDirectBinding) {
+ ret = (UIContentInsetsReference) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("supplementaryContentInsetsReference"));
+ } else {
+ ret = (UIContentInsetsReference) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("supplementaryContentInsetsReference"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSupplementaryContentInsetsReference:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst13.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setSupplementaryContentInsetsReference:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setSupplementaryContentInsetsReference:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/NSMutableParagraphStyle.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSMutableParagraphStyle.g.cs
index 0c6e841..ba68d7c 100644
--- a/old/dotnet/ios/generated-sources/UIKit/NSMutableParagraphStyle.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/NSMutableParagraphStyle.g.cs
@@ -689,6 +689,52 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ public override NSTextList[] TextLists {
+ [Export ("textLists")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios6.0")]
+ [SupportedOSPlatform ("tvos9.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSTextList[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<NSTextList>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("textLists")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<NSTextList>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("textLists")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setTextLists:")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios6.0")]
+ [SupportedOSPlatform ("tvos9.0")]
+ [UnsupportedOSPlatform ("macos")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setTextLists:"), nsa_value.Handle);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setTextLists:"), nsa_value.Handle);
+ }
+ nsa_value.Dispose ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/NSParagraphStyle.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSParagraphStyle.g.cs
index 8b4efce..26bdac3 100644
--- a/old/dotnet/ios/generated-sources/UIKit/NSParagraphStyle.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/NSParagraphStyle.g.cs
@@ -659,6 +659,43 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual NSTextList[] TextLists {
+ [Export ("textLists")]
+ [SupportedOSPlatform ("ios6.0")]
+ [SupportedOSPlatform ("tvos9.0")]
+ [SupportedOSPlatform ("maccatalyst13.1")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSTextList[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<NSTextList>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("textLists")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<NSTextList>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("textLists")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [SupportedOSPlatform ("ios6.0")]
+ [SupportedOSPlatform ("tvos9.0")]
+ [SupportedOSPlatform ("maccatalyst13.1")]
+ [UnsupportedOSPlatform ("macos")]
+ [NotImplemented ()]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new NotImplementedException ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/NSTextElement.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSTextElement.g.cs
index 0c37f35..50ab215 100644
--- a/old/dotnet/ios/generated-sources/UIKit/NSTextElement.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/NSTextElement.g.cs
@@ -116,6 +116,32 @@ namespace UIKit {
#endif
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual NSTextElement[] ChildElements {
+ [Export ("childElements", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSTextElement[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<NSTextElement>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("childElements")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<NSTextElement>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("childElements")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
@@ -160,6 +186,60 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual bool IsRepresentedElement {
+ [Export ("isRepresentedElement")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isRepresentedElement"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isRepresentedElement"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_ParentElement_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual NSTextElement? ParentElement {
+ [Export ("parentElement", ArgumentSemantic.Weak)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSTextElement? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSTextElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("parentElement")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSTextElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("parentElement")))!;
+ }
+ MarkDirty ();
+ __mt_ParentElement_var = ret;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
object? __mt_TextContentManager_var;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos15.0")]
@@ -214,6 +294,7 @@ namespace UIKit {
{
base.Dispose (disposing);
if (Handle == IntPtr.Zero) {
+ __mt_ParentElement_var = null;
__mt_TextContentManager_var = null;
}
}
diff --git a/new/dotnet/ios/generated-sources/UIKit/NSTextList.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSTextList.g.cs
new file mode 100644
index 0000000..41409d0
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/NSTextList.g.cs
@@ -0,0 +1,325 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("NSTextList", true)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class NSTextList : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSTextList");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSTextList () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSTextList (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSTextList (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSTextList (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithMarkerFormat:options:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSTextList ([BindAs (typeof (NSTextListMarkerFormats), OriginalType = typeof (NSString))] global::UIKit.NSTextListMarkerFormats format, NSTextListOptions mask)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var nsb_format = global::UIKit.NSTextListMarkerFormatsExtensions.GetConstant (format);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_UIntPtr (this.Handle, Selector.GetHandle ("initWithMarkerFormat:options:"), nsb_format.GetHandle (), (UIntPtr) (ulong) mask), "initWithMarkerFormat:options:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_UIntPtr (this.SuperHandle, Selector.GetHandle ("initWithMarkerFormat:options:"), nsb_format.GetHandle (), (UIntPtr) (ulong) mask), "initWithMarkerFormat:options:");
+ }
+ #endif
+ }
+ [Export ("initWithMarkerFormat:options:startingItemNumber:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSTextList (string markerFormat, NSTextListOptions options, nint startingItemNumber)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (markerFormat is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (markerFormat));
+ var nsmarkerFormat = CFString.CreateNative (markerFormat);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_UIntPtr_IntPtr (this.Handle, Selector.GetHandle ("initWithMarkerFormat:options:startingItemNumber:"), nsmarkerFormat, (UIntPtr) (ulong) options, startingItemNumber), "initWithMarkerFormat:options:startingItemNumber:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_UIntPtr_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithMarkerFormat:options:startingItemNumber:"), nsmarkerFormat, (UIntPtr) (ulong) options, startingItemNumber), "initWithMarkerFormat:options:startingItemNumber:");
+ }
+ CFString.ReleaseNative (nsmarkerFormat);
+ #endif
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("markerForItemNumber:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string GetMarker (nint itemNum)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("markerForItemNumber:"), itemNum))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("markerForItemNumber:"), itemNum))!;
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSTextListOptions ListOptions {
+ [Export ("listOptions")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSTextListOptions ret;
+ if (IsDirectBinding) {
+ ret = (NSTextListOptions) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("listOptions"));
+ } else {
+ ret = (NSTextListOptions) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("listOptions"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindAs (typeof (NSTextListMarkerFormats), OriginalType = typeof (NSString))]
+ public virtual global::UIKit.NSTextListMarkerFormats MarkerFormat {
+ [Export ("markerFormat")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ global::UIKit.NSTextListMarkerFormats ret;
+ if (IsDirectBinding) {
+ ret = global::UIKit.NSTextListMarkerFormatsExtensions.GetValue (Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("markerFormat")))!);
+ } else {
+ ret = global::UIKit.NSTextListMarkerFormatsExtensions.GetValue (Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("markerFormat")))!);
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual bool Ordered {
+ [Export ("isOrdered")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isOrdered"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isOrdered"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual nint StartingItemNumber {
+ [Export ("startingItemNumber")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("startingItemNumber"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("startingItemNumber"));
+ }
+ #endif
+ }
+ [Export ("setStartingItemNumber:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setStartingItemNumber:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setStartingItemNumber:"), value);
+ }
+ #endif
+ }
+ }
+ } /* class NSTextList */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/NSTextListElement.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSTextListElement.g.cs
new file mode 100644
index 0000000..f15b525
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/NSTextListElement.g.cs
@@ -0,0 +1,382 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("NSTextListElement", true)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public unsafe partial class NSTextListElement : NSTextParagraph {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSTextListElement");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSTextListElement () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSTextListElement (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSTextListElement (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithAttributedString:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSTextListElement (NSAttributedString? attributedString)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var attributedString__handle__ = attributedString.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithAttributedString:"), attributedString__handle__), "initWithAttributedString:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithAttributedString:"), attributedString__handle__), "initWithAttributedString:");
+ }
+ #endif
+ }
+ [Export ("initWithTextContentManager:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSTextListElement (NSTextContentManager? textContentManager)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var textContentManager__handle__ = textContentManager.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithTextContentManager:"), textContentManager__handle__), "initWithTextContentManager:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTextContentManager:"), textContentManager__handle__), "initWithTextContentManager:");
+ }
+ #endif
+ }
+ [Export ("initWithParentElement:textList:contents:markerAttributes:childElements:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSTextListElement (NSTextListElement? parent, NSTextList textList, NSAttributedString? contents, NSDictionary<NSString, NSObject>? markerAttributes, NSTextListElement[]? children)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var parent__handle__ = parent.GetHandle ();
+ var textList__handle__ = textList!.GetNonNullHandle (nameof (textList));
+ var contents__handle__ = contents.GetHandle ();
+ var markerAttributes__handle__ = markerAttributes.GetHandle ();
+ var nsa_children = children is null ? null : NSArray.FromNSObjects (children);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithParentElement:textList:contents:markerAttributes:childElements:"), parent__handle__, textList__handle__, contents__handle__, markerAttributes__handle__, nsa_children.GetHandle ()), "initWithParentElement:textList:contents:markerAttributes:childElements:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithParentElement:textList:contents:markerAttributes:childElements:"), parent__handle__, textList__handle__, contents__handle__, markerAttributes__handle__, nsa_children.GetHandle ()), "initWithParentElement:textList:contents:markerAttributes:childElements:");
+ }
+ if (nsa_children != null)
+ nsa_children.Dispose ();
+ #endif
+ }
+ [Export ("textListElementWithContents:markerAttributes:textList:childElements:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSTextListElement Create (NSAttributedString contents, NSDictionary<NSString, NSObject>? markerAttributes, NSTextList textList, NSTextListElement[]? children)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var contents__handle__ = contents!.GetNonNullHandle (nameof (contents));
+ var markerAttributes__handle__ = markerAttributes.GetHandle ();
+ var textList__handle__ = textList!.GetNonNullHandle (nameof (textList));
+ var nsa_children = children is null ? null : NSArray.FromNSObjects (children);
+ NSTextListElement? ret;
+ ret = Runtime.GetNSObject<NSTextListElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("textListElementWithContents:markerAttributes:textList:childElements:"), contents__handle__, markerAttributes__handle__, textList__handle__, nsa_children.GetHandle ()))!;
+ if (nsa_children != null)
+ nsa_children.Dispose ();
+ return ret!;
+ #endif
+ }
+ [Export ("textListElementWithChildElements:textList:nestingLevel:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSTextListElement? Create (NSTextListElement[] children, NSTextList textList, nint nestingLevel)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (children is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (children));
+ var textList__handle__ = textList!.GetNonNullHandle (nameof (textList));
+ var nsa_children = NSArray.FromNSObjects (children);
+ NSTextListElement? ret;
+ ret = Runtime.GetNSObject<NSTextListElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr (class_ptr, Selector.GetHandle ("textListElementWithChildElements:textList:nestingLevel:"), nsa_children.Handle, textList__handle__, nestingLevel))!;
+ nsa_children.Dispose ();
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual NSAttributedString AttributedString {
+ [Export ("attributedString", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSAttributedString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("attributedString")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attributedString")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual NSTextListElement[] ChildElements {
+ [Export ("childElements", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSTextListElement[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<NSTextListElement>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("childElements")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<NSTextListElement>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("childElements")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual NSAttributedString? Contents {
+ [Export ("contents", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSAttributedString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("contents")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("contents")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual NSDictionary<NSString, NSObject>? MarkerAttributes {
+ [Export ("markerAttributes", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSDictionary<NSString, NSObject>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("markerAttributes")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("markerAttributes")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_ParentElement_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual NSTextListElement? ParentElement {
+ [Export ("parentElement", ArgumentSemantic.Weak)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSTextListElement? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSTextListElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("parentElement")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSTextListElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("parentElement")))!;
+ }
+ MarkDirty ();
+ __mt_ParentElement_var = ret;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ public virtual NSTextList TextList {
+ [Export ("textList", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSTextList? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSTextList> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("textList")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSTextList> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("textList")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_ParentElement_var = null;
+ }
+ }
+ } /* class NSTextListElement */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/NSTextListMarkerFormats.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSTextListMarkerFormats.g.cs
new file mode 100644
index 0000000..969bf73
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/NSTextListMarkerFormats.g.cs
@@ -0,0 +1,434 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public enum NSTextListMarkerFormats : int {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ Box = 0,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ Check = 1,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ Circle = 2,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ Diamond = 3,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ Disc = 4,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ Hyphen = 5,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ Square = 6,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ LowercaseHexadecimal = 7,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ UppercaseHexadecimal = 8,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ Octal = 9,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ LowercaseAlpha = 10,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ UppercaseAlpha = 11,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ LowercaseLatin = 12,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ UppercaseLatin = 13,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ LowercaseRoman = 14,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ UppercaseRoman = 15,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ Decimal = 16,
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static public partial class NSTextListMarkerFormatsExtensions {
+ static IntPtr[] values = new IntPtr [17];
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerBox", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerBox {
+ get {
+ fixed (IntPtr *storage = &values [0])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerBox", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerCheck", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerCheck {
+ get {
+ fixed (IntPtr *storage = &values [1])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerCheck", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerCircle", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerCircle {
+ get {
+ fixed (IntPtr *storage = &values [2])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerCircle", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerDiamond", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerDiamond {
+ get {
+ fixed (IntPtr *storage = &values [3])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerDiamond", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerDisc", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerDisc {
+ get {
+ fixed (IntPtr *storage = &values [4])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerDisc", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerHyphen", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerHyphen {
+ get {
+ fixed (IntPtr *storage = &values [5])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerHyphen", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerSquare", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerSquare {
+ get {
+ fixed (IntPtr *storage = &values [6])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerSquare", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerLowercaseHexadecimal", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerLowercaseHexadecimal {
+ get {
+ fixed (IntPtr *storage = &values [7])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerLowercaseHexadecimal", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerUppercaseHexadecimal", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerUppercaseHexadecimal {
+ get {
+ fixed (IntPtr *storage = &values [8])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerUppercaseHexadecimal", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerOctal", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerOctal {
+ get {
+ fixed (IntPtr *storage = &values [9])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerOctal", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerLowercaseAlpha", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerLowercaseAlpha {
+ get {
+ fixed (IntPtr *storage = &values [10])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerLowercaseAlpha", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerUppercaseAlpha", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerUppercaseAlpha {
+ get {
+ fixed (IntPtr *storage = &values [11])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerUppercaseAlpha", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerLowercaseLatin", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerLowercaseLatin {
+ get {
+ fixed (IntPtr *storage = &values [12])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerLowercaseLatin", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerUppercaseLatin", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerUppercaseLatin {
+ get {
+ fixed (IntPtr *storage = &values [13])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerUppercaseLatin", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerLowercaseRoman", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerLowercaseRoman {
+ get {
+ fixed (IntPtr *storage = &values [14])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerLowercaseRoman", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerUppercaseRoman", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerUppercaseRoman {
+ get {
+ fixed (IntPtr *storage = &values [15])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerUppercaseRoman", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("NSTextListMarkerDecimal", "UIKit")]
+ internal unsafe static IntPtr NSTextListMarkerDecimal {
+ get {
+ fixed (IntPtr *storage = &values [16])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "NSTextListMarkerDecimal", storage);
+ }
+ }
+ public static NSString? GetConstant (this NSTextListMarkerFormats self)
+ {
+ IntPtr ptr = IntPtr.Zero;
+ switch ((int) self) {
+ case 0: // NSTextListMarkerFormats.Box
+ ptr = NSTextListMarkerBox;
+ break;
+ case 1: // NSTextListMarkerFormats.Check
+ ptr = NSTextListMarkerCheck;
+ break;
+ case 2: // NSTextListMarkerFormats.Circle
+ ptr = NSTextListMarkerCircle;
+ break;
+ case 3: // NSTextListMarkerFormats.Diamond
+ ptr = NSTextListMarkerDiamond;
+ break;
+ case 4: // NSTextListMarkerFormats.Disc
+ ptr = NSTextListMarkerDisc;
+ break;
+ case 5: // NSTextListMarkerFormats.Hyphen
+ ptr = NSTextListMarkerHyphen;
+ break;
+ case 6: // NSTextListMarkerFormats.Square
+ ptr = NSTextListMarkerSquare;
+ break;
+ case 7: // NSTextListMarkerFormats.LowercaseHexadecimal
+ ptr = NSTextListMarkerLowercaseHexadecimal;
+ break;
+ case 8: // NSTextListMarkerFormats.UppercaseHexadecimal
+ ptr = NSTextListMarkerUppercaseHexadecimal;
+ break;
+ case 9: // NSTextListMarkerFormats.Octal
+ ptr = NSTextListMarkerOctal;
+ break;
+ case 10: // NSTextListMarkerFormats.LowercaseAlpha
+ ptr = NSTextListMarkerLowercaseAlpha;
+ break;
+ case 11: // NSTextListMarkerFormats.UppercaseAlpha
+ ptr = NSTextListMarkerUppercaseAlpha;
+ break;
+ case 12: // NSTextListMarkerFormats.LowercaseLatin
+ ptr = NSTextListMarkerLowercaseLatin;
+ break;
+ case 13: // NSTextListMarkerFormats.UppercaseLatin
+ ptr = NSTextListMarkerUppercaseLatin;
+ break;
+ case 14: // NSTextListMarkerFormats.LowercaseRoman
+ ptr = NSTextListMarkerLowercaseRoman;
+ break;
+ case 15: // NSTextListMarkerFormats.UppercaseRoman
+ ptr = NSTextListMarkerUppercaseRoman;
+ break;
+ case 16: // NSTextListMarkerFormats.Decimal
+ ptr = NSTextListMarkerDecimal;
+ break;
+ }
+ return (NSString?) Runtime.GetNSObject (ptr);
+ }
+ public static NSTextListMarkerFormats GetValue (NSString constant)
+ {
+ if (constant is null)
+ throw new ArgumentNullException (nameof (constant));
+ if (constant.IsEqualTo (NSTextListMarkerBox))
+ return NSTextListMarkerFormats.Box;
+ if (constant.IsEqualTo (NSTextListMarkerCheck))
+ return NSTextListMarkerFormats.Check;
+ if (constant.IsEqualTo (NSTextListMarkerCircle))
+ return NSTextListMarkerFormats.Circle;
+ if (constant.IsEqualTo (NSTextListMarkerDiamond))
+ return NSTextListMarkerFormats.Diamond;
+ if (constant.IsEqualTo (NSTextListMarkerDisc))
+ return NSTextListMarkerFormats.Disc;
+ if (constant.IsEqualTo (NSTextListMarkerHyphen))
+ return NSTextListMarkerFormats.Hyphen;
+ if (constant.IsEqualTo (NSTextListMarkerSquare))
+ return NSTextListMarkerFormats.Square;
+ if (constant.IsEqualTo (NSTextListMarkerLowercaseHexadecimal))
+ return NSTextListMarkerFormats.LowercaseHexadecimal;
+ if (constant.IsEqualTo (NSTextListMarkerUppercaseHexadecimal))
+ return NSTextListMarkerFormats.UppercaseHexadecimal;
+ if (constant.IsEqualTo (NSTextListMarkerOctal))
+ return NSTextListMarkerFormats.Octal;
+ if (constant.IsEqualTo (NSTextListMarkerLowercaseAlpha))
+ return NSTextListMarkerFormats.LowercaseAlpha;
+ if (constant.IsEqualTo (NSTextListMarkerUppercaseAlpha))
+ return NSTextListMarkerFormats.UppercaseAlpha;
+ if (constant.IsEqualTo (NSTextListMarkerLowercaseLatin))
+ return NSTextListMarkerFormats.LowercaseLatin;
+ if (constant.IsEqualTo (NSTextListMarkerUppercaseLatin))
+ return NSTextListMarkerFormats.UppercaseLatin;
+ if (constant.IsEqualTo (NSTextListMarkerLowercaseRoman))
+ return NSTextListMarkerFormats.LowercaseRoman;
+ if (constant.IsEqualTo (NSTextListMarkerUppercaseRoman))
+ return NSTextListMarkerFormats.UppercaseRoman;
+ if (constant.IsEqualTo (NSTextListMarkerDecimal))
+ return NSTextListMarkerFormats.Decimal;
+ throw new NotSupportedException ($"{constant} has no associated enum value on this platform.");
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/NSTextListOptions.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSTextListOptions.g.cs
new file mode 100644
index 0000000..fed19b2
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/NSTextListOptions.g.cs
@@ -0,0 +1,60 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Flags]
+ [Native]
+ public enum NSTextListOptions : ulong {
+ PrependEnclosingMarker = 1,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIAction.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIAction.g.cs
index ee5d16b..ae277c1 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIAction.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIAction.g.cs
@@ -53,7 +53,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
- public unsafe partial class UIAction : UIMenuElement {
+ public unsafe partial class UIAction : UIMenuElement, IUIMenuLeaf {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
#if ARCH_32
#pragma warning disable 649
@@ -167,6 +167,26 @@ namespace UIKit {
return ret!;
#endif
}
+ [Export ("performWithSender:target:")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Target (NSObject? sender, NSObject? target)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ var target__handle__ = target.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("performWithSender:target:"), sender__handle__, target__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("performWithSender:target:"), sender__handle__, target__handle__);
+ }
+ #endif
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
@@ -311,6 +331,30 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual IUIPopoverPresentationControllerSourceItem PresentationSourceItem {
+ [Export ("presentationSourceItem")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IUIPopoverPresentationControllerSourceItem? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IUIPopoverPresentationControllerSourceItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("presentationSourceItem")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IUIPopoverPresentationControllerSourceItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("presentationSourceItem")), false)!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIActivityItemsConfigurationProviding.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIActivityItemsConfigurationProviding.g.cs
index a2930e2..ffec181 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIActivityItemsConfigurationProviding.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIActivityItemsConfigurationProviding.g.cs
@@ -57,7 +57,7 @@ namespace UIKit {
public partial interface IUIActivityItemsConfigurationProviding : INativeObject, IDisposable
{
[Preserve (Conditional = true)]
- IUIActivityItemsConfigurationReading ActivityItemsConfiguration {
+ IUIActivityItemsConfigurationReading? ActivityItemsConfiguration {
[Export ("activityItemsConfiguration", ArgumentSemantic.Retain)]
get;
}
@@ -72,7 +72,7 @@ namespace UIKit {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
- public IUIActivityItemsConfigurationReading ActivityItemsConfiguration {
+ public IUIActivityItemsConfigurationReading? ActivityItemsConfiguration {
[Export ("activityItemsConfiguration", ArgumentSemantic.Retain)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios15.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIActivityType.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIActivityType.g.cs
index befa54b..c1987a2 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIActivityType.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIActivityType.g.cs
@@ -102,6 +102,38 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _CollaborationCopyLink;
+ [Field ("UIActivityTypeCollaborationCopyLink", "UIKit")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public static NSString CollaborationCopyLink {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ if (_CollaborationCopyLink is null)
+ _CollaborationCopyLink = Dlfcn.GetStringConstant (Libraries.UIKit.Handle, "UIActivityTypeCollaborationCopyLink")!;
+ return _CollaborationCopyLink;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _CollaborationInviteWithLink;
+ [Field ("UIActivityTypeCollaborationInviteWithLink", "UIKit")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public static NSString CollaborationInviteWithLink {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ if (_CollaborationInviteWithLink is null)
+ _CollaborationInviteWithLink = Dlfcn.GetStringConstant (Libraries.UIKit.Handle, "UIActivityTypeCollaborationInviteWithLink")!;
+ return _CollaborationInviteWithLink;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _CopyToPasteboard;
[Field ("UIActivityTypeCopyToPasteboard", "UIKit")]
[UnsupportedOSPlatform ("tvos")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIAlertController.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIAlertController.g.cs
index 64ee66e..799c699 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIAlertController.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIAlertController.g.cs
@@ -275,6 +275,46 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIAlertControllerSeverity Severity {
+ [Export ("severity", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIAlertControllerSeverity ret;
+ if (IsDirectBinding) {
+ ret = (UIAlertControllerSeverity) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("severity"));
+ } else {
+ ret = (UIAlertControllerSeverity) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("severity"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSeverity:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setSeverity:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setSeverity:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIAlertControllerSeverity.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIAlertControllerSeverity.g.cs
new file mode 100644
index 0000000..505ef29
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIAlertControllerSeverity.g.cs
@@ -0,0 +1,60 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [Native]
+ public enum UIAlertControllerSeverity : long {
+ Default = 0,
+ Critical = 1,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIApplication.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIApplication.g.cs
index 326901f..8f32b17 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIApplication.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIApplication.g.cs
@@ -367,6 +367,10 @@ namespace UIKit {
[Advice ("Starting with ios10.0 Please use the overload instead.")]
#endif
[UnsupportedOSPlatform ("ios10.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0 Please use the overload instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0 Please use the overload instead.")]
#endif
@@ -1878,6 +1882,10 @@ namespace UIKit {
[Advice ("Starting with ios15.0 Use 'UIWindowScene.Windows' in the desired window scene object instead.")]
#endif
[UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use 'UIWindowScene.Windows' in the desired window scene object instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst15.0 Use 'UIWindowScene.Windows' in the desired window scene object instead.")]
#endif
@@ -1891,6 +1899,10 @@ namespace UIKit {
[Advice ("Starting with ios15.0 Use 'UIWindowScene.Windows' in the desired window scene object instead.")]
#endif
[UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use 'UIWindowScene.Windows' in the desired window scene object instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst15.0 Use 'UIWindowScene.Windows' in the desired window scene object instead.")]
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIApplicationDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIApplicationDelegate.g.cs
index b872a37..8d01f98 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIApplicationDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIApplicationDelegate.g.cs
@@ -315,6 +315,10 @@ namespace UIKit {
[Advice ("Starting with ios10.0 Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
#endif
[UnsupportedOSPlatform ("ios10.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0 Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
[UnsupportedOSPlatform ("macos")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0 Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
@@ -1608,6 +1612,10 @@ namespace UIKit {
[Advice ("Starting with ios10.0 Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
#endif
[UnsupportedOSPlatform ("ios10.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0 Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
[UnsupportedOSPlatform ("macos")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0 Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIBarButtonItem.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIBarButtonItem.g.cs
index 1ac1fdc..ceaf10b 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIBarButtonItem.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIBarButtonItem.g.cs
@@ -53,7 +53,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
- public unsafe partial class UIBarButtonItem : UIBarItem, INSCoding, IUISpringLoadedInteractionSupporting {
+ public unsafe partial class UIBarButtonItem : UIBarItem, INSCoding, IUIPopoverPresentationControllerSourceItem, IUISpringLoadedInteractionSupporting {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static readonly NativeHandle class_ptr = Class.GetHandle ("UIBarButtonItem");
public override NativeHandle ClassHandle { get { return class_ptr; } }
@@ -281,6 +281,73 @@ namespace UIKit {
}
#endif
}
+ [Export ("initWithPrimaryAction:menu:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIBarButtonItem (UIAction? primaryAction, UIMenu? menu)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var primaryAction__handle__ = primaryAction.GetHandle ();
+ var menu__handle__ = menu.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithPrimaryAction:menu:"), primaryAction__handle__, menu__handle__), "initWithPrimaryAction:menu:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithPrimaryAction:menu:"), primaryAction__handle__, menu__handle__), "initWithPrimaryAction:menu:");
+ }
+ #endif
+ }
+ [Export ("initWithBarButtonSystemItem:primaryAction:menu:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIBarButtonItem (UIBarButtonSystemItem systemItem, UIAction? primaryAction, UIMenu? menu)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var primaryAction__handle__ = primaryAction.GetHandle ();
+ var menu__handle__ = menu.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithBarButtonSystemItem:primaryAction:menu:"), (IntPtr) (long) systemItem, primaryAction__handle__, menu__handle__), "initWithBarButtonSystemItem:primaryAction:menu:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithBarButtonSystemItem:primaryAction:menu:"), (IntPtr) (long) systemItem, primaryAction__handle__, menu__handle__), "initWithBarButtonSystemItem:primaryAction:menu:");
+ }
+ #endif
+ }
+ [Export ("initWithTitle:image:target:action:menu:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIBarButtonItem (string? title, UIImage? image, NSObject? target, Selector? action, UIMenu? menu)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var image__handle__ = image.GetHandle ();
+ var target__handle__ = target.GetHandle ();
+ var action__handle__ = action.GetHandle ();
+ var menu__handle__ = menu.GetHandle ();
+ var nstitle = CFString.CreateNative (title);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithTitle:image:target:action:menu:"), nstitle, image__handle__, target__handle__, action__handle__, menu__handle__), "initWithTitle:image:target:action:menu:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTitle:image:target:action:menu:"), nstitle, image__handle__, target__handle__, action__handle__, menu__handle__), "initWithTitle:image:target:action:menu:");
+ }
+ CFString.ReleaseNative (nstitle);
+ #endif
+ }
[Export ("initWithImage:landscapeImagePhone:style:target:action:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
@@ -303,6 +370,54 @@ namespace UIKit {
var postget2 = Target;
#pragma warning restore 168
}
+ [Export ("creatingMovableGroupWithCustomizationIdentifier:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIBarButtonItemGroup CreatingMovableGroup (string customizationIdentifier)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (customizationIdentifier is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (customizationIdentifier));
+ var nscustomizationIdentifier = CFString.CreateNative (customizationIdentifier);
+ UIBarButtonItemGroup? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("creatingMovableGroupWithCustomizationIdentifier:"), nscustomizationIdentifier))!;
+ } else {
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("creatingMovableGroupWithCustomizationIdentifier:"), nscustomizationIdentifier))!;
+ }
+ CFString.ReleaseNative (nscustomizationIdentifier);
+ return ret!;
+ #endif
+ }
+ [Export ("creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIBarButtonItemGroup CreatingOptionalGroup (string customizationIdentifier, bool inDefaultCustomization)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (customizationIdentifier is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (customizationIdentifier));
+ var nscustomizationIdentifier = CFString.CreateNative (customizationIdentifier);
+ UIBarButtonItemGroup? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_bool (this.Handle, Selector.GetHandle ("creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization:"), nscustomizationIdentifier, inDefaultCustomization))!;
+ } else {
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_bool (this.SuperHandle, Selector.GetHandle ("creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization:"), nscustomizationIdentifier, inDefaultCustomization))!;
+ }
+ CFString.ReleaseNative (nscustomizationIdentifier);
+ return ret!;
+ #endif
+ }
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
@@ -662,6 +777,30 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIBarButtonItemGroup CreatingFixedGroup {
+ [Export ("creatingFixedGroup")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIBarButtonItemGroup? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("creatingFixedGroup")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("creatingFixedGroup")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -745,6 +884,44 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool Hidden {
+ [Export ("isHidden")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isHidden"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isHidden"));
+ }
+ #endif
+ }
+ [Export ("setHidden:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setHidden:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setHidden:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -867,6 +1044,47 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIMenuElement? MenuRepresentation {
+ [Export ("menuRepresentation", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIMenuElement? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIMenuElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("menuRepresentation")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIMenuElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("menuRepresentation")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setMenuRepresentation:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setMenuRepresentation:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setMenuRepresentation:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -900,6 +1118,46 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIContextMenuConfigurationElementOrder PreferredMenuElementOrder {
+ [Export ("preferredMenuElementOrder", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIContextMenuConfigurationElementOrder ret;
+ if (IsDirectBinding) {
+ ret = (UIContextMenuConfigurationElementOrder) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("preferredMenuElementOrder"));
+ } else {
+ ret = (UIContextMenuConfigurationElementOrder) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("preferredMenuElementOrder"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPreferredMenuElementOrder:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPreferredMenuElementOrder:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPreferredMenuElementOrder:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIBarButtonItemGroup.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIBarButtonItemGroup.g.cs
index d24d424..721046f 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIBarButtonItemGroup.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIBarButtonItemGroup.g.cs
@@ -133,6 +133,115 @@ namespace UIKit {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
}
}
+ [Export ("fixedGroupWithRepresentativeItem:items:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIBarButtonItemGroup GetFixedGroup (UIBarButtonItem? representativeItem, UIBarButtonItem[] items)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var representativeItem__handle__ = representativeItem.GetHandle ();
+ if (items is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (items));
+ var nsa_items = NSArray.FromNSObjects (items);
+ UIBarButtonItemGroup? ret;
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("fixedGroupWithRepresentativeItem:items:"), representativeItem__handle__, nsa_items.Handle))!;
+ nsa_items.Dispose ();
+ return ret!;
+ #endif
+ }
+ [Export ("movableGroupWithCustomizationIdentifier:representativeItem:items:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIBarButtonItemGroup GetMovableGroup (string customizationIdentifier, UIBarButtonItem? representativeItem, UIBarButtonItem[] items)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (customizationIdentifier is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (customizationIdentifier));
+ var representativeItem__handle__ = representativeItem.GetHandle ();
+ if (items is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (items));
+ var nscustomizationIdentifier = CFString.CreateNative (customizationIdentifier);
+ var nsa_items = NSArray.FromNSObjects (items);
+ UIBarButtonItemGroup? ret;
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("movableGroupWithCustomizationIdentifier:representativeItem:items:"), nscustomizationIdentifier, representativeItem__handle__, nsa_items.Handle))!;
+ CFString.ReleaseNative (nscustomizationIdentifier);
+ nsa_items.Dispose ();
+ return ret!;
+ #endif
+ }
+ [Export ("optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIBarButtonItemGroup GetOptionalGroup (string customizationIdentifier, bool inDefaultCustomization, UIBarButtonItem? representativeItem, UIBarButtonItem[] items)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (customizationIdentifier is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (customizationIdentifier));
+ var representativeItem__handle__ = representativeItem.GetHandle ();
+ if (items is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (items));
+ var nscustomizationIdentifier = CFString.CreateNative (customizationIdentifier);
+ var nsa_items = NSArray.FromNSObjects (items);
+ UIBarButtonItemGroup? ret;
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_bool_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items:"), nscustomizationIdentifier, inDefaultCustomization, representativeItem__handle__, nsa_items.Handle))!;
+ CFString.ReleaseNative (nscustomizationIdentifier);
+ nsa_items.Dispose ();
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool AlwaysAvailable {
+ [Export ("alwaysAvailable")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("alwaysAvailable"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("alwaysAvailable"));
+ }
+ #endif
+ }
+ [Export ("setAlwaysAvailable:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setAlwaysAvailable:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAlwaysAvailable:"), value);
+ }
+ #endif
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("tvos")]
@@ -188,6 +297,85 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool Hidden {
+ [Export ("isHidden")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isHidden"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isHidden"));
+ }
+ #endif
+ }
+ [Export ("setHidden:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setHidden:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setHidden:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIMenuElement? MenuRepresentation {
+ [Export ("menuRepresentation", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIMenuElement? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIMenuElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("menuRepresentation")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIMenuElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("menuRepresentation")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setMenuRepresentation:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setMenuRepresentation:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setMenuRepresentation:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst9.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIButton.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIButton.g.cs
index 6b35e42..9370fa9 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIButton.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIButton.g.cs
@@ -1553,6 +1553,46 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIContextMenuConfigurationElementOrder PreferredMenuElementOrder {
+ [Export ("preferredMenuElementOrder", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIContextMenuConfigurationElementOrder ret;
+ if (IsDirectBinding) {
+ ret = (UIContextMenuConfigurationElementOrder) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("preferredMenuElementOrder"));
+ } else {
+ ret = (UIContextMenuConfigurationElementOrder) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("preferredMenuElementOrder"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPreferredMenuElementOrder:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPreferredMenuElementOrder:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPreferredMenuElementOrder:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
#if __IOS__
[Advice ("Starting with ios15.0 Ignored when 'UIButtonConfiguration' is used.")]
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIButtonConfiguration.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIButtonConfiguration.g.cs
index fefaf3b..79ef50d 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIButtonConfiguration.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIButtonConfiguration.g.cs
@@ -882,6 +882,94 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIButtonConfigurationIndicator Indicator {
+ [Export ("indicator", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIButtonConfigurationIndicator ret;
+ if (IsDirectBinding) {
+ ret = (UIButtonConfigurationIndicator) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("indicator"));
+ } else {
+ ret = (UIButtonConfigurationIndicator) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("indicator"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setIndicator:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setIndicator:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setIndicator:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe virtual UIConfigurationColorTransformerHandler? IndicatorColorTransformer {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDUIConfigurationColorTransformerHandler))]
+ [Export ("indicatorColorTransformer", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("indicatorColorTransformer"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("indicatorColorTransformer"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDUIConfigurationColorTransformerHandler.Create (ret)!;
+ #endif
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDUIConfigurationColorTransformerHandler))]
+ [Export ("setIndicatorColorTransformer:", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDUIConfigurationColorTransformerHandler.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setIndicatorColorTransformer:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setIndicatorColorTransformer:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIButtonConfigurationIndicator.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIButtonConfigurationIndicator.g.cs
new file mode 100644
index 0000000..9983371
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIButtonConfigurationIndicator.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UIButtonConfigurationIndicator : long {
+ Automatic = 0,
+ None = 1,
+ Popup = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICalendarSelection.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelection.g.cs
new file mode 100644
index 0000000..3e14062
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelection.g.cs
@@ -0,0 +1,97 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UICalendarSelection", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UICalendarSelection : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UICalendarSelection");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UICalendarSelection (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UICalendarSelection (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("updateSelectableDates")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdateSelectableDates ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("updateSelectableDates"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("updateSelectableDates"));
+ }
+ #endif
+ }
+ } /* class UICalendarSelection */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionMultiDate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionMultiDate.g.cs
new file mode 100644
index 0000000..1d25be2
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionMultiDate.g.cs
@@ -0,0 +1,230 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UICalendarSelectionMultiDate", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UICalendarSelectionMultiDate : UICalendarSelection {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UICalendarSelectionMultiDate");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public UICalendarSelectionMultiDate () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UICalendarSelectionMultiDate (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UICalendarSelectionMultiDate (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithDelegate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UICalendarSelectionMultiDate (IUICalendarSelectionMultiDateDelegate? @delegate)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var @delegate__handle__ = @delegate.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithDelegate:"), @delegate__handle__), "initWithDelegate:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithDelegate:"), @delegate__handle__), "initWithDelegate:");
+ }
+ #endif
+ }
+ [Export ("setSelectedDates:animated:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void SetSelectedDates (NSDateComponents[] selectedDates, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (selectedDates is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (selectedDates));
+ var nsa_selectedDates = NSArray.FromNSObjects (selectedDates);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (this.Handle, Selector.GetHandle ("setSelectedDates:animated:"), nsa_selectedDates.Handle, animated);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_bool (this.SuperHandle, Selector.GetHandle ("setSelectedDates:animated:"), nsa_selectedDates.Handle, animated);
+ }
+ nsa_selectedDates.Dispose ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public IUICalendarSelectionMultiDateDelegate? Delegate {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return (WeakDelegate as IUICalendarSelectionMultiDateDelegate)!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSDateComponents[] SelectedDates {
+ [Export ("selectedDates", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSDateComponents[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<NSDateComponents>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("selectedDates")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<NSDateComponents>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("selectedDates")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSelectedDates:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSelectedDates:"), nsa_value.Handle);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSelectedDates:"), nsa_value.Handle);
+ }
+ nsa_value.Dispose ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class UICalendarSelectionMultiDate */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionMultiDateDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionMultiDateDelegate.g.cs
new file mode 100644
index 0000000..5aa664b
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionMultiDateDelegate.g.cs
@@ -0,0 +1,232 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UICalendarSelectionMultiDateDelegate", WrapperType = typeof (UICalendarSelectionMultiDateDelegateWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidSelectDate", Selector = "multiDateSelection:didSelectDate:", ParameterType = new Type [] { typeof (UICalendarSelectionMultiDate), typeof (NSDateComponents) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidDeselectDate", Selector = "multiDateSelection:didDeselectDate:", ParameterType = new Type [] { typeof (UICalendarSelectionMultiDate), typeof (NSDateComponents) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CanSelectDate", Selector = "multiDateSelection:canSelectDate:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UICalendarSelectionMultiDate), typeof (NSDateComponents) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CanDeselectDate", Selector = "multiDateSelection:canDeselectDate:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UICalendarSelectionMultiDate), typeof (NSDateComponents) }, ParameterByRef = new bool [] { false, false })]
+ public partial interface IUICalendarSelectionMultiDateDelegate : INativeObject, IDisposable
+ {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("multiDateSelection:didSelectDate:")]
+ [Preserve (Conditional = true)]
+ void DidSelectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents);
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("multiDateSelection:didDeselectDate:")]
+ [Preserve (Conditional = true)]
+ void DidDeselectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents);
+ }
+ public static partial class UICalendarSelectionMultiDateDelegate_Extensions {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool CanSelectDate (this IUICalendarSelectionMultiDateDelegate This, UICalendarSelectionMultiDate selection, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var selection__handle__ = selection!.GetNonNullHandle (nameof (selection));
+ var dateComponents__handle__ = dateComponents!.GetNonNullHandle (nameof (dateComponents));
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("multiDateSelection:canSelectDate:"), selection__handle__, dateComponents__handle__);
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool CanDeselectDate (this IUICalendarSelectionMultiDateDelegate This, UICalendarSelectionMultiDate selection, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var selection__handle__ = selection!.GetNonNullHandle (nameof (selection));
+ var dateComponents__handle__ = dateComponents!.GetNonNullHandle (nameof (dateComponents));
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("multiDateSelection:canDeselectDate:"), selection__handle__, dateComponents__handle__);
+ #endif
+ }
+ }
+ internal sealed class UICalendarSelectionMultiDateDelegateWrapper : BaseWrapper, IUICalendarSelectionMultiDateDelegate {
+ [Preserve (Conditional = true)]
+ public UICalendarSelectionMultiDateDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("multiDateSelection:didSelectDate:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void DidSelectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var selection__handle__ = selection!.GetNonNullHandle (nameof (selection));
+ var dateComponents__handle__ = dateComponents!.GetNonNullHandle (nameof (dateComponents));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("multiDateSelection:didSelectDate:"), selection__handle__, dateComponents__handle__);
+ #endif
+ }
+ [Export ("multiDateSelection:didDeselectDate:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void DidDeselectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var selection__handle__ = selection!.GetNonNullHandle (nameof (selection));
+ var dateComponents__handle__ = dateComponents!.GetNonNullHandle (nameof (dateComponents));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("multiDateSelection:didDeselectDate:"), selection__handle__, dateComponents__handle__);
+ #endif
+ }
+ }
+}
+namespace UIKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__UIKit_UICalendarSelectionMultiDateDelegate", false)]
+ [Model]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe abstract partial class UICalendarSelectionMultiDateDelegate : NSObject, IUICalendarSelectionMultiDateDelegate {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ protected UICalendarSelectionMultiDateDelegate () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UICalendarSelectionMultiDateDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UICalendarSelectionMultiDateDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("multiDateSelection:canDeselectDate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanDeselectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("multiDateSelection:canSelectDate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanSelectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("multiDateSelection:didDeselectDate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDeselectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("multiDateSelection:didSelectDate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ } /* class UICalendarSelectionMultiDateDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionSingleDate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionSingleDate.g.cs
new file mode 100644
index 0000000..fd597a3
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionSingleDate.g.cs
@@ -0,0 +1,224 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UICalendarSelectionSingleDate", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UICalendarSelectionSingleDate : UICalendarSelection {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UICalendarSelectionSingleDate");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public UICalendarSelectionSingleDate () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UICalendarSelectionSingleDate (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UICalendarSelectionSingleDate (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithDelegate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UICalendarSelectionSingleDate (IUICalendarSelectionSingleDateDelegate? @delegate)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var @delegate__handle__ = @delegate.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithDelegate:"), @delegate__handle__), "initWithDelegate:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithDelegate:"), @delegate__handle__), "initWithDelegate:");
+ }
+ #endif
+ }
+ [Export ("setSelectedDate:animated:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void SetSelectedDate (NSDateComponents? selectedDate, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var selectedDate__handle__ = selectedDate.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (this.Handle, Selector.GetHandle ("setSelectedDate:animated:"), selectedDate__handle__, animated);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_bool (this.SuperHandle, Selector.GetHandle ("setSelectedDate:animated:"), selectedDate__handle__, animated);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public IUICalendarSelectionSingleDateDelegate? Delegate {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return (WeakDelegate as IUICalendarSelectionSingleDateDelegate)!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSDateComponents? SelectedDate {
+ [Export ("selectedDate", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSDateComponents? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDateComponents> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("selectedDate")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDateComponents> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("selectedDate")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSelectedDate:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSelectedDate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSelectedDate:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class UICalendarSelectionSingleDate */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionSingleDateDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionSingleDateDelegate.g.cs
new file mode 100644
index 0000000..b7556ef
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarSelectionSingleDateDelegate.g.cs
@@ -0,0 +1,169 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UICalendarSelectionSingleDateDelegate", WrapperType = typeof (UICalendarSelectionSingleDateDelegateWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidSelectDate", Selector = "dateSelection:didSelectDate:", ParameterType = new Type [] { typeof (UICalendarSelectionSingleDate), typeof (NSDateComponents) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CanSelectDate", Selector = "dateSelection:canSelectDate:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UICalendarSelectionSingleDate), typeof (NSDateComponents) }, ParameterByRef = new bool [] { false, false })]
+ public partial interface IUICalendarSelectionSingleDateDelegate : INativeObject, IDisposable
+ {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("dateSelection:didSelectDate:")]
+ [Preserve (Conditional = true)]
+ void DidSelectDate (UICalendarSelectionSingleDate selection, NSDateComponents? dateComponents);
+ }
+ public static partial class UICalendarSelectionSingleDateDelegate_Extensions {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool CanSelectDate (this IUICalendarSelectionSingleDateDelegate This, UICalendarSelectionSingleDate selection, NSDateComponents? dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var selection__handle__ = selection!.GetNonNullHandle (nameof (selection));
+ var dateComponents__handle__ = dateComponents.GetHandle ();
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("dateSelection:canSelectDate:"), selection__handle__, dateComponents__handle__);
+ #endif
+ }
+ }
+ internal sealed class UICalendarSelectionSingleDateDelegateWrapper : BaseWrapper, IUICalendarSelectionSingleDateDelegate {
+ [Preserve (Conditional = true)]
+ public UICalendarSelectionSingleDateDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("dateSelection:didSelectDate:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void DidSelectDate (UICalendarSelectionSingleDate selection, NSDateComponents? dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var selection__handle__ = selection!.GetNonNullHandle (nameof (selection));
+ var dateComponents__handle__ = dateComponents.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("dateSelection:didSelectDate:"), selection__handle__, dateComponents__handle__);
+ #endif
+ }
+ }
+}
+namespace UIKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__UIKit_UICalendarSelectionSingleDateDelegate", false)]
+ [Model]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe abstract partial class UICalendarSelectionSingleDateDelegate : NSObject, IUICalendarSelectionSingleDateDelegate {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ protected UICalendarSelectionSingleDateDelegate () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UICalendarSelectionSingleDateDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UICalendarSelectionSingleDateDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("dateSelection:canSelectDate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanSelectDate (UICalendarSelectionSingleDate selection, NSDateComponents? dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("dateSelection:didSelectDate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectDate (UICalendarSelectionSingleDate selection, NSDateComponents? dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ } /* class UICalendarSelectionSingleDateDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICalendarView.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarView.g.cs
new file mode 100644
index 0000000..9f5822e
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarView.g.cs
@@ -0,0 +1,602 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UICalendarView", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UICalendarView : UIView {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UICalendarView");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public UICalendarView () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public UICalendarView (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UICalendarView (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UICalendarView (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithFrame:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UICalendarView (CGRect frame)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_CGRect (this.Handle, Selector.GetHandle ("initWithFrame:"), frame), "initWithFrame:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_CGRect (this.SuperHandle, Selector.GetHandle ("initWithFrame:"), frame), "initWithFrame:");
+ }
+ #endif
+ }
+ [Export ("reloadDecorationsForDateComponents:animated:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ReloadDecorations (NSDateComponents[] dates, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (dates is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (dates));
+ var nsa_dates = NSArray.FromNSObjects (dates);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (this.Handle, Selector.GetHandle ("reloadDecorationsForDateComponents:animated:"), nsa_dates.Handle, animated);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_bool (this.SuperHandle, Selector.GetHandle ("reloadDecorationsForDateComponents:animated:"), nsa_dates.Handle, animated);
+ }
+ nsa_dates.Dispose ();
+ #endif
+ }
+ [Export ("setVisibleDateComponents:animated:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void SetVisibleDateComponents (NSDateComponents dateComponents, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var dateComponents__handle__ = dateComponents!.GetNonNullHandle (nameof (dateComponents));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (this.Handle, Selector.GetHandle ("setVisibleDateComponents:animated:"), dateComponents__handle__, animated);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_bool (this.SuperHandle, Selector.GetHandle ("setVisibleDateComponents:animated:"), dateComponents__handle__, animated);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSDateInterval AvailableDateRange {
+ [Export ("availableDateRange", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSDateInterval? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDateInterval> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("availableDateRange")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDateInterval> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("availableDateRange")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setAvailableDateRange:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setAvailableDateRange:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setAvailableDateRange:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSCalendar Calendar {
+ [Export ("calendar", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSCalendar? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSCalendar> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("calendar")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSCalendar> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("calendar")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setCalendar:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setCalendar:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setCalendar:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public IUICalendarViewDelegate? Delegate {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return (WeakDelegate as IUICalendarViewDelegate)!;
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual string FontDesign {
+ [Export ("fontDesign")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("fontDesign")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("fontDesign")))!;
+ }
+ #endif
+ }
+ [Export ("setFontDesign:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setFontDesign:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setFontDesign:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSLocale Locale {
+ [Export ("locale", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSLocale? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("locale")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("locale")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setLocale:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLocale:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLocale:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UICalendarSelection? SelectionBehavior {
+ [Export ("selectionBehavior", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UICalendarSelection? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UICalendarSelection> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("selectionBehavior")))!;
+ } else {
+ ret = Runtime.GetNSObject<UICalendarSelection> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("selectionBehavior")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSelectionBehavior:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSelectionBehavior:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSelectionBehavior:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSTimeZone? TimeZone {
+ [Export ("timeZone", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSTimeZone? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSTimeZone> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("timeZone")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSTimeZone> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("timeZone")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setTimeZone:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setTimeZone:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setTimeZone:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSDateComponents VisibleDateComponents {
+ [Export ("visibleDateComponents", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSDateComponents? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDateComponents> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("visibleDateComponents")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDateComponents> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("visibleDateComponents")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setVisibleDateComponents:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setVisibleDateComponents:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setVisibleDateComponents:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool WantsDateDecorations {
+ [Export ("wantsDateDecorations")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("wantsDateDecorations"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("wantsDateDecorations"));
+ }
+ #endif
+ }
+ [Export ("setWantsDateDecorations:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setWantsDateDecorations:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setWantsDateDecorations:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ public partial class UICalendarViewAppearance : global::UIKit.UIView.UIViewAppearance {
+ protected internal UICalendarViewAppearance (IntPtr handle) : base (handle) {}
+ }
+ public static new UICalendarViewAppearance Appearance {
+ get { return new UICalendarViewAppearance (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (class_ptr, ObjCRuntime.Selector.GetHandle ("appearance"))); }
+ }
+ public static new UICalendarViewAppearance GetAppearance<T> () where T: UICalendarView {
+ return new UICalendarViewAppearance (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (Class.GetHandle (typeof (T)), ObjCRuntime.Selector.GetHandle ("appearance")));
+ }
+ public static new UICalendarViewAppearance AppearanceWhenContainedIn (params Type [] containers)
+ {
+ return new UICalendarViewAppearance (UIAppearance.GetAppearance (class_ptr, containers));
+ }
+ public static new UICalendarViewAppearance GetAppearance (UITraitCollection traits) {
+ return new UICalendarViewAppearance (UIAppearance.GetAppearance (class_ptr, traits));
+ }
+ public static new UICalendarViewAppearance GetAppearance (UITraitCollection traits, params Type [] containers) {
+ return new UICalendarViewAppearance (UIAppearance.GetAppearance (class_ptr, traits, containers));
+ }
+ public static new UICalendarViewAppearance GetAppearance<T> (UITraitCollection traits) where T: UICalendarView {
+ return new UICalendarViewAppearance (UIAppearance.GetAppearance (Class.GetHandle (typeof (T)), traits));
+ }
+ public static new UICalendarViewAppearance GetAppearance<T> (UITraitCollection traits, params Type [] containers) where T: UICalendarView{
+ return new UICalendarViewAppearance (UIAppearance.GetAppearance (Class.GetHandle (typeof (T)), containers));
+ }
+ } /* class UICalendarView */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDecoration.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDecoration.g.cs
new file mode 100644
index 0000000..2f0ed45
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDecoration.g.cs
@@ -0,0 +1,214 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UICalendarViewDecoration", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UICalendarViewDecoration : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UICalendarViewDecoration");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public UICalendarViewDecoration () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UICalendarViewDecoration (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UICalendarViewDecoration (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithImage:color:size:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UICalendarViewDecoration (UIImage? image, UIColor? color, UICalendarViewDecorationSize size)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var image__handle__ = image.GetHandle ();
+ var color__handle__ = color.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr (this.Handle, Selector.GetHandle ("initWithImage:color:size:"), image__handle__, color__handle__, (IntPtr) (long) size), "initWithImage:color:size:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithImage:color:size:"), image__handle__, color__handle__, (IntPtr) (long) size), "initWithImage:color:size:");
+ }
+ #endif
+ }
+ [Export ("initWithCustomViewProvider:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe UICalendarViewDecoration ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3))]global::System.Func<UIView> customViewProvider)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (customViewProvider is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (customViewProvider));
+ BlockLiteral *block_ptr_customViewProvider;
+ BlockLiteral block_customViewProvider;
+ block_customViewProvider = new BlockLiteral ();
+ block_ptr_customViewProvider = &block_customViewProvider;
+ block_customViewProvider.SetupBlockUnsafe (Trampolines.SDFuncArity1V3.Handler, customViewProvider);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithCustomViewProvider:"), (IntPtr) block_ptr_customViewProvider), "initWithCustomViewProvider:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithCustomViewProvider:"), (IntPtr) block_ptr_customViewProvider), "initWithCustomViewProvider:");
+ }
+ block_ptr_customViewProvider->CleanupBlock ();
+ #endif
+ }
+ [Export ("decorationWithColor:size:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UICalendarViewDecoration Create (UIColor? color, UICalendarViewDecorationSize size)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var color__handle__ = color.GetHandle ();
+ return Runtime.GetNSObject<UICalendarViewDecoration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_IntPtr (class_ptr, Selector.GetHandle ("decorationWithColor:size:"), color__handle__, (IntPtr) (long) size))!;
+ #endif
+ }
+ [Export ("decorationWithImage:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UICalendarViewDecoration Create (UIImage? image)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var image__handle__ = image.GetHandle ();
+ return Runtime.GetNSObject<UICalendarViewDecoration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("decorationWithImage:"), image__handle__))!;
+ #endif
+ }
+ [Export ("decorationWithImage:color:size:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UICalendarViewDecoration Create (UIImage? image, UIColor? color, UICalendarViewDecorationSize size)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var image__handle__ = image.GetHandle ();
+ var color__handle__ = color.GetHandle ();
+ return Runtime.GetNSObject<UICalendarViewDecoration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr (class_ptr, Selector.GetHandle ("decorationWithImage:color:size:"), image__handle__, color__handle__, (IntPtr) (long) size))!;
+ #endif
+ }
+ [Export ("decorationWithCustomViewProvider:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static UICalendarViewDecoration Create ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3))]global::System.Func<UIView> customViewProvider)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (customViewProvider is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (customViewProvider));
+ BlockLiteral *block_ptr_customViewProvider;
+ BlockLiteral block_customViewProvider;
+ block_customViewProvider = new BlockLiteral ();
+ block_ptr_customViewProvider = &block_customViewProvider;
+ block_customViewProvider.SetupBlockUnsafe (Trampolines.SDFuncArity1V3.Handler, customViewProvider);
+ UICalendarViewDecoration? ret;
+ ret = Runtime.GetNSObject<UICalendarViewDecoration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("decorationWithCustomViewProvider:"), (IntPtr) block_ptr_customViewProvider))!;
+ block_ptr_customViewProvider->CleanupBlock ();
+ return ret!;
+ #endif
+ }
+ } /* class UICalendarViewDecoration */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDecorationSize.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDecorationSize.g.cs
new file mode 100644
index 0000000..be36961
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDecorationSize.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UICalendarViewDecorationSize : long {
+ Small = 0,
+ Medium = 1,
+ Large = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDelegate.g.cs
new file mode 100644
index 0000000..bbbe75e
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICalendarViewDelegate.g.cs
@@ -0,0 +1,138 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UICalendarViewDelegate", WrapperType = typeof (UICalendarViewDelegateWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "GetDecoration", Selector = "calendarView:decorationForDateComponents:", ReturnType = typeof (UICalendarViewDecoration), ParameterType = new Type [] { typeof (UICalendarView), typeof (NSDateComponents) }, ParameterByRef = new bool [] { false, false })]
+ public partial interface IUICalendarViewDelegate : INativeObject, IDisposable
+ {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("calendarView:decorationForDateComponents:")]
+ [Preserve (Conditional = true)]
+ UICalendarViewDecoration? GetDecoration (UICalendarView calendarView, NSDateComponents dateComponents);
+ }
+ internal sealed class UICalendarViewDelegateWrapper : BaseWrapper, IUICalendarViewDelegate {
+ [Preserve (Conditional = true)]
+ public UICalendarViewDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("calendarView:decorationForDateComponents:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UICalendarViewDecoration? GetDecoration (UICalendarView calendarView, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var calendarView__handle__ = calendarView!.GetNonNullHandle (nameof (calendarView));
+ var dateComponents__handle__ = dateComponents!.GetNonNullHandle (nameof (dateComponents));
+ return Runtime.GetNSObject<UICalendarViewDecoration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("calendarView:decorationForDateComponents:"), calendarView__handle__, dateComponents__handle__))!;
+ #endif
+ }
+ }
+}
+namespace UIKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__UIKit_UICalendarViewDelegate", false)]
+ [Model]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe abstract partial class UICalendarViewDelegate : NSObject, IUICalendarViewDelegate {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ protected UICalendarViewDelegate () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UICalendarViewDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UICalendarViewDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("calendarView:decorationForDateComponents:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UICalendarViewDecoration? GetDecoration (UICalendarView calendarView, NSDateComponents dateComponents)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ } /* class UICalendarViewDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICellAccessoryPopUpMenu.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICellAccessoryPopUpMenu.g.cs
new file mode 100644
index 0000000..7858345
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICellAccessoryPopUpMenu.g.cs
@@ -0,0 +1,190 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UICellAccessoryPopUpMenu", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UICellAccessoryPopUpMenu : UICellAccessory {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UICellAccessoryPopUpMenu");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public UICellAccessoryPopUpMenu (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UICellAccessoryPopUpMenu (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UICellAccessoryPopUpMenu (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithMenu:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UICellAccessoryPopUpMenu (UIMenu menu)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var menu__handle__ = menu!.GetNonNullHandle (nameof (menu));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithMenu:"), menu__handle__), "initWithMenu:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithMenu:"), menu__handle__), "initWithMenu:");
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIMenu Menu {
+ [Export ("menu", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIMenu? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIMenu> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("menu")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIMenu> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("menu")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe virtual global::System.Action<UIMenu>? SelectedElementDidChangeHandler {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity1V241))]
+ [Export ("selectedElementDidChangeHandler", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("selectedElementDidChangeHandler"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("selectedElementDidChangeHandler"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDActionArity1V241.Create (ret)!;
+ #endif
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V241))]
+ [Export ("setSelectedElementDidChangeHandler:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity1V241.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSelectedElementDidChangeHandler:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSelectedElementDidChangeHandler:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ #endif
+ }
+ }
+ } /* class UICellAccessoryPopUpMenu */
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionView.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionView.g.cs
index c33802d..8ffc5ff 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionView.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionView.g.cs
@@ -1745,6 +1745,46 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UICollectionViewSelfSizingInvalidation SelfSizingInvalidation {
+ [Export ("selfSizingInvalidation", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UICollectionViewSelfSizingInvalidation ret;
+ if (IsDirectBinding) {
+ ret = (UICollectionViewSelfSizingInvalidation) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("selfSizingInvalidation"));
+ } else {
+ ret = (UICollectionViewSelfSizingInvalidation) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("selfSizingInvalidation"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSelfSizingInvalidation:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setSelfSizingInvalidation:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setSelfSizingInvalidation:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewCell.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewCell.g.cs
index 43f47cc..d0cdfda 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewCell.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewCell.g.cs
@@ -450,6 +450,30 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIBackgroundConfiguration DefaultBackgroundConfiguration {
+ [Export ("defaultBackgroundConfiguration")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIBackgroundConfiguration? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIBackgroundConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("defaultBackgroundConfiguration")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIBackgroundConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("defaultBackgroundConfiguration")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewController.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewController.g.cs
index ff15bbf..a81b802 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewController.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewController.g.cs
@@ -191,6 +191,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
@@ -212,6 +216,26 @@ namespace UIKit {
return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("collectionView:canPerformAction:forItemAtIndexPath:withSender:"), collectionView__handle__, action.Handle, indexPath__handle__, sender__handle__);
}
}
+ [Export ("collectionView:canPerformPrimaryActionForItemAtIndexPath:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanPerformPrimaryActionForItem (UICollectionView collectionView, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ var indexPath__handle__ = indexPath!.GetNonNullHandle (nameof (indexPath));
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("collectionView:canPerformPrimaryActionForItemAtIndexPath:"), collectionView__handle__, indexPath__handle__);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("collectionView:canPerformPrimaryActionForItemAtIndexPath:"), collectionView__handle__, indexPath__handle__);
+ }
+ #endif
+ }
[Export ("collectionView:didEndDisplayingCell:forItemAtIndexPath:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
@@ -418,6 +442,14 @@ namespace UIKit {
}
}
[Export ("collectionView:contextMenuConfigurationForItemAtIndexPath:point:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -437,6 +469,73 @@ namespace UIKit {
}
#endif
}
+ [Export ("collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIContextMenuConfiguration? GetContextMenuConfiguration (UICollectionView collectionView, NSIndexPath[] indexPaths, CGPoint point)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ if (indexPaths is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (indexPaths));
+ var nsa_indexPaths = NSArray.FromNSObjects (indexPaths);
+ UIContextMenuConfiguration? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIContextMenuConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_CGPoint (this.Handle, Selector.GetHandle ("collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:"), collectionView__handle__, nsa_indexPaths.Handle, point))!;
+ } else {
+ ret = Runtime.GetNSObject<UIContextMenuConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_CGPoint (this.SuperHandle, Selector.GetHandle ("collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:"), collectionView__handle__, nsa_indexPaths.Handle, point))!;
+ }
+ nsa_indexPaths.Dispose ();
+ return ret!;
+ #endif
+ }
+ [Export ("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetContextMenuConfigurationDismissalPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var indexPath__handle__ = indexPath!.GetNonNullHandle (nameof (indexPath));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:"), collectionView__handle__, configuration__handle__, indexPath__handle__))!;
+ } else {
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:"), collectionView__handle__, configuration__handle__, indexPath__handle__))!;
+ }
+ #endif
+ }
+ [Export ("collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetContextMenuConfigurationHighlightPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var indexPath__handle__ = indexPath!.GetNonNullHandle (nameof (indexPath));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:"), collectionView__handle__, configuration__handle__, indexPath__handle__))!;
+ } else {
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:"), collectionView__handle__, configuration__handle__, indexPath__handle__))!;
+ }
+ #endif
+ }
[Export ("collectionView:indexPathForIndexTitle:atIndex:")]
[SupportedOSPlatform ("ios10.3")]
[SupportedOSPlatform ("tvos10.2")]
@@ -504,8 +603,16 @@ namespace UIKit {
}
}
[Export ("collectionView:previewForDismissingContextMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual UITargetedPreview? GetPreviewForDismissingContextMenu (UICollectionView collectionView, UIContextMenuConfiguration configuration)
@@ -524,8 +631,16 @@ namespace UIKit {
#endif
}
[Export ("collectionView:previewForHighlightingContextMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual UITargetedPreview? GetPreviewForHighlightingContextMenu (UICollectionView collectionView, UIContextMenuConfiguration configuration)
@@ -621,6 +736,10 @@ namespace UIKit {
[Advice ("Starting with ios15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
#endif
[UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
@@ -781,6 +900,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
@@ -802,6 +925,26 @@ namespace UIKit {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("collectionView:performAction:forItemAtIndexPath:withSender:"), collectionView__handle__, action.Handle, indexPath__handle__, sender__handle__);
}
}
+ [Export ("collectionView:performPrimaryActionForItemAtIndexPath:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformPrimaryActionForItem (UICollectionView collectionView, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ var indexPath__handle__ = indexPath!.GetNonNullHandle (nameof (indexPath));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("collectionView:performPrimaryActionForItemAtIndexPath:"), collectionView__handle__, indexPath__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("collectionView:performPrimaryActionForItemAtIndexPath:"), collectionView__handle__, indexPath__handle__);
+ }
+ #endif
+ }
[Export ("scrollViewDidEndScrollingAnimation:")]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios")]
@@ -939,6 +1082,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewDelegate.g.cs
index 0f7e87f..c092d3d 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewDelegate.g.cs
@@ -88,6 +88,11 @@ namespace UIKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillDisplayContextMenu", Selector = "collectionView:willDisplayContextMenuWithConfiguration:animator:", ParameterType = new Type [] { typeof (UICollectionView), typeof (UIContextMenuConfiguration), typeof (IUIContextMenuInteractionAnimating) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillEndContextMenuInteraction", Selector = "collectionView:willEndContextMenuInteractionWithConfiguration:animator:", ParameterType = new Type [] { typeof (UICollectionView), typeof (UIContextMenuConfiguration), typeof (IUIContextMenuInteractionAnimating) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetSceneActivationConfigurationForItem", Selector = "collectionView:sceneActivationConfigurationForItemAtIndexPath:point:", ReturnType = typeof (UIWindowSceneActivationConfiguration), ParameterType = new Type [] { typeof (UICollectionView), typeof (NSIndexPath), typeof (CGPoint) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CanPerformPrimaryActionForItem", Selector = "collectionView:canPerformPrimaryActionForItemAtIndexPath:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UICollectionView), typeof (NSIndexPath) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "PerformPrimaryActionForItem", Selector = "collectionView:performPrimaryActionForItemAtIndexPath:", ParameterType = new Type [] { typeof (UICollectionView), typeof (NSIndexPath) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetContextMenuConfiguration", Selector = "collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:", ReturnType = typeof (UIContextMenuConfiguration), ParameterType = new Type [] { typeof (UICollectionView), typeof (NSIndexPath[]), typeof (CGPoint) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetContextMenuConfigurationHighlightPreview", Selector = "collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:", ReturnType = typeof (UITargetedPreview), ParameterType = new Type [] { typeof (UICollectionView), typeof (UIContextMenuConfiguration), typeof (NSIndexPath) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetContextMenuConfigurationDismissalPreview", Selector = "collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:", ReturnType = typeof (UITargetedPreview), ParameterType = new Type [] { typeof (UICollectionView), typeof (UIContextMenuConfiguration), typeof (NSIndexPath) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IUICollectionViewDelegate : INativeObject, IDisposable,
UIKit.IUIScrollViewDelegate
{
@@ -227,6 +232,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
@@ -246,6 +255,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
@@ -267,6 +280,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
@@ -300,6 +317,10 @@ namespace UIKit {
[Advice ("Starting with ios15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
#endif
[UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
@@ -487,6 +508,14 @@ namespace UIKit {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("collectionViewDidEndMultipleSelectionInteraction:"), collectionView__handle__);
#endif
}
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -502,8 +531,16 @@ namespace UIKit {
return Runtime.GetNSObject<UIContextMenuConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_CGPoint (This.Handle, Selector.GetHandle ("collectionView:contextMenuConfigurationForItemAtIndexPath:point:"), collectionView__handle__, indexPath__handle__, point))!;
#endif
}
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static UITargetedPreview? GetPreviewForHighlightingContextMenu (this IUICollectionViewDelegate This, UICollectionView collectionView, UIContextMenuConfiguration configuration)
@@ -517,8 +554,16 @@ namespace UIKit {
return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("collectionView:previewForHighlightingContextMenuWithConfiguration:"), collectionView__handle__, configuration__handle__))!;
#endif
}
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static UITargetedPreview? GetPreviewForDismissingContextMenu (this IUICollectionViewDelegate This, UICollectionView collectionView, UIContextMenuConfiguration configuration)
@@ -595,6 +640,88 @@ namespace UIKit {
return Runtime.GetNSObject<UIWindowSceneActivationConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_CGPoint (This.Handle, Selector.GetHandle ("collectionView:sceneActivationConfigurationForItemAtIndexPath:point:"), collectionView__handle__, indexPath__handle__, point))!;
#endif
}
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool CanPerformPrimaryActionForItem (this IUICollectionViewDelegate This, UICollectionView collectionView, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ var indexPath__handle__ = indexPath!.GetNonNullHandle (nameof (indexPath));
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("collectionView:canPerformPrimaryActionForItemAtIndexPath:"), collectionView__handle__, indexPath__handle__);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void PerformPrimaryActionForItem (this IUICollectionViewDelegate This, UICollectionView collectionView, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ var indexPath__handle__ = indexPath!.GetNonNullHandle (nameof (indexPath));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("collectionView:performPrimaryActionForItemAtIndexPath:"), collectionView__handle__, indexPath__handle__);
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIContextMenuConfiguration? GetContextMenuConfiguration (this IUICollectionViewDelegate This, UICollectionView collectionView, NSIndexPath[] indexPaths, CGPoint point)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ if (indexPaths is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (indexPaths));
+ var nsa_indexPaths = NSArray.FromNSObjects (indexPaths);
+ UIContextMenuConfiguration? ret;
+ ret = Runtime.GetNSObject<UIContextMenuConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_CGPoint (This.Handle, Selector.GetHandle ("collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:"), collectionView__handle__, nsa_indexPaths.Handle, point))!;
+ nsa_indexPaths.Dispose ();
+ return ret!;
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UITargetedPreview? GetContextMenuConfigurationHighlightPreview (this IUICollectionViewDelegate This, UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var indexPath__handle__ = indexPath!.GetNonNullHandle (nameof (indexPath));
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:"), collectionView__handle__, configuration__handle__, indexPath__handle__))!;
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UITargetedPreview? GetContextMenuConfigurationDismissalPreview (this IUICollectionViewDelegate This, UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var collectionView__handle__ = collectionView!.GetNonNullHandle (nameof (collectionView));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var indexPath__handle__ = indexPath!.GetNonNullHandle (nameof (indexPath));
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:"), collectionView__handle__, configuration__handle__, indexPath__handle__))!;
+ #endif
+ }
}
internal sealed class UICollectionViewDelegateWrapper : BaseWrapper, IUICollectionViewDelegate {
[Preserve (Conditional = true)]
@@ -663,6 +790,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
@@ -675,6 +806,19 @@ namespace UIKit {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("collectionView:canPerformPrimaryActionForItemAtIndexPath:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanPerformPrimaryActionForItem (UICollectionView collectionView, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("collectionView:didEndDisplayingCell:forItemAtIndexPath:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
@@ -784,6 +928,14 @@ namespace UIKit {
throw new You_Should_Not_Call_base_In_This_Method ();
}
[Export ("collectionView:contextMenuConfigurationForItemAtIndexPath:point:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -796,6 +948,45 @@ namespace UIKit {
throw new You_Should_Not_Call_base_In_This_Method ();
#endif
}
+ [Export ("collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIContextMenuConfiguration? GetContextMenuConfiguration (UICollectionView collectionView, NSIndexPath[] indexPaths, CGPoint point)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetContextMenuConfigurationDismissalPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetContextMenuConfigurationHighlightPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("indexPathForPreferredFocusedViewInCollectionView:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
@@ -806,8 +997,16 @@ namespace UIKit {
throw new You_Should_Not_Call_base_In_This_Method ();
}
[Export ("collectionView:previewForDismissingContextMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual UITargetedPreview? GetPreviewForDismissingContextMenu (UICollectionView collectionView, UIContextMenuConfiguration configuration)
@@ -819,8 +1018,16 @@ namespace UIKit {
#endif
}
[Export ("collectionView:previewForHighlightingContextMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual UITargetedPreview? GetPreviewForHighlightingContextMenu (UICollectionView collectionView, UIContextMenuConfiguration configuration)
@@ -871,6 +1078,10 @@ namespace UIKit {
[Advice ("Starting with ios15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
#endif
[UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
@@ -937,6 +1148,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
@@ -949,6 +1164,19 @@ namespace UIKit {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("collectionView:performPrimaryActionForItemAtIndexPath:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformPrimaryActionForItem (UICollectionView collectionView, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("scrollViewDidEndScrollingAnimation:")]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios")]
@@ -1034,6 +1262,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewDropPlaceholderContext.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewDropPlaceholderContext.g.cs
index 4bde043..3a51c97 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewDropPlaceholderContext.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewDropPlaceholderContext.g.cs
@@ -53,7 +53,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[Protocol (Name = "UICollectionViewDropPlaceholderContext", WrapperType = typeof (UICollectionViewDropPlaceholderContextWrapper))]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CommitInsertion", Selector = "commitInsertionWithDataSourceUpdates:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (global::System.Action<NSIndexPath>) }, ParameterByRef = new bool [] { false }, ParameterBlockProxy = new Type? [] { typeof (ObjCRuntime.Trampolines.NIDActionArity1V241) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CommitInsertion", Selector = "commitInsertionWithDataSourceUpdates:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (global::System.Action<NSIndexPath>) }, ParameterByRef = new bool [] { false }, ParameterBlockProxy = new Type? [] { typeof (ObjCRuntime.Trampolines.NIDActionArity1V242) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DeletePlaceholder", Selector = "deletePlaceholder", ReturnType = typeof (bool))]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "SetNeedsCellUpdate", Selector = "setNeedsCellUpdate")]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DragItem", Selector = "dragItem", PropertyType = typeof (UIDragItem), GetterSelector = "dragItem", ArgumentSemantic = ArgumentSemantic.None)]
@@ -66,7 +66,7 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("commitInsertionWithDataSourceUpdates:")]
[Preserve (Conditional = true)]
- unsafe bool CommitInsertion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V241))]global::System.Action<NSIndexPath> dataSourceUpdates);
+ unsafe bool CommitInsertion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V242))]global::System.Action<NSIndexPath> dataSourceUpdates);
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
@@ -95,7 +95,7 @@ namespace UIKit {
}
[Export ("commitInsertionWithDataSourceUpdates:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe bool CommitInsertion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V241))]global::System.Action<NSIndexPath> dataSourceUpdates)
+ public unsafe bool CommitInsertion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V242))]global::System.Action<NSIndexPath> dataSourceUpdates)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -107,7 +107,7 @@ namespace UIKit {
BlockLiteral block_dataSourceUpdates;
block_dataSourceUpdates = new BlockLiteral ();
block_ptr_dataSourceUpdates = &block_dataSourceUpdates;
- block_dataSourceUpdates.SetupBlockUnsafe (Trampolines.SDActionArity1V241.Handler, dataSourceUpdates);
+ block_dataSourceUpdates.SetupBlockUnsafe (Trampolines.SDActionArity1V242.Handler, dataSourceUpdates);
bool ret;
ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("commitInsertionWithDataSourceUpdates:"), (IntPtr) block_ptr_dataSourceUpdates);
block_ptr_dataSourceUpdates->CleanupBlock ();
@@ -157,7 +157,7 @@ namespace UIKit {
}
[Export ("addCompletion:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void AddCompletion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V242))]global::System.Action<UIViewAnimatingPosition> completion)
+ public unsafe void AddCompletion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V243))]global::System.Action<UIViewAnimatingPosition> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -169,7 +169,7 @@ namespace UIKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V242.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V243.Handler, completion);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("addCompletion:"), (IntPtr) block_ptr_completion);
block_ptr_completion->CleanupBlock ();
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewPlaceholder.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewPlaceholder.g.cs
index ed60bf7..7c87cab 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewPlaceholder.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewPlaceholder.g.cs
@@ -105,7 +105,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public unsafe virtual global::System.Action<UICollectionViewCell>? CellUpdateHandler {
- [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity1V243))]
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity1V244))]
[Export ("cellUpdateHandler", ArgumentSemantic.Copy)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
@@ -121,10 +121,10 @@ namespace UIKit {
} else {
ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("cellUpdateHandler"));
}
- return global::ObjCRuntime.Trampolines.NIDActionArity1V243.Create (ret)!;
+ return global::ObjCRuntime.Trampolines.NIDActionArity1V244.Create (ret)!;
#endif
}
- [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V243))]
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V244))]
[Export ("setCellUpdateHandler:", ArgumentSemantic.Copy)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
@@ -138,7 +138,7 @@ namespace UIKit {
BlockLiteral block_value;
block_value = new BlockLiteral ();
block_ptr_value = &block_value;
- block_value.SetupBlockUnsafe (Trampolines.SDActionArity1V243.Handler, value);
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity1V244.Handler, value);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setCellUpdateHandler:"), (IntPtr) block_ptr_value);
} else {
diff --git a/new/dotnet/ios/generated-sources/UIKit/UICollectionViewSelfSizingInvalidation.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewSelfSizingInvalidation.g.cs
new file mode 100644
index 0000000..432154a
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewSelfSizingInvalidation.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UICollectionViewSelfSizingInvalidation : long {
+ Disabled = 0,
+ Enabled = 1,
+ EnabledIncludingConstraints = 2,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewSource.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewSource.g.cs
index 300b0eb..338e632 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewSource.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewSource.g.cs
@@ -152,6 +152,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
@@ -164,6 +168,19 @@ namespace UIKit {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("collectionView:canPerformPrimaryActionForItemAtIndexPath:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanPerformPrimaryActionForItem (UICollectionView collectionView, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("collectionView:didEndDisplayingCell:forItemAtIndexPath:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
@@ -282,6 +299,14 @@ namespace UIKit {
throw new You_Should_Not_Call_base_In_This_Method ();
}
[Export ("collectionView:contextMenuConfigurationForItemAtIndexPath:point:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -294,6 +319,45 @@ namespace UIKit {
throw new You_Should_Not_Call_base_In_This_Method ();
#endif
}
+ [Export ("collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIContextMenuConfiguration? GetContextMenuConfiguration (UICollectionView collectionView, NSIndexPath[] indexPaths, CGPoint point)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetContextMenuConfigurationDismissalPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetContextMenuConfigurationHighlightPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("collectionView:indexPathForIndexTitle:atIndex:")]
[SupportedOSPlatform ("ios10.3")]
[SupportedOSPlatform ("tvos10.2")]
@@ -331,8 +395,16 @@ namespace UIKit {
throw new You_Should_Not_Call_base_In_This_Method ();
}
[Export ("collectionView:previewForDismissingContextMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual UITargetedPreview? GetPreviewForDismissingContextMenu (UICollectionView collectionView, UIContextMenuConfiguration configuration)
@@ -344,8 +416,16 @@ namespace UIKit {
#endif
}
[Export ("collectionView:previewForHighlightingContextMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual UITargetedPreview? GetPreviewForHighlightingContextMenu (UICollectionView collectionView, UIContextMenuConfiguration configuration)
@@ -396,6 +476,10 @@ namespace UIKit {
[Advice ("Starting with ios15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
#endif
[UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst15.0 Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")]
@@ -489,6 +573,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
@@ -501,6 +589,19 @@ namespace UIKit {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("collectionView:performPrimaryActionForItemAtIndexPath:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformPrimaryActionForItem (UICollectionView collectionView, NSIndexPath indexPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("scrollViewDidEndScrollingAnimation:")]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios")]
@@ -586,6 +687,10 @@ namespace UIKit {
[Advice ("Starting with ios13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
[UnsupportedOSPlatform ("ios13.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos13.0 Use 'GetContextMenuConfiguration' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos13.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst13.0 Use 'GetContextMenuConfiguration' instead.")]
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICommand.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICommand.g.cs
index 416f49e..918dd65 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UICommand.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UICommand.g.cs
@@ -53,7 +53,7 @@ namespace UIKit {
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
- public unsafe partial class UICommand : UIMenuElement {
+ public unsafe partial class UICommand : UIMenuElement, IUIMenuLeaf {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
#if ARCH_32
#pragma warning disable 649
@@ -143,6 +143,26 @@ namespace UIKit {
return ret!;
#endif
}
+ [Export ("performWithSender:target:")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Target (NSObject? sender, NSObject? target)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ var target__handle__ = target.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("performWithSender:target:"), sender__handle__, target__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("performWithSender:target:"), sender__handle__, target__handle__);
+ }
+ #endif
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
@@ -311,6 +331,30 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual IUIPopoverPresentationControllerSourceItem PresentationSourceItem {
+ [Export ("presentationSourceItem")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IUIPopoverPresentationControllerSourceItem? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IUIPopoverPresentationControllerSourceItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("presentationSourceItem")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IUIPopoverPresentationControllerSourceItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("presentationSourceItem")), false)!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -335,6 +379,30 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSObject? Sender {
+ [Export ("sender")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("sender")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sender")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIContentView.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIContentView.g.cs
index ec64b8d..33c07cb 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIContentView.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIContentView.g.cs
@@ -54,6 +54,7 @@ namespace UIKit {
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Protocol (Name = "UIContentView", WrapperType = typeof (UIContentViewWrapper))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SupportsConfiguration", Selector = "supportsConfiguration:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (IUIContentConfiguration) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Configuration", Selector = "configuration", PropertyType = typeof (IUIContentConfiguration), GetterSelector = "configuration", SetterSelector = "setConfiguration:", ArgumentSemantic = ArgumentSemantic.Copy)]
public partial interface IUIContentView : INativeObject, IDisposable
{
@@ -65,6 +66,23 @@ namespace UIKit {
set;
}
}
+ public static partial class UIContentView_Extensions {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsConfiguration (this IUIContentView This, IUIContentConfiguration configuration)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("supportsConfiguration:"), configuration__handle__);
+ #endif
+ }
+ }
internal sealed class UIContentViewWrapper : BaseWrapper, IUIContentView {
[Preserve (Conditional = true)]
public UIContentViewWrapper (NativeHandle handle, bool owns)
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIContextMenuConfiguration.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIContextMenuConfiguration.g.cs
index 5d44cfb..412720e 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIContextMenuConfiguration.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIContextMenuConfiguration.g.cs
@@ -132,6 +132,44 @@ namespace UIKit {
#endif
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual nint BadgeCount {
+ [Export ("badgeCount")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("badgeCount"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("badgeCount"));
+ }
+ #endif
+ }
+ [Export ("setBadgeCount:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setBadgeCount:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setBadgeCount:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -155,5 +193,86 @@ namespace UIKit {
#endif
}
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual UIContextMenuConfigurationElementOrder PreferredMenuElementOrder {
+ [Export ("preferredMenuElementOrder", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIContextMenuConfigurationElementOrder ret;
+ if (IsDirectBinding) {
+ ret = (UIContextMenuConfigurationElementOrder) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("preferredMenuElementOrder"));
+ } else {
+ ret = (UIContextMenuConfigurationElementOrder) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("preferredMenuElementOrder"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPreferredMenuElementOrder:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPreferredMenuElementOrder:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPreferredMenuElementOrder:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual NSSet<INSCopying> SecondaryItemIdentifiers {
+ [Export ("secondaryItemIdentifiers", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSSet<INSCopying>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSSet<INSCopying>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("secondaryItemIdentifiers")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSSet<INSCopying>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("secondaryItemIdentifiers")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSecondaryItemIdentifiers:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSecondaryItemIdentifiers:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSecondaryItemIdentifiers:"), value__handle__);
+ }
+ #endif
+ }
+ }
} /* class UIContextMenuConfiguration */
}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIContextMenuConfigurationElementOrder.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIContextMenuConfigurationElementOrder.g.cs
new file mode 100644
index 0000000..0c9fcee
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIContextMenuConfigurationElementOrder.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UIContextMenuConfigurationElementOrder : long {
+ Automatic = 0,
+ Priority = 1,
+ Fixed = 2,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIContextMenuInteractionDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIContextMenuInteractionDelegate.g.cs
index c749a04..4f2ce9d 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIContextMenuInteractionDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIContextMenuInteractionDelegate.g.cs
@@ -59,6 +59,8 @@ namespace UIKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillPerformPreviewAction", Selector = "contextMenuInteraction:willPerformPreviewActionForMenuWithConfiguration:animator:", ParameterType = new Type [] { typeof (UIContextMenuInteraction), typeof (UIContextMenuConfiguration), typeof (IUIContextMenuInteractionCommitAnimating) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillDisplayMenu", Selector = "contextMenuInteraction:willDisplayMenuForConfiguration:animator:", ParameterType = new Type [] { typeof (UIContextMenuInteraction), typeof (UIContextMenuConfiguration), typeof (IUIContextMenuInteractionAnimating) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillEnd", Selector = "contextMenuInteraction:willEndForConfiguration:animator:", ParameterType = new Type [] { typeof (UIContextMenuInteraction), typeof (UIContextMenuConfiguration), typeof (IUIContextMenuInteractionAnimating) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetHighlightPreview", Selector = "contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:", ReturnType = typeof (UITargetedPreview), ParameterType = new Type [] { typeof (UIContextMenuInteraction), typeof (UIContextMenuConfiguration), typeof (INSCopying) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetDismissalPreview", Selector = "contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:", ReturnType = typeof (UITargetedPreview), ParameterType = new Type [] { typeof (UIContextMenuInteraction), typeof (UIContextMenuConfiguration), typeof (INSCopying) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IUIContextMenuInteractionDelegate : INativeObject, IDisposable
{
[UnsupportedOSPlatform ("tvos")]
@@ -70,6 +72,14 @@ namespace UIKit {
UIContextMenuConfiguration? GetConfigurationForMenu (UIContextMenuInteraction interaction, CGPoint location);
}
public static partial class UIContextMenuInteractionDelegate_Extensions {
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -85,6 +95,14 @@ namespace UIKit {
return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contextMenuInteraction:previewForHighlightingMenuWithConfiguration:"), interaction__handle__, configuration__handle__))!;
#endif
}
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -148,6 +166,38 @@ namespace UIKit {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contextMenuInteraction:willEndForConfiguration:animator:"), interaction__handle__, configuration__handle__, animator__handle__);
#endif
}
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UITargetedPreview? GetHighlightPreview (this IUIContextMenuInteractionDelegate This, UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var identifier__handle__ = identifier!.GetNonNullHandle (nameof (identifier));
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:"), interaction__handle__, configuration__handle__, identifier__handle__))!;
+ #endif
+ }
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UITargetedPreview? GetDismissalPreview (this IUIContextMenuInteractionDelegate This, UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var identifier__handle__ = identifier!.GetNonNullHandle (nameof (identifier));
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:"), interaction__handle__, configuration__handle__, identifier__handle__))!;
+ #endif
+ }
}
internal sealed class UIContextMenuInteractionDelegateWrapper : BaseWrapper, IUIContextMenuInteractionDelegate {
[Preserve (Conditional = true)]
@@ -218,7 +268,41 @@ namespace UIKit {
throw new You_Should_Not_Call_base_In_This_Method ();
#endif
}
+ [Export ("contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetDismissalPreview (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetHighlightPreview (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("contextMenuInteraction:previewForDismissingMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -232,6 +316,14 @@ namespace UIKit {
#endif
}
[Export ("contextMenuInteraction:previewForHighlightingMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIControl.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIControl.g.cs
index c400cbc..20bd331 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIControl.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIControl.g.cs
@@ -300,6 +300,48 @@ namespace UIKit {
}
#endif
}
+ [Export ("contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetDismissalPreview (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var identifier__handle__ = identifier!.GetNonNullHandle (nameof (identifier));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:"), interaction__handle__, configuration__handle__, identifier__handle__))!;
+ } else {
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:"), interaction__handle__, configuration__handle__, identifier__handle__))!;
+ }
+ #endif
+ }
+ [Export ("contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UITargetedPreview? GetHighlightPreview (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var identifier__handle__ = identifier!.GetNonNullHandle (nameof (identifier));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:"), interaction__handle__, configuration__handle__, identifier__handle__))!;
+ } else {
+ return Runtime.GetNSObject<UITargetedPreview> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:"), interaction__handle__, configuration__handle__, identifier__handle__))!;
+ }
+ #endif
+ }
[Export ("menuAttachmentPointForConfiguration:")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios14.0")]
@@ -338,6 +380,14 @@ namespace UIKit {
#endif
}
[Export ("contextMenuInteraction:previewForDismissingMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -358,6 +408,14 @@ namespace UIKit {
#endif
}
[Export ("contextMenuInteraction:previewForHighlightingMenuWithConfiguration:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIDataDetectorType.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDataDetectorType.g.cs
index 4eb237e..ac0e5b9 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIDataDetectorType.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDataDetectorType.g.cs
@@ -71,6 +71,14 @@ namespace UIKit {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst10.0")]
LookupSuggestion = 64,
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ Money = 128,
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ PhysicalValue = 256,
None = 0,
All = 18446744073709551615,
}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIDocumentBrowserAction.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDocumentBrowserAction.g.cs
index 997cd66..bf1dfda 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIDocumentBrowserAction.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDocumentBrowserAction.g.cs
@@ -81,7 +81,7 @@ namespace UIKit {
[SupportedOSPlatform ("maccatalyst11.0")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe UIDocumentBrowserAction (string identifier, string localizedTitle, UIDocumentBrowserActionAvailability availability, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V244))]global::System.Action<NSUrl[]> handler)
+ public unsafe UIDocumentBrowserAction (string identifier, string localizedTitle, UIDocumentBrowserActionAvailability availability, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V245))]global::System.Action<NSUrl[]> handler)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -100,7 +100,7 @@ namespace UIKit {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity1V244.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity1V245.Handler, handler);
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr_NativeHandle (this.Handle, Selector.GetHandle ("initWithIdentifier:localizedTitle:availability:handler:"), nsidentifier, nslocalizedTitle, (IntPtr) (long) availability, (IntPtr) block_ptr_handler), "initWithIdentifier:localizedTitle:availability:handler:");
} else {
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIDocumentBrowserViewController.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDocumentBrowserViewController.g.cs
index c5abf6b..53dde40 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIDocumentBrowserViewController.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDocumentBrowserViewController.g.cs
@@ -223,6 +223,52 @@ namespace UIKit {
});
return tcs.Task;
}
+ [Export ("renameDocumentAtURL:proposedName:completionHandler:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RenameDocument (NSUrl documentUrl, string proposedName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V27))]global::System.Action<NSUrl, NSError> completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var documentUrl__handle__ = documentUrl!.GetNonNullHandle (nameof (documentUrl));
+ if (proposedName is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (proposedName));
+ if (completionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
+ var nsproposedName = CFString.CreateNative (proposedName);
+ BlockLiteral *block_ptr_completionHandler;
+ BlockLiteral block_completionHandler;
+ block_completionHandler = new BlockLiteral ();
+ block_ptr_completionHandler = &block_completionHandler;
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V27.Handler, completionHandler);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("renameDocumentAtURL:proposedName:completionHandler:"), documentUrl__handle__, nsproposedName, (IntPtr) block_ptr_completionHandler);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("renameDocumentAtURL:proposedName:completionHandler:"), documentUrl__handle__, nsproposedName, (IntPtr) block_ptr_completionHandler);
+ }
+ CFString.ReleaseNative (nsproposedName);
+ block_ptr_completionHandler->CleanupBlock ();
+ #endif
+ }
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<NSUrl> RenameDocumentAsync (NSUrl documentUrl, string proposedName)
+ {
+ var tcs = new TaskCompletionSource<NSUrl> ();
+ RenameDocument(documentUrl, proposedName, (arg1_, arg2_) => {
+ if (arg2_ != null)
+ tcs.SetException (new NSErrorException(arg2_));
+ else
+ tcs.SetResult (arg1_!);
+ });
+ return tcs.Task;
+ }
[Export ("revealDocumentAtURL:importIfNeeded:completion:")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIDocumentProperties.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDocumentProperties.g.cs
new file mode 100644
index 0000000..2c9a3e5
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDocumentProperties.g.cs
@@ -0,0 +1,294 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UIDocumentProperties", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UIDocumentProperties : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UIDocumentProperties");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UIDocumentProperties (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UIDocumentProperties (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithURL:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIDocumentProperties (NSUrl url)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var url__handle__ = url!.GetNonNullHandle (nameof (url));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithURL:"), url__handle__), "initWithURL:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithURL:"), url__handle__), "initWithURL:");
+ }
+ #endif
+ }
+ [Export ("initWithMetadata:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIDocumentProperties (global::LinkPresentation.LPLinkMetadata metadata)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var metadata__handle__ = metadata!.GetNonNullHandle (nameof (metadata));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithMetadata:"), metadata__handle__), "initWithMetadata:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithMetadata:"), metadata__handle__), "initWithMetadata:");
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe virtual global::System.Func<UIActivityViewController>? ActivityViewControllerProvider {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V4))]
+ [Export ("activityViewControllerProvider", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("activityViewControllerProvider"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("activityViewControllerProvider"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDFuncArity1V4.Create (ret)!;
+ #endif
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V4))]
+ [Export ("setActivityViewControllerProvider:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDFuncArity1V4.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setActivityViewControllerProvider:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setActivityViewControllerProvider:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe virtual global::System.Func<IUIDragSession, NSArray<UIDragItem>>? DragItemsProvider {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity2V12))]
+ [Export ("dragItemsProvider", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("dragItemsProvider"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("dragItemsProvider"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDFuncArity2V12.Create (ret)!;
+ #endif
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity2V12))]
+ [Export ("setDragItemsProvider:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDFuncArity2V12.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDragItemsProvider:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDragItemsProvider:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual global::LinkPresentation.LPLinkMetadata Metadata {
+ [Export ("metadata", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ global::LinkPresentation.LPLinkMetadata? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<global::LinkPresentation.LPLinkMetadata> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("metadata")))!;
+ } else {
+ ret = Runtime.GetNSObject<global::LinkPresentation.LPLinkMetadata> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("metadata")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setMetadata:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setMetadata:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setMetadata:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool WantsIconRepresentation {
+ [Export ("wantsIconRepresentation")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("wantsIconRepresentation"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("wantsIconRepresentation"));
+ }
+ #endif
+ }
+ [Export ("setWantsIconRepresentation:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setWantsIconRepresentation:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setWantsIconRepresentation:"), value);
+ }
+ #endif
+ }
+ }
+ } /* class UIDocumentProperties */
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIDragAnimating.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDragAnimating.g.cs
index 38e2770..e981a70 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIDragAnimating.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDragAnimating.g.cs
@@ -54,7 +54,7 @@ namespace UIKit {
[SupportedOSPlatform ("maccatalyst11.0")]
[Protocol (Name = "UIDragAnimating", WrapperType = typeof (UIDragAnimatingWrapper))]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "AddAnimations", Selector = "addAnimations:", ParameterType = new Type [] { typeof (Action) }, ParameterByRef = new bool [] { false }, ParameterBlockProxy = new Type? [] { typeof (ObjCRuntime.Trampolines.NIDAction) })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "AddCompletion", Selector = "addCompletion:", ParameterType = new Type [] { typeof (global::System.Action<global::UIKit.UIViewAnimatingPosition>) }, ParameterByRef = new bool [] { false }, ParameterBlockProxy = new Type? [] { typeof (ObjCRuntime.Trampolines.NIDActionArity1V242) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "AddCompletion", Selector = "addCompletion:", ParameterType = new Type [] { typeof (global::System.Action<global::UIKit.UIViewAnimatingPosition>) }, ParameterByRef = new bool [] { false }, ParameterBlockProxy = new Type? [] { typeof (ObjCRuntime.Trampolines.NIDActionArity1V243) })]
public partial interface IUIDragAnimating : INativeObject, IDisposable
{
[UnsupportedOSPlatform ("tvos")]
@@ -70,7 +70,7 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("addCompletion:")]
[Preserve (Conditional = true)]
- unsafe void AddCompletion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V242))]global::System.Action<UIViewAnimatingPosition> completion);
+ unsafe void AddCompletion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V243))]global::System.Action<UIViewAnimatingPosition> completion);
}
internal sealed class UIDragAnimatingWrapper : BaseWrapper, IUIDragAnimating {
[Preserve (Conditional = true)]
@@ -99,7 +99,7 @@ namespace UIKit {
}
[Export ("addCompletion:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void AddCompletion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V242))]global::System.Action<UIViewAnimatingPosition> completion)
+ public unsafe void AddCompletion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V243))]global::System.Action<UIViewAnimatingPosition> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -111,7 +111,7 @@ namespace UIKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V242.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V243.Handler, completion);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("addCompletion:"), (IntPtr) block_ptr_completion);
block_ptr_completion->CleanupBlock ();
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIDragItem.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDragItem.g.cs
index 3130ac7..d58be2a 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIDragItem.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDragItem.g.cs
@@ -166,7 +166,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public unsafe virtual global::System.Func<UIDragPreview>? PreviewProvider {
- [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V3))]
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V5))]
[Export ("previewProvider", ArgumentSemantic.Copy)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
@@ -182,10 +182,10 @@ namespace UIKit {
} else {
ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("previewProvider"));
}
- return global::ObjCRuntime.Trampolines.NIDFuncArity1V3.Create (ret)!;
+ return global::ObjCRuntime.Trampolines.NIDFuncArity1V5.Create (ret)!;
#endif
}
- [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V3))]
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V5))]
[Export ("setPreviewProvider:", ArgumentSemantic.Copy)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
@@ -199,7 +199,7 @@ namespace UIKit {
BlockLiteral block_value;
block_value = new BlockLiteral ();
block_ptr_value = &block_value;
- block_value.SetupBlockUnsafe (Trampolines.SDFuncArity1V3.Handler, value);
+ block_value.SetupBlockUnsafe (Trampolines.SDFuncArity1V5.Handler, value);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPreviewProvider:"), (IntPtr) block_ptr_value);
} else {
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIDropSession.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDropSession.g.cs
index c8e26c0..9e186f5 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIDropSession.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDropSession.g.cs
@@ -53,7 +53,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[Protocol (Name = "UIDropSession", WrapperType = typeof (UIDropSessionWrapper))]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "LoadObjects", Selector = "loadObjectsOfClass:completion:", ReturnType = typeof (NSProgress), ParameterType = new Type [] { typeof (Class), typeof (global::System.Action<INSItemProviderReading[]>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V245) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "LoadObjects", Selector = "loadObjectsOfClass:completion:", ReturnType = typeof (NSProgress), ParameterType = new Type [] { typeof (Class), typeof (global::System.Action<INSItemProviderReading[]>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V246) })]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "LocalDragSession", Selector = "localDragSession", PropertyType = typeof (IUIDragSession), GetterSelector = "localDragSession", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ProgressIndicatorStyle", Selector = "progressIndicatorStyle", PropertyType = typeof (UIDropSessionProgressIndicatorStyle), GetterSelector = "progressIndicatorStyle", SetterSelector = "setProgressIndicatorStyle:", ArgumentSemantic = ArgumentSemantic.UnsafeUnretained)]
public partial interface IUIDropSession : INativeObject, IDisposable,
@@ -66,7 +66,7 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("loadObjectsOfClass:completion:")]
[Preserve (Conditional = true)]
- unsafe NSProgress LoadObjects (Class itemProviderReadingClass, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V245))]global::System.Action<INSItemProviderReading[]> completion);
+ unsafe NSProgress LoadObjects (Class itemProviderReadingClass, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V246))]global::System.Action<INSItemProviderReading[]> completion);
[Preserve (Conditional = true)]
IUIDragSession? LocalDragSession {
[Export ("localDragSession")]
@@ -88,7 +88,7 @@ namespace UIKit {
}
[Export ("loadObjectsOfClass:completion:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NSProgress LoadObjects (Class itemProviderReadingClass, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V245))]global::System.Action<INSItemProviderReading[]> completion)
+ public unsafe NSProgress LoadObjects (Class itemProviderReadingClass, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V246))]global::System.Action<INSItemProviderReading[]> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -101,7 +101,7 @@ namespace UIKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V245.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V246.Handler, completion);
NSProgress? ret;
ret = Runtime.GetNSObject<NSProgress> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("loadObjectsOfClass:completion:"), itemProviderReadingClass.Handle, (IntPtr) block_ptr_completion))!;
block_ptr_completion->CleanupBlock ();
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIEditMenuArrowDirection.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuArrowDirection.g.cs
new file mode 100644
index 0000000..927e7ff
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuArrowDirection.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UIEditMenuArrowDirection : long {
+ Automatic = 0,
+ Up = 1,
+ Down = 2,
+ Left = 3,
+ Right = 4,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIEditMenuConfiguration.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuConfiguration.g.cs
new file mode 100644
index 0000000..bd4c1ab
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuConfiguration.g.cs
@@ -0,0 +1,198 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UIEditMenuConfiguration", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UIEditMenuConfiguration : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UIEditMenuConfiguration");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UIEditMenuConfiguration (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UIEditMenuConfiguration (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("configurationWithIdentifier:sourcePoint:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIEditMenuConfiguration Create (INSCopying? identifier, CGPoint sourcePoint)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var identifier__handle__ = identifier.GetHandle ();
+ return Runtime.GetNSObject<UIEditMenuConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_CGPoint (class_ptr, Selector.GetHandle ("configurationWithIdentifier:sourcePoint:"), identifier__handle__, sourcePoint))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual INSCopying Identifier {
+ [Export ("identifier", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ INSCopying? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<INSCopying> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("identifier")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<INSCopying> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("identifier")), false)!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIEditMenuArrowDirection PreferredArrowDirection {
+ [Export ("preferredArrowDirection", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIEditMenuArrowDirection ret;
+ if (IsDirectBinding) {
+ ret = (UIEditMenuArrowDirection) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("preferredArrowDirection"));
+ } else {
+ ret = (UIEditMenuArrowDirection) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("preferredArrowDirection"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPreferredArrowDirection:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPreferredArrowDirection:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPreferredArrowDirection:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual CGPoint SourcePoint {
+ [Export ("sourcePoint", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ CGPoint ret;
+ if (IsDirectBinding) {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSend (this.Handle, Selector.GetHandle ("sourcePoint"));
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSend (this.Handle, Selector.GetHandle ("sourcePoint"));
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.CGPoint_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("sourcePoint"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSend (this.Handle, Selector.GetHandle ("sourcePoint"));
+ }
+ } else {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sourcePoint"));
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sourcePoint"));
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.CGPoint_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("sourcePoint"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sourcePoint"));
+ }
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class UIEditMenuConfiguration */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIEditMenuInteraction.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuInteraction.g.cs
new file mode 100644
index 0000000..3ca109f
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuInteraction.g.cs
@@ -0,0 +1,324 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UIEditMenuInteraction", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UIEditMenuInteraction : NSObject, IUIInteraction {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UIEditMenuInteraction");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UIEditMenuInteraction (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UIEditMenuInteraction (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithDelegate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIEditMenuInteraction (IUIEditMenuInteractionDelegate? @delegate)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var @delegate__handle__ = @delegate.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithDelegate:"), @delegate__handle__), "initWithDelegate:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithDelegate:"), @delegate__handle__), "initWithDelegate:");
+ }
+ #endif
+ }
+ [Export ("didMoveToView:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidMoveToView (UIView? view)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var view__handle__ = view.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("didMoveToView:"), view__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("didMoveToView:"), view__handle__);
+ }
+ #endif
+ }
+ [Export ("dismissMenu")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DismissMenu ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("dismissMenu"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("dismissMenu"));
+ }
+ #endif
+ }
+ [Export ("locationInView:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual CGPoint GetLocation (UIView? inView)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var inView__handle__ = inView.GetHandle ();
+ CGPoint ret;
+ if (IsDirectBinding) {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("locationInView:"), inView__handle__);
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("locationInView:"), inView__handle__);
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.CGPoint_objc_msgSend_stret_NativeHandle (out ret, this.Handle, Selector.GetHandle ("locationInView:"), inView__handle__);
+ } else {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("locationInView:"), inView__handle__);
+ }
+ } else {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("locationInView:"), inView__handle__);
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("locationInView:"), inView__handle__);
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.CGPoint_objc_msgSendSuper_stret_NativeHandle (out ret, this.SuperHandle, Selector.GetHandle ("locationInView:"), inView__handle__);
+ } else {
+ ret = global::ObjCRuntime.Messaging.CGPoint_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("locationInView:"), inView__handle__);
+ }
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("presentEditMenuWithConfiguration:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PresentEditMenu (UIEditMenuConfiguration configuration)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("presentEditMenuWithConfiguration:"), configuration__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("presentEditMenuWithConfiguration:"), configuration__handle__);
+ }
+ #endif
+ }
+ [Export ("reloadVisibleMenu")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ReloadVisibleMenu ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("reloadVisibleMenu"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("reloadVisibleMenu"));
+ }
+ #endif
+ }
+ [Export ("updateVisibleMenuPositionAnimated:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdateVisibleMenuPosition (bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("updateVisibleMenuPositionAnimated:"), animated);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("updateVisibleMenuPositionAnimated:"), animated);
+ }
+ #endif
+ }
+ [Export ("willMoveToView:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillMoveToView (UIView? view)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var view__handle__ = view.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("willMoveToView:"), view__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("willMoveToView:"), view__handle__);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public IUIEditMenuInteractionDelegate? Delegate {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return (WeakDelegate as IUIEditMenuInteractionDelegate)!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_View_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIView View {
+ [Export ("view", ArgumentSemantic.Weak)]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("maccatalyst11.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIView? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIView> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("view")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIView> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("view")))!;
+ }
+ MarkDirty ();
+ __mt_View_var = ret;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_View_var = null;
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class UIEditMenuInteraction */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIEditMenuInteractionAnimating.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuInteractionAnimating.g.cs
new file mode 100644
index 0000000..5499c32
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuInteractionAnimating.g.cs
@@ -0,0 +1,120 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UIEditMenuInteractionAnimating", WrapperType = typeof (UIEditMenuInteractionAnimatingWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "AddAnimations", Selector = "addAnimations:", ParameterType = new Type [] { typeof (Action) }, ParameterByRef = new bool [] { false }, ParameterBlockProxy = new Type? [] { typeof (ObjCRuntime.Trampolines.NIDAction) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "AddCompletion", Selector = "addCompletion:", ParameterType = new Type [] { typeof (Action) }, ParameterByRef = new bool [] { false }, ParameterBlockProxy = new Type? [] { typeof (ObjCRuntime.Trampolines.NIDAction) })]
+ public partial interface IUIEditMenuInteractionAnimating : INativeObject, IDisposable
+ {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("addAnimations:")]
+ [Preserve (Conditional = true)]
+ unsafe void AddAnimations ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action animations);
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("addCompletion:")]
+ [Preserve (Conditional = true)]
+ unsafe void AddCompletion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completion);
+ }
+ internal sealed class UIEditMenuInteractionAnimatingWrapper : BaseWrapper, IUIEditMenuInteractionAnimating {
+ [Preserve (Conditional = true)]
+ public UIEditMenuInteractionAnimatingWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("addAnimations:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe void AddAnimations ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action animations)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (animations is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (animations));
+ BlockLiteral *block_ptr_animations;
+ BlockLiteral block_animations;
+ block_animations = new BlockLiteral ();
+ block_ptr_animations = &block_animations;
+ block_animations.SetupBlockUnsafe (Trampolines.SDAction.Handler, animations);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("addAnimations:"), (IntPtr) block_ptr_animations);
+ block_ptr_animations->CleanupBlock ();
+ #endif
+ }
+ [Export ("addCompletion:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe void AddCompletion ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (completion is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
+ BlockLiteral *block_ptr_completion;
+ BlockLiteral block_completion;
+ block_completion = new BlockLiteral ();
+ block_ptr_completion = &block_completion;
+ block_completion.SetupBlockUnsafe (Trampolines.SDAction.Handler, completion);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("addCompletion:"), (IntPtr) block_ptr_completion);
+ block_ptr_completion->CleanupBlock ();
+ #endif
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIEditMenuInteractionDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuInteractionDelegate.g.cs
new file mode 100644
index 0000000..cf8d948
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIEditMenuInteractionDelegate.g.cs
@@ -0,0 +1,240 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UIEditMenuInteractionDelegate", WrapperType = typeof (UIEditMenuInteractionDelegateWrapper))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetMenu", Selector = "editMenuInteraction:menuForConfiguration:suggestedActions:", ReturnType = typeof (UIMenu), ParameterType = new Type [] { typeof (UIEditMenuInteraction), typeof (UIEditMenuConfiguration), typeof (UIMenuElement[]) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetTargetRect", Selector = "editMenuInteraction:targetRectForConfiguration:", ReturnType = typeof (CGRect), ParameterType = new Type [] { typeof (UIEditMenuInteraction), typeof (UIEditMenuConfiguration) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillPresentMenu", Selector = "editMenuInteraction:willPresentMenuForConfiguration:animator:", ParameterType = new Type [] { typeof (UIEditMenuInteraction), typeof (UIEditMenuConfiguration), typeof (IUIEditMenuInteractionAnimating) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillDismissMenu", Selector = "editMenuInteraction:willDismissMenuForConfiguration:animator:", ParameterType = new Type [] { typeof (UIEditMenuInteraction), typeof (UIEditMenuConfiguration), typeof (IUIEditMenuInteractionAnimating) }, ParameterByRef = new bool [] { false, false, false })]
+ public partial interface IUIEditMenuInteractionDelegate : INativeObject, IDisposable
+ {
+ }
+ public static partial class UIEditMenuInteractionDelegate_Extensions {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIMenu? GetMenu (this IUIEditMenuInteractionDelegate This, UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, UIMenuElement[] suggestedActions)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ if (suggestedActions is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (suggestedActions));
+ var nsa_suggestedActions = NSArray.FromNSObjects (suggestedActions);
+ UIMenu? ret;
+ ret = Runtime.GetNSObject<UIMenu> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("editMenuInteraction:menuForConfiguration:suggestedActions:"), interaction__handle__, configuration__handle__, nsa_suggestedActions.Handle))!;
+ nsa_suggestedActions.Dispose ();
+ return ret!;
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static CGRect GetTargetRect (this IUIEditMenuInteractionDelegate This, UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ CGRect ret;
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.CGRect_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("editMenuInteraction:targetRectForConfiguration:"), interaction__handle__, configuration__handle__);
+ } else if (IntPtr.Size == 8) {
+ global::ObjCRuntime.Messaging.CGRect_objc_msgSend_stret_NativeHandle_NativeHandle (out ret, This.Handle, Selector.GetHandle ("editMenuInteraction:targetRectForConfiguration:"), interaction__handle__, configuration__handle__);
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.CGRect_objc_msgSend_stret_NativeHandle_NativeHandle (out ret, This.Handle, Selector.GetHandle ("editMenuInteraction:targetRectForConfiguration:"), interaction__handle__, configuration__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.CGRect_objc_msgSend_stret_NativeHandle_NativeHandle (out ret, This.Handle, Selector.GetHandle ("editMenuInteraction:targetRectForConfiguration:"), interaction__handle__, configuration__handle__);
+ }
+ return ret!;
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void WillPresentMenu (this IUIEditMenuInteractionDelegate This, UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var animator__handle__ = animator!.GetNonNullHandle (nameof (animator));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("editMenuInteraction:willPresentMenuForConfiguration:animator:"), interaction__handle__, configuration__handle__, animator__handle__);
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void WillDismissMenu (this IUIEditMenuInteractionDelegate This, UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ var animator__handle__ = animator!.GetNonNullHandle (nameof (animator));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("editMenuInteraction:willDismissMenuForConfiguration:animator:"), interaction__handle__, configuration__handle__, animator__handle__);
+ #endif
+ }
+ }
+ internal sealed class UIEditMenuInteractionDelegateWrapper : BaseWrapper, IUIEditMenuInteractionDelegate {
+ [Preserve (Conditional = true)]
+ public UIEditMenuInteractionDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ }
+}
+namespace UIKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__UIKit_UIEditMenuInteractionDelegate", false)]
+ [Model]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UIEditMenuInteractionDelegate : NSObject, IUIEditMenuInteractionDelegate {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public UIEditMenuInteractionDelegate () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UIEditMenuInteractionDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UIEditMenuInteractionDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("editMenuInteraction:menuForConfiguration:suggestedActions:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIMenu? GetMenu (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, UIMenuElement[] suggestedActions)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("editMenuInteraction:targetRectForConfiguration:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual CGRect GetTargetRect (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("editMenuInteraction:willDismissMenuForConfiguration:animator:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillDismissMenu (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("editMenuInteraction:willPresentMenuForConfiguration:animator:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillPresentMenu (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ } /* class UIEditMenuInteractionDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIFindInteraction.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFindInteraction.g.cs
new file mode 100644
index 0000000..e1baa3e
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFindInteraction.g.cs
@@ -0,0 +1,479 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UIFindInteraction", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UIFindInteraction : NSObject, IUIInteraction {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UIFindInteraction");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UIFindInteraction (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UIFindInteraction (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithSessionDelegate:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIFindInteraction (IUIFindInteractionDelegate sessionDelegate)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sessionDelegate__handle__ = sessionDelegate!.GetNonNullHandle (nameof (sessionDelegate));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithSessionDelegate:"), sessionDelegate__handle__), "initWithSessionDelegate:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithSessionDelegate:"), sessionDelegate__handle__), "initWithSessionDelegate:");
+ }
+ #endif
+ }
+ [Export ("didMoveToView:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidMoveToView (UIView? view)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var view__handle__ = view.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("didMoveToView:"), view__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("didMoveToView:"), view__handle__);
+ }
+ #endif
+ }
+ [Export ("dismissFindNavigator")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DismissFindNavigator ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("dismissFindNavigator"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("dismissFindNavigator"));
+ }
+ #endif
+ }
+ [Export ("findNext")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FindNext ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("findNext"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("findNext"));
+ }
+ #endif
+ }
+ [Export ("findPrevious")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FindPrevious ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("findPrevious"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("findPrevious"));
+ }
+ #endif
+ }
+ [Export ("presentFindNavigatorShowingReplace:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PresentFindNavigatorShowingReplace (bool showingReplace)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("presentFindNavigatorShowingReplace:"), showingReplace);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("presentFindNavigatorShowingReplace:"), showingReplace);
+ }
+ #endif
+ }
+ [Export ("updateResultCount")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdateResultCount ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("updateResultCount"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("updateResultCount"));
+ }
+ #endif
+ }
+ [Export ("willMoveToView:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillMoveToView (UIView? view)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var view__handle__ = view.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("willMoveToView:"), view__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("willMoveToView:"), view__handle__);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIFindSession? ActiveFindSession {
+ [Export ("activeFindSession")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIFindSession? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIFindSession> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("activeFindSession")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIFindSession> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("activeFindSession")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public IUIFindInteractionDelegate? Delegate {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return (WeakDelegate as IUIFindInteractionDelegate)!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool FindNavigatorVisible {
+ [Export ("isFindNavigatorVisible")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isFindNavigatorVisible"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isFindNavigatorVisible"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe virtual OptionsMenuProviderHandler? OptionsMenuProvider {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDOptionsMenuProviderHandler))]
+ [Export ("optionsMenuProvider", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("optionsMenuProvider"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("optionsMenuProvider"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDOptionsMenuProviderHandler.Create (ret)!;
+ #endif
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDOptionsMenuProviderHandler))]
+ [Export ("setOptionsMenuProvider:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDOptionsMenuProviderHandler.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setOptionsMenuProvider:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setOptionsMenuProvider:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual string? ReplacementText {
+ [Export ("replacementText")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("replacementText")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("replacementText")))!;
+ }
+ #endif
+ }
+ [Export ("setReplacementText:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setReplacementText:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setReplacementText:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual string? SearchText {
+ [Export ("searchText")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("searchText")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("searchText")))!;
+ }
+ #endif
+ }
+ [Export ("setSearchText:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSearchText:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSearchText:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_View_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIView View {
+ [Export ("view", ArgumentSemantic.Weak)]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("maccatalyst11.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIView? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIView> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("view")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIView> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("view")))!;
+ }
+ MarkDirty ();
+ __mt_View_var = ret;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_View_var = null;
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class UIFindInteraction */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIFindInteractionDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFindInteractionDelegate.g.cs
new file mode 100644
index 0000000..764f568
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFindInteractionDelegate.g.cs
@@ -0,0 +1,198 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UIFindInteractionDelegate", WrapperType = typeof (UIFindInteractionDelegateWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "GetSession", Selector = "findInteraction:sessionForView:", ReturnType = typeof (UIFindSession), ParameterType = new Type [] { typeof (UIFindInteraction), typeof (UIView) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidBeginFindSession", Selector = "findInteraction:didBeginFindSession:", ParameterType = new Type [] { typeof (UIFindInteraction), typeof (UIFindSession) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidEndFindSession", Selector = "findInteraction:didEndFindSession:", ParameterType = new Type [] { typeof (UIFindInteraction), typeof (UIFindSession) }, ParameterByRef = new bool [] { false, false })]
+ public partial interface IUIFindInteractionDelegate : INativeObject, IDisposable
+ {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("findInteraction:sessionForView:")]
+ [Preserve (Conditional = true)]
+ UIFindSession? GetSession (UIFindInteraction interaction, UIView view);
+ }
+ public static partial class UIFindInteractionDelegate_Extensions {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void DidBeginFindSession (this IUIFindInteractionDelegate This, UIFindInteraction interaction, UIFindSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("findInteraction:didBeginFindSession:"), interaction__handle__, session__handle__);
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void DidEndFindSession (this IUIFindInteractionDelegate This, UIFindInteraction interaction, UIFindSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("findInteraction:didEndFindSession:"), interaction__handle__, session__handle__);
+ #endif
+ }
+ }
+ internal sealed class UIFindInteractionDelegateWrapper : BaseWrapper, IUIFindInteractionDelegate {
+ [Preserve (Conditional = true)]
+ public UIFindInteractionDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("findInteraction:sessionForView:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIFindSession? GetSession (UIFindInteraction interaction, UIView view)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ var view__handle__ = view!.GetNonNullHandle (nameof (view));
+ return Runtime.GetNSObject<UIFindSession> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("findInteraction:sessionForView:"), interaction__handle__, view__handle__))!;
+ #endif
+ }
+ }
+}
+namespace UIKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__UIKit_UIFindInteractionDelegate", false)]
+ [Model]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe abstract partial class UIFindInteractionDelegate : NSObject, IUIFindInteractionDelegate {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ protected UIFindInteractionDelegate () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UIFindInteractionDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UIFindInteractionDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("findInteraction:didBeginFindSession:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidBeginFindSession (UIFindInteraction interaction, UIFindSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("findInteraction:didEndFindSession:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidEndFindSession (UIFindInteraction interaction, UIFindSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("findInteraction:sessionForView:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIFindSession? GetSession (UIFindInteraction interaction, UIView view)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ } /* class UIFindInteractionDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIFindSession.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFindSession.g.cs
new file mode 100644
index 0000000..4f8addf
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFindSession.g.cs
@@ -0,0 +1,337 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UIFindSession", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UIFindSession : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UIFindSession");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public UIFindSession () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UIFindSession (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UIFindSession (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("highlightNextResultInDirection:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void HighlightNextResult (UITextStorageDirection direction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("highlightNextResultInDirection:"), (IntPtr) (long) direction);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("highlightNextResultInDirection:"), (IntPtr) (long) direction);
+ }
+ #endif
+ }
+ [Export ("invalidateFoundResults")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void InvalidateFoundResults ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("invalidateFoundResults"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("invalidateFoundResults"));
+ }
+ #endif
+ }
+ [Export ("performSearchWithQuery:options:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformSearch (string query, UITextSearchOptions? options)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (query is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (query));
+ var options__handle__ = options.GetHandle ();
+ var nsquery = CFString.CreateNative (query);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("performSearchWithQuery:options:"), nsquery, options__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("performSearchWithQuery:options:"), nsquery, options__handle__);
+ }
+ CFString.ReleaseNative (nsquery);
+ #endif
+ }
+ [Export ("performSingleReplacementWithSearchQuery:replacementString:options:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformSingleReplacement (string searchQuery, string replacementString, UITextSearchOptions? options)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (searchQuery is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (searchQuery));
+ if (replacementString is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (replacementString));
+ var options__handle__ = options.GetHandle ();
+ var nssearchQuery = CFString.CreateNative (searchQuery);
+ var nsreplacementString = CFString.CreateNative (replacementString);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("performSingleReplacementWithSearchQuery:replacementString:options:"), nssearchQuery, nsreplacementString, options__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("performSingleReplacementWithSearchQuery:replacementString:options:"), nssearchQuery, nsreplacementString, options__handle__);
+ }
+ CFString.ReleaseNative (nssearchQuery);
+ CFString.ReleaseNative (nsreplacementString);
+ #endif
+ }
+ [Export ("replaceAllInstancesOfSearchQuery:withReplacementString:options:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ReplaceAllInstances (string searchQuery, string replacementString, UITextSearchOptions? options)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (searchQuery is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (searchQuery));
+ if (replacementString is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (replacementString));
+ var options__handle__ = options.GetHandle ();
+ var nssearchQuery = CFString.CreateNative (searchQuery);
+ var nsreplacementString = CFString.CreateNative (replacementString);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("replaceAllInstancesOfSearchQuery:withReplacementString:options:"), nssearchQuery, nsreplacementString, options__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("replaceAllInstancesOfSearchQuery:withReplacementString:options:"), nssearchQuery, nsreplacementString, options__handle__);
+ }
+ CFString.ReleaseNative (nssearchQuery);
+ CFString.ReleaseNative (nsreplacementString);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool AllowsReplacementForCurrentlyHighlightedResult {
+ [Export ("allowsReplacementForCurrentlyHighlightedResult")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("allowsReplacementForCurrentlyHighlightedResult"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowsReplacementForCurrentlyHighlightedResult"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual nint HighlightedResultIndex {
+ [Export ("highlightedResultIndex")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("highlightedResultIndex"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("highlightedResultIndex"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual nint ResultCount {
+ [Export ("resultCount")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("resultCount"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("resultCount"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIFindSessionSearchResultDisplayStyle SearchResultDisplayStyle {
+ [Export ("searchResultDisplayStyle", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIFindSessionSearchResultDisplayStyle ret;
+ if (IsDirectBinding) {
+ ret = (UIFindSessionSearchResultDisplayStyle) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("searchResultDisplayStyle"));
+ } else {
+ ret = (UIFindSessionSearchResultDisplayStyle) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("searchResultDisplayStyle"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSearchResultDisplayStyle:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setSearchResultDisplayStyle:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setSearchResultDisplayStyle:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool SupportsReplacement {
+ [Export ("supportsReplacement")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("supportsReplacement"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("supportsReplacement"));
+ }
+ #endif
+ }
+ }
+ } /* class UIFindSession */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIFindSessionSearchResultDisplayStyle.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFindSessionSearchResultDisplayStyle.g.cs
new file mode 100644
index 0000000..ad4b0a3
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFindSessionSearchResultDisplayStyle.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UIFindSessionSearchResultDisplayStyle : long {
+ CurrentAndTotal = 0,
+ Total = 1,
+ None = 2,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIFocusAnimationCoordinator.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFocusAnimationCoordinator.g.cs
index 825b305..7ce795d 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIFocusAnimationCoordinator.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFocusAnimationCoordinator.g.cs
@@ -135,7 +135,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddCoordinatedFocusingAnimations ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V246))]global::System.Action<IUIFocusAnimationContext>? animations, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action? completion)
+ public unsafe virtual void AddCoordinatedFocusingAnimations ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V247))]global::System.Action<IUIFocusAnimationContext>? animations, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action? completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -148,7 +148,7 @@ namespace UIKit {
} else {
block_animations = new BlockLiteral ();
block_ptr_animations = &block_animations;
- block_animations.SetupBlockUnsafe (Trampolines.SDActionArity1V246.Handler, animations);
+ block_animations.SetupBlockUnsafe (Trampolines.SDActionArity1V247.Handler, animations);
}
BlockLiteral *block_ptr_completion;
BlockLiteral block_completion;
@@ -174,7 +174,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual Task AddCoordinatedFocusingAnimationsAsync ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V246))]global::System.Action<IUIFocusAnimationContext>? animations)
+ public unsafe virtual Task AddCoordinatedFocusingAnimationsAsync ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V247))]global::System.Action<IUIFocusAnimationContext>? animations)
{
var tcs = new TaskCompletionSource<bool> ();
AddCoordinatedFocusingAnimations(animations, () => {
@@ -187,7 +187,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddCoordinatedUnfocusingAnimations ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V246))]global::System.Action<IUIFocusAnimationContext>? animations, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action? completion)
+ public unsafe virtual void AddCoordinatedUnfocusingAnimations ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V247))]global::System.Action<IUIFocusAnimationContext>? animations, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action? completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -200,7 +200,7 @@ namespace UIKit {
} else {
block_animations = new BlockLiteral ();
block_ptr_animations = &block_animations;
- block_animations.SetupBlockUnsafe (Trampolines.SDActionArity1V246.Handler, animations);
+ block_animations.SetupBlockUnsafe (Trampolines.SDActionArity1V247.Handler, animations);
}
BlockLiteral *block_ptr_completion;
BlockLiteral block_completion;
@@ -226,7 +226,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual Task AddCoordinatedUnfocusingAnimationsAsync ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V246))]global::System.Action<IUIFocusAnimationContext>? animations)
+ public unsafe virtual Task AddCoordinatedUnfocusingAnimationsAsync ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V247))]global::System.Action<IUIFocusAnimationContext>? animations)
{
var tcs = new TaskCompletionSource<bool> ();
AddCoordinatedUnfocusingAnimations(animations, () => {
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIFocusDebugger.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFocusDebugger.g.cs
index 8b5093a..f395ac3 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIFocusDebugger.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFocusDebugger.g.cs
@@ -122,6 +122,36 @@ namespace UIKit {
return Runtime.GetINativeObject<IUIFocusDebuggerOutput> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("checkFocusabilityForItem:"), item__handle__), false)!;
#endif
}
+ [Export ("focusGroupsForEnvironment:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static IUIFocusDebuggerOutput GetFocusGroups (IUIFocusEnvironment environment)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var environment__handle__ = environment!.GetNonNullHandle (nameof (environment));
+ return Runtime.GetINativeObject<IUIFocusDebuggerOutput> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("focusGroupsForEnvironment:"), environment__handle__), false)!;
+ #endif
+ }
+ [Export ("preferredFocusEnvironmentsForEnvironment:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static IUIFocusDebuggerOutput GetPreferredFocusEnvironments (IUIFocusEnvironment environment)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var environment__handle__ = environment!.GetNonNullHandle (nameof (environment));
+ return Runtime.GetINativeObject<IUIFocusDebuggerOutput> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("preferredFocusEnvironmentsForEnvironment:"), environment__handle__), false)!;
+ #endif
+ }
[Export ("simulateFocusUpdateRequestFromEnvironment:")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("tvos11.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIFocusGuide.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFocusGuide.g.cs
index 025ea87..05daf1e 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIFocusGuide.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFocusGuide.g.cs
@@ -168,6 +168,10 @@ namespace UIKit {
[Advice ("Starting with ios10.0 Use 'PreferredFocusEnvironments' instead.")]
#endif
[UnsupportedOSPlatform ("ios10.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0 Use 'PreferredFocusEnvironments' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0 Use 'PreferredFocusEnvironments' instead.")]
#endif
@@ -181,6 +185,10 @@ namespace UIKit {
[Advice ("Starting with ios10.0 Use 'PreferredFocusEnvironments' instead.")]
#endif
[UnsupportedOSPlatform ("ios10.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0 Use 'PreferredFocusEnvironments' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0 Use 'PreferredFocusEnvironments' instead.")]
#endif
@@ -205,6 +213,10 @@ namespace UIKit {
[Advice ("Starting with ios10.0 Use 'PreferredFocusEnvironments' instead.")]
#endif
[UnsupportedOSPlatform ("ios10.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0 Use 'PreferredFocusEnvironments' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0 Use 'PreferredFocusEnvironments' instead.")]
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIFont.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFont.g.cs
index 87719e0..60dbe2a 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIFont.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFont.g.cs
@@ -212,6 +212,19 @@ namespace UIKit {
{
return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_nfloat_nfloat (class_ptr, Selector.GetHandle ("systemFontOfSize:weight:"), size, weight);
}
+ [Export ("systemFontOfSize:weight:width:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static nint _SystemFontOfSize (nfloat fontSize, double weight, double width)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_nfloat_Double_Double (class_ptr, Selector.GetHandle ("systemFontOfSize:weight:width:"), fontSize, weight, width);
+ #endif
+ }
[Export ("fontWithSize:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal virtual nint _WithSize (nfloat size)
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIFontWidth.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFontWidth.g.cs
new file mode 100644
index 0000000..35765f4
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFontWidth.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public enum UIFontWidth : int {
+ Condensed = 0,
+ Standard = 1,
+ Expanded = 2,
+ Compressed = 3,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIFontWidthConstants.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIFontWidthConstants.g.cs
new file mode 100644
index 0000000..952e996
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIFontWidthConstants.g.cs
@@ -0,0 +1,105 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ internal unsafe static partial class UIFontWidthConstants {
+ [Field ("UIFontWidthCompressed", "UIKit")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public static double Compressed {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return Dlfcn.GetDouble (Libraries.UIKit.Handle, "UIFontWidthCompressed");
+ }
+ }
+ [Field ("UIFontWidthCondensed", "UIKit")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public static double Condensed {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return Dlfcn.GetDouble (Libraries.UIKit.Handle, "UIFontWidthCondensed");
+ }
+ }
+ [Field ("UIFontWidthExpanded", "UIKit")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public static double Expanded {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return Dlfcn.GetDouble (Libraries.UIKit.Handle, "UIFontWidthExpanded");
+ }
+ }
+ [Field ("UIFontWidthStandard", "UIKit")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public static double Standard {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return Dlfcn.GetDouble (Libraries.UIKit.Handle, "UIFontWidthStandard");
+ }
+ }
+ } /* class UIFontWidthConstants */
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIGraphicsImageRenderer.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIGraphicsImageRenderer.g.cs
index e438f44..e842c8b 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIGraphicsImageRenderer.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIGraphicsImageRenderer.g.cs
@@ -136,7 +136,7 @@ namespace UIKit {
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual UIImage CreateImage ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V247))]global::System.Action<UIGraphicsImageRendererContext> actions)
+ public unsafe virtual UIImage CreateImage ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V248))]global::System.Action<UIGraphicsImageRendererContext> actions)
{
global::UIKit.UIApplication.EnsureUIThread ();
if (actions is null)
@@ -145,7 +145,7 @@ namespace UIKit {
BlockLiteral block_actions;
block_actions = new BlockLiteral ();
block_ptr_actions = &block_actions;
- block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V247.Handler, actions);
+ block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V248.Handler, actions);
UIImage? ret;
if (IsDirectBinding) {
ret = Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("imageWithActions:"), (IntPtr) block_ptr_actions))!;
@@ -160,7 +160,7 @@ namespace UIKit {
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual NSData CreateJpeg (nfloat compressionQuality, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V247))]global::System.Action<UIGraphicsImageRendererContext> actions)
+ public unsafe virtual NSData CreateJpeg (nfloat compressionQuality, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V248))]global::System.Action<UIGraphicsImageRendererContext> actions)
{
global::UIKit.UIApplication.EnsureUIThread ();
if (actions is null)
@@ -169,7 +169,7 @@ namespace UIKit {
BlockLiteral block_actions;
block_actions = new BlockLiteral ();
block_ptr_actions = &block_actions;
- block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V247.Handler, actions);
+ block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V248.Handler, actions);
NSData? ret;
if (IsDirectBinding) {
ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_nfloat_NativeHandle (this.Handle, Selector.GetHandle ("JPEGDataWithCompressionQuality:actions:"), compressionQuality, (IntPtr) block_ptr_actions))!;
@@ -184,7 +184,7 @@ namespace UIKit {
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual NSData CreatePng ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V247))]global::System.Action<UIGraphicsImageRendererContext> actions)
+ public unsafe virtual NSData CreatePng ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V248))]global::System.Action<UIGraphicsImageRendererContext> actions)
{
global::UIKit.UIApplication.EnsureUIThread ();
if (actions is null)
@@ -193,7 +193,7 @@ namespace UIKit {
BlockLiteral block_actions;
block_actions = new BlockLiteral ();
block_ptr_actions = &block_actions;
- block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V247.Handler, actions);
+ block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V248.Handler, actions);
NSData? ret;
if (IsDirectBinding) {
ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("PNGDataWithActions:"), (IntPtr) block_ptr_actions))!;
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIGraphicsPdfRenderer.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIGraphicsPdfRenderer.g.cs
index 0872b38..bce1caf 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIGraphicsPdfRenderer.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIGraphicsPdfRenderer.g.cs
@@ -104,7 +104,7 @@ namespace UIKit {
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual NSData CreatePdf ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V248))]global::System.Action<UIGraphicsPdfRendererContext> actions)
+ public unsafe virtual NSData CreatePdf ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V249))]global::System.Action<UIGraphicsPdfRendererContext> actions)
{
global::UIKit.UIApplication.EnsureUIThread ();
if (actions is null)
@@ -113,7 +113,7 @@ namespace UIKit {
BlockLiteral block_actions;
block_actions = new BlockLiteral ();
block_ptr_actions = &block_actions;
- block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V248.Handler, actions);
+ block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V249.Handler, actions);
NSData? ret;
if (IsDirectBinding) {
ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("PDFDataWithActions:"), (IntPtr) block_ptr_actions))!;
@@ -128,7 +128,7 @@ namespace UIKit {
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual bool WritePdf (NSUrl url, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V248))]global::System.Action<UIGraphicsPdfRendererContext> actions, out NSError error)
+ public unsafe virtual bool WritePdf (NSUrl url, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V249))]global::System.Action<UIGraphicsPdfRendererContext> actions, out NSError error)
{
global::UIKit.UIApplication.EnsureUIThread ();
var url__handle__ = url!.GetNonNullHandle (nameof (url));
@@ -139,7 +139,7 @@ namespace UIKit {
BlockLiteral block_actions;
block_actions = new BlockLiteral ();
block_ptr_actions = &block_actions;
- block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V248.Handler, actions);
+ block_actions.SetupBlockUnsafe (Trampolines.SDActionArity1V249.Handler, actions);
bool ret;
if (IsDirectBinding) {
ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("writePDFToURL:withActions:error:"), url__handle__, (IntPtr) block_ptr_actions, ref errorValue);
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIGraphicsRenderer.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIGraphicsRenderer.g.cs
index 374c041..9abf894 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIGraphicsRenderer.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIGraphicsRenderer.g.cs
@@ -142,7 +142,7 @@ namespace UIKit {
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual bool Run ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V249))]global::System.Action<UIGraphicsRendererContext> drawingActions, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V249))]global::System.Action<UIGraphicsRendererContext>? completionActions, out NSError? error)
+ public unsafe virtual bool Run ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V250))]global::System.Action<UIGraphicsRendererContext> drawingActions, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V250))]global::System.Action<UIGraphicsRendererContext>? completionActions, out NSError? error)
{
global::UIKit.UIApplication.EnsureUIThread ();
if (drawingActions is null)
@@ -152,7 +152,7 @@ namespace UIKit {
BlockLiteral block_drawingActions;
block_drawingActions = new BlockLiteral ();
block_ptr_drawingActions = &block_drawingActions;
- block_drawingActions.SetupBlockUnsafe (Trampolines.SDActionArity1V249.Handler, drawingActions);
+ block_drawingActions.SetupBlockUnsafe (Trampolines.SDActionArity1V250.Handler, drawingActions);
BlockLiteral *block_ptr_completionActions;
BlockLiteral block_completionActions;
if (completionActions is null){
@@ -160,7 +160,7 @@ namespace UIKit {
} else {
block_completionActions = new BlockLiteral ();
block_ptr_completionActions = &block_completionActions;
- block_completionActions.SetupBlockUnsafe (Trampolines.SDActionArity1V249.Handler, completionActions);
+ block_completionActions.SetupBlockUnsafe (Trampolines.SDActionArity1V250.Handler, completionActions);
}
bool ret;
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIImage.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIImage.g.cs
index 1363853..abd4daa 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIImage.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIImage.g.cs
@@ -489,6 +489,28 @@ namespace UIKit {
return ret!;
#endif
}
+ [Export ("imageNamed:inBundle:variableValue:withConfiguration:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIImage? FromBundle (string name, NSBundle? bundle, double value, UIImageConfiguration? configuration)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (name is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
+ var bundle__handle__ = bundle.GetHandle ();
+ var configuration__handle__ = configuration.GetHandle ();
+ var nsname = CFString.CreateNative (name);
+ UIImage? ret;
+ ret = Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_Double_NativeHandle (class_ptr, Selector.GetHandle ("imageNamed:inBundle:variableValue:withConfiguration:"), nsname, bundle__handle__, value, configuration__handle__))!;
+ CFString.ReleaseNative (nsname);
+ return ret!;
+ #endif
+ }
[Export ("imageWithContentsOfFile:")]
[ThreadSafe]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -760,6 +782,27 @@ namespace UIKit {
return ret!;
#endif
}
+ [Export ("systemImageNamed:variableValue:withConfiguration:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIImage? GetSystemImage (string name, double value, UIImageConfiguration? configuration)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (name is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
+ var configuration__handle__ = configuration.GetHandle ();
+ var nsname = CFString.CreateNative (name);
+ UIImage? ret;
+ ret = Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_Double_NativeHandle (class_ptr, Selector.GetHandle ("systemImageNamed:variableValue:withConfiguration:"), nsname, value, configuration__handle__))!;
+ CFString.ReleaseNative (nsname);
+ return ret!;
+ #endif
+ }
[Export ("imageWithAlignmentRectInsets:")]
[ThreadSafe]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIImageSymbolConfiguration.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIImageSymbolConfiguration.g.cs
index 57fb299..f3eabbe 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIImageSymbolConfiguration.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIImageSymbolConfiguration.g.cs
@@ -275,6 +275,20 @@ namespace UIKit {
return ret!;
#endif
}
+ [Export ("configurationPreferringMonochrome")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIImageSymbolConfiguration GetConfigurationPreferringMonochrome ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return Runtime.GetNSObject<UIImageSymbolConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("configurationPreferringMonochrome")))!;
+ #endif
+ }
[Export ("isEqualToConfiguration:")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIIndirectScribbleInteractionDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIIndirectScribbleInteractionDelegate.g.cs
index 6925d71..de1461a 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIIndirectScribbleInteractionDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIIndirectScribbleInteractionDelegate.g.cs
@@ -53,10 +53,10 @@ namespace UIKit {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Protocol (Name = "UIIndirectScribbleInteractionDelegate", WrapperType = typeof (UIIndirectScribbleInteractionDelegateWrapper))]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "RequestElements", Selector = "indirectScribbleInteraction:requestElementsInRect:completion:", ParameterType = new Type [] { typeof (UIIndirectScribbleInteraction), typeof (CGRect), typeof (global::System.Action<NSObject[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V250) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "RequestElements", Selector = "indirectScribbleInteraction:requestElementsInRect:completion:", ParameterType = new Type [] { typeof (UIIndirectScribbleInteraction), typeof (CGRect), typeof (global::System.Action<NSObject[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V251) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "IsElementFocused", Selector = "indirectScribbleInteraction:isElementFocused:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UIIndirectScribbleInteraction), typeof (NSObject) }, ParameterByRef = new bool [] { false, false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "GetFrameForElement", Selector = "indirectScribbleInteraction:frameForElement:", ReturnType = typeof (CGRect), ParameterType = new Type [] { typeof (UIIndirectScribbleInteraction), typeof (NSObject) }, ParameterByRef = new bool [] { false, false })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "FocusElementIfNeeded", Selector = "indirectScribbleInteraction:focusElementIfNeeded:referencePoint:completion:", ParameterType = new Type [] { typeof (UIIndirectScribbleInteraction), typeof (NSObject), typeof (CGPoint), typeof (global::System.Action<global::UIKit.IUITextInput>) }, ParameterByRef = new bool [] { false, false, false, false }, ParameterBlockProxy = new Type? [] { null, null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V251) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "FocusElementIfNeeded", Selector = "indirectScribbleInteraction:focusElementIfNeeded:referencePoint:completion:", ParameterType = new Type [] { typeof (UIIndirectScribbleInteraction), typeof (NSObject), typeof (CGPoint), typeof (global::System.Action<global::UIKit.IUITextInput>) }, ParameterByRef = new bool [] { false, false, false, false }, ParameterBlockProxy = new Type? [] { null, null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V252) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldDelayFocus", Selector = "indirectScribbleInteraction:shouldDelayFocusForElement:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UIIndirectScribbleInteraction), typeof (NSObject) }, ParameterByRef = new bool [] { false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillBeginWriting", Selector = "indirectScribbleInteraction:willBeginWritingInElement:", ParameterType = new Type [] { typeof (UIIndirectScribbleInteraction), typeof (NSObject) }, ParameterByRef = new bool [] { false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidFinishWriting", Selector = "indirectScribbleInteraction:didFinishWritingInElement:", ParameterType = new Type [] { typeof (UIIndirectScribbleInteraction), typeof (NSObject) }, ParameterByRef = new bool [] { false, false })]
@@ -68,7 +68,7 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("indirectScribbleInteraction:requestElementsInRect:completion:")]
[Preserve (Conditional = true)]
- unsafe void RequestElements (UIIndirectScribbleInteraction interaction, CGRect rect, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V250))]global::System.Action<NSObject[]> completion);
+ unsafe void RequestElements (UIIndirectScribbleInteraction interaction, CGRect rect, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V251))]global::System.Action<NSObject[]> completion);
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
@@ -89,7 +89,7 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("indirectScribbleInteraction:focusElementIfNeeded:referencePoint:completion:")]
[Preserve (Conditional = true)]
- unsafe void FocusElementIfNeeded (UIIndirectScribbleInteraction interaction, NSObject elementIdentifier, CGPoint focusReferencePoint, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V251))]global::System.Action<IUITextInput> completion);
+ unsafe void FocusElementIfNeeded (UIIndirectScribbleInteraction interaction, NSObject elementIdentifier, CGPoint focusReferencePoint, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V252))]global::System.Action<IUITextInput> completion);
}
public static partial class UIIndirectScribbleInteractionDelegate_Extensions {
[UnsupportedOSPlatform ("tvos")]
@@ -146,7 +146,7 @@ namespace UIKit {
}
[Export ("indirectScribbleInteraction:requestElementsInRect:completion:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void RequestElements (UIIndirectScribbleInteraction interaction, CGRect rect, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V250))]global::System.Action<NSObject[]> completion)
+ public unsafe void RequestElements (UIIndirectScribbleInteraction interaction, CGRect rect, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V251))]global::System.Action<NSObject[]> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -159,7 +159,7 @@ namespace UIKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V250.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V251.Handler, completion);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_CGRect_NativeHandle (this.Handle, Selector.GetHandle ("indirectScribbleInteraction:requestElementsInRect:completion:"), interaction__handle__, rect, (IntPtr) block_ptr_completion);
block_ptr_completion->CleanupBlock ();
#endif
@@ -202,7 +202,7 @@ namespace UIKit {
}
[Export ("indirectScribbleInteraction:focusElementIfNeeded:referencePoint:completion:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void FocusElementIfNeeded (UIIndirectScribbleInteraction interaction, NSObject elementIdentifier, CGPoint focusReferencePoint, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V251))]global::System.Action<IUITextInput> completion)
+ public unsafe void FocusElementIfNeeded (UIIndirectScribbleInteraction interaction, NSObject elementIdentifier, CGPoint focusReferencePoint, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V252))]global::System.Action<IUITextInput> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -216,7 +216,7 @@ namespace UIKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V251.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity1V252.Handler, completion);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_CGPoint_NativeHandle (this.Handle, Selector.GetHandle ("indirectScribbleInteraction:focusElementIfNeeded:referencePoint:completion:"), interaction__handle__, elementIdentifier__handle__, focusReferencePoint, (IntPtr) block_ptr_completion);
block_ptr_completion->CleanupBlock ();
#endif
@@ -277,7 +277,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void FocusElementIfNeeded (UIIndirectScribbleInteraction interaction, NSObject elementIdentifier, CGPoint focusReferencePoint, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V251))]global::System.Action<IUITextInput> completion)
+ public unsafe virtual void FocusElementIfNeeded (UIIndirectScribbleInteraction interaction, NSObject elementIdentifier, CGPoint focusReferencePoint, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V252))]global::System.Action<IUITextInput> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -316,7 +316,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void RequestElements (UIIndirectScribbleInteraction interaction, CGRect rect, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V250))]global::System.Action<NSObject[]> completion)
+ public unsafe virtual void RequestElements (UIIndirectScribbleInteraction interaction, CGRect rect, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V251))]global::System.Action<NSObject[]> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIInputViewController.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIInputViewController.g.cs
index 32cf7c3..982242e 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIInputViewController.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIInputViewController.g.cs
@@ -165,7 +165,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void RequestSupplementaryLexicon ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V252))]global::System.Action<UILexicon> completionHandler)
+ public unsafe virtual void RequestSupplementaryLexicon ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V253))]global::System.Action<UILexicon> completionHandler)
{
global::UIKit.UIApplication.EnsureUIThread ();
if (completionHandler is null)
@@ -174,7 +174,7 @@ namespace UIKit {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity1V252.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity1V253.Handler, completionHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("requestSupplementaryLexiconWithCompletion:"), (IntPtr) block_ptr_completionHandler);
} else {
diff --git a/old/dotnet/ios/generated-sources/UIKit/UILayoutGuide.g.cs b/new/dotnet/ios/generated-sources/UIKit/UILayoutGuide.g.cs
index 0823fdb..c4a32e2 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UILayoutGuide.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UILayoutGuide.g.cs
@@ -53,7 +53,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[SupportedOSPlatform ("tvos")]
- public unsafe partial class UILayoutGuide : NSObject, INSCoding {
+ public unsafe partial class UILayoutGuide : NSObject, INSCoding, IUIPopoverPresentationControllerSourceItem {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static readonly NativeHandle class_ptr = Class.GetHandle ("UILayoutGuide");
public override NativeHandle ClassHandle { get { return class_ptr; } }
diff --git a/new/dotnet/ios/generated-sources/UIKit/UILayoutGuideAspectFitting.g.cs b/new/dotnet/ios/generated-sources/UIKit/UILayoutGuideAspectFitting.g.cs
new file mode 100644
index 0000000..5cd5375
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UILayoutGuideAspectFitting.g.cs
@@ -0,0 +1,104 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UILayoutGuideAspectFitting", WrapperType = typeof (UILayoutGuideAspectFittingWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "AspectRatio", Selector = "aspectRatio", PropertyType = typeof (NFloat), GetterSelector = "aspectRatio", SetterSelector = "setAspectRatio:", ArgumentSemantic = ArgumentSemantic.None)]
+ public partial interface IUILayoutGuideAspectFitting : INativeObject, IDisposable
+ {
+ [Preserve (Conditional = true)]
+ nfloat AspectRatio {
+ [Export ("aspectRatio")]
+ get;
+ [Export ("setAspectRatio:")]
+ set;
+ }
+ }
+ internal sealed class UILayoutGuideAspectFittingWrapper : BaseWrapper, IUILayoutGuideAspectFitting {
+ [Preserve (Conditional = true)]
+ public UILayoutGuideAspectFittingWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public nfloat AspectRatio {
+ [Export ("aspectRatio")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSend (this.Handle, Selector.GetHandle ("aspectRatio"));
+ #endif
+ }
+ [Export ("setAspectRatio:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_nfloat (this.Handle, Selector.GetHandle ("setAspectRatio:"), value);
+ #endif
+ }
+ }
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIListContentTextProperties.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIListContentTextProperties.g.cs
index 54fb54e..c777844 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIListContentTextProperties.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIListContentTextProperties.g.cs
@@ -555,6 +555,44 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool ShowsExpansionTextWhenTruncated {
+ [Export ("showsExpansionTextWhenTruncated")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("showsExpansionTextWhenTruncated"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("showsExpansionTextWhenTruncated"));
+ }
+ #endif
+ }
+ [Export ("setShowsExpansionTextWhenTruncated:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setShowsExpansionTextWhenTruncated:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setShowsExpansionTextWhenTruncated:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIListContentView.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIListContentView.g.cs
index 78692a9..ed31acb 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIListContentView.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIListContentView.g.cs
@@ -114,6 +114,26 @@ namespace UIKit {
}
#endif
}
+ [Export ("supportsConfiguration:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SupportsConfiguration (IUIContentConfiguration configuration)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("supportsConfiguration:"), configuration__handle__);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("supportsConfiguration:"), configuration__handle__);
+ }
+ #endif
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos14.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIMenu.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIMenu.g.cs
index b0a6765..2223d4a 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIMenu.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIMenu.g.cs
@@ -261,6 +261,46 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIMenuElementSize PreferredElementSize {
+ [Export ("preferredElementSize", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIMenuElementSize ret;
+ if (IsDirectBinding) {
+ ret = (UIMenuElementSize) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("preferredElementSize"));
+ } else {
+ ret = (UIMenuElementSize) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("preferredElementSize"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPreferredElementSize:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPreferredElementSize:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPreferredElementSize:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[SupportedOSPlatform ("tvos13.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIMenuBuilder.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIMenuBuilder.g.cs
index 2118b12..f06875a 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIMenuBuilder.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIMenuBuilder.g.cs
@@ -57,7 +57,7 @@ namespace UIKit {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "GetAction", Selector = "actionForIdentifier:", ReturnType = typeof (UIAction), ParameterType = new Type [] { typeof (string) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "GetCommand", Selector = "commandForAction:propertyList:", ReturnType = typeof (UICommand), ParameterType = new Type [] { typeof (Selector), typeof (NSObject) }, ParameterByRef = new bool [] { false, false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "ReplaceMenu", Selector = "replaceMenuForIdentifier:withMenu:", ParameterType = new Type [] { typeof (string), typeof (UIMenu) }, ParameterByRef = new bool [] { false, false })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "ReplaceChildrenOfMenu", Selector = "replaceChildrenOfMenuForIdentifier:fromChildrenBlock:", ParameterType = new Type [] { typeof (string), typeof (global::System.Func<global::UIKit.UIMenuElement[], global::UIKit.UIMenuElement[]>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDFuncArity2V12) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "ReplaceChildrenOfMenu", Selector = "replaceChildrenOfMenuForIdentifier:fromChildrenBlock:", ParameterType = new Type [] { typeof (string), typeof (global::System.Func<global::UIKit.UIMenuElement[], global::UIKit.UIMenuElement[]>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDFuncArity2V13) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "InsertSiblingMenuBefore", Selector = "insertSiblingMenu:beforeMenuForIdentifier:", ParameterType = new Type [] { typeof (UIMenu), typeof (string) }, ParameterByRef = new bool [] { false, false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "InsertSiblingMenuAfter", Selector = "insertSiblingMenu:afterMenuForIdentifier:", ParameterType = new Type [] { typeof (UIMenu), typeof (string) }, ParameterByRef = new bool [] { false, false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "InsertChildMenuAtStart", Selector = "insertChildMenu:atStartOfMenuForIdentifier:", ParameterType = new Type [] { typeof (UIMenu), typeof (string) }, ParameterByRef = new bool [] { false, false })]
@@ -100,7 +100,7 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("replaceChildrenOfMenuForIdentifier:fromChildrenBlock:")]
[Preserve (Conditional = true)]
- unsafe void ReplaceChildrenOfMenu (string parentIdentifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity2V12))]global::System.Func<UIMenuElement[], UIMenuElement[]> childrenBlock);
+ unsafe void ReplaceChildrenOfMenu (string parentIdentifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity2V13))]global::System.Func<UIMenuElement[], UIMenuElement[]> childrenBlock);
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -213,7 +213,7 @@ namespace UIKit {
}
[Export ("replaceChildrenOfMenuForIdentifier:fromChildrenBlock:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void ReplaceChildrenOfMenu (string parentIdentifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity2V12))]global::System.Func<UIMenuElement[], UIMenuElement[]> childrenBlock)
+ public unsafe void ReplaceChildrenOfMenu (string parentIdentifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity2V13))]global::System.Func<UIMenuElement[], UIMenuElement[]> childrenBlock)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -228,7 +228,7 @@ namespace UIKit {
BlockLiteral block_childrenBlock;
block_childrenBlock = new BlockLiteral ();
block_ptr_childrenBlock = &block_childrenBlock;
- block_childrenBlock.SetupBlockUnsafe (Trampolines.SDFuncArity2V12.Handler, childrenBlock);
+ block_childrenBlock.SetupBlockUnsafe (Trampolines.SDFuncArity2V13.Handler, childrenBlock);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("replaceChildrenOfMenuForIdentifier:fromChildrenBlock:"), nsparentIdentifier, (IntPtr) block_ptr_childrenBlock);
CFString.ReleaseNative (nsparentIdentifier);
block_ptr_childrenBlock->CleanupBlock ();
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIMenuController.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIMenuController.g.cs
index b5b5f27..71a9b24 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIMenuController.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIMenuController.g.cs
@@ -50,7 +50,15 @@ using NativeHandle = System.IntPtr;
#endif
namespace UIKit {
[Register("UIMenuController", true)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public unsafe partial class UIMenuController : NSObject {
@@ -84,8 +92,16 @@ namespace UIKit {
[Export ("hideMenuFromView:")]
[SupportedOSPlatform ("ios13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void HideMenu (UIView targetView)
{
@@ -103,8 +119,16 @@ namespace UIKit {
}
[Export ("hideMenu")]
[SupportedOSPlatform ("ios13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void HideMenu ()
{
@@ -166,8 +190,16 @@ namespace UIKit {
}
[Export ("showMenuFromView:rect:")]
[SupportedOSPlatform ("ios13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void ShowMenu (UIView targetView, CGRect targetRect)
{
@@ -184,7 +216,15 @@ namespace UIKit {
#endif
}
[Export ("update")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -198,12 +238,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public virtual UIMenuControllerArrowDirection ArrowDirection {
[Export ("arrowDirection")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -217,7 +273,15 @@ namespace UIKit {
return ret!;
}
[Export ("setArrowDirection:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
set {
@@ -230,12 +294,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public virtual CGRect MenuFrame {
[Export ("menuFrame")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -266,12 +346,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public virtual UIMenuItem[]? MenuItems {
[Export ("menuItems", ArgumentSemantic.Copy)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -285,7 +381,15 @@ namespace UIKit {
return ret!;
}
[Export ("setMenuItems:", ArgumentSemantic.Copy)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
set {
@@ -301,12 +405,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public virtual bool MenuVisible {
[Export ("isMenuVisible")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -339,12 +459,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public static UIMenuController SharedMenuController {
[Export ("sharedMenuController")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -357,12 +493,28 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _DidHideMenuNotification;
[Field ("UIMenuControllerDidHideMenuNotification", "UIKit")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
[Advice ("Use UIMenuController.Notifications.ObserveDidHideMenu helper method instead.")]
public static NSString DidHideMenuNotification {
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -374,12 +526,28 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _DidShowMenuNotification;
[Field ("UIMenuControllerDidShowMenuNotification", "UIKit")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
[Advice ("Use UIMenuController.Notifications.ObserveDidShowMenu helper method instead.")]
public static NSString DidShowMenuNotification {
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -391,12 +559,28 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _MenuFrameDidChangeNotification;
[Field ("UIMenuControllerMenuFrameDidChangeNotification", "UIKit")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
[Advice ("Use UIMenuController.Notifications.ObserveMenuFrameDidChange helper method instead.")]
public static NSString MenuFrameDidChangeNotification {
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -408,12 +592,28 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _WillHideMenuNotification;
[Field ("UIMenuControllerWillHideMenuNotification", "UIKit")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
[Advice ("Use UIMenuController.Notifications.ObserveWillHideMenu helper method instead.")]
public static NSString WillHideMenuNotification {
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -425,12 +625,28 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _WillShowMenuNotification;
[Field ("UIMenuControllerWillShowMenuNotification", "UIKit")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
[Advice ("Use UIMenuController.Notifications.ObserveWillShowMenu helper method instead.")]
public static NSString WillShowMenuNotification {
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIMenuElementAttributes.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIMenuElementAttributes.g.cs
index 2815372..dc2e6a2 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIMenuElementAttributes.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIMenuElementAttributes.g.cs
@@ -57,5 +57,9 @@ namespace UIKit {
Disabled = 1,
Destructive = 2,
Hidden = 4,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ KeepsMenuPresented = 8,
}
}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIMenuElementSize.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIMenuElementSize.g.cs
new file mode 100644
index 0000000..aa938b0
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIMenuElementSize.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UIMenuElementSize : long {
+ Small = 0,
+ Medium = 1,
+ Large = 2,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIMenuIdentifier.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIMenuIdentifier.g.cs
index 7d30c36..0833aa6 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIMenuIdentifier.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIMenuIdentifier.g.cs
@@ -105,13 +105,17 @@ namespace UIKit {
[SupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
OpenRecent = 45,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ Document = 46,
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class UIMenuIdentifierExtensions {
- static IntPtr[] values = new IntPtr [45];
+ static IntPtr[] values = new IntPtr [46];
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -562,6 +566,16 @@ namespace UIKit {
return Dlfcn.CachePointer (Libraries.UIKit.Handle, "UIMenuOpenRecent", storage);
}
}
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Field ("UIMenuDocument", "UIKit")]
+ internal unsafe static IntPtr UIMenuDocument {
+ get {
+ fixed (IntPtr *storage = &values [45])
+ return Dlfcn.CachePointer (Libraries.UIKit.Handle, "UIMenuDocument", storage);
+ }
+ }
public static NSString? GetConstant (this UIMenuIdentifier self)
{
IntPtr ptr = IntPtr.Zero;
@@ -701,6 +715,9 @@ namespace UIKit {
case 45: // UIMenuIdentifier.OpenRecent
ptr = UIMenuOpenRecent;
break;
+ case 46: // UIMenuIdentifier.Document
+ ptr = UIMenuDocument;
+ break;
}
return (NSString?) Runtime.GetNSObject (ptr);
}
@@ -798,6 +815,8 @@ namespace UIKit {
return UIMenuIdentifier.Root;
if (constant.IsEqualTo (UIMenuOpenRecent))
return UIMenuIdentifier.OpenRecent;
+ if (constant.IsEqualTo (UIMenuDocument))
+ return UIMenuIdentifier.Document;
return UIMenuIdentifier.None;
}
}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIMenuItem.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIMenuItem.g.cs
index 437a17c..803c28c 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIMenuItem.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIMenuItem.g.cs
@@ -50,7 +50,15 @@ using NativeHandle = System.IntPtr;
#endif
namespace UIKit {
[Register("UIMenuItem", true)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public unsafe partial class UIMenuItem : NSObject {
@@ -83,7 +91,15 @@ namespace UIKit {
}
[Export ("initWithTitle:action:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
[DesignatedInitializer]
@@ -104,12 +120,28 @@ namespace UIKit {
CFString.ReleaseNative (nstitle);
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public virtual Selector? Action {
[Export ("action")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -121,7 +153,15 @@ namespace UIKit {
}
}
[Export ("setAction:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
set {
@@ -135,12 +175,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public virtual string? Title {
[Export ("title", ArgumentSemantic.Copy)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
get {
@@ -152,7 +208,15 @@ namespace UIKit {
}
}
[Export ("setTitle:", ArgumentSemantic.Copy)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use 'UIEditMenuInteraction' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
set {
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIMenuLeaf.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIMenuLeaf.g.cs
new file mode 100644
index 0000000..a10eb1b
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIMenuLeaf.g.cs
@@ -0,0 +1,336 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UIMenuLeaf", WrapperType = typeof (UIMenuLeafWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Target", Selector = "performWithSender:target:", ParameterType = new Type [] { typeof (NSObject), typeof (NSObject) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Title", Selector = "title", PropertyType = typeof (string), GetterSelector = "title", SetterSelector = "setTitle:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Image", Selector = "image", PropertyType = typeof (UIImage), GetterSelector = "image", SetterSelector = "setImage:", ArgumentSemantic = ArgumentSemantic.Copy)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DiscoverabilityTitle", Selector = "discoverabilityTitle", PropertyType = typeof (string), GetterSelector = "discoverabilityTitle", SetterSelector = "setDiscoverabilityTitle:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Attributes", Selector = "attributes", PropertyType = typeof (UIMenuElementAttributes), GetterSelector = "attributes", SetterSelector = "setAttributes:", ArgumentSemantic = ArgumentSemantic.UnsafeUnretained)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "State", Selector = "state", PropertyType = typeof (UIMenuElementState), GetterSelector = "state", SetterSelector = "setState:", ArgumentSemantic = ArgumentSemantic.UnsafeUnretained)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Sender", Selector = "sender", PropertyType = typeof (NSObject), GetterSelector = "sender", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "PresentationSourceItem", Selector = "presentationSourceItem", PropertyType = typeof (IUIPopoverPresentationControllerSourceItem), GetterSelector = "presentationSourceItem", ArgumentSemantic = ArgumentSemantic.None)]
+ public partial interface IUIMenuLeaf : INativeObject, IDisposable
+ {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("performWithSender:target:")]
+ [Preserve (Conditional = true)]
+ void Target (NSObject? sender, NSObject? target);
+ [Preserve (Conditional = true)]
+ string Title {
+ [Export ("title")]
+ get;
+ [Export ("setTitle:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ UIImage? Image {
+ [Export ("image", ArgumentSemantic.Copy)]
+ get;
+ [Export ("setImage:", ArgumentSemantic.Copy)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ string? DiscoverabilityTitle {
+ [Export ("discoverabilityTitle")]
+ get;
+ [Export ("setDiscoverabilityTitle:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ UIMenuElementAttributes Attributes {
+ [Export ("attributes", ArgumentSemantic.UnsafeUnretained)]
+ get;
+ [Export ("setAttributes:", ArgumentSemantic.UnsafeUnretained)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ UIMenuElementState State {
+ [Export ("state", ArgumentSemantic.UnsafeUnretained)]
+ get;
+ [Export ("setState:", ArgumentSemantic.UnsafeUnretained)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ NSObject? Sender {
+ [Export ("sender")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ IUIPopoverPresentationControllerSourceItem PresentationSourceItem {
+ [Export ("presentationSourceItem")]
+ get;
+ }
+ }
+ internal sealed class UIMenuLeafWrapper : BaseWrapper, IUIMenuLeaf {
+ [Preserve (Conditional = true)]
+ public UIMenuLeafWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("performWithSender:target:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Target (NSObject? sender, NSObject? target)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ var target__handle__ = target.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("performWithSender:target:"), sender__handle__, target__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public string Title {
+ [Export ("title")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("title")))!;
+ #endif
+ }
+ [Export ("setTitle:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsvalue = CFString.CreateNative (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setTitle:"), nsvalue);
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public UIImage? Image {
+ [Export ("image", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("image")))!;
+ #endif
+ }
+ [Export ("setImage:", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setImage:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public string? DiscoverabilityTitle {
+ [Export ("discoverabilityTitle")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("discoverabilityTitle")))!;
+ #endif
+ }
+ [Export ("setDiscoverabilityTitle:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var nsvalue = CFString.CreateNative (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDiscoverabilityTitle:"), nsvalue);
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public UIMenuElementAttributes Attributes {
+ [Export ("attributes", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIMenuElementAttributes ret;
+ ret = (UIMenuElementAttributes) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("attributes"));
+ return ret!;
+ #endif
+ }
+ [Export ("setAttributes:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setAttributes:"), (UIntPtr) (ulong) value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public UIMenuElementState State {
+ [Export ("state", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIMenuElementState ret;
+ ret = (UIMenuElementState) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("state"));
+ return ret!;
+ #endif
+ }
+ [Export ("setState:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setState:"), (IntPtr) (long) value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public NSObject? Sender {
+ [Export ("sender")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("sender")))!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public IUIPopoverPresentationControllerSourceItem PresentationSourceItem {
+ [Export ("presentationSourceItem")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return Runtime.GetINativeObject<IUIPopoverPresentationControllerSourceItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("presentationSourceItem")), false)!;
+ #endif
+ }
+ }
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIModalPresentationStyle.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIModalPresentationStyle.g.cs
index 16f002b..22043e3 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIModalPresentationStyle.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIModalPresentationStyle.g.cs
@@ -76,6 +76,21 @@ namespace UIKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
Popover = 7,
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst")]
BlurOverFullScreen = 8,
}
}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UINSToolbarItemPresentationSize.g.cs b/new/dotnet/ios/generated-sources/UIKit/UINSToolbarItemPresentationSize.g.cs
new file mode 100644
index 0000000..62a40bd
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UINSToolbarItemPresentationSize.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UINSToolbarItemPresentationSize : long {
+ Unspecified = -1,
+ Regular = 0,
+ Small = 1,
+ Large = 3,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UINavigationBar.g.cs b/new/dotnet/ios/generated-sources/UIKit/UINavigationBar.g.cs
index e8995b1..598c581 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UINavigationBar.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UINavigationBar.g.cs
@@ -440,6 +440,30 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIBehavioralStyle BehavioralStyle {
+ [Export ("behavioralStyle", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIBehavioralStyle ret;
+ if (IsDirectBinding) {
+ ret = (UIBehavioralStyle) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("behavioralStyle"));
+ } else {
+ ret = (UIBehavioralStyle) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("behavioralStyle"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -522,6 +546,30 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UINavigationBarNSToolbarSection CurrentNSToolbarSection {
+ [Export ("currentNSToolbarSection", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UINavigationBarNSToolbarSection ret;
+ if (IsDirectBinding) {
+ ret = (UINavigationBarNSToolbarSection) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("currentNSToolbarSection"));
+ } else {
+ ret = (UINavigationBarNSToolbarSection) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("currentNSToolbarSection"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -603,6 +651,46 @@ namespace UIKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIBehavioralStyle PreferredBehavioralStyle {
+ [Export ("preferredBehavioralStyle", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIBehavioralStyle ret;
+ if (IsDirectBinding) {
+ ret = (UIBehavioralStyle) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("preferredBehavioralStyle"));
+ } else {
+ ret = (UIBehavioralStyle) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("preferredBehavioralStyle"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPreferredBehavioralStyle:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPreferredBehavioralStyle:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setPreferredBehavioralStyle:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public virtual bool PrefersLargeTitles {
diff --git a/old/dotnet/ios/generated-sources/UIKit/UINavigationBarDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UINavigationBarDelegate.g.cs
index fff2c86..766491a 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UINavigationBarDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UINavigationBarDelegate.g.cs
@@ -57,6 +57,7 @@ namespace UIKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldPopItem", Selector = "navigationBar:shouldPopItem:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UINavigationBar), typeof (UINavigationItem) }, ParameterByRef = new bool [] { false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidPushItem", Selector = "navigationBar:didPushItem:", ParameterType = new Type [] { typeof (UINavigationBar), typeof (UINavigationItem) }, ParameterByRef = new bool [] { false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldPushItem", Selector = "navigationBar:shouldPushItem:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UINavigationBar), typeof (UINavigationItem) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetNSToolbarSection", Selector = "navigationBarNSToolbarSection:", ReturnType = typeof (UINavigationBarNSToolbarSection), ParameterType = new Type [] { typeof (UINavigationBar) }, ParameterByRef = new bool [] { false })]
public partial interface IUINavigationBarDelegate : INativeObject, IDisposable,
UIKit.IUIBarPositioningDelegate
{
@@ -106,6 +107,22 @@ namespace UIKit {
var item__handle__ = item!.GetNonNullHandle (nameof (item));
return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("navigationBar:shouldPushItem:"), navigationBar__handle__, item__handle__);
}
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UINavigationBarNSToolbarSection GetNSToolbarSection (this IUINavigationBarDelegate This, UINavigationBar navigationBar)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var navigationBar__handle__ = navigationBar!.GetNonNullHandle (nameof (navigationBar));
+ UINavigationBarNSToolbarSection ret;
+ ret = (UINavigationBarNSToolbarSection) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("navigationBarNSToolbarSection:"), navigationBar__handle__);
+ return ret!;
+ #endif
+ }
}
internal sealed class UINavigationBarDelegateWrapper : BaseWrapper, IUINavigationBarDelegate {
[Preserve (Conditional = true)]
@@ -165,6 +182,19 @@ namespace UIKit {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("navigationBarNSToolbarSection:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UINavigationBarNSToolbarSection GetNSToolbarSection (UINavigationBar navigationBar)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("navigationBar:shouldPopItem:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
diff --git a/new/dotnet/ios/generated-sources/UIKit/UINavigationBarNSToolbarSection.g.cs b/new/dotnet/ios/generated-sources/UIKit/UINavigationBarNSToolbarSection.g.cs
new file mode 100644
index 0000000..b2cb720
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UINavigationBarNSToolbarSection.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UINavigationBarNSToolbarSection : long {
+ None = 0,
+ Sidebar = 1,
+ Supplementary = 2,
+ Content = 3,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UINavigationItem.g.cs b/new/dotnet/ios/generated-sources/UIKit/UINavigationItem.g.cs
index bf9d6c1..3641b1f 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UINavigationItem.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UINavigationItem.g.cs
@@ -222,6 +222,88 @@ namespace UIKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIDeferredMenuElement? AdditionalOverflowItems {
+ [Export ("additionalOverflowItems", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIDeferredMenuElement? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIDeferredMenuElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("additionalOverflowItems")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIDeferredMenuElement> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("additionalOverflowItems")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setAdditionalOverflowItems:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setAdditionalOverflowItems:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setAdditionalOverflowItems:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIAction? BackAction {
+ [Export ("backAction", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIAction? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIAction> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("backAction")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIAction> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("backAction")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setBackAction:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setBackAction:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setBackAction:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public virtual UIBarButtonItem? BackBarButtonItem {
@@ -334,6 +416,50 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIBarButtonItemGroup[] CenterItemGroups {
+ [Export ("centerItemGroups", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIBarButtonItemGroup[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<UIBarButtonItemGroup>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("centerItemGroups")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<UIBarButtonItemGroup>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("centerItemGroups")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setCenterItemGroups:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setCenterItemGroups:"), nsa_value.Handle);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setCenterItemGroups:"), nsa_value.Handle);
+ }
+ nsa_value.Dispose ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
@@ -417,6 +543,87 @@ namespace UIKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual string? CustomizationIdentifier {
+ [Export ("customizationIdentifier")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("customizationIdentifier")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("customizationIdentifier")))!;
+ }
+ #endif
+ }
+ [Export ("setCustomizationIdentifier:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setCustomizationIdentifier:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setCustomizationIdentifier:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIDocumentProperties? DocumentProperties {
+ [Export ("documentProperties", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIDocumentProperties? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIDocumentProperties> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("documentProperties")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIDocumentProperties> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("documentProperties")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setDocumentProperties:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDocumentProperties:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDocumentProperties:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public virtual bool HidesBackButton {
@@ -524,6 +731,50 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIBarButtonItemGroup[] LeadingItemGroups {
+ [Export ("leadingItemGroups", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIBarButtonItemGroup[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<UIBarButtonItemGroup>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("leadingItemGroups")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<UIBarButtonItemGroup>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("leadingItemGroups")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setLeadingItemGroups:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLeadingItemGroups:"), nsa_value.Handle);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLeadingItemGroups:"), nsa_value.Handle);
+ }
+ nsa_value.Dispose ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -629,6 +880,111 @@ namespace UIKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual IUIPopoverPresentationControllerSourceItem? OverflowPresentationSource {
+ [Export ("overflowPresentationSource", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IUIPopoverPresentationControllerSourceItem? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IUIPopoverPresentationControllerSourceItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("overflowPresentationSource")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IUIPopoverPresentationControllerSourceItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("overflowPresentationSource")), false)!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIBarButtonItemGroup? PinnedTrailingGroup {
+ [Export ("pinnedTrailingGroup", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIBarButtonItemGroup? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("pinnedTrailingGroup")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIBarButtonItemGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("pinnedTrailingGroup")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPinnedTrailingGroup:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPinnedTrailingGroup:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPinnedTrailingGroup:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UINavigationItemSearchBarPlacement PreferredSearchBarPlacement {
+ [Export ("preferredSearchBarPlacement", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UINavigationItemSearchBarPlacement ret;
+ if (IsDirectBinding) {
+ ret = (UINavigationItemSearchBarPlacement) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("preferredSearchBarPlacement"));
+ } else {
+ ret = (UINavigationItemSearchBarPlacement) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("preferredSearchBarPlacement"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPreferredSearchBarPlacement:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPreferredSearchBarPlacement:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPreferredSearchBarPlacement:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
public virtual string? Prompt {
@@ -660,6 +1016,27 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public IUINavigationItemRenameDelegate RenameDelegate {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ return (WeakRenameDelegate as IUINavigationItemRenameDelegate)!;
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakRenameDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -776,6 +1153,30 @@ namespace UIKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UINavigationItemSearchBarPlacement SearchBarPlacement {
+ [Export ("searchBarPlacement", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UINavigationItemSearchBarPlacement ret;
+ if (IsDirectBinding) {
+ ret = (UINavigationItemSearchBarPlacement) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("searchBarPlacement"));
+ } else {
+ ret = (UINavigationItemSearchBarPlacement) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("searchBarPlacement"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public virtual UISearchController? SearchController {
@@ -857,6 +1258,46 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UINavigationItemStyle Style {
+ [Export ("style", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UINavigationItemStyle ret;
+ if (IsDirectBinding) {
+ ret = (UINavigationItemStyle) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("style"));
+ } else {
+ ret = (UINavigationItemStyle) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("style"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setStyle:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setStyle:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setStyle:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -889,6 +1330,54 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe virtual global::System.Func<NSArray<UIMenuElement>, UIMenu>? TitleMenuProvider {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity2V14))]
+ [Export ("titleMenuProvider", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("titleMenuProvider"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("titleMenuProvider"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDFuncArity2V14.Create (ret)!;
+ #endif
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity2V14))]
+ [Export ("setTitleMenuProvider:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDFuncArity2V14.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setTitleMenuProvider:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setTitleMenuProvider:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -921,5 +1410,104 @@ namespace UIKit {
}
}
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIBarButtonItemGroup[] TrailingItemGroups {
+ [Export ("trailingItemGroups", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIBarButtonItemGroup[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<UIBarButtonItemGroup>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("trailingItemGroups")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<UIBarButtonItemGroup>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("trailingItemGroups")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setTrailingItemGroups:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setTrailingItemGroups:"), nsa_value.Handle);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setTrailingItemGroups:"), nsa_value.Handle);
+ }
+ nsa_value.Dispose ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakRenameDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSObject? WeakRenameDelegate {
+ [Export ("renameDelegate", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("renameDelegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("renameDelegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakRenameDelegate_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setRenameDelegate:", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setRenameDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setRenameDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakRenameDelegate_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakRenameDelegate_var = null;
+ }
+ }
} /* class UINavigationItem */
}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UINavigationItemRenameDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UINavigationItemRenameDelegate.g.cs
new file mode 100644
index 0000000..6f3f350
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UINavigationItemRenameDelegate.g.cs
@@ -0,0 +1,239 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UINavigationItemRenameDelegate", WrapperType = typeof (UINavigationItemRenameDelegateWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidEndRenaming", Selector = "navigationItem:didEndRenamingWithTitle:", ParameterType = new Type [] { typeof (UINavigationItem), typeof (string) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldBeginRenaming", Selector = "navigationItemShouldBeginRenaming:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UINavigationItem) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillBeginRenaming", Selector = "navigationItem:willBeginRenamingWithSuggestedTitle:selectedRange:", ReturnType = typeof (string), ParameterType = new Type [] { typeof (UINavigationItem), typeof (string), typeof (NSRange) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldEndRenaming", Selector = "navigationItem:shouldEndRenamingWithTitle:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (UINavigationItem), typeof (string) }, ParameterByRef = new bool [] { false, false })]
+ public partial interface IUINavigationItemRenameDelegate : INativeObject, IDisposable
+ {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("navigationItem:didEndRenamingWithTitle:")]
+ [Preserve (Conditional = true)]
+ void DidEndRenaming (UINavigationItem navigationItem, string title);
+ }
+ public static partial class UINavigationItemRenameDelegate_Extensions {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool ShouldBeginRenaming (this IUINavigationItemRenameDelegate This, UINavigationItem navigationItem)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var navigationItem__handle__ = navigationItem!.GetNonNullHandle (nameof (navigationItem));
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("navigationItemShouldBeginRenaming:"), navigationItem__handle__);
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static string WillBeginRenaming (this IUINavigationItemRenameDelegate This, UINavigationItem navigationItem, string title, NSRange selectedRange)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var navigationItem__handle__ = navigationItem!.GetNonNullHandle (nameof (navigationItem));
+ if (title is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (title));
+ var nstitle = CFString.CreateNative (title);
+ string? ret;
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NSRange (This.Handle, Selector.GetHandle ("navigationItem:willBeginRenamingWithSuggestedTitle:selectedRange:"), navigationItem__handle__, nstitle, selectedRange))!;
+ CFString.ReleaseNative (nstitle);
+ return ret!;
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool ShouldEndRenaming (this IUINavigationItemRenameDelegate This, UINavigationItem navigationItem, string title)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var navigationItem__handle__ = navigationItem!.GetNonNullHandle (nameof (navigationItem));
+ if (title is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (title));
+ var nstitle = CFString.CreateNative (title);
+ bool ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("navigationItem:shouldEndRenamingWithTitle:"), navigationItem__handle__, nstitle);
+ CFString.ReleaseNative (nstitle);
+ return ret!;
+ #endif
+ }
+ }
+ internal sealed class UINavigationItemRenameDelegateWrapper : BaseWrapper, IUINavigationItemRenameDelegate {
+ [Preserve (Conditional = true)]
+ public UINavigationItemRenameDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("navigationItem:didEndRenamingWithTitle:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void DidEndRenaming (UINavigationItem navigationItem, string title)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var navigationItem__handle__ = navigationItem!.GetNonNullHandle (nameof (navigationItem));
+ if (title is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (title));
+ var nstitle = CFString.CreateNative (title);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("navigationItem:didEndRenamingWithTitle:"), navigationItem__handle__, nstitle);
+ CFString.ReleaseNative (nstitle);
+ #endif
+ }
+ }
+}
+namespace UIKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__UIKit_UINavigationItemRenameDelegate", false)]
+ [Model]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe abstract partial class UINavigationItemRenameDelegate : NSObject, IUINavigationItemRenameDelegate {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ protected UINavigationItemRenameDelegate () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UINavigationItemRenameDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UINavigationItemRenameDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("navigationItem:didEndRenamingWithTitle:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidEndRenaming (UINavigationItem navigationItem, string title)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("navigationItemShouldBeginRenaming:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldBeginRenaming (UINavigationItem navigationItem)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("navigationItem:shouldEndRenamingWithTitle:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldEndRenaming (UINavigationItem navigationItem, string title)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("navigationItem:willBeginRenamingWithSuggestedTitle:selectedRange:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string WillBeginRenaming (UINavigationItem navigationItem, string title, NSRange selectedRange)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ } /* class UINavigationItemRenameDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UINavigationItemSearchBarPlacement.g.cs b/new/dotnet/ios/generated-sources/UIKit/UINavigationItemSearchBarPlacement.g.cs
new file mode 100644
index 0000000..c51ec54
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UINavigationItemSearchBarPlacement.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UINavigationItemSearchBarPlacement : long {
+ Automatic = 0,
+ Inline = 1,
+ Stacked = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UINavigationItemStyle.g.cs b/new/dotnet/ios/generated-sources/UIKit/UINavigationItemStyle.g.cs
new file mode 100644
index 0000000..d4eefaf
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UINavigationItemStyle.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UINavigationItemStyle : long {
+ Navigator = 0,
+ Browser = 1,
+ Editor = 2,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPageControl.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPageControl.g.cs
index 7e669bc..102b94c 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIPageControl.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPageControl.g.cs
@@ -111,6 +111,24 @@ namespace UIKit {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_CGRect (this.SuperHandle, Selector.GetHandle ("initWithFrame:"), frame), "initWithFrame:");
}
}
+ [Export ("currentPageIndicatorImageForPage:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIImage? GetCurrentPageIndicatorImage (nint page)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("currentPageIndicatorImageForPage:"), page))!;
+ } else {
+ return Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("currentPageIndicatorImageForPage:"), page))!;
+ }
+ #endif
+ }
[Export ("indicatorImageForPage:")]
[SupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios14.0")]
@@ -129,6 +147,25 @@ namespace UIKit {
}
#endif
}
+ [Export ("setCurrentPageIndicatorImage:forPage:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void SetCurrentPageIndicatorImage (UIImage? image, nint page)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var image__handle__ = image.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_IntPtr (this.Handle, Selector.GetHandle ("setCurrentPageIndicatorImage:forPage:"), image__handle__, page);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_IntPtr (this.SuperHandle, Selector.GetHandle ("setCurrentPageIndicatorImage:forPage:"), image__handle__, page);
+ }
+ #endif
+ }
[Export ("setIndicatorImage:forPage:")]
[SupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios14.0")]
@@ -414,6 +451,46 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIPageControlDirection Direction {
+ [Export ("direction", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIPageControlDirection ret;
+ if (IsDirectBinding) {
+ ret = (UIPageControlDirection) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("direction"));
+ } else {
+ ret = (UIPageControlDirection) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("direction"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setDirection:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setDirection:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setDirection:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -531,6 +608,47 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIImage? PreferredCurrentPageIndicatorImage {
+ [Export ("preferredCurrentPageIndicatorImage", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIImage? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("preferredCurrentPageIndicatorImage")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("preferredCurrentPageIndicatorImage")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPreferredCurrentPageIndicatorImage:", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPreferredCurrentPageIndicatorImage:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPreferredCurrentPageIndicatorImage:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIPageControlDirection.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPageControlDirection.g.cs
new file mode 100644
index 0000000..bc6c6a4
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPageControlDirection.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UIPageControlDirection : long {
+ Natural = 0,
+ LeftToRight = 1,
+ RightToLeft = 2,
+ TopToBottom = 3,
+ BottomToTop = 4,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPasteConfigurationSupporting.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPasteConfigurationSupporting.g.cs
index bf3d0e2..510a454 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIPasteConfigurationSupporting.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPasteConfigurationSupporting.g.cs
@@ -51,7 +51,7 @@ using NativeHandle = System.IntPtr;
namespace UIKit {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
[Protocol (Name = "UIPasteConfigurationSupporting", WrapperType = typeof (UIPasteConfigurationSupportingWrapper))]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "Paste", Selector = "pasteItemProviders:", ParameterType = new Type [] { typeof (NSItemProvider[]) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CanPaste", Selector = "canPasteItemProviders:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (NSItemProvider[]) }, ParameterByRef = new bool [] { false })]
@@ -69,7 +69,7 @@ namespace UIKit {
public static partial class UIPasteConfigurationSupporting_Extensions {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static void Paste (this IUIPasteConfigurationSupporting This, NSItemProvider[] itemProviders)
{
@@ -86,7 +86,7 @@ namespace UIKit {
}
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static bool CanPaste (this IUIPasteConfigurationSupporting This, NSItemProvider[] itemProviders)
{
@@ -113,12 +113,12 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
public UIPasteConfiguration? PasteConfiguration {
[Export ("pasteConfiguration", ArgumentSemantic.Copy)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
get {
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -130,7 +130,7 @@ namespace UIKit {
[Export ("setPasteConfiguration:", ArgumentSemantic.Copy)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
set {
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIPasteControl.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPasteControl.g.cs
new file mode 100644
index 0000000..96e34d8
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPasteControl.g.cs
@@ -0,0 +1,259 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UIPasteControl", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UIPasteControl : UIControl {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UIPasteControl");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public UIPasteControl () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public UIPasteControl (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UIPasteControl (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UIPasteControl (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithConfiguration:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIPasteControl (UIPasteControlConfiguration configuration)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithConfiguration:"), configuration__handle__), "initWithConfiguration:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithConfiguration:"), configuration__handle__), "initWithConfiguration:");
+ }
+ #endif
+ }
+ [Export ("initWithFrame:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UIPasteControl (CGRect frame)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_CGRect (this.Handle, Selector.GetHandle ("initWithFrame:"), frame), "initWithFrame:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_CGRect (this.SuperHandle, Selector.GetHandle ("initWithFrame:"), frame), "initWithFrame:");
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIPasteControlConfiguration Configuration {
+ [Export ("configuration")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIPasteControlConfiguration? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIPasteControlConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("configuration")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIPasteControlConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("configuration")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_Target_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual IUIPasteConfigurationSupporting? Target {
+ [Export ("target", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IUIPasteConfigurationSupporting? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IUIPasteConfigurationSupporting> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("target")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IUIPasteConfigurationSupporting> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("target")), false)!;
+ }
+ MarkDirty ();
+ __mt_Target_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setTarget:", ArgumentSemantic.Weak)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setTarget:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setTarget:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_Target_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_Target_var = null;
+ }
+ }
+ public partial class UIPasteControlAppearance : global::UIKit.UIControl.UIControlAppearance {
+ protected internal UIPasteControlAppearance (IntPtr handle) : base (handle) {}
+ }
+ public static new UIPasteControlAppearance Appearance {
+ get { return new UIPasteControlAppearance (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (class_ptr, ObjCRuntime.Selector.GetHandle ("appearance"))); }
+ }
+ public static new UIPasteControlAppearance GetAppearance<T> () where T: UIPasteControl {
+ return new UIPasteControlAppearance (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (Class.GetHandle (typeof (T)), ObjCRuntime.Selector.GetHandle ("appearance")));
+ }
+ public static new UIPasteControlAppearance AppearanceWhenContainedIn (params Type [] containers)
+ {
+ return new UIPasteControlAppearance (UIAppearance.GetAppearance (class_ptr, containers));
+ }
+ public static new UIPasteControlAppearance GetAppearance (UITraitCollection traits) {
+ return new UIPasteControlAppearance (UIAppearance.GetAppearance (class_ptr, traits));
+ }
+ public static new UIPasteControlAppearance GetAppearance (UITraitCollection traits, params Type [] containers) {
+ return new UIPasteControlAppearance (UIAppearance.GetAppearance (class_ptr, traits, containers));
+ }
+ public static new UIPasteControlAppearance GetAppearance<T> (UITraitCollection traits) where T: UIPasteControl {
+ return new UIPasteControlAppearance (UIAppearance.GetAppearance (Class.GetHandle (typeof (T)), traits));
+ }
+ public static new UIPasteControlAppearance GetAppearance<T> (UITraitCollection traits, params Type [] containers) where T: UIPasteControl{
+ return new UIPasteControlAppearance (UIAppearance.GetAppearance (Class.GetHandle (typeof (T)), containers));
+ }
+ } /* class UIPasteControl */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIPasteControlConfiguration.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPasteControlConfiguration.g.cs
new file mode 100644
index 0000000..47ff93f
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPasteControlConfiguration.g.cs
@@ -0,0 +1,330 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UIPasteControlConfiguration", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UIPasteControlConfiguration : NSObject, INSCoding, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UIPasteControlConfiguration");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public UIPasteControlConfiguration () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public UIPasteControlConfiguration (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UIPasteControlConfiguration (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UIPasteControlConfiguration (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("encodeWithCoder:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIColor? BaseBackgroundColor {
+ [Export ("baseBackgroundColor", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIColor? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIColor> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("baseBackgroundColor")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIColor> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("baseBackgroundColor")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setBaseBackgroundColor:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setBaseBackgroundColor:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setBaseBackgroundColor:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIColor? BaseForegroundColor {
+ [Export ("baseForegroundColor", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIColor? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<UIColor> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("baseForegroundColor")))!;
+ } else {
+ ret = Runtime.GetNSObject<UIColor> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("baseForegroundColor")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setBaseForegroundColor:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setBaseForegroundColor:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setBaseForegroundColor:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual nfloat CornerRadius {
+ [Export ("cornerRadius")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSend (this.Handle, Selector.GetHandle ("cornerRadius"));
+ } else {
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("cornerRadius"));
+ }
+ #endif
+ }
+ [Export ("setCornerRadius:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_nfloat (this.Handle, Selector.GetHandle ("setCornerRadius:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_nfloat (this.SuperHandle, Selector.GetHandle ("setCornerRadius:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIButtonConfigurationCornerStyle CornerStyle {
+ [Export ("cornerStyle", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIButtonConfigurationCornerStyle ret;
+ if (IsDirectBinding) {
+ ret = (UIButtonConfigurationCornerStyle) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("cornerStyle"));
+ } else {
+ ret = (UIButtonConfigurationCornerStyle) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("cornerStyle"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setCornerStyle:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setCornerStyle:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setCornerStyle:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIPasteControlDisplayMode DisplayMode {
+ [Export ("displayMode", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIPasteControlDisplayMode ret;
+ if (IsDirectBinding) {
+ ret = (UIPasteControlDisplayMode) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("displayMode"));
+ } else {
+ ret = (UIPasteControlDisplayMode) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("displayMode"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setDisplayMode:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setDisplayMode:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setDisplayMode:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ } /* class UIPasteControlConfiguration */
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIPasteControlDisplayMode.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPasteControlDisplayMode.g.cs
new file mode 100644
index 0000000..80b54b5
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPasteControlDisplayMode.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UIPasteControlDisplayMode : ulong {
+ IconAndLabel = 0,
+ IconOnly = 1,
+ LabelOnly = 2,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPencilPreferredAction.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPencilPreferredAction.g.cs
index d094b8f..bf1a75d 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIPencilPreferredAction.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPencilPreferredAction.g.cs
@@ -58,5 +58,9 @@ namespace UIKit {
SwitchEraser = 1,
SwitchPrevious = 2,
ShowColorPalette = 3,
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ ShowInkAttributes = 4,
}
}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPopoverController.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPopoverController.g.cs
index 6fbfe0b..1ee747f 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIPopoverController.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPopoverController.g.cs
@@ -54,6 +54,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -82,6 +86,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -108,6 +116,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -130,6 +142,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -153,6 +169,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -176,6 +196,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -201,6 +225,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -224,6 +252,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
[SupportedOSPlatform ("maccatalyst7.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
@@ -236,6 +268,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -258,6 +294,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -280,6 +320,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -293,6 +337,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -315,6 +363,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -337,6 +389,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -349,6 +405,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -363,6 +423,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -382,6 +446,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -395,6 +463,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -417,6 +489,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -442,6 +518,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -455,6 +535,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -486,6 +570,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -499,6 +587,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -519,6 +611,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -540,6 +636,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -553,6 +653,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -591,6 +695,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -612,6 +720,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -625,6 +737,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -663,6 +779,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -684,6 +804,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -697,6 +821,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -720,6 +848,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -733,6 +865,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
@@ -757,6 +893,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0 Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")]
#endif
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPopoverControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPopoverControllerDelegate.g.cs
index a98e316..40633f2 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIPopoverControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPopoverControllerDelegate.g.cs
@@ -53,6 +53,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0.")]
#endif
@@ -72,6 +76,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0.")]
#endif
@@ -90,6 +98,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0.")]
#endif
@@ -109,6 +121,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
[SupportedOSPlatform ("maccatalyst7.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0.")]
@@ -141,6 +157,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0.")]
#endif
@@ -178,6 +198,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0.")]
#endif
@@ -195,6 +219,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0.")]
#endif
@@ -213,6 +241,10 @@ namespace UIKit {
[Advice ("Starting with ios9.0.")]
#endif
[UnsupportedOSPlatform ("ios9.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos9.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos9.0")]
[SupportedOSPlatform ("maccatalyst7.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst9.0.")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationController.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationController.g.cs
index 2d18f58..647c8b6 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationController.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationController.g.cs
@@ -172,12 +172,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the SourceItem property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the SourceItem property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual UIBarButtonItem? BarButtonItem {
[Export ("barButtonItem", ArgumentSemantic.Retain)]
[UnsupportedOSPlatform ("tvos")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the SourceItem property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the SourceItem property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
@@ -192,6 +208,14 @@ namespace UIKit {
}
[Export ("setBarButtonItem:", ArgumentSemantic.Retain)]
[UnsupportedOSPlatform ("tvos")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the SourceItem property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the SourceItem property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
set {
@@ -410,6 +434,47 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual IUIPopoverPresentationControllerSourceItem? SourceItem {
+ [Export ("sourceItem", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IUIPopoverPresentationControllerSourceItem? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IUIPopoverPresentationControllerSourceItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("sourceItem")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IUIPopoverPresentationControllerSourceItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sourceItem")), false)!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSourceItem:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSourceItem:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSourceItem:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationControllerSourceItem.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationControllerSourceItem.g.cs
new file mode 100644
index 0000000..1c3dbe9
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationControllerSourceItem.g.cs
@@ -0,0 +1,66 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UIPopoverPresentationControllerSourceItem", WrapperType = typeof (UIPopoverPresentationControllerSourceItemWrapper))]
+ public partial interface IUIPopoverPresentationControllerSourceItem : INativeObject, IDisposable
+ {
+ }
+ internal sealed class UIPopoverPresentationControllerSourceItemWrapper : BaseWrapper, IUIPopoverPresentationControllerSourceItem {
+ [Preserve (Conditional = true)]
+ public UIPopoverPresentationControllerSourceItemWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPrintFormatter.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPrintFormatter.g.cs
index b514af4..7092ed6 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIPrintFormatter.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPrintFormatter.g.cs
@@ -386,6 +386,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual bool RequiresMainThread {
+ [Export ("requiresMainThread")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("requiresMainThread"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("requiresMainThread"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIResponder.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIResponder.g.cs
index 8f4ae9b..d093b46 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIResponder.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIResponder.g.cs
@@ -53,7 +53,7 @@ namespace UIKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
- public unsafe partial class UIResponder : NSObject, IUIPasteConfigurationSupporting, IUIResponderStandardEditActions, IUIUserActivityRestoring {
+ public unsafe partial class UIResponder : NSObject, IUIActivityItemsConfigurationProviding, IUIPasteConfigurationSupporting, IUIResponderStandardEditActions, IUIUserActivityRestoring {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static readonly NativeHandle class_ptr = Class.GetHandle ("UIResponder");
public override NativeHandle ClassHandle { get { return class_ptr; } }
@@ -230,7 +230,7 @@ namespace UIKit {
[Export ("canPasteItemProviders:")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual bool CanPaste (NSItemProvider[] itemProviders)
{
@@ -357,6 +357,120 @@ namespace UIKit {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("delete:"), sender__handle__);
}
}
+ [Export ("duplicate:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Duplicate (NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("duplicate:"), sender__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("duplicate:"), sender__handle__);
+ }
+ #endif
+ }
+ [Export ("export:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Export (NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("export:"), sender__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("export:"), sender__handle__);
+ }
+ #endif
+ }
+ [Export ("find:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Find (NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("find:"), sender__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("find:"), sender__handle__);
+ }
+ #endif
+ }
+ [Export ("findAndReplace:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FindAndReplace (NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("findAndReplace:"), sender__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("findAndReplace:"), sender__handle__);
+ }
+ #endif
+ }
+ [Export ("findNext:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FindNext (NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("findNext:"), sender__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("findNext:"), sender__handle__);
+ }
+ #endif
+ }
+ [Export ("findPrevious:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FindPrevious (NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("findPrevious:"), sender__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("findPrevious:"), sender__handle__);
+ }
+ #endif
+ }
[Export ("targetForAction:withSender:")]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("maccatalyst7.0")]
@@ -463,6 +577,25 @@ namespace UIKit {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr_NativeHandle (this.SuperHandle, Selector.GetHandle ("motionEnded:withEvent:"), (IntPtr) (long) motion, evt__handle__);
}
}
+ [Export ("move:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Move (NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("move:"), sender__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("move:"), sender__handle__);
+ }
+ #endif
+ }
[Export ("paste:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
@@ -481,7 +614,7 @@ namespace UIKit {
[Export ("pasteItemProviders:")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void Paste (NSItemProvider[] itemProviders)
{
@@ -669,6 +802,25 @@ namespace UIKit {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("remoteControlReceivedWithEvent:"), theEvent__handle__);
}
}
+ [Export ("rename:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Rename (NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("rename:"), sender__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("rename:"), sender__handle__);
+ }
+ #endif
+ }
[Export ("resignFirstResponder")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
@@ -893,6 +1045,25 @@ namespace UIKit {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("updateUserActivityState:"), activity__handle__);
}
}
+ [Export ("useSelectionForFind:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UseSelectionForFind (NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("useSelectionForFind:"), sender__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("useSelectionForFind:"), sender__handle__);
+ }
+ #endif
+ }
[Export ("validateCommand:")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
@@ -1315,12 +1486,12 @@ namespace UIKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
public virtual UIPasteConfiguration? PasteConfiguration {
[Export ("pasteConfiguration", ArgumentSemantic.Copy)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
get {
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -1338,7 +1509,7 @@ namespace UIKit {
[Export ("setPasteConfiguration:", ArgumentSemantic.Copy)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios11.0")]
- [SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
set {
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIResponderStandardEditActions.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIResponderStandardEditActions.g.cs
index 99bb167..dea0f48 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIResponderStandardEditActions.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIResponderStandardEditActions.g.cs
@@ -71,6 +71,15 @@ namespace UIKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "IncreaseSize", Selector = "increaseSize:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "UpdateTextAttributes", Selector = "updateTextAttributesWithConversionHandler:", ParameterType = new Type [] { typeof (UITextAttributesConversionHandler) }, ParameterByRef = new bool [] { false }, ParameterBlockProxy = new Type? [] { typeof (ObjCRuntime.Trampolines.NIDUITextAttributesConversionHandler) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "Print", Selector = "print:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "Rename", Selector = "rename:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "Duplicate", Selector = "duplicate:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "Move", Selector = "move:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "Export", Selector = "export:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "Find", Selector = "find:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FindAndReplace", Selector = "findAndReplace:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FindNext", Selector = "findNext:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FindPrevious", Selector = "findPrevious:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "UseSelectionForFind", Selector = "useSelectionForFind:", ParameterType = new Type [] { typeof (NSObject) }, ParameterByRef = new bool [] { false })]
public partial interface IUIResponderStandardEditActions : INativeObject, IDisposable
{
}
@@ -282,6 +291,132 @@ namespace UIKit {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("print:"), sender__handle__);
#endif
}
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void Rename (this IUIResponderStandardEditActions This, NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("rename:"), sender__handle__);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void Duplicate (this IUIResponderStandardEditActions This, NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("duplicate:"), sender__handle__);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void Move (this IUIResponderStandardEditActions This, NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("move:"), sender__handle__);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void Export (this IUIResponderStandardEditActions This, NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("export:"), sender__handle__);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void Find (this IUIResponderStandardEditActions This, NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("find:"), sender__handle__);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void FindAndReplace (this IUIResponderStandardEditActions This, NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("findAndReplace:"), sender__handle__);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void FindNext (this IUIResponderStandardEditActions This, NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("findNext:"), sender__handle__);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void FindPrevious (this IUIResponderStandardEditActions This, NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("findPrevious:"), sender__handle__);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void UseSelectionForFind (this IUIResponderStandardEditActions This, NSObject? sender)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var sender__handle__ = sender.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("useSelectionForFind:"), sender__handle__);
+ #endif
+ }
}
internal sealed class UIResponderStandardEditActionsWrapper : BaseWrapper, IUIResponderStandardEditActions {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UISceneErrorCode.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISceneErrorCode.g.cs
index d2e16f0..42d222a 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UISceneErrorCode.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UISceneErrorCode.g.cs
@@ -56,6 +56,8 @@ namespace UIKit {
public enum UISceneErrorCode : long {
MultipleScenesNotSupported = 0,
RequestDenied = 1,
+ GeometryRequestUnsupported = 100,
+ GeometryRequestDenied = 101,
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UISceneSizeRestrictions.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISceneSizeRestrictions.g.cs
index 6400bd8..78a183b 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UISceneSizeRestrictions.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UISceneSizeRestrictions.g.cs
@@ -75,6 +75,44 @@ namespace UIKit {
{
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool AllowsFullScreen {
+ [Export ("allowsFullScreen")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("allowsFullScreen"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowsFullScreen"));
+ }
+ #endif
+ }
+ [Export ("setAllowsFullScreen:")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setAllowsFullScreen:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAllowsFullScreen:"), value);
+ }
+ #endif
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
diff --git a/new/dotnet/ios/generated-sources/UIKit/UISceneWindowingBehaviors.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISceneWindowingBehaviors.g.cs
new file mode 100644
index 0000000..2202e9f
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UISceneWindowingBehaviors.g.cs
@@ -0,0 +1,155 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UISceneWindowingBehaviors", true)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UISceneWindowingBehaviors : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UISceneWindowingBehaviors");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UISceneWindowingBehaviors (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UISceneWindowingBehaviors (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool Closable {
+ [Export ("isClosable")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isClosable"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isClosable"));
+ }
+ #endif
+ }
+ [Export ("setClosable:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setClosable:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setClosable:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool Miniaturizable {
+ [Export ("isMiniaturizable")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isMiniaturizable"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isMiniaturizable"));
+ }
+ #endif
+ }
+ [Export ("setMiniaturizable:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setMiniaturizable:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setMiniaturizable:"), value);
+ }
+ #endif
+ }
+ }
+ } /* class UISceneWindowingBehaviors */
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIScreen.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIScreen.g.cs
index c4c8327..50057bc 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIScreen.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIScreen.g.cs
@@ -330,6 +330,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual nfloat CurrentEdrHeadroom {
+ [Export ("currentEDRHeadroom")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSend (this.Handle, Selector.GetHandle ("currentEDRHeadroom"));
+ } else {
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("currentEDRHeadroom"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -655,6 +677,28 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual nfloat PotentialEdrHeadroom {
+ [Export ("potentialEDRHeadroom")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSend (this.Handle, Selector.GetHandle ("potentialEDRHeadroom"));
+ } else {
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("potentialEDRHeadroom"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
@@ -675,6 +719,30 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UIScreenReferenceDisplayModeStatus ReferenceDisplayModeStatus {
+ [Export ("referenceDisplayModeStatus")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UIScreenReferenceDisplayModeStatus ret;
+ if (IsDirectBinding) {
+ ret = (UIScreenReferenceDisplayModeStatus) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("referenceDisplayModeStatus"));
+ } else {
+ ret = (UIScreenReferenceDisplayModeStatus) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("referenceDisplayModeStatus"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
@@ -886,6 +954,23 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _ReferenceDisplayModeStatusDidChangeNotification;
+ [Field ("UIScreenReferenceDisplayModeStatusDidChangeNotification", "UIKit")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Advice ("Use UIScreen.Notifications.ObserveReferenceDisplayModeStatusDidChange helper method instead.")]
+ public static NSString ReferenceDisplayModeStatusDidChangeNotification {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ if (_ReferenceDisplayModeStatusDidChangeNotification is null)
+ _ReferenceDisplayModeStatusDidChangeNotification = Dlfcn.GetStringConstant (Libraries.UIKit.Handle, "UIScreenReferenceDisplayModeStatusDidChangeNotification")!;
+ return _ReferenceDisplayModeStatusDidChangeNotification;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
protected override void Dispose (bool disposing)
{
base.Dispose (disposing);
@@ -938,6 +1023,14 @@ namespace UIKit {
{
return NSNotificationCenter.DefaultCenter.AddObserver (ModeDidChangeNotification, notification => handler (null, new NSNotificationEventArgs (notification)), objectToObserve);
}
+ public static NSObject ObserveReferenceDisplayModeStatusDidChange (EventHandler<NSNotificationEventArgs> handler)
+ {
+ return NSNotificationCenter.DefaultCenter.AddObserver (ReferenceDisplayModeStatusDidChangeNotification, notification => handler (null, new NSNotificationEventArgs (notification)));
+ }
+ public static NSObject ObserveReferenceDisplayModeStatusDidChange (NSObject objectToObserve, EventHandler<NSNotificationEventArgs> handler)
+ {
+ return NSNotificationCenter.DefaultCenter.AddObserver (ReferenceDisplayModeStatusDidChangeNotification, notification => handler (null, new NSNotificationEventArgs (notification)), objectToObserve);
+ }
}
} /* class UIScreen */
}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UIScreenReferenceDisplayModeStatus.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIScreenReferenceDisplayModeStatus.g.cs
new file mode 100644
index 0000000..61ff406
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UIScreenReferenceDisplayModeStatus.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UIScreenReferenceDisplayModeStatus : long {
+ NotSupported = 0,
+ NotEnabled = 1,
+ Limited = 2,
+ Enabled = 3,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIScrollViewKeyboardDismissMode.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIScrollViewKeyboardDismissMode.g.cs
index 313c14e..f554bbc 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UIScrollViewKeyboardDismissMode.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UIScrollViewKeyboardDismissMode.g.cs
@@ -57,5 +57,13 @@ namespace UIKit {
None = 0,
OnDrag = 1,
Interactive = 2,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ OnDragWithAccessory = 3,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ InteractiveWithAccessory = 4,
}
}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UISearchController.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISearchController.g.cs
index 837c042..fb51f74 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UISearchController.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UISearchController.g.cs
@@ -345,11 +345,35 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the 'ScopeBarActivation' property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the 'ScopeBarActivation' property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0 Use the 'ScopeBarActivation' property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual bool AutomaticallyShowsScopeBar {
[Export ("automaticallyShowsScopeBar")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the 'ScopeBarActivation' property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the 'ScopeBarActivation' property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0 Use the 'ScopeBarActivation' property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
@@ -366,6 +390,18 @@ namespace UIKit {
#endif
}
[Export ("setAutomaticallyShowsScopeBar:")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0 Use the 'ScopeBarActivation' property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0 Use the 'ScopeBarActivation' property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos16.0 Use the 'ScopeBarActivation' property instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos16.0")]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
@@ -526,6 +562,44 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool IgnoresSearchSuggestionsForSearchBarPlacementStacked {
+ [Export ("ignoresSearchSuggestionsForSearchBarPlacementStacked")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("ignoresSearchSuggestionsForSearchBarPlacementStacked"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("ignoresSearchSuggestionsForSearchBarPlacementStacked"));
+ }
+ #endif
+ }
+ [Export ("setIgnoresSearchSuggestionsForSearchBarPlacementStacked:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setIgnoresSearchSuggestionsForSearchBarPlacementStacked:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setIgnoresSearchSuggestionsForSearchBarPlacementStacked:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.1")]
[SupportedOSPlatform ("maccatalyst9.1")]
[SupportedOSPlatform ("tvos")]
@@ -556,6 +630,46 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UISearchControllerScopeBarActivation ScopeBarActivation {
+ [Export ("scopeBarActivation", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UISearchControllerScopeBarActivation ret;
+ if (IsDirectBinding) {
+ ret = (UISearchControllerScopeBarActivation) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("scopeBarActivation"));
+ } else {
+ ret = (UISearchControllerScopeBarActivation) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("scopeBarActivation"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setScopeBarActivation:", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setScopeBarActivation:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setScopeBarActivation:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst8.0")]
@@ -576,6 +690,30 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual UINavigationItemSearchBarPlacement SearchBarPlacement {
+ [Export ("searchBarPlacement")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ UINavigationItemSearchBarPlacement ret;
+ if (IsDirectBinding) {
+ ret = (UINavigationItemSearchBarPlacement) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("searchBarPlacement"));
+ } else {
+ ret = (UINavigationItemSearchBarPlacement) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("searchBarPlacement"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst8.0")]
@@ -617,6 +755,49 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual IUISearchSuggestion[]? SearchSuggestions {
+ [Export ("searchSuggestions", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst8.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IUISearchSuggestion[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<IUISearchSuggestion>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("searchSuggestions")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<IUISearchSuggestion>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("searchSuggestions")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSearchSuggestions:", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst8.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var nsa_value = value is null ? null : NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSearchSuggestions:"), nsa_value.GetHandle ());
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSearchSuggestions:"), nsa_value.GetHandle ());
+ }
+ if (nsa_value != null)
+ nsa_value.Dispose ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
diff --git a/old/dotnet/ios/generated-sources/UIKit/UISearchControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISearchControllerDelegate.g.cs
index 58a14eb..fa42938 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UISearchControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UISearchControllerDelegate.g.cs
@@ -58,6 +58,8 @@ namespace UIKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillDismissSearchController", Selector = "willDismissSearchController:", ParameterType = new Type [] { typeof (UISearchController) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidDismissSearchController", Selector = "didDismissSearchController:", ParameterType = new Type [] { typeof (UISearchController) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "PresentSearchController", Selector = "presentSearchController:", ParameterType = new Type [] { typeof (UISearchController) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillChangeToSearchBarPlacement", Selector = "searchController:willChangeToSearchBarPlacement:", ParameterType = new Type [] { typeof (UISearchController), typeof (UINavigationItemSearchBarPlacement) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidChangeFromSearchBarPlacement", Selector = "searchController:didChangeFromSearchBarPlacement:", ParameterType = new Type [] { typeof (UISearchController), typeof (UINavigationItemSearchBarPlacement) }, ParameterByRef = new bool [] { false, false })]
public partial interface IUISearchControllerDelegate : INativeObject, IDisposable
{
}
@@ -112,6 +114,34 @@ namespace UIKit {
var searchController__handle__ = searchController!.GetNonNullHandle (nameof (searchController));
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("presentSearchController:"), searchController__handle__);
}
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void WillChangeToSearchBarPlacement (this IUISearchControllerDelegate This, UISearchController searchController, UINavigationItemSearchBarPlacement newPlacement)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var searchController__handle__ = searchController!.GetNonNullHandle (nameof (searchController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_IntPtr (This.Handle, Selector.GetHandle ("searchController:willChangeToSearchBarPlacement:"), searchController__handle__, (IntPtr) (long) newPlacement);
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void DidChangeFromSearchBarPlacement (this IUISearchControllerDelegate This, UISearchController searchController, UINavigationItemSearchBarPlacement previousPlacement)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var searchController__handle__ = searchController!.GetNonNullHandle (nameof (searchController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_IntPtr (This.Handle, Selector.GetHandle ("searchController:didChangeFromSearchBarPlacement:"), searchController__handle__, (IntPtr) (long) previousPlacement);
+ #endif
+ }
}
internal sealed class UISearchControllerDelegateWrapper : BaseWrapper, IUISearchControllerDelegate {
[Preserve (Conditional = true)]
@@ -153,6 +183,19 @@ namespace UIKit {
IsDirectBinding = false;
}
+ [Export ("searchController:didChangeFromSearchBarPlacement:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidChangeFromSearchBarPlacement (UISearchController searchController, UINavigationItemSearchBarPlacement previousPlacement)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("didDismissSearchController:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
@@ -180,6 +223,19 @@ namespace UIKit {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("searchController:willChangeToSearchBarPlacement:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillChangeToSearchBarPlacement (UISearchController searchController, UINavigationItemSearchBarPlacement newPlacement)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("willDismissSearchController:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
diff --git a/new/dotnet/ios/generated-sources/UIKit/UISearchControllerScopeBarActivation.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISearchControllerScopeBarActivation.g.cs
new file mode 100644
index 0000000..c1fbbab
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UISearchControllerScopeBarActivation.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Native]
+ public enum UISearchControllerScopeBarActivation : long {
+ Automatic = 0,
+ Manual = 1,
+ OnTextEntry = 2,
+ OnSearchActivation = 3,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UISearchResultsUpdating.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISearchResultsUpdating.g.cs
index 796f63f..bdecc2b 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UISearchResultsUpdating.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UISearchResultsUpdating.g.cs
@@ -54,6 +54,7 @@ namespace UIKit {
[SupportedOSPlatform ("maccatalyst")]
[Protocol (Name = "UISearchResultsUpdating", WrapperType = typeof (UISearchResultsUpdatingWrapper))]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "UpdateSearchResultsForSearchController", Selector = "updateSearchResultsForSearchController:", ParameterType = new Type [] { typeof (UISearchController) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "UpdateSearchResults", Selector = "updateSearchResultsForSearchController:selectingSearchSuggestion:", ParameterType = new Type [] { typeof (UISearchController), typeof (IUISearchSuggestion) }, ParameterByRef = new bool [] { false, false })]
public partial interface IUISearchResultsUpdating : INativeObject, IDisposable
{
[SupportedOSPlatform ("ios")]
@@ -64,6 +65,23 @@ namespace UIKit {
[Preserve (Conditional = true)]
void UpdateSearchResultsForSearchController (UISearchController searchController);
}
+ public static partial class UISearchResultsUpdating_Extensions {
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void UpdateSearchResults (this IUISearchResultsUpdating This, UISearchController searchController, IUISearchSuggestion searchSuggestion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var searchController__handle__ = searchController!.GetNonNullHandle (nameof (searchController));
+ var searchSuggestion__handle__ = searchSuggestion!.GetNonNullHandle (nameof (searchSuggestion));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("updateSearchResultsForSearchController:selectingSearchSuggestion:"), searchController__handle__, searchSuggestion__handle__);
+ #endif
+ }
+ }
internal sealed class UISearchResultsUpdatingWrapper : BaseWrapper, IUISearchResultsUpdating {
[Preserve (Conditional = true)]
public UISearchResultsUpdatingWrapper (NativeHandle handle, bool owns)
@@ -112,6 +130,19 @@ namespace UIKit {
IsDirectBinding = false;
}
+ [Export ("updateSearchResultsForSearchController:selectingSearchSuggestion:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdateSearchResults (UISearchController searchController, IUISearchSuggestion searchSuggestion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("updateSearchResultsForSearchController:")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
diff --git a/new/dotnet/ios/generated-sources/UIKit/UISearchSuggestion.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISearchSuggestion.g.cs
new file mode 100644
index 0000000..73a0899
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UISearchSuggestion.g.cs
@@ -0,0 +1,162 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Protocol (Name = "UISearchSuggestion", WrapperType = typeof (UISearchSuggestionWrapper))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetLocalizedDescription", Selector = "localizedDescription", ReturnType = typeof (NSString))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetIconImage", Selector = "iconImage", ReturnType = typeof (UIImage))]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "LocalizedSuggestion", Selector = "localizedSuggestion", PropertyType = typeof (NSString), GetterSelector = "localizedSuggestion", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = false, Name = "LocalizedAttributedSuggestion", Selector = "localizedAttributedSuggestion", PropertyType = typeof (NSAttributedString), GetterSelector = "localizedAttributedSuggestion", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = false, Name = "RepresentedObject", Selector = "representedObject", PropertyType = typeof (NSObject), GetterSelector = "representedObject", SetterSelector = "setRepresentedObject:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IUISearchSuggestion : INativeObject, IDisposable
+ {
+ [Preserve (Conditional = true)]
+ NSString? LocalizedSuggestion {
+ [Export ("localizedSuggestion")]
+ get;
+ }
+ }
+ public static partial class UISearchSuggestion_Extensions {
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSString? GetLocalizedDescription (this IUISearchSuggestion This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("localizedDescription")))!;
+ #endif
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UIImage? GetIconImage (this IUISearchSuggestion This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("iconImage")))!;
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSAttributedString GetLocalizedAttributedSuggestion (this IUISearchSuggestion This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("localizedAttributedSuggestion")))!;
+ #endif
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSObject GetRepresentedObject (this IUISearchSuggestion This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("representedObject")))!;
+ #endif
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void SetRepresentedObject (this IUISearchSuggestion This, NSObject value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setRepresentedObject:"), value__handle__);
+ #endif
+ }
+ }
+ internal sealed class UISearchSuggestionWrapper : BaseWrapper, IUISearchSuggestion {
+ [Preserve (Conditional = true)]
+ public UISearchSuggestionWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public NSString? LocalizedSuggestion {
+ [Export ("localizedSuggestion")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ return Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("localizedSuggestion")))!;
+ #endif
+ }
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/UIKit/UISearchSuggestionItem.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISearchSuggestionItem.g.cs
new file mode 100644
index 0000000..38fbdec
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/UIKit/UISearchSuggestionItem.g.cs
@@ -0,0 +1,442 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace UIKit {
+ [Register("UISearchSuggestionItem", true)]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class UISearchSuggestionItem : NSObject, IUISearchSuggestion {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("UISearchSuggestionItem");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected UISearchSuggestionItem (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal UISearchSuggestionItem (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithLocalizedSuggestion:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UISearchSuggestionItem (NSString localizedSuggestion)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithLocalizedSuggestion:"), localizedSuggestion__handle__), "initWithLocalizedSuggestion:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithLocalizedSuggestion:"), localizedSuggestion__handle__), "initWithLocalizedSuggestion:");
+ }
+ #endif
+ }
+ [Export ("initWithLocalizedSuggestion:localizedDescription:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UISearchSuggestionItem (NSString localizedSuggestion, string? description)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ var nsdescription = CFString.CreateNative (description);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithLocalizedSuggestion:localizedDescription:"), localizedSuggestion__handle__, nsdescription), "initWithLocalizedSuggestion:localizedDescription:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithLocalizedSuggestion:localizedDescription:"), localizedSuggestion__handle__, nsdescription), "initWithLocalizedSuggestion:localizedDescription:");
+ }
+ CFString.ReleaseNative (nsdescription);
+ #endif
+ }
+ [Export ("initWithLocalizedSuggestion:localizedDescription:iconImage:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UISearchSuggestionItem (NSString localizedSuggestion, string? description, UIImage? iconImage)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ var iconImage__handle__ = iconImage.GetHandle ();
+ var nsdescription = CFString.CreateNative (description);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithLocalizedSuggestion:localizedDescription:iconImage:"), localizedSuggestion__handle__, nsdescription, iconImage__handle__), "initWithLocalizedSuggestion:localizedDescription:iconImage:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithLocalizedSuggestion:localizedDescription:iconImage:"), localizedSuggestion__handle__, nsdescription, iconImage__handle__), "initWithLocalizedSuggestion:localizedDescription:iconImage:");
+ }
+ CFString.ReleaseNative (nsdescription);
+ #endif
+ }
+ [Export ("initWithLocalizedAttributedSuggestion:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UISearchSuggestionItem (NSAttributedString localizedSuggestion)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithLocalizedAttributedSuggestion:"), localizedSuggestion__handle__), "initWithLocalizedAttributedSuggestion:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithLocalizedAttributedSuggestion:"), localizedSuggestion__handle__), "initWithLocalizedAttributedSuggestion:");
+ }
+ #endif
+ }
+ [Export ("initWithLocalizedAttributedSuggestion:localizedDescription:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UISearchSuggestionItem (NSAttributedString localizedSuggestion, string? description)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ var nsdescription = CFString.CreateNative (description);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithLocalizedAttributedSuggestion:localizedDescription:"), localizedSuggestion__handle__, nsdescription), "initWithLocalizedAttributedSuggestion:localizedDescription:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithLocalizedAttributedSuggestion:localizedDescription:"), localizedSuggestion__handle__, nsdescription), "initWithLocalizedAttributedSuggestion:localizedDescription:");
+ }
+ CFString.ReleaseNative (nsdescription);
+ #endif
+ }
+ [Export ("initWithLocalizedAttributedSuggestion:localizedDescription:iconImage:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public UISearchSuggestionItem (NSAttributedString localizedSuggestion, string? description, UIImage? iconImage)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ var iconImage__handle__ = iconImage.GetHandle ();
+ var nsdescription = CFString.CreateNative (description);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithLocalizedAttributedSuggestion:localizedDescription:iconImage:"), localizedSuggestion__handle__, nsdescription, iconImage__handle__), "initWithLocalizedAttributedSuggestion:localizedDescription:iconImage:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithLocalizedAttributedSuggestion:localizedDescription:iconImage:"), localizedSuggestion__handle__, nsdescription, iconImage__handle__), "initWithLocalizedAttributedSuggestion:localizedDescription:iconImage:");
+ }
+ CFString.ReleaseNative (nsdescription);
+ #endif
+ }
+ [Export ("suggestionWithLocalizedSuggestion:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UISearchSuggestionItem Create (NSString localizedSuggestion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ return Runtime.GetNSObject<UISearchSuggestionItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("suggestionWithLocalizedSuggestion:"), localizedSuggestion__handle__))!;
+ #endif
+ }
+ [Export ("suggestionWithLocalizedSuggestion:descriptionString:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UISearchSuggestionItem Create (NSString localizedSuggestion, string? description)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ var nsdescription = CFString.CreateNative (description);
+ UISearchSuggestionItem? ret;
+ ret = Runtime.GetNSObject<UISearchSuggestionItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("suggestionWithLocalizedSuggestion:descriptionString:"), localizedSuggestion__handle__, nsdescription))!;
+ CFString.ReleaseNative (nsdescription);
+ return ret!;
+ #endif
+ }
+ [Export ("suggestionWithLocalizedSuggestion:descriptionString:iconImage:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UISearchSuggestionItem Create (NSString localizedSuggestion, string? description, UIImage? iconImage)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ var iconImage__handle__ = iconImage.GetHandle ();
+ var nsdescription = CFString.CreateNative (description);
+ UISearchSuggestionItem? ret;
+ ret = Runtime.GetNSObject<UISearchSuggestionItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("suggestionWithLocalizedSuggestion:descriptionString:iconImage:"), localizedSuggestion__handle__, nsdescription, iconImage__handle__))!;
+ CFString.ReleaseNative (nsdescription);
+ return ret!;
+ #endif
+ }
+ [Export ("suggestionWithLocalizedAttributedSuggestion:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UISearchSuggestionItem Create (NSAttributedString suggestion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var suggestion__handle__ = suggestion!.GetNonNullHandle (nameof (suggestion));
+ return Runtime.GetNSObject<UISearchSuggestionItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("suggestionWithLocalizedAttributedSuggestion:"), suggestion__handle__))!;
+ #endif
+ }
+ [Export ("suggestionWithLocalizedAttributedSuggestion:descriptionString:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UISearchSuggestionItem Create (NSAttributedString localizedSuggestion, string? description)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ var nsdescription = CFString.CreateNative (description);
+ UISearchSuggestionItem? ret;
+ ret = Runtime.GetNSObject<UISearchSuggestionItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("suggestionWithLocalizedAttributedSuggestion:descriptionString:"), localizedSuggestion__handle__, nsdescription))!;
+ CFString.ReleaseNative (nsdescription);
+ return ret!;
+ #endif
+ }
+ [Export ("suggestionWithLocalizedAttributedSuggestion:descriptionString:iconImage:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static UISearchSuggestionItem Create (NSAttributedString localizedSuggestion, string? description, UIImage? iconImage)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var localizedSuggestion__handle__ = localizedSuggestion!.GetNonNullHandle (nameof (localizedSuggestion));
+ var iconImage__handle__ = iconImage.GetHandle ();
+ var nsdescription = CFString.CreateNative (description);
+ UISearchSuggestionItem? ret;
+ ret = Runtime.GetNSObject<UISearchSuggestionItem> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("suggestionWithLocalizedAttributedSuggestion:descriptionString:iconImage:"), localizedSuggestion__handle__, nsdescription, iconImage__handle__))!;
+ CFString.ReleaseNative (nsdescription);
+ return ret!;
+ #endif
+ }
+ [Export ("iconImage")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual UIImage? GetIconImage ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("iconImage")))!;
+ } else {
+ return Runtime.GetNSObject<UIImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("iconImage")))!;
+ }
+ #endif
+ }
+ [Export ("localizedDescription")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSString? GetLocalizedDescription ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("localizedDescription")))!;
+ } else {
+ return Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("localizedDescription")))!;
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSAttributedString? LocalizedAttributedSuggestion {
+ [Export ("localizedAttributedSuggestion")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSAttributedString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("localizedAttributedSuggestion")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("localizedAttributedSuggestion")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSString? LocalizedSuggestion {
+ [Export ("localizedSuggestion")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("localizedSuggestion")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("localizedSuggestion")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual NSObject? RepresentedObject {
+ [Export ("representedObject", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("representedObject")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("representedObject")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setRepresentedObject:", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setRepresentedObject:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setRepresentedObject:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ } /* class UISearchSuggestionItem */
+}
diff --git a/old/dotnet/ios/generated-sources/UIKit/UISearchTextField.g.cs b/new/dotnet/ios/generated-sources/UIKit/UISearchTextField.g.cs
index 3f7525e..9622e5d 100644
--- a/old/dotnet/ios/generated-sources/UIKit/UISearchTextField.g.cs
+++ b/new/dotnet/ios/generated-sources/UIKit/UISearchTextField.g.cs
@@ -300,6 +300,49 @@ namespace UIKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual IUISearchSuggestion[]? SearchSuggestions {
+ [Export ("searchSuggestions", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ IUISearchSuggestion[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<IUISearchSuggestion>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("searchSuggestions")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<IUISearchSuggestion>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("searchSuggestions")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setSearchSuggestions:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var nsa_value = value is null ? null : NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSearchSuggestions:"), nsa_value.GetHandle ());
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Sel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment