From b5f88bd08315d413426e40d501e911564c118e7d Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2025 04:08:44 -0400 Subject: [PATCH 01/13] [xcode26.0] Update UIKit bindings to Xcode 26.0 Beta 3 --- src/Foundation/Enum.cs | 3 + src/UIKit/UIColor.cs | 29 + src/UIKit/UIEnums.cs | 113 ++ src/UIKit/UITextField.cs | 27 + src/uikit.cs | 969 ++++++++++++++++++ src/xkit.cs | 16 + .../Documentation.KnownFailures.txt | 137 +++ tests/introspection/iOSApiProtocolTest.cs | 7 + .../MacCatalyst-UIKit.todo | 302 ------ .../api-annotations-dotnet/iOS-UIKit.todo | 321 ------ .../api-annotations-dotnet/macOS-AppKit.todo | 8 - .../api-annotations-dotnet/tvOS-UIKit.todo | 207 ---- 12 files changed, 1301 insertions(+), 838 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo diff --git a/src/Foundation/Enum.cs b/src/Foundation/Enum.cs index 4aa9d31f561d..ef0469aee9f9 100644 --- a/src/Foundation/Enum.cs +++ b/src/Foundation/Enum.cs @@ -1180,6 +1180,9 @@ public enum NSStringDrawingOptions : ulong { OneShot = (1 << 4), /// To be added. TruncatesLastVisibleLine = (1 << 5), + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0), Mac (26, 0)] + OptionsResolvesNaturalAlignmentWithBaseWritingDirection = (1L << 9), } /// An enumeration of formats that can be used with numbers. diff --git a/src/UIKit/UIColor.cs b/src/UIKit/UIColor.cs index 612b509741ae..419ee8d3b1f2 100644 --- a/src/UIKit/UIColor.cs +++ b/src/UIKit/UIColor.cs @@ -9,6 +9,7 @@ using System; using ObjCRuntime; +using Foundation; #if !COREBUILD using CoreGraphics; #endif @@ -253,5 +254,33 @@ public static UIColor FromColor (System.Drawing.Color color) return new UIColor (color.R/255.0f, color.G/255.0f, color.B/255.0f, color.A/255.0f); } #endif + + /// + /// Creates a high dynamic range (HDR) color by applying exposure adjustments to standard dynamic range (SDR) color values. + /// + /// Red color component, typically in the range [0..1]. + /// Green color component, typically in the range [0..1]. + /// Blue color component, typically in the range [0..1]. + /// Alpha transparency component, typically in the range [0..1]. + /// Exposure adjustment value. Must be >= 0 for exponential exposure or >= 1 for linear exposure. + /// When true, applies linear exposure scaling. When false, applies exponential exposure scaling. + /// + /// The HDR color is computed by processing the input color in linear color space with exposure adjustments. + /// For exponential exposure (isLinearExposure = false): Color components are scaled by 2^exposure, where each unit increase doubles the brightness. + /// For linear exposure (isLinearExposure = true): Color components are scaled directly by the exposure value, where doubling the exposure doubles the brightness. + /// The resulting color's content headroom corresponds to the linearized exposure factor. + /// + [SupportedOSPlatform ("ios26.0")] + [SupportedOSPlatform ("maccatalyst26.0")] + [SupportedOSPlatform ("tvos26.0")] + public UIColor (nfloat red, nfloat green, nfloat blue, nfloat alpha, nfloat exposure, bool isLinearExposure) + : base (NSObjectFlag.Empty) + { + if (isLinearExposure) { + InitializeHandle (_InitWithRedGreenBlueAlphaLinearExposure (red, green, blue, alpha, exposure), "initWithRed:green:blue:alpha:linearExposure:"); + } else { + InitializeHandle (_InitWithRedGreenBlueAlphaExposure (red, green, blue, alpha, exposure), "initWithRed:green:blue:alpha:exposure:"); + } + } } } diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index f136eac570d1..802256264d19 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -1811,6 +1811,10 @@ public enum UIViewAnimationOptions : ulong { /// Constant that indicates that 30 frames per second are preferred for animations. [MacCatalyst (13, 1)] PreferredFramesPerSecond30 = 7 << 24, + + /// Forces layout updates to flush immediately after animation changes. + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + FlushUpdates = 1 << 28, } // untyped (and unamed) enum -> UIPrintError.h @@ -3905,6 +3909,10 @@ public enum UIWindowSceneSessionRole { [TV (16, 0), iOS (16, 0), MacCatalyst (16, 0)] [Field ("UIWindowSceneSessionRoleExternalDisplayNonInteractive")] ExternalDisplayNonInteractive, + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Field ("UIWindowSceneSessionRoleAssistiveAccessApplication")] + AssistiveAccessApplication, } [iOS (13, 0), TV (13, 0)] @@ -4018,6 +4026,14 @@ public enum UIMenuIdentifier { [TV (18, 1), iOS (18, 1), MacCatalyst (18, 1)] [Field ("UIMenuOpen")] Open, + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Field ("UIMenuFindPanel")] + FindPanel, + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Field ("UIMenuNewItem")] + NewItem, } [iOS (13, 0), TV (13, 0)] @@ -4648,6 +4664,8 @@ public enum UISplitViewControllerColumn : long { Supplementary, Secondary, Compact, + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + Inspector, } [TV (14, 0), iOS (14, 0)] @@ -4727,6 +4745,10 @@ public enum UIActionIdentifier { [Field ("UIActionPasteAndSearch")] PasteAndSearch, + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Field ("UIActionNewFromPasteboard")] + NewFromPasteboard, } [NoTV, iOS (15, 0), MacCatalyst (15, 0)] @@ -4821,4 +4843,95 @@ public enum UIWindowScenePresentationStyle : ulong { Standard, Prominent, } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UIHdrHeadroomUsageLimit : long { + Unspecified = -1, + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UIImageSymbolColorRenderingMode : long { + Automatic = 0, + Flat, + Gradient, + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UIImageSymbolVariableValueMode : long { + Automatic = 0, + Color, + Draw, + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UIMenuElementRepeatBehavior : long { + Automatic = 0, + Repeatable, + NonRepeatable, + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UIMenuSystemElementGroupPreference : long { + Automatic = 0, + Removed, + Included, + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UIMenuSystemFindElementGroupConfigurationStyle : long { + Automatic = 0, + Search, + NonEditableText, + EditableText, + } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UISliderStyle : long { + Default, + Thumbless, + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UISplitViewControllerLayoutEnvironment : long { + None, + Expanded, + Collapsed, + } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UITabAccessoryEnvironment : long { + Unspecified, + None, + Regular, + Inline, + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UITabBarMinimizeBehavior : long { + Automatic = 0, + [NoTV] + Never, + [NoTV] + OnScrollDown, + [NoTV] + OnScrollUp, + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Native] + public enum UIViewLayoutRegionAdaptivityAxis : long { + None, + Horizontal, + Vertical, + } } diff --git a/src/UIKit/UITextField.cs b/src/UIKit/UITextField.cs index d743f0b6e309..fe589e0bc4d5 100644 --- a/src/UIKit/UITextField.cs +++ b/src/UIKit/UITextField.cs @@ -45,6 +45,14 @@ public UITextFieldEditingEndedEventArgs (UITextFieldDidEndEditingReason reason) /// monocatalog public delegate bool UITextFieldCondition (UITextField textField); + /// To be added. + /// To be added. + /// To be added. + /// A delegate used to respond to changes on the UITextField. + /// To be added. + /// To be added. + public delegate bool UITextFieldChanges (UITextField textField, NSValue [] ranges, string replacementString); + public partial class UITextField : IUITextInputTraits { internal virtual Type GetInternalEventDelegateType { @@ -182,6 +190,17 @@ public void DidChangeSelection (UITextField textField) if (handler is not null) handler (textField, EventArgs.Empty); } + + internal UITextFieldChanges? shouldChangeCharactersInRanges; + [Preserve (Conditional = true)] + [Export ("textField:shouldChangeCharactersInRanges:replacementString:")] + bool ShouldChangeCharacters (UITextField textField, NSValue [] ranges, string replacementString) + { + var handler = shouldChangeCharactersInRanges; + if (handler is not null) + return handler (textField, ranges, replacementString); + return true; + } } /// Raised when editing has ended. @@ -241,6 +260,14 @@ public event EventHandler DidChangeSelection { remove { EnsureUITextFieldDelegate ().didChangeSelection -= value; } } + [SupportedOSPlatform ("tvos26.0")] + [SupportedOSPlatform ("ios26.0")] + [SupportedOSPlatform ("maccatalyst26.0")] + public UITextFieldChanges? ShouldChangeCharactersInRanges { + get { return EnsureUITextFieldDelegate ().shouldChangeCharactersInRanges; } + set { EnsureUITextFieldDelegate ().shouldChangeCharactersInRanges = value; } + } + // The following events are already here from the UITextInput protocol, so no need to implement the ones from UITextFieldDelegate: // * WillPresentEditMenu // * WillDismissEditMenu diff --git a/src/uikit.cs b/src/uikit.cs index a1d5eaed6e80..1b18871449db 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -3023,6 +3023,10 @@ interface UIViewPropertyAnimator : UIViewImplicitlyAnimating, NSCopying { [Export ("pausesOnCompletion")] bool PausesOnCompletion { get; set; } + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("flushUpdates")] + bool FlushUpdates { get; set; } + [Export ("initWithDuration:timingParameters:")] [DesignatedInitializer] NativeHandle Constructor (double duration, IUITimingCurveProvider parameters); @@ -4418,6 +4422,12 @@ public enum UINavigationItemSearchBarPlacement : long { Automatic, Inline, Stacked, + [iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)] + IntegratedCentered = 3, + [iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)] + IntegratedButton = 4, + [iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)] + Integrated = Inline, } [NoTV, iOS (16, 0), MacCatalyst (16, 0)] @@ -4710,12 +4720,18 @@ interface UIApplicationDelegate { /// Reference to the UIApplication that invoked this delegate method. /// The app has moved from the inactive to actie state. /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use UIScene lifecycle, 'DidBecomeActive' from 'UISceneDelegate' or the 'UIApplication.DidBecomeActiveNotification' instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use UIScene lifecycle, 'DidBecomeActive' from 'UISceneDelegate' or the 'UIApplication.DidBecomeActiveNotification' instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use UIScene lifecycle, 'DidBecomeActive' from 'UISceneDelegate' or the 'UIApplication.DidBecomeActiveNotification' instead.")] [Export ("applicationDidBecomeActive:")] void OnActivated (UIApplication application); /// Reference to the UIApplication that invoked this delegate method. /// The app is about to move from the active state to the inactive state. /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use UIScene lifecycle, 'WillResignActive' from 'UISceneDelegate' or the 'UIApplication.WillResignActiveNotification' instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use UIScene lifecycle, 'WillResignActive' from 'UISceneDelegate' or the 'UIApplication.WillResignActiveNotification' instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use UIScene lifecycle, 'WillResignActive' from 'UISceneDelegate' or the 'UIApplication.WillResignActiveNotification' instead.")] [Export ("applicationWillResignActive:")] void OnResignActivation (UIApplication application); @@ -4838,12 +4854,18 @@ interface UIApplicationDelegate { /// /// Apps should complete processing this method in approximately 5 seconds. If more time is necessary, applications can call . /// + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIScene' lifecycle, 'DidEnterBackground' from 'UISceneDelegate' or the 'UIApplication.DidEnterBackgroundNotification' instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'UIScene' lifecycle, 'DidEnterBackground' from 'UISceneDelegate' or the 'UIApplication.DidEnterBackgroundNotification' instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIScene' lifecycle, 'DidEnterBackground' from 'UISceneDelegate' or the 'UIApplication.DidEnterBackgroundNotification' instead.")] [Export ("applicationDidEnterBackground:")] void DidEnterBackground (UIApplication application); /// Reference to the UIApplication that invoked this delegate method. /// Indicates that the application is about to enter the foreground. /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use UIScene lifecycle, 'WillEnterForeground' from 'UISceneDelegate' or the 'UIApplication.WillEnterForegroundNotification' instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use UIScene lifecycle, 'WillEnterForeground' from 'UISceneDelegate' or the 'UIApplication.WillEnterForegroundNotification' instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use UIScene lifecycle, 'WillEnterForeground' from 'UISceneDelegate' or the 'UIApplication.WillEnterForegroundNotification' instead.")] [Export ("applicationWillEnterForeground:")] void WillEnterForeground (UIApplication application); @@ -4881,6 +4903,9 @@ interface UIApplicationDelegate { /// Indicates that the application should open the specified with context from . /// To be added. /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIScene' lifecycle, 'OpenUrlContexts' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'UIScene' lifecycle, 'OpenUrlContexts' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIScene' lifecycle, 'OpenUrlContexts' from 'UISceneDelegate'.")] [MacCatalyst (13, 1)] [Export ("application:openURL:options:")] bool OpenUrl (UIApplication app, NSUrl url, NSDictionary options); @@ -5030,6 +5055,9 @@ interface UIApplicationDelegate { /// Informs the app that there is data associated with continuing a task specified as a object, and then returns whether the app continued the activity. /// To be added. /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIScene' lifecycle, 'ContinueUserActivity' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'UIScene' lifecycle, 'ContinueUserActivity' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIScene' lifecycle, 'ContinueUserActivity' from 'UISceneDelegate'.")] [MacCatalyst (13, 1)] [Export ("application:continueUserActivity:restorationHandler:")] bool ContinueUserActivity (UIApplication application, NSUserActivity userActivity, UIApplicationRestorationHandler completionHandler); @@ -5039,6 +5067,9 @@ interface UIApplicationDelegate { /// To be added. /// Informs the app that the activity of the type could not be continued, and specifies a as the reason for the failure. /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIScene' lifecycle, 'DidFailToContinueUserActivity' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'UIScene' lifecycle, 'DidFailToContinueUserActivity' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIScene' lifecycle, 'DidFailToContinueUserActivity' from 'UISceneDelegate'.")] [MacCatalyst (13, 1)] [Export ("application:didFailToContinueUserActivityWithType:error:")] void DidFailToContinueUserActivity (UIApplication application, string userActivityType, NSError error); @@ -5113,6 +5144,8 @@ interface UIApplicationDelegate { /// To be added. /// Called by the system when the user initiates a Home screen quick action, unless the interaction was handled in or . /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIScene' lifecycle, 'PerformAction' from 'UIWindowSceneDelegate'.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIScene' lifecycle, 'PerformAction' from 'UIWindowSceneDelegate'.")] [NoTV] [MacCatalyst (13, 1)] [Export ("application:performActionForShortcutItem:completionHandler:")] @@ -5123,6 +5156,9 @@ interface UIApplicationDelegate { /// Informs the app that the user is attempting to continue a action for which data might not be available, and returns to notify the user that the app will continue the activity. /// To be added. /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIScene' lifecycle, 'WillContinueUserActivity' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'UIScene' lifecycle, 'WillContinueUserActivity' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIScene' lifecycle, 'WillContinueUserActivity' from 'UISceneDelegate'.")] [MacCatalyst (13, 1)] [Export ("application:willContinueUserActivityWithType:")] bool WillContinueUserActivity (UIApplication application, string userActivityType); @@ -5131,6 +5167,9 @@ interface UIApplicationDelegate { /// To be added. /// Informs the app that the object in has been updated. /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIScene' lifecycle, 'DidUpdateUserActivity' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'UIScene' lifecycle, 'DidUpdateUserActivity' from 'UISceneDelegate'.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIScene' lifecycle, 'DidUpdateUserActivity' from 'UISceneDelegate'.")] [MacCatalyst (13, 1)] [Export ("application:didUpdateUserActivity:")] void UserActivityUpdated (UIApplication application, NSUserActivity userActivity); @@ -5164,6 +5203,9 @@ interface UIApplicationDelegate { /// To be added. /// To be added. /// To be added. + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIScene' lifecycle, 'UserDidAcceptCloudKitShare' from 'UIWindowSceneDelegate'.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'UIScene' lifecycle, 'UserDidAcceptCloudKitShare' from 'UIWindowSceneDelegate'.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIScene' lifecycle, 'UserDidAcceptCloudKitShare' from 'UIWindowSceneDelegate'.")] [MacCatalyst (13, 1)] [Export ("application:userDidAcceptCloudKitShareWithMetadata:")] void UserDidAcceptCloudKitShare (UIApplication application, CKShareMetadata cloudKitShareMetadata); @@ -5273,6 +5315,40 @@ interface UIBarItem : NSCoding, UIAppearance, UIAccessibility, UIAccessibilityId UIEdgeInsets LargeContentSizeImageInsets { get; set; } } + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIBarButtonItemBadge : NSCopying, NSSecureCoding { + + [DesignatedInitializer] + [Export ("init")] + NativeHandle Constructor (); + + [Static] + [Export ("badgeWithCount:")] + UIBarButtonItemBadge Create (nuint count); + + [Static] + [Export ("badgeWithString:")] + UIBarButtonItemBadge Create (string stringValue); + + [Static] + [Export ("indicatorBadge")] + UIBarButtonItemBadge CreateIndicatorBadge (); + + [NullAllowed, Export ("stringValue")] + string StringValue { get; } + + [NullAllowed, Export ("backgroundColor", ArgumentSemantic.Strong)] + UIColor BackgroundColor { get; set; } + + [NullAllowed, Export ("foregroundColor", ArgumentSemantic.Strong)] + UIColor ForegroundColor { get; set; } + + [NullAllowed, Export ("font", ArgumentSemantic.Strong)] + UIFont Font { get; set; } + } + [MacCatalyst (13, 1)] [BaseType (typeof (UIBarItem))] [DesignatedDefaultCtor] @@ -5639,6 +5715,29 @@ interface UIBarButtonItem : NSCoding [TV (17, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("removeSymbolEffectOfType:")] void RemoveSymbolEffect (NSSymbolEffect symbolEffect); + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("badge", ArgumentSemantic.Copy)] + [NullAllowed] + UIBarButtonItemBadge Badge { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("fixedSpaceItem")] + UIBarButtonItem CreateFixedSpaceItem (); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("identifier")] + [NullAllowed] + string Identifier { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("hidesSharedBackground")] + bool HidesSharedBackground { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("sharesBackground")] + bool SharesBackground { get; set; } } [MacCatalyst (13, 1)] @@ -5687,6 +5786,11 @@ interface UIBarButtonItemGroup : NSCoding { [Static] [Export ("fixedGroupWithRepresentativeItem:items:")] UIBarButtonItemGroup GetFixedGroup ([NullAllowed] UIBarButtonItem representativeItem, UIBarButtonItem [] items); + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("groupWithFixedSpace")] + UIBarButtonItemGroup GetGroupWithFixedSpace (); } [MacCatalyst (13, 1)] @@ -7665,6 +7769,40 @@ interface UIColor : NSSecureCoding, NSCopying [TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)] [Export ("prominence")] UIColorProminence Prominence { get; } + + // HDR-related methods + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("colorWithRed:green:blue:alpha:exposure:")] + UIColor FromRgbaExposure (nfloat red, nfloat green, nfloat blue, nfloat alpha, nfloat exposure); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("colorWithRed:green:blue:alpha:linearExposure:")] + UIColor FromRgbaLinearExposure (nfloat red, nfloat green, nfloat blue, nfloat alpha, nfloat linearExposure); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("colorByApplyingContentHeadroom:")] + UIColor FromContentHeadroom (nfloat contentHeadroom); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("linearExposure")] + nfloat LinearExposure { get; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("standardDynamicRangeColor")] + UIColor StandardDynamicRangeColor { get; } + + [Internal] + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("initWithRed:green:blue:alpha:linearExposure:")] + NativeHandle _InitWithRedGreenBlueAlphaLinearExposure (nfloat red, nfloat green, nfloat blue, nfloat alpha, nfloat linearExposure); + + [Internal] + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("initWithRed:green:blue:alpha:exposure:")] + NativeHandle _InitWithRedGreenBlueAlphaExposure (nfloat red, nfloat green, nfloat blue, nfloat alpha, nfloat exposure); } [MacCatalyst (13, 1)] @@ -9425,6 +9563,10 @@ interface UITextInputTraits { [NoTV, NoMacCatalyst, iOS (18, 4)] [Export ("conversationContext", ArgumentSemantic.Strong)] UIConversationContext ConversationContext { get; set; } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("allowsNumberPadPopover")] + bool AllowsNumberPadPopover { get; set; } } /// Provides data for the event. @@ -10725,6 +10867,39 @@ interface UIRotationGestureRecognizer { nfloat Velocity { get; } } + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIViewLayoutRegion { + + [Static] + [Export ("safeAreaLayoutRegionWithCornerAdaptation:")] + UIViewLayoutRegion CreateSafeAreaLayoutRegion (UIViewLayoutRegionAdaptivityAxis cornerAdaptivityAxis); + + [Static] + [Export ("marginsLayoutRegionWithCornerAdaptation:")] + UIViewLayoutRegion CreateMarginsLayoutRegion (UIViewLayoutRegionAdaptivityAxis cornerAdaptivityAxis); + + [Static] + [Export ("readableContentLayoutRegionWithCornerAdaptation:")] + UIViewLayoutRegion CreateReadableContentLayoutRegion (UIViewLayoutRegionAdaptivityAxis cornerAdaptivityAxis); + } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (UIView))] + [DisableDefaultCtor] + interface UIBackgroundExtensionView { + + [Export ("initWithFrame:")] + NativeHandle Constructor (CGRect frame); + + [NullAllowed, Export ("contentView", ArgumentSemantic.Strong)] + UIView ContentView { get; set; } + + [Export ("automaticallyPlacesContentView")] + bool AutomaticallyPlacesContentView { get; set; } + } + /// Gesture recognizer for pinches. /// /// Apple documentation for UIPinchGestureRecognizer @@ -11466,6 +11641,16 @@ interface UIImageSymbolConfiguration { [Static] [Export ("configurationPreferringMonochrome")] UIImageSymbolConfiguration GetConfigurationPreferringMonochrome (); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("configurationWithColorRenderingMode:")] + UIImageSymbolConfiguration Create (UIImageSymbolColorRenderingMode colorRenderingMode); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("configurationWithVariableValueMode:")] + UIImageSymbolConfiguration Create (UIImageSymbolVariableValueMode variableValueMode); } [iOS (13, 0), TV (13, 0)] @@ -11725,8 +11910,16 @@ interface UIWindowLevel { [MacCatalyst (13, 1)] [BaseType (typeof (UIView))] + [DisableDefaultCtor] interface UIWindow { + [Deprecated (PlatformName.iOS, 26, 0, message: "Use the 'UIWindowScene' overload instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use the 'UIWindowScene' overload instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use the 'UIWindowScene' overload instead.")] + [Export ("init")] + NativeHandle Constructor (); + + [DesignatedInitializer] [iOS (13, 0), TV (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithWindowScene:")] @@ -11742,6 +11935,10 @@ interface UIWindow { [NullAllowed, Export ("canResizeToFitContent")] bool CanResizeToFitContent { get; [Bind ("setCanResizeToFitContent:")] set; } + [Deprecated (PlatformName.iOS, 26, 0, message: "Use the 'UIWindowScene' overload instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use the 'UIWindowScene' overload instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use the 'UIWindowScene' overload instead.")] + [DesignatedInitializer] [Export ("initWithFrame:")] NativeHandle Constructor (CGRect frame); @@ -14094,6 +14291,51 @@ UIBarButtonItem RightBarButtonItem { [Export ("searchBarPlacement", ArgumentSemantic.Assign)] UINavigationItemSearchBarPlacement SearchBarPlacement { get; } + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [NullAllowed] + [Export ("subtitle", ArgumentSemantic.Copy)] + string Subtitle { get; set; } + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [NullAllowed, Export ("attributedSubtitle", ArgumentSemantic.Copy)] + NSAttributedString AttributedSubtitle { get; set; } + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [NullAllowed, Export ("largeSubtitle", ArgumentSemantic.Copy)] + string LargeSubtitle { get; set; } + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [NullAllowed, Export ("largeAttributedSubtitle", ArgumentSemantic.Copy)] + NSAttributedString LargeAttributedSubtitle { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [NullAllowed, Export ("attributedTitle", ArgumentSemantic.Copy)] + NSAttributedString AttributedTitle { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [NullAllowed, Export ("largeSubtitleView", ArgumentSemantic.Strong)] + UIView LargeSubtitleView { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [NullAllowed, Export ("largeTitle", ArgumentSemantic.Copy)] + string LargeTitle { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("searchBarPlacementAllowsExternalIntegration")] + bool SearchBarPlacementAllowsExternalIntegration { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("searchBarPlacementAllowsToolbarIntegration")] + bool SearchBarPlacementAllowsToolbarIntegration { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("searchBarPlacementBarButtonItem", ArgumentSemantic.Strong)] + UIBarButtonItem SearchBarPlacementBarButtonItem { get; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [NullAllowed, Export ("subtitleView", ArgumentSemantic.Copy)] + UIView SubtitleView { get; set; } + } [MacCatalyst (13, 1)] @@ -14238,6 +14480,11 @@ interface UINavigationController { [MacCatalyst (13, 1)] [Export ("barHideOnTapGestureRecognizer", ArgumentSemantic.UnsafeUnretained)] UITapGestureRecognizer BarHideOnTapGestureRecognizer { get; } + + [NullAllowed] + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("interactiveContentPopGestureRecognizer")] + UIGestureRecognizer InteractiveContentPopGestureRecognizer { get; } } interface IUINavigationControllerDelegate { } @@ -15805,6 +16052,11 @@ interface UIResponder : UIAccessibilityAction, UIAccessibilityFocus, UIUserActiv [NullAllowed] NSTouchBar TouchBar { get; set; } #pragma warning restore + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("providerForDeferredMenuElement:")] + [return: NullAllowed] + UIDeferredMenuElementProvider GetProvider (UIDeferredMenuElement deferredMenuElement); } [MacCatalyst (13, 1)] @@ -15909,6 +16161,38 @@ interface UIResponderStandardEditActions { [NoTV, iOS (18, 2), MacCatalyst (18, 2)] [Export ("showWritingTools:")] void ShowWritingTools ([NullAllowed] NSObject sender); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("alignLeft:")] + void AlignLeft ([NullAllowed] NSObject sender); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("alignRight:")] + void AlignRight ([NullAllowed] NSObject sender); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("alignCenter:")] + void AlignCenter ([NullAllowed] NSObject sender); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("alignJustified:")] + void AlignJustified ([NullAllowed] NSObject sender); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("newFromPasteboard:")] + void NewFromPasteboard ([NullAllowed] NSObject sender); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("performClose:")] + void PerformClose ([NullAllowed] NSObject sender); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("toggleInspector:")] + void ToggleInspector ([NullAllowed] NSObject sender); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("toggleSidebar:")] + void ToggleSidebar ([NullAllowed] NSObject sender); } [MacCatalyst (13, 1)] @@ -16082,6 +16366,36 @@ UIScreenMode CurrentMode { nfloat PotentialEdrHeadroom { get; } } + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIScrollEdgeEffect { + + [Export ("style", ArgumentSemantic.Strong)] + UIScrollEdgeEffectStyle Style { get; set; } + + [Export ("hidden")] + bool Hidden { [Bind ("isHidden")] get; set; } + } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIScrollEdgeEffectStyle { + + [Static] + [Export ("automaticStyle")] + UIScrollEdgeEffectStyle AutomaticStyle { get; } + + [Static] + [Export ("softStyle")] + UIScrollEdgeEffectStyle SoftStyle { get; } + + [Static] + [Export ("hardStyle")] + UIScrollEdgeEffectStyle HardStyle { get; } + } + [MacCatalyst (13, 1)] [BaseType (typeof (UIView), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (UIScrollViewDelegate) })] interface UIScrollView : UIFocusItemScrollableContainer { @@ -16367,6 +16681,22 @@ UIEdgeInsets ScrollIndicatorInsets { [NoTV, iOS (17, 0), MacCatalyst (17, 0)] [Export ("allowsKeyboardScrolling")] bool AllowsKeyboardScrolling { get; set; } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("topEdgeEffect", ArgumentSemantic.Strong)] + UIScrollEdgeEffect TopEdgeEffect { get; } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("bottomEdgeEffect", ArgumentSemantic.Strong)] + UIScrollEdgeEffect BottomEdgeEffect { get; } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("leftEdgeEffect", ArgumentSemantic.Strong)] + UIScrollEdgeEffect LeftEdgeEffect { get; } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("rightEdgeEffect", ArgumentSemantic.Strong)] + UIScrollEdgeEffect RightEdgeEffect { get; } } interface IUIScrollViewDelegate { } @@ -16615,6 +16945,11 @@ interface UISearchBar : UIBarPositioning, UITextInputTraits, UILookToDictateCapa , NSCoding #endif { +#if TVOS + [TV (26, 0)] + [Export ("init")] + NativeHandle Constructor (); +#endif [NoTV] [MacCatalyst (13, 1)] [DesignatedInitializer] @@ -17663,6 +17998,54 @@ interface UISegmentedControl UIOffset ContentPositionAdjustment (UISegmentedControlSegment leftCenterRightOrAlone, UIBarMetrics barMetrics); } + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UISliderTick : NSCopying, NSCoding { + + [Export ("position")] + float Position { get; } + + [NullAllowed, Export ("title")] + string Title { get; set; } + + [NullAllowed, Export ("image", ArgumentSemantic.Copy)] + UIImage Image { get; set; } + + [Static] + [Export ("tickWithPosition:title:image:")] + UISliderTick Create (float position, [NullAllowed] string title, [NullAllowed] UIImage image); + } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UISliderTrackConfiguration : NSCopying, NSCoding { + + [Export ("allowsTickValuesOnly")] + bool AllowsTickValuesOnly { get; set; } + + [Export ("neutralValue")] + float NeutralValue { get; set; } + + [Export ("minimumEnabledValue")] + float MinimumEnabledValue { get; set; } + + [Export ("maximumEnabledValue")] + float MaximumEnabledValue { get; set; } + + [Export ("ticks", ArgumentSemantic.Copy)] + UISliderTick [] Ticks { get; } + + [Static] + [Export ("configurationWithTicks:")] + UISliderTrackConfiguration Create (UISliderTick [] ticks); + + [Static] + [Export ("configurationWithNumberOfTicks:")] + UISliderTrackConfiguration Create (nint ticks); + } + /// A that displays a slider. /// /// Apple documentation for UISlider @@ -17814,6 +18197,15 @@ interface UISlider { [NoTV, MacCatalyst (15, 0), iOS (15, 0)] [Export ("preferredBehavioralStyle", ArgumentSemantic.Assign)] UIBehavioralStyle PreferredBehavioralStyle { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [NullAllowed] + [Export ("trackConfiguration", ArgumentSemantic.Copy)] + UISliderTrackConfiguration TrackConfiguration { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("sliderStyle", ArgumentSemantic.Assign)] + UISliderStyle SliderStyle { get; set; } } /// Represents the key to be used in the that define the attributes of a . @@ -18297,6 +18689,15 @@ interface UITabBarController : UITabBarDelegate { [Export ("sidebar", ArgumentSemantic.Strong)] UITabBarControllerSidebar Sidebar { get; } + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("bottomAccessory", ArgumentSemantic.Strong)] + [NullAllowed] + UITabAccessory BottomAccessory { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("setBottomAccessory:animated:")] + void SetBottomAccessory ([NullAllowed] UITabAccessory bottomAccessory, bool animated); + [TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)] [Export ("customizationIdentifier", ArgumentSemantic.Copy), NullAllowed] string CustomizationIdentifier { get; set; } @@ -18333,6 +18734,14 @@ interface UITabBarController : UITabBarDelegate { [TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)] [Export ("setTabBarHidden:animated:")] void SetTabBarHidden (bool hidden, bool animated); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("contentLayoutGuide")] + UILayoutGuide ContentLayoutGuide { get; } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("tabBarMinimizeBehavior", ArgumentSemantic.Assign)] + UITabBarMinimizeBehavior TabBarMinimizeBehavior { get; set; } } interface IUITabBarDelegate { } @@ -20719,6 +21128,16 @@ interface UITextFieldDelegate { [Export ("textField:insertInputSuggestion:"), EventArgs ("UITextFieldInsertInputSuggestion")] void InsertInputSuggestion (UITextField textField, UIInputSuggestion inputSuggestion); + [MacCatalyst (26, 0), TV (26, 0), iOS (26, 0)] + [Export ("textField:shouldChangeCharactersInRanges:replacementString:")] + bool ShouldChangeCharacters (UITextField textField, NSValue [] ranges, string replacementString); + + [IgnoredInDelegate] + [MacCatalyst (26, 0), TV (26, 0), iOS (26, 0)] + [Export ("textField:editMenuForCharactersInRanges:suggestedActions:")] + [return: NullAllowed] + UIMenu GetEditMenu (UITextField textField, NSValue [] ranges, UIMenuElement [] suggestedActions); + // Any new APIs here must be manually implemented as events in UITextField.cs } @@ -20769,6 +21188,11 @@ interface UITextView : UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UI [Export ("selectedRange")] NSRange SelectedRange { get; set; } + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BindAs (typeof (NSRange []))] + [Export ("selectedRanges", ArgumentSemantic.Copy)] + NSValue [] SelectedRanges { get; set; } + [Export ("scrollRangeToVisible:")] void ScrollRangeToVisible (NSRange range); @@ -21194,6 +21618,17 @@ interface UITextViewDelegate { [NoTV, NoMacCatalyst, iOS (18, 4)] [Export ("textView:insertInputSuggestion:")] void InsertInputSuggestion (UITextView textView, UIInputSuggestion inputSuggestion); + + [IgnoredInDelegate] + [MacCatalyst (26,0), TV (26,0), iOS (26,0)] + [Export ("textView:shouldChangeTextInRanges:replacementText:")] + bool ShouldChangeText (UITextView textView, NSValue [] ranges, string replacementText); + + [IgnoredInDelegate] + [MacCatalyst (26,0), TV (26,0), iOS (26,0)] + [Export ("textView:editMenuForTextInRanges:suggestedActions:")] + [return: NullAllowed] + UIMenu GetEditMenuForText (UITextView textView, NSValue [] ranges, UIMenuElement [] suggestedActions); } /// @@ -22499,6 +22934,31 @@ interface UIView : UIAppearance, UIAppearanceContainer, UIAccessibility, UIDynam [Static] [Export ("animateWithSpringDuration:bounce:initialSpringVelocity:delay:options:animations:completion:")] void Animate (double duration, nfloat bounce, nfloat velocity, double delay, UIViewAnimationOptions options, Action animations, [NullAllowed] Action completion); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("setNeedsUpdateProperties")] + void SetNeedsUpdateProperties (); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [RequiresSuper] + [Export ("updateProperties")] + void UpdateProperties (); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("updatePropertiesIfNeeded")] + void UpdatePropertiesIfNeeded (); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("directionalEdgeInsetsForLayoutRegion:")] + NSDirectionalEdgeInsets GetDirectionalEdgeInsets (UIViewLayoutRegion layoutRegion); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("edgeInsetsForLayoutRegion:")] + UIEdgeInsets GetEdgeInsets (UIViewLayoutRegion layoutRegion); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("layoutGuideForLayoutRegion:")] + UILayoutGuide GetLayoutGuide (UIViewLayoutRegion layoutRegion); } /// Class that implements a text field in a view. @@ -23427,6 +23887,32 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)] [Export ("preferredTransition", ArgumentSemantic.Strong), NullAllowed] UIViewControllerTransition PreferredTransition { get; set; } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("setNeedsUpdateProperties")] + void SetNeedsUpdateProperties (); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [RequiresSuper] + [Export ("updateProperties")] + void UpdateProperties (); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("updatePropertiesIfNeeded")] + void UpdatePropertiesIfNeeded (); + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [Export ("childViewControllerForInterfaceOrientationLock")] + [return: NullAllowed] + UIViewController GetChildViewControllerForInterfaceOrientationLock (); + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [Export ("prefersInterfaceOrientationLocked")] + bool PrefersInterfaceOrientationLocked (); + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [Export ("setNeedsUpdateOfPrefersInterfaceOrientationLocked")] + void SetNeedsUpdateOfPrefersInterfaceOrientationLocked (); } /// Interface representing the required methods (if any) of the protocol . @@ -23906,6 +24392,37 @@ partial interface UITraitCollection : NSCopying, NSSecureCoding { [TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)] [Export ("listEnvironment")] UIListEnvironment ListEnvironment { get; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("traitCollectionWithHDRHeadroomUsageLimit:")] + UITraitCollection GetTraitCollection (UIHdrHeadroomUsageLimit hdrHeadroomUsageLimit); + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("traitCollectionWithTabAccessoryEnvironment:")] + UITraitCollection GetTraitCollection (UITabAccessoryEnvironment tabAccessoryEnvironment); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("traitCollectionWithResolvesNaturalAlignmentWithBaseWritingDirection:")] + UITraitCollection GetTraitCollection (bool resolvesNaturalAlignmentWithBaseWritingDirection); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("hdrHeadroomUsageLimit")] + UIHdrHeadroomUsageLimit HdrHeadroomUsageLimit { get; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("splitViewControllerLayoutEnvironment")] + UISplitViewControllerLayoutEnvironment SplitViewControllerLayoutEnvironment { get; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("tabAccessoryEnvironment")] + UITabAccessoryEnvironment TabAccessoryEnvironment { get; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("resolvesNaturalAlignmentWithBaseWritingDirection")] + bool ResolvesNaturalAlignmentWithBaseWritingDirection { get; } } /// Provides the constants for . @@ -24827,6 +25344,10 @@ interface UISplitViewController { [Export ("showColumn:")] void ShowColumn (UISplitViewControllerColumn column); + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("isShowingColumn:")] + bool IsShowingColumn (UISplitViewControllerColumn column); + [Export ("viewControllers", ArgumentSemantic.Copy)] [PostGet ("ChildViewControllers")] UIViewController [] ViewControllers { get; set; } @@ -24945,6 +25466,34 @@ interface UISplitViewController { [MacCatalyst (13, 1)] [Export ("primaryBackgroundStyle", ArgumentSemantic.Assign)] UISplitViewControllerBackgroundStyle PrimaryBackgroundStyle { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("maximumInspectorColumnWidth")] + nfloat MaximumInspectorColumnWidth { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("minimumInspectorColumnWidth")] + nfloat MinimumInspectorColumnWidth { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("minimumSecondaryColumnWidth")] + nfloat MinimumSecondaryColumnWidth { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("preferredInspectorColumnWidth")] + nfloat PreferredInspectorColumnWidth { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("preferredInspectorColumnWidthFraction")] + nfloat PreferredInspectorColumnWidthFraction { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("preferredSecondaryColumnWidth")] + nfloat PreferredSecondaryColumnWidth { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("preferredSecondaryColumnWidthFraction")] + nfloat PreferredSecondaryColumnWidthFraction { get; set; } } interface IUISplitViewControllerDelegate { } @@ -25200,6 +25749,14 @@ interface UISplitViewControllerDelegate { [MacCatalyst (14, 0)] [Export ("splitViewControllerInteractivePresentationGestureDidEnd:")] void InteractivePresentationGestureDidEnd (UISplitViewController svc); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0), EventArgs ("UISplitViewControllerDidShowColumn")] + [Export ("splitViewController:didShowColumn:")] + void DidShowColumn (UISplitViewController svc, UISplitViewControllerColumn column); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("splitViewController:didHideColumn:"), EventArgs ("UISplitViewControllerDidHideColumn")] + void DidHideColumn (UISplitViewController svc, UISplitViewControllerColumn column); } /// Defines extension methods on relating to collapsing/expanding secondary view controllers. @@ -26535,6 +27092,25 @@ partial interface UIVibrancyEffect { UIVibrancyEffect FromBlurEffect (UIBlurEffect blurEffect, UIVibrancyEffectStyle style); } + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (UIVisualEffect))] + interface UIGlassEffect { + + [Export ("interactive")] + bool Interactive { [Bind ("isInteractive")] get; set; } + + [NullAllowed, Export ("tintColor", ArgumentSemantic.Copy)] + UIColor TintColor { get; set; } + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (UIVisualEffect))] + interface UIGlassContainerEffect { + + [Export ("spacing")] + nfloat Spacing { get; set; } + } + [MacCatalyst (13, 1)] [BaseType (typeof (UIView))] partial interface UIVisualEffectView : NSSecureCoding { @@ -30523,6 +31099,11 @@ interface UIDocumentBrowserAction { [Export ("supportsMultipleItems")] bool SupportsMultipleItems { get; set; } + + [NullAllowed] + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("imageOnlyForContextMenu", ArgumentSemantic.Strong)] + UIImage ImageOnlyForContextMenu { get; set; } } interface IUIFocusItemContainer { } @@ -30851,6 +31432,10 @@ interface UIScene { [Export ("activationConditions", ArgumentSemantic.Strong)] UISceneActivationConditions ActivationConditions { get; set; } + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("destructionConditions", ArgumentSemantic.Copy)] + NSSet DestructionConditions { get; set; } + [Field ("UISceneWillConnectNotification")] [Notification] NSString WillConnectNotification { get; } @@ -31560,10 +32145,35 @@ interface UIMenuBuilder { [Export ("replaceChildrenOfMenuForIdentifier:fromChildrenBlock:")] void ReplaceChildrenOfMenu (string parentIdentifier, Func childrenBlock); + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("replaceActionForIdentifier:withElements:")] + void ReplaceAction (string replacedIdentifier, UIMenuElement [] replacementElements); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("replaceCommandForAction:propertyList:withElements:")] + void ReplaceCommand (Selector replacedAction, [NullAllowed] NSObject replacedPropertyList, UIMenuElement [] replacementElements); + [Abstract] [Export ("insertSiblingMenu:beforeMenuForIdentifier:")] void InsertSiblingMenuBefore (UIMenu siblingMenu, string siblingIdentifier); + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("replaceMenuForIdentifier:withElements:")] + void ReplaceMenu (string replacedIdentifier, UIMenuElement[] replacementElements); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("insertElements:beforeMenuForIdentifier:")] + void InsertElementsBeforeMenu (UIMenuElement[] insertedElements, string siblingIdentifier); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("insertElements:afterMenuForIdentifier:")] + void InsertElementsAfterMenu (UIMenuElement [] insertedElements, string siblingIdentifier); + [Abstract] [Export ("insertSiblingMenu:afterMenuForIdentifier:")] void InsertSiblingMenuAfter (UIMenu siblingMenu, string siblingIdentifier); @@ -31572,13 +32182,53 @@ interface UIMenuBuilder { [Export ("insertChildMenu:atStartOfMenuForIdentifier:")] void InsertChildMenuAtStart (UIMenu childMenu, string parentIdentifier); + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("insertElements:beforeActionForIdentifier:")] + void InsertElementsBeforeAction (UIMenuElement [] insertedElements, string siblingIdentifier); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("insertElements:afterActionForIdentifier:")] + void InsertElementsAfterAction (UIMenuElement [] insertedElements, string siblingIdentifier); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("insertElements:beforeCommandForAction:propertyList:")] + void InsertElementsBeforeCommand (UIMenuElement [] insertedElements, Selector siblingAction, [NullAllowed] NSObject siblingPropertyList); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("insertElements:afterCommandForAction:propertyList:")] + void InsertElementsAfterCommand (UIMenuElement [] insertedElements, Selector siblingAction, [NullAllowed] NSObject siblingPropertyList); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("insertElements:atStartOfMenuForIdentifier:")] + void InsertElementsAtStartOfMenu (UIMenuElement [] childElements, string parentIdentifier); + [Abstract] [Export ("insertChildMenu:atEndOfMenuForIdentifier:")] void InsertChildMenuAtEnd (UIMenu childMenu, string parentIdentifier); + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("insertElements:atEndOfMenuForIdentifier:")] + void InsertElementsAtEndOfMenu (UIMenuElement [] childElements, string parentIdentifier); + [Abstract] [Export ("removeMenuForIdentifier:")] void RemoveMenu (string removedIdentifier); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("removeActionForIdentifier:")] + void RemoveAction (string removedIdentifier); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("removeCommandForAction:propertyList:")] + void RemoveCommand (Selector removedAction, [NullAllowed] NSObject removedPropertyList); } [iOS (13, 0), TV (13, 0)] @@ -31602,6 +32252,73 @@ interface UIMenuSystem { void SetNeedsRevalidate (); } + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIMenuSystemFindElementGroupConfiguration { + + [Export ("style", ArgumentSemantic.Assign)] + UIMenuSystemFindElementGroupConfigurationStyle Style { get; set; } + } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (UIMenuSystem))] + [DisableDefaultCtor] + interface UIContextMenuSystem { + + [Static] + [Export ("sharedSystem")] + UIContextMenuSystem SharedSystem { get; } + } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + delegate void UIMainMenuSystemBuildHandler (IUIMenuBuilder builder); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (UIMenuSystem))] + [DisableDefaultCtor] + interface UIMainMenuSystem { + + [Static] + [Export ("sharedSystem")] + UIMainMenuSystem SharedSystem { get; } + + [Export ("setBuildConfiguration:buildHandler:")] + void SetBuildConfiguration (UIMainMenuSystemConfiguration configuration, [NullAllowed] UIMainMenuSystemBuildHandler buildHandler); + } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + interface UIMainMenuSystemConfiguration : NSCopying { + + [Export ("newScenePreference", ArgumentSemantic.Assign)] + UIMenuSystemElementGroupPreference NewScenePreference { get; set; } + + [Export ("documentPreference", ArgumentSemantic.Assign)] + UIMenuSystemElementGroupPreference DocumentPreference { get; set; } + + [Export ("printingPreference", ArgumentSemantic.Assign)] + UIMenuSystemElementGroupPreference PrintingPreference { get; set; } + + [Export ("findingPreference", ArgumentSemantic.Assign)] + UIMenuSystemElementGroupPreference FindingPreference { get; set; } + + [Export ("findingConfiguration", ArgumentSemantic.Strong)] + UIMenuSystemFindElementGroupConfiguration FindingConfiguration { get; } + + [Export ("toolbarPreference", ArgumentSemantic.Assign)] + UIMenuSystemElementGroupPreference ToolbarPreference { get; set; } + + [Export ("sidebarPreference", ArgumentSemantic.Assign)] + UIMenuSystemElementGroupPreference SidebarPreference { get; set; } + + [Export ("inspectorPreference", ArgumentSemantic.Assign)] + UIMenuSystemElementGroupPreference InspectorPreference { get; set; } + + [Export ("textFormattingPreference", ArgumentSemantic.Assign)] + UIMenuSystemElementGroupPreference TextFormattingPreference { get; set; } + } + [TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (UIBarAppearance))] @@ -31633,6 +32350,9 @@ interface UINavigationBarAppearance { [Export ("buttonAppearance", ArgumentSemantic.Copy)] UIBarButtonItemAppearance ButtonAppearance { get; set; } + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'ProminentButtonAppearance' instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'ProminentButtonAppearance' instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'ProminentButtonAppearance' instead.")] [Export ("doneButtonAppearance", ArgumentSemantic.Copy)] UIBarButtonItemAppearance DoneButtonAppearance { get; set; } @@ -31647,6 +32367,30 @@ interface UINavigationBarAppearance { [Export ("setBackIndicatorImage:transitionMaskImage:")] void SetBackIndicatorImage ([NullAllowed] UIImage backIndicatorImage, [NullAllowed] UIImage backIndicatorTransitionMaskImage); + + [iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)] + [Export ("prominentButtonAppearance", ArgumentSemantic.Copy)] + UIBarButtonItemAppearance ProminentButtonAppearance { get; set; } + + [Appearance] + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("largeSubtitleTextAttributes", ArgumentSemantic.Copy)] + NSDictionary WeakLargeSubtitleTextAttributes { get; set; } + + [Appearance] + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Wrap ("WeakLargeSubtitleTextAttributes")] + UIStringAttributes LargeSubtitleTextAttributes { get; set; } + + [Appearance] + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("subtitleTextAttributes", ArgumentSemantic.Copy)] + NSDictionary WeakSubtitleTextAttributes { get; set; } + + [Appearance] + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Wrap ("WeakSubtitleTextAttributes")] + UIStringAttributes SubtitleTextAttributes { get; set; } } [iOS (13, 0), TV (13, 0)] @@ -31979,8 +32723,15 @@ interface UIToolbarAppearance { [Export ("buttonAppearance", ArgumentSemantic.Copy)] UIBarButtonItemAppearance ButtonAppearance { get; set; } + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'ProminentButtonAppearance' instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'ProminentButtonAppearance' instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'ProminentButtonAppearance' instead.")] [Export ("doneButtonAppearance", ArgumentSemantic.Copy)] UIBarButtonItemAppearance DoneButtonAppearance { get; set; } + + [iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)] + [Export ("prominentButtonAppearance", ArgumentSemantic.Copy)] + UIBarButtonItemAppearance ProminentButtonAppearance { get; set; } } [iOS (13, 0), TV (13, 0)] @@ -31997,11 +32748,16 @@ interface UIWindowScene : [Export ("screen")] UIScreen Screen { get; } + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'EffectiveGeometry.InterfaceOrientation' instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'EffectiveGeometry.InterfaceOrientation' instead.")] [NoTV] [MacCatalyst (13, 1)] [Export ("interfaceOrientation")] UIInterfaceOrientation InterfaceOrientation { get; } + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'EffectiveGeometry.CoordinateSpace' instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'EffectiveGeometry.CoordinateSpace' instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'EffectiveGeometry.CoordinateSpace' instead.")] [Export ("coordinateSpace")] IUICoordinateSpace CoordinateSpace { get; } @@ -32076,11 +32832,17 @@ interface UIWindowSceneDelegate : UISceneDelegate { [NullAllowed, Export ("window", ArgumentSemantic.Strong)] UIWindow Window { get; set; } + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'DidUpdateEffectiveGeometry' to be notified of the scene's geometry changes, or use traits whose values are inherited from the scene via the TraitCollection of views and view controllers instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'DidUpdateEffectiveGeometry' to be notified of the scene's geometry changes, or use traits whose values are inherited from the scene via the TraitCollection of views and view controllers instead.")] [NoTV] [MacCatalyst (13, 1)] [Export ("windowScene:didUpdateCoordinateSpace:interfaceOrientation:traitCollection:")] void DidUpdateCoordinateSpace (UIWindowScene windowScene, IUICoordinateSpace previousCoordinateSpace, UIInterfaceOrientation previousInterfaceOrientation, UITraitCollection previousTraitCollection); + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("windowScene:didUpdateEffectiveGeometry:")] + void DidUpdateEffectiveGeometry (UIWindowScene windowScene, UIWindowSceneGeometry previousEffectiveGeometry); + [NoTV] [MacCatalyst (13, 1)] [Export ("windowScene:performActionForShortcutItem:completionHandler:")] @@ -32088,6 +32850,10 @@ interface UIWindowSceneDelegate : UISceneDelegate { [Export ("windowScene:userDidAcceptCloudKitShareWithMetadata:")] void UserDidAcceptCloudKitShare (UIWindowScene windowScene, CKShareMetadata cloudKitShareMetadata); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("preferredWindowingControlStyleForScene:")] + UISceneWindowingControlStyle GetPreferredWindowingControlStyle (UIWindowScene windowScene); } [iOS (13, 0), TV (13, 0)] @@ -33207,6 +33973,14 @@ interface UIColorPickerViewController { [Export ("supportsAlpha")] bool SupportsAlpha { get; set; } + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [Export ("supportsEyedropper")] + bool SupportsEyedropper { get; set; } + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [Export ("maximumLinearExposure")] + nfloat MaximumLinearExposure { get; set; } } [NoTV, iOS (14, 0)] @@ -33225,6 +33999,14 @@ interface UIColorWell { [NullAllowed, Export ("selectedColor", ArgumentSemantic.Strong)] UIColor SelectedColor { get; set; } + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [Export ("supportsEyedropper")] + bool SupportsEyedropper { get; set; } + + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] + [Export ("maximumLinearExposure")] + nfloat MaximumLinearExposure { get; set; } } interface IUIConfigurationState { } @@ -33318,6 +34100,15 @@ interface UIDeferredMenuElement { [Static] [Export ("elementWithUncachedProvider:")] UIDeferredMenuElement CreateUncached (UIDeferredMenuElementProviderHandler elementProvider); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("elementUsingFocusWithIdentifier:shouldCacheItems:")] + UIDeferredMenuElement CreateUsingFocus (string identifier, bool shouldCacheItems); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("identifier")] + string Identifier { get; } } [TV (14, 0), iOS (14, 0)] @@ -34240,6 +35031,21 @@ interface UIButtonConfiguration : NSCopying, NSSecureCoding { [Export ("indicatorColorTransformer", ArgumentSemantic.Copy)] [NullAllowed] UIConfigurationColorTransformerHandler IndicatorColorTransformer { get; set; } + + [Static] + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("glassButtonConfiguration")] + UIButtonConfiguration GlassButtonConfiguration { get; } + + [Static] + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("tintedGlassButtonConfiguration")] + UIButtonConfiguration TintedGlassButtonConfiguration { get; } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("symbolContentTransition", ArgumentSemantic.Strong)] + [NullAllowed] + NSSymbolContentTransition SymbolContentTransition { get; set; } } [NoTV, iOS (15, 0), MacCatalyst (15, 0)] @@ -34798,6 +35604,11 @@ interface UIMenuLeaf { [Export ("presentationSourceItem")] IUIPopoverPresentationControllerSourceItem PresentationSourceItem { get; } + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("repeatBehavior", ArgumentSemantic.Assign)] + UIMenuElementRepeatBehavior RepeatBehavior { get; set; } + [Abstract] [Export ("performWithSender:target:")] void Target ([NullAllowed] NSObject sender, [NullAllowed] NSObject target); @@ -35171,6 +35982,42 @@ interface UISceneWindowingBehaviors { bool Miniaturizable { [Bind ("isMiniaturizable")] get; set; } } + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UISceneDestructionCondition : NSCopying { + + [NoiOS, NoTV, NoMacCatalyst] + [Static] + [Export ("userInitiatedDismissal")] + UISceneDestructionCondition UserInitiatedDismissal (); + + [NoiOS, NoTV, NoMacCatalyst] + [Static] + [Export ("systemDisconnection")] + UISceneDestructionCondition SystemDisconnection (); + } + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UISceneWindowingControlStyle { + + [Static] + [Export ("automaticStyle")] + UISceneWindowingControlStyle AutomaticStyle { get; } + + [NoTV] + [Static] + [Export ("unifiedStyle")] + UISceneWindowingControlStyle UnifiedStyle { get; } + + [NoTV] + [Static] + [Export ("minimalStyle")] + UISceneWindowingControlStyle MinimalStyle { get; } + } + [NoTV, iOS (16, 0), MacCatalyst (16, 0)] [BaseType (typeof (UIFindSession))] [DisableDefaultCtor] @@ -35194,6 +36041,18 @@ interface UIWindowSceneGeometry : NSCopying { [MacCatalyst (13, 1)] [Export ("interfaceOrientation")] UIInterfaceOrientation InterfaceOrientation { get; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("coordinateSpace")] + IUICoordinateSpace CoordinateSpace { get; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Export ("interfaceOrientationLocked")] + bool InterfaceOrientationLocked { [Bind ("isInterfaceOrientationLocked")] get; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("interactivelyResizing")] + bool InteractivelyResizing { [Bind ("isInteractivelyResizing")] get; } } [TV (16, 0), iOS (16, 0), MacCatalyst (16, 0)] @@ -35926,6 +36785,26 @@ interface UISymbolEffectCompletionContext { NSSymbolContentTransition ContentTransition { get; } } + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UISymbolContentTransition : NSCopying, NSSecureCoding { + + [Export ("contentTransition", ArgumentSemantic.Strong)] + NSSymbolContentTransition ContentTransition { get; } + + [Export ("options", ArgumentSemantic.Strong)] + NSSymbolEffectOptions Options { get; } + + [Static] + [Export ("transitionWithContentTransition:")] + UISymbolContentTransition Create (NSSymbolContentTransition contentTransition); + + [Static] + [Export ("transitionWithContentTransition:options:")] + UISymbolContentTransition Create (NSSymbolContentTransition contentTransition, NSSymbolEffectOptions options); + } + [NoTV, iOS (17, 0), MacCatalyst (17, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -36261,6 +37140,21 @@ interface UIMutableTraits { [TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)] [Export ("listEnvironment")] UIListEnvironment ListEnvironment { get; set; } + + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("tabAccessoryEnvironment", ArgumentSemantic.Assign)] + UITabAccessoryEnvironment TabAccessoryEnvironment { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("splitViewControllerLayoutEnvironment", ArgumentSemantic.Assign)] + UISplitViewControllerLayoutEnvironment SplitViewControllerLayoutEnvironment { get; set; } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Abstract] + [Export ("resolvesNaturalAlignmentWithBaseWritingDirection")] + bool ResolvesNaturalAlignmentWithBaseWritingDirection { get; set; } } @@ -36680,6 +37574,8 @@ enum UIWritingToolsResultOptions : ulong { RichText = 1 << 1, List = 1 << 2, Table = 1 << 3, + [iOS (26, 0), MacCatalyst (26, 0)] + PresentationIntent = 1 << 4, } [Native] @@ -36800,6 +37696,19 @@ interface UIDocumentViewControllerLaunchOptions { UIAction CreateDocumentAction (UIDocumentCreationIntent indent); } + [NoTV, iOS (26,0), MacCatalyst (26,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UITabAccessory { + + [Export ("contentView", ArgumentSemantic.Strong)] + UIView ContentView { get; } + + [Export ("initWithContentView:")] + [DesignatedInitializer] + NativeHandle Constructor (UIView contentView); + } + [TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)] [BaseType (typeof (UITab))] [DisableDefaultCtor] @@ -36807,6 +37716,10 @@ interface UISearchTab { [DesignatedInitializer] [Export ("initWithViewControllerProvider:")] NativeHandle Constructor ([NullAllowed] Func viewControllerProvider); + + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Export ("automaticallyActivatesSearch")] + bool AutomaticallyActivatesSearch { get; set; } } [TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)] @@ -37227,6 +38140,11 @@ interface UIViewControllerTransition { [Export ("zoomWithOptions:sourceViewProvider:")] UIViewControllerTransition Zoom ([NullAllowed] UIZoomTransitionOptions options, Func sourceViewProvider); + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("zoomWithOptions:sourceBarButtonItemProvider:")] + UIViewControllerTransition Zoom ([NullAllowed] UIZoomTransitionOptions options, Func sourceBarButtonItemProvider); + [Static] [Export ("coverVerticalTransition")] UIViewControllerTransition CoverVerticalTransition { get; } @@ -37967,4 +38885,55 @@ interface UISmartReplySuggestion { [Export ("smartReply")] string SmartReply { get; } } + + [TV (26, 0), MacCatalyst (26, 0), iOS (26, 0)] + [BaseType (typeof (NSObject))] + interface UITraitResolvesNaturalAlignmentWithBaseWritingDirection : UIObjectTraitDefinition { + + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + delegate void UIMenuElementProviderCreateHandler ([BlockCallback] UIMenuElementProviderCompletion handler); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + delegate void UIMenuElementProviderCompletion (UIMenuElement [] element); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIDeferredMenuElementProvider { + + [Static] + [Export ("providerWithElementProvider:")] + UIDeferredMenuElementProvider Create (UIMenuElementProviderCreateHandler elementProvider); + } + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [BaseType (typeof (NSObject))] + interface UIScrollEdgeElementContainerInteraction : UIInteraction { + + [NullAllowed, Export ("scrollView", ArgumentSemantic.Weak)] + UIScrollView ScrollView { get; set; } + + [Export ("edge", ArgumentSemantic.Assign)] + UIRectEdge Edge { get; set; } + } + + [TV (26, 0), MacCatalyst (26, 0), iOS (26, 0)] + [BaseType (typeof (NSObject), Name = "UITraitHDRHeadroomUsageLimit")] + interface UITraitHdrHeadroomUsageLimit : UINSIntegerTraitDefinition { + + } + + [TV (26, 0), MacCatalyst (26, 0), iOS (26, 0)] + [BaseType (typeof (NSObject))] + interface UITraitSplitViewControllerLayoutEnvironment : UINSIntegerTraitDefinition { + + } + + [NoTV, MacCatalyst (26, 0), iOS (26, 0)] + [BaseType (typeof (NSObject))] + interface UITraitTabAccessoryEnvironment : UINSIntegerTraitDefinition { + + } } diff --git a/src/xkit.cs b/src/xkit.cs index fcaf0ed7b446..9c596aa2a60c 100644 --- a/src/xkit.cs +++ b/src/xkit.cs @@ -3942,6 +3942,10 @@ interface NSTextLayoutManager : NSSecureCoding, NSTextSelectionDataSource { [Export ("replaceContentsInRange:withAttributedString:")] void ReplaceContents (NSTextRange range, NSAttributedString attributedString); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0), Mac (26, 0)] + [Export ("resolvesNaturalAlignmentWithBaseWritingDirection")] + bool ResolvesNaturalAlignmentWithBaseWritingDirection { get; set; } } [TV (15, 0), iOS (15, 0), MacCatalyst (15, 0)] @@ -4718,6 +4722,10 @@ interface NSTextContentStorage : NSTextStorageObserving { [Export ("adjustedRangeFromRange:forEditingTextSelection:")] [return: NullAllowed] NSTextRange GetAdjustedRange (NSTextRange textRange, bool forEditingTextSelection); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("includesTextListMarkers")] + bool IncludesTextListMarkers { get; set; } } [MacCatalyst (13, 0)] @@ -4766,6 +4774,10 @@ interface NSTextList : NSCoding, NSCopying, NSSecureCoding { [Export ("ordered")] bool Ordered { [Bind ("isOrdered")] get; } + [TV (26, 0), Mac (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Static] + [Export ("includesTextListMarkers")] + bool IncludesTextListMarkers { get; } } [TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)] @@ -5279,6 +5291,10 @@ interface UIWritingToolsCoordinator : UIInteraction [Export ("updateForReflowedTextInContextWithIdentifier:")] void UpdateForReflowedTextInContext (NSUuid contextId); + + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("includesTextListMarkers")] + bool IncludesTextListMarkers { get; set; } } #if MONOMAC diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 20fe2a842377..f954e329c884 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -85,6 +85,8 @@ E:QuickLook.QLPreviewController.DidSaveEditedCopy E:QuickLook.QLPreviewController.DidUpdateContents E:UIKit.UISplitViewController.DidCollapse E:UIKit.UISplitViewController.DidExpand +E:UIKit.UISplitViewController.DidHideColumn +E:UIKit.UISplitViewController.DidShowColumn E:UIKit.UISplitViewController.InteractivePresentationGestureDidEnd E:UIKit.UISplitViewController.InteractivePresentationGestureWillBegin E:UIKit.UISplitViewController.WillHideColumn @@ -2869,6 +2871,7 @@ F:Foundation.NSRelativeDateTimeFormatterUnitsStyle.Abbreviated F:Foundation.NSRelativeDateTimeFormatterUnitsStyle.Full F:Foundation.NSRelativeDateTimeFormatterUnitsStyle.Short F:Foundation.NSRelativeDateTimeFormatterUnitsStyle.SpellOut +F:Foundation.NSStringDrawingOptions.OptionsResolvesNaturalAlignmentWithBaseWritingDirection F:Foundation.NSStringEnumerationOptions.ByCaretPositions F:Foundation.NSStringEnumerationOptions.ByComposedCharacterSequences F:Foundation.NSStringEnumerationOptions.ByDeletionClusters @@ -6129,6 +6132,7 @@ F:UIKit.UIAccessibilityTraits.SupportsZoom F:UIKit.UIAccessibilityTraits.TabBar F:UIKit.UIAccessibilityTraits.ToggleButton F:UIKit.UIAccessibilityTraits.UpdatesFrequently +F:UIKit.UIActionIdentifier.NewFromPasteboard F:UIKit.UIActionIdentifier.None F:UIKit.UIActionIdentifier.Paste F:UIKit.UIActionIdentifier.PasteAndGo @@ -6317,15 +6321,22 @@ F:UIKit.UIFontWidth.Compressed F:UIKit.UIFontWidth.Condensed F:UIKit.UIFontWidth.Expanded F:UIKit.UIFontWidth.Standard +F:UIKit.UIHdrHeadroomUsageLimit.Unspecified F:UIKit.UIImageDynamicRange.ConstrainedHigh F:UIKit.UIImageDynamicRange.High F:UIKit.UIImageDynamicRange.Standard F:UIKit.UIImageDynamicRange.Unspecified +F:UIKit.UIImageSymbolColorRenderingMode.Automatic +F:UIKit.UIImageSymbolColorRenderingMode.Flat +F:UIKit.UIImageSymbolColorRenderingMode.Gradient F:UIKit.UIImageSymbolScale.Default F:UIKit.UIImageSymbolScale.Large F:UIKit.UIImageSymbolScale.Medium F:UIKit.UIImageSymbolScale.Small F:UIKit.UIImageSymbolScale.Unspecified +F:UIKit.UIImageSymbolVariableValueMode.Automatic +F:UIKit.UIImageSymbolVariableValueMode.Color +F:UIKit.UIImageSymbolVariableValueMode.Draw F:UIKit.UIImageSymbolWeight.Black F:UIKit.UIImageSymbolWeight.Bold F:UIKit.UIImageSymbolWeight.Heavy @@ -6555,6 +6566,9 @@ F:UIKit.UIMenuElementAttributes.Destructive F:UIKit.UIMenuElementAttributes.Disabled F:UIKit.UIMenuElementAttributes.Hidden F:UIKit.UIMenuElementAttributes.KeepsMenuPresented +F:UIKit.UIMenuElementRepeatBehavior.Automatic +F:UIKit.UIMenuElementRepeatBehavior.NonRepeatable +F:UIKit.UIMenuElementRepeatBehavior.Repeatable F:UIKit.UIMenuElementSize.Automatic F:UIKit.UIMenuElementSize.Large F:UIKit.UIMenuElementSize.Medium @@ -6572,6 +6586,7 @@ F:UIKit.UIMenuIdentifier.Document F:UIKit.UIMenuIdentifier.Edit F:UIKit.UIMenuIdentifier.File F:UIKit.UIMenuIdentifier.Find +F:UIKit.UIMenuIdentifier.FindPanel F:UIKit.UIMenuIdentifier.Font F:UIKit.UIMenuIdentifier.Format F:UIKit.UIMenuIdentifier.Fullscreen @@ -6580,6 +6595,7 @@ F:UIKit.UIMenuIdentifier.Hide F:UIKit.UIMenuIdentifier.Learn F:UIKit.UIMenuIdentifier.Lookup F:UIKit.UIMenuIdentifier.MinimizeAndZoom +F:UIKit.UIMenuIdentifier.NewItem F:UIKit.UIMenuIdentifier.NewScene F:UIKit.UIMenuIdentifier.None F:UIKit.UIMenuIdentifier.Open @@ -6615,6 +6631,13 @@ F:UIKit.UIMenuOptions.Destructive F:UIKit.UIMenuOptions.DisplayAsPalette F:UIKit.UIMenuOptions.DisplayInline F:UIKit.UIMenuOptions.SingleSelection +F:UIKit.UIMenuSystemElementGroupPreference.Automatic +F:UIKit.UIMenuSystemElementGroupPreference.Included +F:UIKit.UIMenuSystemElementGroupPreference.Removed +F:UIKit.UIMenuSystemFindElementGroupConfigurationStyle.Automatic +F:UIKit.UIMenuSystemFindElementGroupConfigurationStyle.EditableText +F:UIKit.UIMenuSystemFindElementGroupConfigurationStyle.NonEditableText +F:UIKit.UIMenuSystemFindElementGroupConfigurationStyle.Search F:UIKit.UIMessageConversationEntryDataKind.Attachment F:UIKit.UIMessageConversationEntryDataKind.Other F:UIKit.UIMessageConversationEntryDataKind.Text @@ -6629,6 +6652,9 @@ F:UIKit.UINavigationItemBackButtonDisplayMode.Minimal F:UIKit.UINavigationItemLargeTitleDisplayMode.Inline F:UIKit.UINavigationItemSearchBarPlacement.Automatic F:UIKit.UINavigationItemSearchBarPlacement.Inline +F:UIKit.UINavigationItemSearchBarPlacement.Integrated +F:UIKit.UINavigationItemSearchBarPlacement.IntegratedButton +F:UIKit.UINavigationItemSearchBarPlacement.IntegratedCentered F:UIKit.UINavigationItemSearchBarPlacement.Stacked F:UIKit.UINavigationItemStyle.Browser F:UIKit.UINavigationItemStyle.Editor @@ -6714,9 +6740,12 @@ F:UIKit.UISearchControllerScopeBarActivation.OnTextEntry F:UIKit.UISheetPresentationControllerDetentIdentifier.Large F:UIKit.UISheetPresentationControllerDetentIdentifier.Medium F:UIKit.UISheetPresentationControllerDetentIdentifier.Unknown +F:UIKit.UISliderStyle.Default +F:UIKit.UISliderStyle.Thumbless F:UIKit.UISplitViewControllerBackgroundStyle.None F:UIKit.UISplitViewControllerBackgroundStyle.Sidebar F:UIKit.UISplitViewControllerColumn.Compact +F:UIKit.UISplitViewControllerColumn.Inspector F:UIKit.UISplitViewControllerColumn.Primary F:UIKit.UISplitViewControllerColumn.Secondary F:UIKit.UISplitViewControllerColumn.Supplementary @@ -6729,6 +6758,9 @@ F:UIKit.UISplitViewControllerDisplayMode.TwoOverSecondary F:UIKit.UISplitViewControllerDisplayModeButtonVisibility.Always F:UIKit.UISplitViewControllerDisplayModeButtonVisibility.Automatic F:UIKit.UISplitViewControllerDisplayModeButtonVisibility.Never +F:UIKit.UISplitViewControllerLayoutEnvironment.Collapsed +F:UIKit.UISplitViewControllerLayoutEnvironment.Expanded +F:UIKit.UISplitViewControllerLayoutEnvironment.None F:UIKit.UISplitViewControllerSplitBehavior.Automatic F:UIKit.UISplitViewControllerSplitBehavior.Displace F:UIKit.UISplitViewControllerSplitBehavior.Overlay @@ -6740,6 +6772,10 @@ F:UIKit.UIStatusBarStyle.DarkContent F:UIKit.UISwitchStyle.Automatic F:UIKit.UISwitchStyle.Checkbox F:UIKit.UISwitchStyle.Sliding +F:UIKit.UITabAccessoryEnvironment.Inline +F:UIKit.UITabAccessoryEnvironment.None +F:UIKit.UITabAccessoryEnvironment.Regular +F:UIKit.UITabAccessoryEnvironment.Unspecified F:UIKit.UITabBarControllerMode.Automatic F:UIKit.UITabBarControllerMode.TabBar F:UIKit.UITabBarControllerMode.TabSidebar @@ -6749,6 +6785,10 @@ F:UIKit.UITabBarControllerSidebarLayout.Tile F:UIKit.UITabBarItemAppearanceStyle.CompactInline F:UIKit.UITabBarItemAppearanceStyle.Inline F:UIKit.UITabBarItemAppearanceStyle.Stacked +F:UIKit.UITabBarMinimizeBehavior.Automatic +F:UIKit.UITabBarMinimizeBehavior.Never +F:UIKit.UITabBarMinimizeBehavior.OnScrollDown +F:UIKit.UITabBarMinimizeBehavior.OnScrollUp F:UIKit.UITabGroupSidebarAppearance.Automatic F:UIKit.UITabGroupSidebarAppearance.Inline F:UIKit.UITabGroupSidebarAppearance.RootSection @@ -6873,6 +6913,9 @@ F:UIKit.UIVibrancyEffectStyle.SecondaryLabel F:UIKit.UIVibrancyEffectStyle.Separator F:UIKit.UIVibrancyEffectStyle.TertiaryFill F:UIKit.UIVibrancyEffectStyle.TertiaryLabel +F:UIKit.UIViewLayoutRegionAdaptivityAxis.Horizontal +F:UIKit.UIViewLayoutRegionAdaptivityAxis.None +F:UIKit.UIViewLayoutRegionAdaptivityAxis.Vertical F:UIKit.UIWindowSceneDismissalAnimation.Commit F:UIKit.UIWindowSceneDismissalAnimation.Decline F:UIKit.UIWindowSceneDismissalAnimation.Standard @@ -6880,6 +6923,7 @@ F:UIKit.UIWindowScenePresentationStyle.Automatic F:UIKit.UIWindowScenePresentationStyle.Prominent F:UIKit.UIWindowScenePresentationStyle.Standard F:UIKit.UIWindowSceneSessionRole.Application +F:UIKit.UIWindowSceneSessionRole.AssistiveAccessApplication F:UIKit.UIWindowSceneSessionRole.CarTemplateApplication F:UIKit.UIWindowSceneSessionRole.ExternalDisplay F:UIKit.UIWindowSceneSessionRole.ExternalDisplayNonInteractive @@ -6906,6 +6950,7 @@ F:UIKit.UIWritingToolsCoordinatorTextUpdateReason.UndoRedo F:UIKit.UIWritingToolsResultOptions.Default F:UIKit.UIWritingToolsResultOptions.List F:UIKit.UIWritingToolsResultOptions.PlainText +F:UIKit.UIWritingToolsResultOptions.PresentationIntent F:UIKit.UIWritingToolsResultOptions.RichText F:UIKit.UIWritingToolsResultOptions.Table F:UniformTypeIdentifiers.UTTagClass.FilenameExtension @@ -15760,11 +15805,13 @@ M:Social.SLComposeServiceViewController.DidBeginFormatting(UIKit.UITextView,UIKi M:Social.SLComposeServiceViewController.DidEndFormatting(UIKit.UITextView,UIKit.UITextFormattingViewController) M:Social.SLComposeServiceViewController.DraggedCell(AppKit.NSTextView,AppKit.NSTextAttachmentCell,CoreGraphics.CGRect,AppKit.NSEvent,System.UIntPtr) M:Social.SLComposeServiceViewController.GetEditMenuForText(UIKit.UITextView,Foundation.NSRange,UIKit.UIMenuElement[]) +M:Social.SLComposeServiceViewController.GetEditMenuForText(UIKit.UITextView,Foundation.NSValue[],UIKit.UIMenuElement[]) M:Social.SLComposeServiceViewController.GetMenuConfiguration(UIKit.UITextView,UIKit.UITextItem,UIKit.UIMenu) M:Social.SLComposeServiceViewController.GetPrimaryAction(UIKit.UITextView,UIKit.UITextItem,UIKit.UIAction) M:Social.SLComposeServiceViewController.GetWritingToolsIgnoredRangesInEnclosingRange(AppKit.NSTextView,Foundation.NSRange) M:Social.SLComposeServiceViewController.GetWritingToolsIgnoredRangesInEnclosingRange(UIKit.UITextView,Foundation.NSRange) M:Social.SLComposeServiceViewController.InsertInputSuggestion(UIKit.UITextView,UIKit.UIInputSuggestion) +M:Social.SLComposeServiceViewController.ShouldChangeText(UIKit.UITextView,Foundation.NSValue[],System.String) M:Social.SLComposeServiceViewController.WillBeginFormatting(UIKit.UITextView,UIKit.UITextFormattingViewController) M:Social.SLComposeServiceViewController.WillDismissEditMenu(UIKit.UITextView,UIKit.IUIEditMenuInteractionAnimating) M:Social.SLComposeServiceViewController.WillDisplay(UIKit.UITextView,UIKit.UITextItem,UIKit.IUIContextMenuInteractionAnimating) @@ -16110,11 +16157,24 @@ M:UIKit.IUIMenuBuilder.GetCommand(ObjCRuntime.Selector,Foundation.NSObject) M:UIKit.IUIMenuBuilder.GetMenu(System.String) M:UIKit.IUIMenuBuilder.InsertChildMenuAtEnd(UIKit.UIMenu,System.String) M:UIKit.IUIMenuBuilder.InsertChildMenuAtStart(UIKit.UIMenu,System.String) +M:UIKit.IUIMenuBuilder.InsertElementsAfterAction(UIKit.UIMenuElement[],System.String) +M:UIKit.IUIMenuBuilder.InsertElementsAfterCommand(UIKit.UIMenuElement[],ObjCRuntime.Selector,Foundation.NSObject) +M:UIKit.IUIMenuBuilder.InsertElementsAfterMenu(UIKit.UIMenuElement[],System.String) +M:UIKit.IUIMenuBuilder.InsertElementsAtEndOfMenu(UIKit.UIMenuElement[],System.String) +M:UIKit.IUIMenuBuilder.InsertElementsAtStartOfMenu(UIKit.UIMenuElement[],System.String) +M:UIKit.IUIMenuBuilder.InsertElementsBeforeAction(UIKit.UIMenuElement[],System.String) +M:UIKit.IUIMenuBuilder.InsertElementsBeforeCommand(UIKit.UIMenuElement[],ObjCRuntime.Selector,Foundation.NSObject) +M:UIKit.IUIMenuBuilder.InsertElementsBeforeMenu(UIKit.UIMenuElement[],System.String) M:UIKit.IUIMenuBuilder.InsertSiblingMenuAfter(UIKit.UIMenu,System.String) M:UIKit.IUIMenuBuilder.InsertSiblingMenuBefore(UIKit.UIMenu,System.String) +M:UIKit.IUIMenuBuilder.RemoveAction(System.String) +M:UIKit.IUIMenuBuilder.RemoveCommand(ObjCRuntime.Selector,Foundation.NSObject) M:UIKit.IUIMenuBuilder.RemoveMenu(System.String) +M:UIKit.IUIMenuBuilder.ReplaceAction(System.String,UIKit.UIMenuElement[]) M:UIKit.IUIMenuBuilder.ReplaceChildrenOfMenu(System.String,System.Func{UIKit.UIMenuElement[],UIKit.UIMenuElement[]}) +M:UIKit.IUIMenuBuilder.ReplaceCommand(ObjCRuntime.Selector,Foundation.NSObject,UIKit.UIMenuElement[]) M:UIKit.IUIMenuBuilder.ReplaceMenu(System.String,UIKit.UIMenu) +M:UIKit.IUIMenuBuilder.ReplaceMenu(System.String,UIKit.UIMenuElement[]) M:UIKit.IUIMenuLeaf.Target(Foundation.NSObject,Foundation.NSObject) M:UIKit.IUIMutableTraits.GetObject(UIKit.IUIObjectTraitDefinition) M:UIKit.IUIMutableTraits.GetValue(UIKit.IUICGFloatTraitDefinition) @@ -16147,6 +16207,10 @@ M:UIKit.IUIPopoverBackgroundViewMethods.GetArrowBase``1 M:UIKit.IUIPopoverBackgroundViewMethods.GetArrowHeight``1 M:UIKit.IUIPopoverBackgroundViewMethods.GetContentViewInsets``1 M:UIKit.IUIPopoverPresentationControllerSourceItem.GetFrame(UIKit.UIView) +M:UIKit.IUIResponderStandardEditActions.AlignCenter(Foundation.NSObject) +M:UIKit.IUIResponderStandardEditActions.AlignJustified(Foundation.NSObject) +M:UIKit.IUIResponderStandardEditActions.AlignLeft(Foundation.NSObject) +M:UIKit.IUIResponderStandardEditActions.AlignRight(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.Copy(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.Cut(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.DecreaseSize(Foundation.NSObject) @@ -16161,17 +16225,21 @@ M:UIKit.IUIResponderStandardEditActions.IncreaseSize(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.MakeTextWritingDirectionLeftToRight(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.MakeTextWritingDirectionRightToLeft(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.Move(Foundation.NSObject) +M:UIKit.IUIResponderStandardEditActions.NewFromPasteboard(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.Paste(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.PasteAndGo(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.PasteAndMatchStyle(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.PasteAndSearch(Foundation.NSObject) +M:UIKit.IUIResponderStandardEditActions.PerformClose(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.Print(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.Rename(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.Select(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.SelectAll(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.ShowWritingTools(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.ToggleBoldface(Foundation.NSObject) +M:UIKit.IUIResponderStandardEditActions.ToggleInspector(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.ToggleItalics(Foundation.NSObject) +M:UIKit.IUIResponderStandardEditActions.ToggleSidebar(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.ToggleUnderline(Foundation.NSObject) M:UIKit.IUIResponderStandardEditActions.UpdateTextAttributes(UIKit.UITextAttributesConversionHandler) M:UIKit.IUIResponderStandardEditActions.UseSelectionForFind(Foundation.NSObject) @@ -16205,6 +16273,8 @@ M:UIKit.IUIShapeProvider.CreateResolvedShape(UIKit.UIShapeResolutionContext) M:UIKit.IUISheetPresentationControllerDelegate.DidChangeSelectedDetentIdentifier(UIKit.UISheetPresentationController) M:UIKit.IUISplitViewControllerDelegate.DidCollapse(UIKit.UISplitViewController) M:UIKit.IUISplitViewControllerDelegate.DidExpand(UIKit.UISplitViewController) +M:UIKit.IUISplitViewControllerDelegate.DidHideColumn(UIKit.UISplitViewController,UIKit.UISplitViewControllerColumn) +M:UIKit.IUISplitViewControllerDelegate.DidShowColumn(UIKit.UISplitViewController,UIKit.UISplitViewControllerColumn) M:UIKit.IUISplitViewControllerDelegate.GetDisplayModeForExpanding(UIKit.UISplitViewController,UIKit.UISplitViewControllerDisplayMode) M:UIKit.IUISplitViewControllerDelegate.GetTopColumnForCollapsing(UIKit.UISplitViewController,UIKit.UISplitViewControllerColumn) M:UIKit.IUISplitViewControllerDelegate.InteractivePresentationGestureDidEnd(UIKit.UISplitViewController) @@ -16251,7 +16321,9 @@ M:UIKit.IUITextDocumentProxy.SetMarkedText(System.String,Foundation.NSRange) M:UIKit.IUITextDocumentProxy.UnmarkText M:UIKit.IUITextFieldDelegate.DidChangeSelection(UIKit.UITextField) M:UIKit.IUITextFieldDelegate.GetEditMenu(UIKit.UITextField,Foundation.NSRange,UIKit.UIMenuElement[]) +M:UIKit.IUITextFieldDelegate.GetEditMenu(UIKit.UITextField,Foundation.NSValue[],UIKit.UIMenuElement[]) M:UIKit.IUITextFieldDelegate.InsertInputSuggestion(UIKit.UITextField,UIKit.UIInputSuggestion) +M:UIKit.IUITextFieldDelegate.ShouldChangeCharacters(UIKit.UITextField,Foundation.NSValue[],System.String) M:UIKit.IUITextFieldDelegate.WillDismissEditMenu(UIKit.UITextField,UIKit.IUIEditMenuInteractionAnimating) M:UIKit.IUITextFieldDelegate.WillPresentEditMenu(UIKit.UITextField,UIKit.IUIEditMenuInteractionAnimating) M:UIKit.IUITextFormattingCoordinatorDelegate.UpdateTextAttributes(UIKit.UITextAttributesConversionHandler) @@ -16297,10 +16369,12 @@ M:UIKit.IUITextSelectionHandleView.GetPreferredFrame(CoreGraphics.CGRect) M:UIKit.IUITextViewDelegate.DidBeginFormatting(UIKit.UITextView,UIKit.UITextFormattingViewController) M:UIKit.IUITextViewDelegate.DidEndFormatting(UIKit.UITextView,UIKit.UITextFormattingViewController) M:UIKit.IUITextViewDelegate.GetEditMenuForText(UIKit.UITextView,Foundation.NSRange,UIKit.UIMenuElement[]) +M:UIKit.IUITextViewDelegate.GetEditMenuForText(UIKit.UITextView,Foundation.NSValue[],UIKit.UIMenuElement[]) M:UIKit.IUITextViewDelegate.GetMenuConfiguration(UIKit.UITextView,UIKit.UITextItem,UIKit.UIMenu) M:UIKit.IUITextViewDelegate.GetPrimaryAction(UIKit.UITextView,UIKit.UITextItem,UIKit.UIAction) M:UIKit.IUITextViewDelegate.GetWritingToolsIgnoredRangesInEnclosingRange(UIKit.UITextView,Foundation.NSRange) M:UIKit.IUITextViewDelegate.InsertInputSuggestion(UIKit.UITextView,UIKit.UIInputSuggestion) +M:UIKit.IUITextViewDelegate.ShouldChangeText(UIKit.UITextView,Foundation.NSValue[],System.String) M:UIKit.IUITextViewDelegate.WillBeginFormatting(UIKit.UITextView,UIKit.UITextFormattingViewController) M:UIKit.IUITextViewDelegate.WillDismissEditMenu(UIKit.UITextView,UIKit.IUIEditMenuInteractionAnimating) M:UIKit.IUITextViewDelegate.WillDisplay(UIKit.UITextView,UIKit.UITextItem,UIKit.IUIContextMenuInteractionAnimating) @@ -16318,6 +16392,8 @@ M:UIKit.IUITraitDefinition.GetAffectsColorAppearance``1 M:UIKit.IUITraitDefinition.GetIdentifier``1 M:UIKit.IUITraitDefinition.GetName``1 M:UIKit.IUIWindowSceneDelegate.DidUpdateCoordinateSpace(UIKit.UIWindowScene,UIKit.IUICoordinateSpace,UIKit.UIInterfaceOrientation,UIKit.UITraitCollection) +M:UIKit.IUIWindowSceneDelegate.DidUpdateEffectiveGeometry(UIKit.UIWindowScene,UIKit.UIWindowSceneGeometry) +M:UIKit.IUIWindowSceneDelegate.GetPreferredWindowingControlStyle(UIKit.UIWindowScene) M:UIKit.IUIWindowSceneDelegate.PerformAction(UIKit.UIWindowScene,UIKit.UIApplicationShortcutItem,System.Action{System.Boolean}) M:UIKit.IUIWindowSceneDelegate.UserDidAcceptCloudKitShare(UIKit.UIWindowScene,CloudKit.CKShareMetadata) M:UIKit.IUIWritingToolsCoordinatorDelegate.FinishTextAnimation(UIKit.UIWritingToolsCoordinator,UIKit.UIWritingToolsCoordinatorTextAnimation,Foundation.NSRange,UIKit.UIWritingToolsCoordinatorContext,System.Action) @@ -16444,6 +16520,7 @@ M:UIKit.UIApplicationDelegate_Extensions.GetHandlerForIntent(UIKit.IUIApplicatio M:UIKit.UIApplicationDelegate_Extensions.ShouldAutomaticallyLocalizeKeyCommands(UIKit.IUIApplicationDelegate,UIKit.UIApplication) M:UIKit.UIApplicationDelegate_Extensions.ShouldRestoreSecureApplicationState(UIKit.IUIApplicationDelegate,UIKit.UIApplication,Foundation.NSCoder) M:UIKit.UIApplicationDelegate_Extensions.ShouldSaveSecureApplicationState(UIKit.IUIApplicationDelegate,UIKit.UIApplication,Foundation.NSCoder) +M:UIKit.UIBackgroundExtensionView.UIBackgroundExtensionViewAppearance.#ctor(System.IntPtr) M:UIKit.UIBandSelectionInteraction.Dispose(System.Boolean) M:UIKit.UIBarButtonItem.add_Clicked(System.EventHandler) M:UIKit.UIBarButtonItem.Dispose(System.Boolean) @@ -16756,6 +16833,10 @@ M:UIKit.UIResponder.AccessibilityIncrement M:UIKit.UIResponder.AccessibilityPerformEscape M:UIKit.UIResponder.AccessibilityPerformMagicTap M:UIKit.UIResponder.AccessibilityScroll(UIKit.UIAccessibilityScrollDirection) +M:UIKit.UIResponderStandardEditActions_Extensions.AlignCenter(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) +M:UIKit.UIResponderStandardEditActions_Extensions.AlignJustified(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) +M:UIKit.UIResponderStandardEditActions_Extensions.AlignLeft(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) +M:UIKit.UIResponderStandardEditActions_Extensions.AlignRight(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.Copy(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.Cut(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.DecreaseSize(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) @@ -16770,17 +16851,21 @@ M:UIKit.UIResponderStandardEditActions_Extensions.IncreaseSize(UIKit.IUIResponde M:UIKit.UIResponderStandardEditActions_Extensions.MakeTextWritingDirectionLeftToRight(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.MakeTextWritingDirectionRightToLeft(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.Move(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) +M:UIKit.UIResponderStandardEditActions_Extensions.NewFromPasteboard(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.Paste(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.PasteAndGo(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.PasteAndMatchStyle(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.PasteAndSearch(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) +M:UIKit.UIResponderStandardEditActions_Extensions.PerformClose(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.Print(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.Rename(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.Select(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.SelectAll(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.ShowWritingTools(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.ToggleBoldface(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) +M:UIKit.UIResponderStandardEditActions_Extensions.ToggleInspector(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.ToggleItalics(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) +M:UIKit.UIResponderStandardEditActions_Extensions.ToggleSidebar(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.ToggleUnderline(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) M:UIKit.UIResponderStandardEditActions_Extensions.UpdateTextAttributes(UIKit.IUIResponderStandardEditActions,UIKit.UITextAttributesConversionHandler) M:UIKit.UIResponderStandardEditActions_Extensions.UseSelectionForFind(UIKit.IUIResponderStandardEditActions,Foundation.NSObject) @@ -16806,6 +16891,7 @@ M:UIKit.UIScribbleInteractionDelegate_Extensions.DidFinishWriting(UIKit.IUIScrib M:UIKit.UIScribbleInteractionDelegate_Extensions.ShouldBegin(UIKit.IUIScribbleInteractionDelegate,UIKit.UIScribbleInteraction,CoreGraphics.CGPoint) M:UIKit.UIScribbleInteractionDelegate_Extensions.ShouldDelayFocus(UIKit.IUIScribbleInteractionDelegate,UIKit.UIScribbleInteraction) M:UIKit.UIScribbleInteractionDelegate_Extensions.WillBeginWriting(UIKit.IUIScribbleInteractionDelegate,UIKit.UIScribbleInteraction) +M:UIKit.UIScrollEdgeElementContainerInteraction.Dispose(System.Boolean) M:UIKit.UIScrollView.add_DecelerationEnded(System.EventHandler) M:UIKit.UIScrollView.add_DecelerationStarted(System.EventHandler) M:UIKit.UIScrollView.add_DidChangeAdjustedContentInset(System.EventHandler) @@ -16873,6 +16959,8 @@ M:UIKit.UISheetPresentationControllerDelegate_Extensions.DidChangeSelectedDetent M:UIKit.UISlider.UISliderAppearance.#ctor(System.IntPtr) M:UIKit.UISplitViewController.add_DidCollapse(System.EventHandler) M:UIKit.UISplitViewController.add_DidExpand(System.EventHandler) +M:UIKit.UISplitViewController.add_DidHideColumn(System.EventHandler{UIKit.UISplitViewControllerDidHideColumnEventArgs}) +M:UIKit.UISplitViewController.add_DidShowColumn(System.EventHandler{UIKit.UISplitViewControllerDidShowColumnEventArgs}) M:UIKit.UISplitViewController.add_InteractivePresentationGestureDidEnd(System.EventHandler) M:UIKit.UISplitViewController.add_InteractivePresentationGestureWillBegin(System.EventHandler) M:UIKit.UISplitViewController.add_WillChangeDisplayMode(System.EventHandler{UIKit.UISplitViewControllerDisplayModeEventArgs}) @@ -16884,6 +16972,8 @@ M:UIKit.UISplitViewController.add_WillShowViewController(System.EventHandler{UIK M:UIKit.UISplitViewController.Dispose(System.Boolean) M:UIKit.UISplitViewController.remove_DidCollapse(System.EventHandler) M:UIKit.UISplitViewController.remove_DidExpand(System.EventHandler) +M:UIKit.UISplitViewController.remove_DidHideColumn(System.EventHandler{UIKit.UISplitViewControllerDidHideColumnEventArgs}) +M:UIKit.UISplitViewController.remove_DidShowColumn(System.EventHandler{UIKit.UISplitViewControllerDidShowColumnEventArgs}) M:UIKit.UISplitViewController.remove_InteractivePresentationGestureDidEnd(System.EventHandler) M:UIKit.UISplitViewController.remove_InteractivePresentationGestureWillBegin(System.EventHandler) M:UIKit.UISplitViewController.remove_WillChangeDisplayMode(System.EventHandler{UIKit.UISplitViewControllerDisplayModeEventArgs}) @@ -16894,6 +16984,8 @@ M:UIKit.UISplitViewController.remove_WillShowColumn(System.EventHandler{UIKit.UI M:UIKit.UISplitViewController.remove_WillShowViewController(System.EventHandler{UIKit.UISplitViewShowEventArgs}) M:UIKit.UISplitViewControllerDelegate_Extensions.DidCollapse(UIKit.IUISplitViewControllerDelegate,UIKit.UISplitViewController) M:UIKit.UISplitViewControllerDelegate_Extensions.DidExpand(UIKit.IUISplitViewControllerDelegate,UIKit.UISplitViewController) +M:UIKit.UISplitViewControllerDelegate_Extensions.DidHideColumn(UIKit.IUISplitViewControllerDelegate,UIKit.UISplitViewController,UIKit.UISplitViewControllerColumn) +M:UIKit.UISplitViewControllerDelegate_Extensions.DidShowColumn(UIKit.IUISplitViewControllerDelegate,UIKit.UISplitViewController,UIKit.UISplitViewControllerColumn) M:UIKit.UISplitViewControllerDelegate_Extensions.GetDisplayModeForExpanding(UIKit.IUISplitViewControllerDelegate,UIKit.UISplitViewController,UIKit.UISplitViewControllerDisplayMode) M:UIKit.UISplitViewControllerDelegate_Extensions.GetTopColumnForCollapsing(UIKit.IUISplitViewControllerDelegate,UIKit.UISplitViewController,UIKit.UISplitViewControllerColumn) M:UIKit.UISplitViewControllerDelegate_Extensions.InteractivePresentationGestureDidEnd(UIKit.IUISplitViewControllerDelegate,UIKit.UISplitViewController) @@ -16983,7 +17075,9 @@ M:UIKit.UITextField.remove_Started(System.EventHandler) M:UIKit.UITextField.UITextFieldAppearance.#ctor(System.IntPtr) M:UIKit.UITextFieldDelegate_Extensions.DidChangeSelection(UIKit.IUITextFieldDelegate,UIKit.UITextField) M:UIKit.UITextFieldDelegate_Extensions.GetEditMenu(UIKit.IUITextFieldDelegate,UIKit.UITextField,Foundation.NSRange,UIKit.UIMenuElement[]) +M:UIKit.UITextFieldDelegate_Extensions.GetEditMenu(UIKit.IUITextFieldDelegate,UIKit.UITextField,Foundation.NSValue[],UIKit.UIMenuElement[]) M:UIKit.UITextFieldDelegate_Extensions.InsertInputSuggestion(UIKit.IUITextFieldDelegate,UIKit.UITextField,UIKit.UIInputSuggestion) +M:UIKit.UITextFieldDelegate_Extensions.ShouldChangeCharacters(UIKit.IUITextFieldDelegate,UIKit.UITextField,Foundation.NSValue[],System.String) M:UIKit.UITextFieldDelegate_Extensions.WillDismissEditMenu(UIKit.IUITextFieldDelegate,UIKit.UITextField,UIKit.IUIEditMenuInteractionAnimating) M:UIKit.UITextFieldDelegate_Extensions.WillPresentEditMenu(UIKit.IUITextFieldDelegate,UIKit.UITextField,UIKit.IUIEditMenuInteractionAnimating) M:UIKit.UITextFormattingCoordinator.Dispose(System.Boolean) @@ -17012,11 +17106,13 @@ M:UIKit.UITextInput_Extensions.WillDismissEditMenu(UIKit.IUITextInput,UIKit.IUIE M:UIKit.UITextInput_Extensions.WillPresentEditMenu(UIKit.IUITextInput,UIKit.IUIEditMenuInteractionAnimating) M:UIKit.UITextInput_Extensions.WillPresentWritingTools(UIKit.IUITextInput) M:UIKit.UITextInputTraits_Extensions.GetAllowedWritingToolsResultOptions(UIKit.IUITextInputTraits) +M:UIKit.UITextInputTraits_Extensions.GetAllowsNumberPadPopover(UIKit.IUITextInputTraits) M:UIKit.UITextInputTraits_Extensions.GetConversationContext(UIKit.IUITextInputTraits) M:UIKit.UITextInputTraits_Extensions.GetInlinePredictionType(UIKit.IUITextInputTraits) M:UIKit.UITextInputTraits_Extensions.GetMathExpressionCompletionType(UIKit.IUITextInputTraits) M:UIKit.UITextInputTraits_Extensions.GetWritingToolsBehavior(UIKit.IUITextInputTraits) M:UIKit.UITextInputTraits_Extensions.SetAllowedWritingToolsResultOptions(UIKit.IUITextInputTraits,UIKit.UIWritingToolsResultOptions) +M:UIKit.UITextInputTraits_Extensions.SetAllowsNumberPadPopover(UIKit.IUITextInputTraits,System.Boolean) M:UIKit.UITextInputTraits_Extensions.SetConversationContext(UIKit.IUITextInputTraits,UIKit.UIConversationContext) M:UIKit.UITextInputTraits_Extensions.SetInlinePredictionType(UIKit.IUITextInputTraits,UIKit.UITextInlinePredictionType) M:UIKit.UITextInputTraits_Extensions.SetMathExpressionCompletionType(UIKit.IUITextInputTraits,UIKit.UITextMathExpressionCompletionType) @@ -17061,10 +17157,12 @@ M:UIKit.UITextView.UITextViewAppearance.#ctor(System.IntPtr) M:UIKit.UITextViewDelegate_Extensions.DidBeginFormatting(UIKit.IUITextViewDelegate,UIKit.UITextView,UIKit.UITextFormattingViewController) M:UIKit.UITextViewDelegate_Extensions.DidEndFormatting(UIKit.IUITextViewDelegate,UIKit.UITextView,UIKit.UITextFormattingViewController) M:UIKit.UITextViewDelegate_Extensions.GetEditMenuForText(UIKit.IUITextViewDelegate,UIKit.UITextView,Foundation.NSRange,UIKit.UIMenuElement[]) +M:UIKit.UITextViewDelegate_Extensions.GetEditMenuForText(UIKit.IUITextViewDelegate,UIKit.UITextView,Foundation.NSValue[],UIKit.UIMenuElement[]) M:UIKit.UITextViewDelegate_Extensions.GetMenuConfiguration(UIKit.IUITextViewDelegate,UIKit.UITextView,UIKit.UITextItem,UIKit.UIMenu) M:UIKit.UITextViewDelegate_Extensions.GetPrimaryAction(UIKit.IUITextViewDelegate,UIKit.UITextView,UIKit.UITextItem,UIKit.UIAction) M:UIKit.UITextViewDelegate_Extensions.GetWritingToolsIgnoredRangesInEnclosingRange(UIKit.IUITextViewDelegate,UIKit.UITextView,Foundation.NSRange) M:UIKit.UITextViewDelegate_Extensions.InsertInputSuggestion(UIKit.IUITextViewDelegate,UIKit.UITextView,UIKit.UIInputSuggestion) +M:UIKit.UITextViewDelegate_Extensions.ShouldChangeText(UIKit.IUITextViewDelegate,UIKit.UITextView,Foundation.NSValue[],System.String) M:UIKit.UITextViewDelegate_Extensions.WillBeginFormatting(UIKit.IUITextViewDelegate,UIKit.UITextView,UIKit.UITextFormattingViewController) M:UIKit.UITextViewDelegate_Extensions.WillDismissEditMenu(UIKit.IUITextViewDelegate,UIKit.UITextView,UIKit.IUIEditMenuInteractionAnimating) M:UIKit.UITextViewDelegate_Extensions.WillDisplay(UIKit.IUITextViewDelegate,UIKit.UITextView,UIKit.UITextItem,UIKit.IUIContextMenuInteractionAnimating) @@ -17081,6 +17179,7 @@ M:UIKit.UITraitChangeObservable_Extensions.RegisterForTraitChanges(UIKit.IUITrai M:UIKit.UITraitChangeObservable_Extensions.RegisterForTraitChanges(UIKit.IUITraitChangeObservable,ObjCRuntime.Class[],ObjCRuntime.Selector) M:UIKit.UITraitChangeObservable_Extensions.RegisterForTraitChanges(UIKit.IUITraitChangeObservable,ObjCRuntime.Class[],System.Action{UIKit.IUITraitEnvironment,UIKit.UITraitCollection}) M:UIKit.UITraitCollection.GetChangedTraits2(UIKit.UITraitCollection) +M:UIKit.UITraitCollection.GetTraitCollection(System.Boolean) M:UIKit.UIVibrancyEffect.CreateWidgetEffectForNotificationCenter(UIKit.UIVibrancyEffectStyle) M:UIKit.UIVideoEditorController.add_Failed(System.EventHandler{Foundation.NSErrorEventArgs}) M:UIKit.UIVideoEditorController.add_Saved(System.EventHandler{UIKit.UIPathEventArgs}) @@ -17112,6 +17211,8 @@ M:UIKit.UIWindow.UIWindowAppearance.#ctor(System.IntPtr) M:UIKit.UIWindowScene.Dispose(System.Boolean) M:UIKit.UIWindowSceneActivationInteraction.Dispose(System.Boolean) M:UIKit.UIWindowSceneDelegate_Extensions.DidUpdateCoordinateSpace(UIKit.IUIWindowSceneDelegate,UIKit.UIWindowScene,UIKit.IUICoordinateSpace,UIKit.UIInterfaceOrientation,UIKit.UITraitCollection) +M:UIKit.UIWindowSceneDelegate_Extensions.DidUpdateEffectiveGeometry(UIKit.IUIWindowSceneDelegate,UIKit.UIWindowScene,UIKit.UIWindowSceneGeometry) +M:UIKit.UIWindowSceneDelegate_Extensions.GetPreferredWindowingControlStyle(UIKit.IUIWindowSceneDelegate,UIKit.UIWindowScene) M:UIKit.UIWindowSceneDelegate_Extensions.GetWindow(UIKit.IUIWindowSceneDelegate) M:UIKit.UIWindowSceneDelegate_Extensions.PerformAction(UIKit.IUIWindowSceneDelegate,UIKit.UIWindowScene,UIKit.UIApplicationShortcutItem,System.Action{System.Boolean}) M:UIKit.UIWindowSceneDelegate_Extensions.SetWindow(UIKit.IUIWindowSceneDelegate,UIKit.UIWindow) @@ -23825,6 +23926,7 @@ P:UIKit.IUIMenuLeaf.Attributes P:UIKit.IUIMenuLeaf.DiscoverabilityTitle P:UIKit.IUIMenuLeaf.Image P:UIKit.IUIMenuLeaf.PresentationSourceItem +P:UIKit.IUIMenuLeaf.RepeatBehavior P:UIKit.IUIMenuLeaf.SelectedImage P:UIKit.IUIMenuLeaf.Sender P:UIKit.IUIMenuLeaf.State @@ -23840,7 +23942,10 @@ P:UIKit.IUIMutableTraits.LayoutDirection P:UIKit.IUIMutableTraits.LegibilityWeight P:UIKit.IUIMutableTraits.ListEnvironment P:UIKit.IUIMutableTraits.PreferredContentSizeCategory +P:UIKit.IUIMutableTraits.ResolvesNaturalAlignmentWithBaseWritingDirection P:UIKit.IUIMutableTraits.SceneCaptureState +P:UIKit.IUIMutableTraits.SplitViewControllerLayoutEnvironment +P:UIKit.IUIMutableTraits.TabAccessoryEnvironment P:UIKit.IUIMutableTraits.ToolbarItemPresentationSize P:UIKit.IUIMutableTraits.TypesettingLanguage P:UIKit.IUIMutableTraits.UserInterfaceIdiom @@ -23856,6 +23961,7 @@ P:UIKit.IUITextCursorView.Blinking P:UIKit.IUITextInput.Editable P:UIKit.IUITextInput.SupportsAdaptiveImageGlyph P:UIKit.IUITextInputTraits.AllowedWritingToolsResultOptions +P:UIKit.IUITextInputTraits.AllowsNumberPadPopover P:UIKit.IUITextInputTraits.ConversationContext P:UIKit.IUITextInputTraits.InlinePredictionType P:UIKit.IUITextInputTraits.MathExpressionCompletionType @@ -23881,6 +23987,7 @@ P:UIKit.NSPreviewInteractionPreviewUpdateEventArgs.TransitionProgress P:UIKit.NSTextContentManager.Delegate P:UIKit.NSTextContentStorage.Delegate P:UIKit.NSTextLayoutManager.Delegate +P:UIKit.NSTextLayoutManager.ResolvesNaturalAlignmentWithBaseWritingDirection P:UIKit.NSTextList.CustomMarkerFormat P:UIKit.NSTextList.Ordered P:UIKit.NSTextRange.Empty @@ -23988,6 +24095,7 @@ P:UIKit.UIFindInteraction.Delegate P:UIKit.UIFindInteraction.FindNavigatorVisible P:UIKit.UIFontPickerViewController.Delegate P:UIKit.UIGestureRecognizer.ShouldReceiveEvent +P:UIKit.UIGlassEffect.Interactive P:UIKit.UIHoverStyle.Enabled P:UIKit.UIImage.AccessibilityActivationPoint P:UIKit.UIImage.AccessibilityAttributedHint @@ -24022,12 +24130,15 @@ P:UIKit.UIListContentView.ListContentConfiguration P:UIKit.UIListSeparatorConfiguration.AutomaticInsets P:UIKit.UIMenu.SelectedElements P:UIKit.UIMenuController.MenuVisible +P:UIKit.UIMutableTraits.ResolvesNaturalAlignmentWithBaseWritingDirection P:UIKit.UINavigationBar.UINavigationBarAppearance.CompactAppearance P:UIKit.UINavigationBar.UINavigationBarAppearance.CompactScrollEdgeAppearance P:UIKit.UINavigationBar.UINavigationBarAppearance.PrefersLargeTitles P:UIKit.UINavigationBar.UINavigationBarAppearance.ScrollEdgeAppearance P:UIKit.UINavigationBar.UINavigationBarAppearance.StandardAppearance +P:UIKit.UINavigationBarAppearance.LargeSubtitleTextAttributes P:UIKit.UINavigationBarAppearance.LargeTitleTextAttributes +P:UIKit.UINavigationBarAppearance.SubtitleTextAttributes P:UIKit.UINavigationBarAppearance.TitleTextAttributes P:UIKit.UINavigationItem.RenameDelegate P:UIKit.UIPageControlProgress.Delegate @@ -24070,9 +24181,11 @@ P:UIKit.UIScreenshotService.Delegate P:UIKit.UIScribbleInteraction.Delegate P:UIKit.UIScribbleInteraction.HandlingWriting P:UIKit.UIScribbleInteraction.PencilInputExpected +P:UIKit.UIScrollEdgeEffect.Hidden P:UIKit.UIScrollView.ScrollAnimating P:UIKit.UIScrollView.ZoomAnimating P:UIKit.UIScrollViewZoomingEventArgs.View +P:UIKit.UISearchBar.AllowsNumberPadPopover P:UIKit.UISearchBar.Enabled P:UIKit.UISearchBar.LookToDictateEnabled P:UIKit.UISearchBar.UISearchBarAppearance.SearchFieldBackgroundPositionAdjustment @@ -24083,6 +24196,8 @@ P:UIKit.UISegmentedControl.UISegmentedControlAppearance.SelectedSegmentTintColor P:UIKit.UISheetPresentationController.Delegate P:UIKit.UISplitViewController.GetDisplayModeForExpanding P:UIKit.UISplitViewController.GetTopColumnForCollapsing +P:UIKit.UISplitViewControllerDidHideColumnEventArgs.Column +P:UIKit.UISplitViewControllerDidShowColumnEventArgs.Column P:UIKit.UISplitViewControllerDisplayModeEventArgs.DisplayMode P:UIKit.UISplitViewControllerWillShowHideColumnEventArgs.Column P:UIKit.UISplitViewHideEventArgs.AViewController @@ -24135,7 +24250,10 @@ P:UIKit.UITabBarTabVisibilityChangeEventArgs.Tabs P:UIKit.UITableView.PrefetchingEnabled P:UIKit.UITableViewCell.UITableViewCellAppearance.FocusStyle P:UIKit.UITableViewCell.UITableViewCellAppearance.SeparatorInset +P:UIKit.UITextDocumentProxy.AllowsNumberPadPopover +P:UIKit.UITextField.AllowsNumberPadPopover P:UIKit.UITextField.Editable +P:UIKit.UITextField.ShouldChangeCharactersInRanges P:UIKit.UITextFormattingCoordinator.Delegate P:UIKit.UITextFormattingCoordinator.FontPanelVisible P:UIKit.UITextFormattingViewController.Delegate @@ -24149,6 +24267,7 @@ P:UIKit.UITextInputContext.PencilInputExpected P:UIKit.UITextInteraction.Delegate P:UIKit.UITextSelectionDisplayInteraction.Activated P:UIKit.UITextSelectionDisplayInteraction.Delegate +P:UIKit.UITextView.AllowsNumberPadPopover P:UIKit.UITextView.FindInteractionEnabled P:UIKit.UITextView.GetWritingToolsIgnoredRangesInEnclosingRange P:UIKit.UITextView.TypingAttributes2 @@ -24161,6 +24280,7 @@ P:UIKit.UIToolbar.UIToolbarAppearance.ScrollEdgeAppearance P:UIKit.UIToolbar.UIToolbarAppearance.StandardAppearance P:UIKit.UIToolTipInteraction.Delegate P:UIKit.UIToolTipInteraction.Enabled +P:UIKit.UITraitCollection.ResolvesNaturalAlignmentWithBaseWritingDirection P:UIKit.UITraitCollection.SystemTraitsAffectingColorAppearance2 P:UIKit.UITraitCollection.SystemTraitsAffectingImageLookup2 P:UIKit.UIUpdateInfo.ImmediatePresentationExpected @@ -24192,6 +24312,8 @@ P:UIKit.UIViewConfigurationState.Selected P:UIKit.UIViewController.ModalInPresentation P:UIKit.UIWebErrorArgs.Error P:UIKit.UIWindowScene.FullScreen +P:UIKit.UIWindowSceneGeometry.InteractivelyResizing +P:UIKit.UIWindowSceneGeometry.InterfaceOrientationLocked P:UIKit.UIWritingToolsCoordinator.Delegate P:UIKit.WillEndDraggingEventArgs.TargetContentOffset P:UIKit.WillEndDraggingEventArgs.Velocity @@ -29109,9 +29231,12 @@ T:UIKit.UIFontWidth T:UIKit.UIGraphicsImageRendererFormatRange T:UIKit.UIGuidedAccessAccessibilityFeature T:UIKit.UIGuidedAccessErrorCode +T:UIKit.UIHdrHeadroomUsageLimit T:UIKit.UIImageDynamicRange T:UIKit.UIImageResizingModeExtensions +T:UIKit.UIImageSymbolColorRenderingMode T:UIKit.UIImageSymbolScale +T:UIKit.UIImageSymbolVariableValueMode T:UIKit.UIImageSymbolWeight T:UIKit.UIIndirectScribbleInteractionDelegate T:UIKit.UIKeyboardHidUsage @@ -29125,11 +29250,17 @@ T:UIKit.UIListContentTextTransform T:UIKit.UIListEnvironment T:UIKit.UIListSeparatorVisibility T:UIKit.UIMailConversationEntryKind +T:UIKit.UIMainMenuSystemBuildHandler T:UIKit.UIMenuElementAttributes +T:UIKit.UIMenuElementProviderCompletion +T:UIKit.UIMenuElementProviderCreateHandler +T:UIKit.UIMenuElementRepeatBehavior T:UIKit.UIMenuElementSize T:UIKit.UIMenuElementState T:UIKit.UIMenuIdentifier T:UIKit.UIMenuOptions +T:UIKit.UIMenuSystemElementGroupPreference +T:UIKit.UIMenuSystemFindElementGroupConfigurationStyle T:UIKit.UIMessageConversationEntryDataKind T:UIKit.UIMutableTraits T:UIKit.UINavigationBarNSToolbarSection @@ -29171,17 +29302,21 @@ T:UIKit.UISearchControllerScopeBarActivation T:UIKit.UISearchTextFieldDelegate T:UIKit.UISheetPresentationControllerDelegate T:UIKit.UISheetPresentationControllerDetentIdentifier +T:UIKit.UISliderStyle T:UIKit.UISplitViewControllerBackgroundStyle T:UIKit.UISplitViewControllerColumn T:UIKit.UISplitViewControllerDisplayModeButtonVisibility +T:UIKit.UISplitViewControllerLayoutEnvironment T:UIKit.UISplitViewControllerSplitBehavior T:UIKit.UISplitViewControllerStyle T:UIKit.UIStoryboardViewControllerCreator T:UIKit.UISwitchStyle +T:UIKit.UITabAccessoryEnvironment T:UIKit.UITabBarControllerMode T:UIKit.UITabBarControllerSidebarDelegate T:UIKit.UITabBarControllerSidebarLayout T:UIKit.UITabBarItemAppearanceStyle +T:UIKit.UITabBarMinimizeBehavior T:UIKit.UITabGroupSidebarAppearance T:UIKit.UITableViewCellConfigurationUpdateHandler T:UIKit.UITableViewContentHuggingElements @@ -29215,10 +29350,12 @@ T:UIKit.UITitlebarTitleVisibility T:UIKit.UITitlebarToolbarStyle T:UIKit.UIToolTipInteractionDelegate T:UIKit.UITraitMutations +T:UIKit.UITraitResolvesNaturalAlignmentWithBaseWritingDirection T:UIKit.UIUpdateLinkCallback T:UIKit.UIUserInterfaceActiveAppearance T:UIKit.UIUserInterfaceLevel T:UIKit.UIVibrancyEffectStyle +T:UIKit.UIViewLayoutRegionAdaptivityAxis T:UIKit.UIWindowSceneActivationActionConfigurationProvider T:UIKit.UIWindowSceneActivationInteractionConfigurationProvider T:UIKit.UIWindowSceneDelegate diff --git a/tests/introspection/iOSApiProtocolTest.cs b/tests/introspection/iOSApiProtocolTest.cs index 168c1e8762d6..1f88b0ff4565 100644 --- a/tests/introspection/iOSApiProtocolTest.cs +++ b/tests/introspection/iOSApiProtocolTest.cs @@ -441,6 +441,9 @@ protected override bool Skip (Type type, string protocolName) case "CKSyncEnginePendingDatabaseChange": case "NSCursor": return true; + // Xcode 26.0 + case "UISceneDestructionCondition": // Conformance not in headers + return true; } break; case "NSSecureCoding": @@ -639,6 +642,9 @@ protected override bool Skip (Type type, string protocolName) case "CKSyncEngineState": case "NSCursor": return true; + // Xcode 26.0 + case "UISceneDestructionCondition": // Conformance not in headers + return true; } break; case "NSCopying": @@ -738,6 +744,7 @@ protected override bool Skip (Type type, string protocolName) case "SRMessagesUsageReport": case "SRPhoneUsageReport": case "SRWristDetection": + case "UIMenuSystemFindElementGroupConfiguration": // conformance not in headers return true; } break; diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo deleted file mode 100644 index 022e7e7c5805..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo +++ /dev/null @@ -1,302 +0,0 @@ -!missing-designated-initializer! UIWindow::initWithFrame: is missing an [DesignatedInitializer] attribute -!missing-designated-initializer! UIWindow::initWithWindowScene: is missing an [DesignatedInitializer] attribute -!missing-enum! UIHDRHeadroomUsageLimit not bound -!missing-enum! UIImageSymbolColorRenderingMode not bound -!missing-enum! UIImageSymbolVariableValueMode not bound -!missing-enum! UIMenuElementRepeatBehavior not bound -!missing-enum! UIMenuSystemElementGroupPreference not bound -!missing-enum! UIMenuSystemFindElementGroupConfigurationStyle not bound -!missing-enum! UISliderStyle not bound -!missing-enum! UISplitViewControllerLayoutEnvironment not bound -!missing-enum! UITabAccessoryEnvironment not bound -!missing-enum! UITabBarMinimizeBehavior not bound -!missing-enum! UIViewLayoutRegionAdaptivityAxis not bound -!missing-enum-value! UINavigationItemSearchBarPlacement native value UINavigationItemSearchBarPlacementIntegratedButton = 4 not bound -!missing-enum-value! UINavigationItemSearchBarPlacement native value UINavigationItemSearchBarPlacementIntegratedCentered = 3 not bound -!missing-enum-value! UISplitViewControllerColumn native value UISplitViewControllerColumnInspector = 4 not bound -!missing-enum-value! UIViewAnimationOptions native value UIViewAnimationOptionFlushUpdates = 268435456 not bound -!missing-enum-value! UIWritingToolsResultOptions native value UIWritingToolsResultPresentationIntent = 16 not bound -!missing-field! UIActionNewFromPasteboard not bound -!missing-field! UIMenuFindPanel not bound -!missing-field! UIMenuNewItem not bound -!missing-field! UIWindowSceneSessionRoleAssistiveAccessApplication not bound -!missing-protocol-member! UIMenuBuilder::insertElements:afterActionForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:afterCommandForAction:propertyList: not found -!missing-protocol-member! UIMenuBuilder::insertElements:afterMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:atEndOfMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:atStartOfMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:beforeActionForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:beforeCommandForAction:propertyList: not found -!missing-protocol-member! UIMenuBuilder::insertElements:beforeMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::removeActionForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::removeCommandForAction:propertyList: not found -!missing-protocol-member! UIMenuBuilder::replaceActionForIdentifier:withElements: not found -!missing-protocol-member! UIMenuBuilder::replaceCommandForAction:propertyList:withElements: not found -!missing-protocol-member! UIMenuBuilder::replaceMenuForIdentifier:withElements: not found -!missing-protocol-member! UIMenuLeaf::repeatBehavior not found -!missing-protocol-member! UIMenuLeaf::setRepeatBehavior: not found -!missing-protocol-member! UIMutableTraits::setSplitViewControllerLayoutEnvironment: not found -!missing-protocol-member! UIMutableTraits::setTabAccessoryEnvironment: not found -!missing-protocol-member! UIMutableTraits::splitViewControllerLayoutEnvironment not found -!missing-protocol-member! UIMutableTraits::tabAccessoryEnvironment not found -!missing-protocol-member! UIResponderStandardEditActions::alignCenter: not found -!missing-protocol-member! UIResponderStandardEditActions::alignJustified: not found -!missing-protocol-member! UIResponderStandardEditActions::alignLeft: not found -!missing-protocol-member! UIResponderStandardEditActions::alignRight: not found -!missing-protocol-member! UIResponderStandardEditActions::newFromPasteboard: not found -!missing-protocol-member! UIResponderStandardEditActions::performClose: not found -!missing-protocol-member! UIResponderStandardEditActions::toggleInspector: not found -!missing-protocol-member! UIResponderStandardEditActions::toggleSidebar: not found -!missing-protocol-member! UISplitViewControllerDelegate::splitViewController:didHideColumn: not found -!missing-protocol-member! UISplitViewControllerDelegate::splitViewController:didShowColumn: not found -!missing-protocol-member! UITextFieldDelegate::textField:editMenuForCharactersInRanges:suggestedActions: not found -!missing-protocol-member! UITextFieldDelegate::textField:shouldChangeCharactersInRanges:replacementString: not found -!missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRanges:suggestedActions: not found -!missing-protocol-member! UITextViewDelegate::textView:shouldChangeTextInRanges:replacementText: not found -!missing-protocol-member! UIWindowSceneDelegate::preferredWindowingControlStyleForScene: not found -!missing-protocol-member! UIWindowSceneDelegate::windowScene:didUpdateEffectiveGeometry: not found -!missing-selector! +NSTextList::includesTextListMarkers not bound -!missing-selector! +UIBarButtonItem::fixedSpaceItem not bound -!missing-selector! +UIBarButtonItemBadge::badgeWithCount: not bound -!missing-selector! +UIBarButtonItemBadge::badgeWithString: not bound -!missing-selector! +UIBarButtonItemBadge::indicatorBadge not bound -!missing-selector! +UIBarButtonItemGroup::groupWithFixedSpace not bound -!missing-selector! +UIButtonConfiguration::glassButtonConfiguration not bound -!missing-selector! +UIButtonConfiguration::tintedGlassButtonConfiguration not bound -!missing-selector! +UIColor::colorWithRed:green:blue:alpha:exposure: not bound -!missing-selector! +UIColor::colorWithRed:green:blue:alpha:linearExposure: not bound -!missing-selector! +UIContextMenuSystem::sharedSystem not bound -!missing-selector! +UIDeferredMenuElement::elementUsingFocusWithIdentifier:shouldCacheItems: not bound -!missing-selector! +UIDeferredMenuElementProvider::providerWithElementProvider: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationWithColorRenderingMode: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationWithVariableValueMode: not bound -!missing-selector! +UIMainMenuSystem::sharedSystem not bound -!missing-selector! +UISceneWindowingControlStyle::automaticStyle not bound -!missing-selector! +UISceneWindowingControlStyle::minimalStyle not bound -!missing-selector! +UISceneWindowingControlStyle::unifiedStyle not bound -!missing-selector! +UIScrollEdgeEffectStyle::automaticStyle not bound -!missing-selector! +UIScrollEdgeEffectStyle::hardStyle not bound -!missing-selector! +UIScrollEdgeEffectStyle::softStyle not bound -!missing-selector! +UISliderTick::tickWithPosition:title:image: not bound -!missing-selector! +UISliderTrackConfiguration::configurationWithNumberOfTicks: not bound -!missing-selector! +UISliderTrackConfiguration::configurationWithTicks: not bound -!missing-selector! +UISymbolContentTransition::transitionWithContentTransition: not bound -!missing-selector! +UISymbolContentTransition::transitionWithContentTransition:options: not bound -!missing-selector! +UITraitCollection::traitCollectionWithHDRHeadroomUsageLimit: not bound -!missing-selector! +UITraitCollection::traitCollectionWithTabAccessoryEnvironment: not bound -!missing-selector! +UIViewControllerTransition::zoomWithOptions:sourceBarButtonItemProvider: not bound -!missing-selector! +UIViewLayoutRegion::marginsLayoutRegionWithCornerAdaptation: not bound -!missing-selector! +UIViewLayoutRegion::readableContentLayoutRegionWithCornerAdaptation: not bound -!missing-selector! +UIViewLayoutRegion::safeAreaLayoutRegionWithCornerAdaptation: not bound -!missing-selector! NSTextContentStorage::includesTextListMarkers not bound -!missing-selector! NSTextContentStorage::setIncludesTextListMarkers: not bound -!missing-selector! UIBackgroundExtensionView::automaticallyPlacesContentView not bound -!missing-selector! UIBackgroundExtensionView::contentView not bound -!missing-selector! UIBackgroundExtensionView::setAutomaticallyPlacesContentView: not bound -!missing-selector! UIBackgroundExtensionView::setContentView: not bound -!missing-selector! UIBarButtonItem::badge not bound -!missing-selector! UIBarButtonItem::hidesSharedBackground not bound -!missing-selector! UIBarButtonItem::setBadge: not bound -!missing-selector! UIBarButtonItem::setHidesSharedBackground: not bound -!missing-selector! UIBarButtonItem::setSharesBackground: not bound -!missing-selector! UIBarButtonItem::sharesBackground not bound -!missing-selector! UIBarButtonItemBadge::backgroundColor not bound -!missing-selector! UIBarButtonItemBadge::font not bound -!missing-selector! UIBarButtonItemBadge::foregroundColor not bound -!missing-selector! UIBarButtonItemBadge::init not bound -!missing-selector! UIBarButtonItemBadge::setBackgroundColor: not bound -!missing-selector! UIBarButtonItemBadge::setFont: not bound -!missing-selector! UIBarButtonItemBadge::setForegroundColor: not bound -!missing-selector! UIBarButtonItemBadge::stringValue not bound -!missing-selector! UIButtonConfiguration::setSymbolContentTransition: not bound -!missing-selector! UIButtonConfiguration::symbolContentTransition not bound -!missing-selector! UIColor::colorByApplyingContentHeadroom: not bound -!missing-selector! UIColor::initWithRed:green:blue:alpha:exposure: not bound -!missing-selector! UIColor::initWithRed:green:blue:alpha:linearExposure: not bound -!missing-selector! UIColor::linearExposure not bound -!missing-selector! UIColor::standardDynamicRangeColor not bound -!missing-selector! UIColorPickerViewController::maximumLinearExposure not bound -!missing-selector! UIColorPickerViewController::setMaximumLinearExposure: not bound -!missing-selector! UIColorPickerViewController::setSupportsEyedropper: not bound -!missing-selector! UIColorPickerViewController::supportsEyedropper not bound -!missing-selector! UIColorWell::maximumLinearExposure not bound -!missing-selector! UIColorWell::setMaximumLinearExposure: not bound -!missing-selector! UIColorWell::setSupportsEyedropper: not bound -!missing-selector! UIColorWell::supportsEyedropper not bound -!missing-selector! UIDeferredMenuElement::identifier not bound -!missing-selector! UIGlassContainerEffect::setSpacing: not bound -!missing-selector! UIGlassContainerEffect::spacing not bound -!missing-selector! UIGlassEffect::isInteractive not bound -!missing-selector! UIGlassEffect::setInteractive: not bound -!missing-selector! UIGlassEffect::setTintColor: not bound -!missing-selector! UIGlassEffect::tintColor not bound -!missing-selector! UIMainMenuSystem::setBuildConfiguration:buildHandler: not bound -!missing-selector! UIMainMenuSystemConfiguration::documentPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::findingConfiguration not bound -!missing-selector! UIMainMenuSystemConfiguration::findingPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::inspectorPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::newScenePreference not bound -!missing-selector! UIMainMenuSystemConfiguration::printingPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::setDocumentPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setFindingPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setInspectorPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setNewScenePreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setPrintingPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setSidebarPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setTextFormattingPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setToolbarPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::sidebarPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::textFormattingPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::toolbarPreference not bound -!missing-selector! UIMenuSystemFindElementGroupConfiguration::setStyle: not bound -!missing-selector! UIMenuSystemFindElementGroupConfiguration::style not bound -!missing-selector! UINavigationBarAppearance::largeSubtitleTextAttributes not bound -!missing-selector! UINavigationBarAppearance::prominentButtonAppearance not bound -!missing-selector! UINavigationBarAppearance::setLargeSubtitleTextAttributes: not bound -!missing-selector! UINavigationBarAppearance::setProminentButtonAppearance: not bound -!missing-selector! UINavigationBarAppearance::setSubtitleTextAttributes: not bound -!missing-selector! UINavigationBarAppearance::subtitleTextAttributes not bound -!missing-selector! UINavigationController::interactiveContentPopGestureRecognizer not bound -!missing-selector! UINavigationItem::attributedSubtitle not bound -!missing-selector! UINavigationItem::attributedTitle not bound -!missing-selector! UINavigationItem::largeAttributedSubtitle not bound -!missing-selector! UINavigationItem::largeSubtitle not bound -!missing-selector! UINavigationItem::largeSubtitleView not bound -!missing-selector! UINavigationItem::largeTitle not bound -!missing-selector! UINavigationItem::searchBarPlacementAllowsExternalIntegration not bound -!missing-selector! UINavigationItem::searchBarPlacementAllowsToolbarIntegration not bound -!missing-selector! UINavigationItem::searchBarPlacementBarButtonItem not bound -!missing-selector! UINavigationItem::setAttributedSubtitle: not bound -!missing-selector! UINavigationItem::setAttributedTitle: not bound -!missing-selector! UINavigationItem::setLargeAttributedSubtitle: not bound -!missing-selector! UINavigationItem::setLargeSubtitle: not bound -!missing-selector! UINavigationItem::setLargeSubtitleView: not bound -!missing-selector! UINavigationItem::setLargeTitle: not bound -!missing-selector! UINavigationItem::setSearchBarPlacementAllowsExternalIntegration: not bound -!missing-selector! UINavigationItem::setSearchBarPlacementAllowsToolbarIntegration: not bound -!missing-selector! UINavigationItem::setSubtitle: not bound -!missing-selector! UINavigationItem::setSubtitleView: not bound -!missing-selector! UINavigationItem::subtitle not bound -!missing-selector! UINavigationItem::subtitleView not bound -!missing-selector! UIResponder::providerForDeferredMenuElement: not bound -!missing-selector! UIScene::destructionConditions not bound -!missing-selector! UIScene::setDestructionConditions: not bound -!missing-selector! UIScrollEdgeEffect::isHidden not bound -!missing-selector! UIScrollEdgeEffect::setHidden: not bound -!missing-selector! UIScrollEdgeEffect::setStyle: not bound -!missing-selector! UIScrollEdgeEffect::style not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::edge not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::scrollView not bound -!missing-selector! UIScrollView::bottomEdgeEffect not bound -!missing-selector! UIScrollView::leftEdgeEffect not bound -!missing-selector! UIScrollView::rightEdgeEffect not bound -!missing-selector! UIScrollView::topEdgeEffect not bound -!missing-selector! UISearchTab::automaticallyActivatesSearch not bound -!missing-selector! UISearchTab::setAutomaticallyActivatesSearch: not bound -!missing-selector! UISlider::setSliderStyle: not bound -!missing-selector! UISlider::setTrackConfiguration: not bound -!missing-selector! UISlider::sliderStyle not bound -!missing-selector! UISlider::trackConfiguration not bound -!missing-selector! UISliderTick::image not bound -!missing-selector! UISliderTick::position not bound -!missing-selector! UISliderTick::setImage: not bound -!missing-selector! UISliderTick::setTitle: not bound -!missing-selector! UISliderTick::title not bound -!missing-selector! UISliderTrackConfiguration::allowsTickValuesOnly not bound -!missing-selector! UISliderTrackConfiguration::maximumEnabledValue not bound -!missing-selector! UISliderTrackConfiguration::minimumEnabledValue not bound -!missing-selector! UISliderTrackConfiguration::neutralValue not bound -!missing-selector! UISliderTrackConfiguration::setAllowsTickValuesOnly: not bound -!missing-selector! UISliderTrackConfiguration::setMaximumEnabledValue: not bound -!missing-selector! UISliderTrackConfiguration::setMinimumEnabledValue: not bound -!missing-selector! UISliderTrackConfiguration::setNeutralValue: not bound -!missing-selector! UISliderTrackConfiguration::ticks not bound -!missing-selector! UISplitViewController::isShowingColumn: not bound -!missing-selector! UISplitViewController::maximumInspectorColumnWidth not bound -!missing-selector! UISplitViewController::minimumInspectorColumnWidth not bound -!missing-selector! UISplitViewController::minimumSecondaryColumnWidth not bound -!missing-selector! UISplitViewController::preferredInspectorColumnWidth not bound -!missing-selector! UISplitViewController::preferredInspectorColumnWidthFraction not bound -!missing-selector! UISplitViewController::preferredSecondaryColumnWidth not bound -!missing-selector! UISplitViewController::preferredSecondaryColumnWidthFraction not bound -!missing-selector! UISplitViewController::setMaximumInspectorColumnWidth: not bound -!missing-selector! UISplitViewController::setMinimumInspectorColumnWidth: not bound -!missing-selector! UISplitViewController::setMinimumSecondaryColumnWidth: not bound -!missing-selector! UISplitViewController::setPreferredInspectorColumnWidth: not bound -!missing-selector! UISplitViewController::setPreferredInspectorColumnWidthFraction: not bound -!missing-selector! UISplitViewController::setPreferredSecondaryColumnWidth: not bound -!missing-selector! UISplitViewController::setPreferredSecondaryColumnWidthFraction: not bound -!missing-selector! UISymbolContentTransition::contentTransition not bound -!missing-selector! UISymbolContentTransition::options not bound -!missing-selector! UITabAccessory::contentView not bound -!missing-selector! UITabAccessory::initWithContentView: not bound -!missing-selector! UITabBarController::bottomAccessory not bound -!missing-selector! UITabBarController::contentLayoutGuide not bound -!missing-selector! UITabBarController::setBottomAccessory: not bound -!missing-selector! UITabBarController::setBottomAccessory:animated: not bound -!missing-selector! UITabBarController::setTabBarMinimizeBehavior: not bound -!missing-selector! UITabBarController::tabBarMinimizeBehavior not bound -!missing-selector! UITextView::selectedRanges not bound -!missing-selector! UITextView::setSelectedRanges: not bound -!missing-selector! UIToolbarAppearance::prominentButtonAppearance not bound -!missing-selector! UIToolbarAppearance::setProminentButtonAppearance: not bound -!missing-selector! UITraitCollection::hdrHeadroomUsageLimit not bound -!missing-selector! UITraitCollection::splitViewControllerLayoutEnvironment not bound -!missing-selector! UITraitCollection::tabAccessoryEnvironment not bound -!missing-selector! UIView::directionalEdgeInsetsForLayoutRegion: not bound -!missing-selector! UIView::edgeInsetsForLayoutRegion: not bound -!missing-selector! UIView::layoutGuideForLayoutRegion: not bound -!missing-selector! UIView::setNeedsUpdateProperties not bound -!missing-selector! UIView::updateProperties not bound -!missing-selector! UIView::updatePropertiesIfNeeded not bound -!missing-selector! UIViewController::setNeedsUpdateProperties not bound -!missing-selector! UIViewController::updateProperties not bound -!missing-selector! UIViewController::updatePropertiesIfNeeded not bound -!missing-selector! UIViewControllerUIViewController::childViewControllerForInterfaceOrientationLock not bound -!missing-selector! UIViewControllerUIViewController::prefersInterfaceOrientationLocked not bound -!missing-selector! UIViewControllerUIViewController::setNeedsUpdateOfPrefersInterfaceOrientationLocked not bound -!missing-selector! UIViewPropertyAnimator::flushUpdates not bound -!missing-selector! UIViewPropertyAnimator::setFlushUpdates: not bound -!missing-selector! UIWindowSceneGeometry::coordinateSpace not bound -!missing-selector! UIWindowSceneGeometry::isInteractivelyResizing not bound -!missing-selector! UIWindowSceneGeometry::isInterfaceOrientationLocked not bound -!missing-selector! UIWritingToolsCoordinator::includesTextListMarkers not bound -!missing-selector! UIWritingToolsCoordinator::setIncludesTextListMarkers: not bound -!missing-type! UIBackgroundExtensionView not bound -!missing-type! UIBarButtonItemBadge not bound -!missing-type! UIContextMenuSystem not bound -!missing-type! UIDeferredMenuElementProvider not bound -!missing-type! UIGlassContainerEffect not bound -!missing-type! UIGlassEffect not bound -!missing-type! UIMainMenuSystem not bound -!missing-type! UIMainMenuSystemConfiguration not bound -!missing-type! UIMenuSystemFindElementGroupConfiguration not bound -!missing-type! UISceneDestructionCondition not bound -!missing-type! UISceneWindowingControlStyle not bound -!missing-type! UIScrollEdgeEffect not bound -!missing-type! UIScrollEdgeEffectStyle not bound -!missing-type! UIScrollEdgeElementContainerInteraction not bound -!missing-type! UISliderTick not bound -!missing-type! UISliderTrackConfiguration not bound -!missing-type! UISymbolContentTransition not bound -!missing-type! UITabAccessory not bound -!missing-type! UITraitHDRHeadroomUsageLimit not bound -!missing-type! UITraitSplitViewControllerLayoutEnvironment not bound -!missing-type! UITraitTabAccessoryEnvironment not bound -!missing-type! UIViewLayoutRegion not bound -!missing-selector! UIBarButtonItem::identifier not bound -!missing-selector! UIBarButtonItem::setIdentifier: not bound -!missing-selector! UIDocumentBrowserAction::imageOnlyForContextMenu not bound -!missing-selector! UIDocumentBrowserAction::setImageOnlyForContextMenu: not bound -!missing-enum-value! NSStringDrawingOptions native value NSStringDrawingOptionsResolvesNaturalAlignmentWithBaseWritingDirection = 512 not bound -!missing-protocol-member! UIMutableTraits::resolvesNaturalAlignmentWithBaseWritingDirection not found -!missing-protocol-member! UIMutableTraits::setResolvesNaturalAlignmentWithBaseWritingDirection: not found -!missing-protocol-member! UITextInputTraits::allowsNumberPadPopover not found -!missing-protocol-member! UITextInputTraits::setAllowsNumberPadPopover: not found -!missing-selector! +UITraitCollection::traitCollectionWithResolvesNaturalAlignmentWithBaseWritingDirection: not bound -!missing-selector! NSTextLayoutManager::resolvesNaturalAlignmentWithBaseWritingDirection not bound -!missing-selector! NSTextLayoutManager::setResolvesNaturalAlignmentWithBaseWritingDirection: not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::setEdge: not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::setScrollView: not bound -!missing-selector! UITraitCollection::resolvesNaturalAlignmentWithBaseWritingDirection not bound -!missing-type! UITraitResolvesNaturalAlignmentWithBaseWritingDirection not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo deleted file mode 100644 index 37c4da55e3c3..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo +++ /dev/null @@ -1,321 +0,0 @@ -!deprecated-attribute-missing! UIApplicationDelegate::application:continueUserActivity:restorationHandler: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:didFailToContinueUserActivityWithType:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:didUpdateUserActivity: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:openURL:options: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:performActionForShortcutItem:completionHandler: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:userDidAcceptCloudKitShareWithMetadata: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:willContinueUserActivityWithType: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::applicationDidBecomeActive: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::applicationWillEnterForeground: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::applicationWillResignActive: missing a [Deprecated] attribute -!deprecated-attribute-missing! UINavigationBarAppearance::doneButtonAppearance missing a [Deprecated] attribute -!deprecated-attribute-missing! UINavigationBarAppearance::setDoneButtonAppearance: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIToolbarAppearance::doneButtonAppearance missing a [Deprecated] attribute -!deprecated-attribute-missing! UIToolbarAppearance::setDoneButtonAppearance: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIWindow::init missing a [Deprecated] attribute -!deprecated-attribute-missing! UIWindow::initWithFrame: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIWindowScene::coordinateSpace missing a [Deprecated] attribute -!deprecated-attribute-missing! UIWindowScene::interfaceOrientation missing a [Deprecated] attribute -!deprecated-attribute-missing! UIWindowSceneDelegate::windowScene:didUpdateCoordinateSpace:interfaceOrientation:traitCollection: missing a [Deprecated] attribute -!missing-designated-initializer! UIWindow::initWithFrame: is missing an [DesignatedInitializer] attribute -!missing-designated-initializer! UIWindow::initWithWindowScene: is missing an [DesignatedInitializer] attribute -!missing-enum! UIHDRHeadroomUsageLimit not bound -!missing-enum! UIImageSymbolColorRenderingMode not bound -!missing-enum! UIImageSymbolVariableValueMode not bound -!missing-enum! UIMenuElementRepeatBehavior not bound -!missing-enum! UIMenuSystemElementGroupPreference not bound -!missing-enum! UIMenuSystemFindElementGroupConfigurationStyle not bound -!missing-enum! UISliderStyle not bound -!missing-enum! UISplitViewControllerLayoutEnvironment not bound -!missing-enum! UITabAccessoryEnvironment not bound -!missing-enum! UITabBarMinimizeBehavior not bound -!missing-enum! UIViewLayoutRegionAdaptivityAxis not bound -!missing-enum-value! UINavigationItemSearchBarPlacement native value UINavigationItemSearchBarPlacementIntegratedButton = 4 not bound -!missing-enum-value! UINavigationItemSearchBarPlacement native value UINavigationItemSearchBarPlacementIntegratedCentered = 3 not bound -!missing-enum-value! UISplitViewControllerColumn native value UISplitViewControllerColumnInspector = 4 not bound -!missing-enum-value! UIViewAnimationOptions native value UIViewAnimationOptionFlushUpdates = 268435456 not bound -!missing-enum-value! UIWritingToolsResultOptions native value UIWritingToolsResultPresentationIntent = 16 not bound -!missing-field! UIActionNewFromPasteboard not bound -!missing-field! UIMenuFindPanel not bound -!missing-field! UIMenuNewItem not bound -!missing-field! UIWindowSceneSessionRoleAssistiveAccessApplication not bound -!missing-protocol-member! UIMenuBuilder::insertElements:afterActionForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:afterCommandForAction:propertyList: not found -!missing-protocol-member! UIMenuBuilder::insertElements:afterMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:atEndOfMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:atStartOfMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:beforeActionForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:beforeCommandForAction:propertyList: not found -!missing-protocol-member! UIMenuBuilder::insertElements:beforeMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::removeActionForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::removeCommandForAction:propertyList: not found -!missing-protocol-member! UIMenuBuilder::replaceActionForIdentifier:withElements: not found -!missing-protocol-member! UIMenuBuilder::replaceCommandForAction:propertyList:withElements: not found -!missing-protocol-member! UIMenuBuilder::replaceMenuForIdentifier:withElements: not found -!missing-protocol-member! UIMenuLeaf::repeatBehavior not found -!missing-protocol-member! UIMenuLeaf::setRepeatBehavior: not found -!missing-protocol-member! UIMutableTraits::setSplitViewControllerLayoutEnvironment: not found -!missing-protocol-member! UIMutableTraits::setTabAccessoryEnvironment: not found -!missing-protocol-member! UIMutableTraits::splitViewControllerLayoutEnvironment not found -!missing-protocol-member! UIMutableTraits::tabAccessoryEnvironment not found -!missing-protocol-member! UIResponderStandardEditActions::alignCenter: not found -!missing-protocol-member! UIResponderStandardEditActions::alignJustified: not found -!missing-protocol-member! UIResponderStandardEditActions::alignLeft: not found -!missing-protocol-member! UIResponderStandardEditActions::alignRight: not found -!missing-protocol-member! UIResponderStandardEditActions::newFromPasteboard: not found -!missing-protocol-member! UIResponderStandardEditActions::performClose: not found -!missing-protocol-member! UIResponderStandardEditActions::toggleInspector: not found -!missing-protocol-member! UIResponderStandardEditActions::toggleSidebar: not found -!missing-protocol-member! UISplitViewControllerDelegate::splitViewController:didHideColumn: not found -!missing-protocol-member! UISplitViewControllerDelegate::splitViewController:didShowColumn: not found -!missing-protocol-member! UITextFieldDelegate::textField:editMenuForCharactersInRanges:suggestedActions: not found -!missing-protocol-member! UITextFieldDelegate::textField:shouldChangeCharactersInRanges:replacementString: not found -!missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRanges:suggestedActions: not found -!missing-protocol-member! UITextViewDelegate::textView:shouldChangeTextInRanges:replacementText: not found -!missing-protocol-member! UIWindowSceneDelegate::preferredWindowingControlStyleForScene: not found -!missing-protocol-member! UIWindowSceneDelegate::windowScene:didUpdateEffectiveGeometry: not found -!missing-selector! +NSTextList::includesTextListMarkers not bound -!missing-selector! +UIBarButtonItem::fixedSpaceItem not bound -!missing-selector! +UIBarButtonItemBadge::badgeWithCount: not bound -!missing-selector! +UIBarButtonItemBadge::badgeWithString: not bound -!missing-selector! +UIBarButtonItemBadge::indicatorBadge not bound -!missing-selector! +UIBarButtonItemGroup::groupWithFixedSpace not bound -!missing-selector! +UIButtonConfiguration::glassButtonConfiguration not bound -!missing-selector! +UIButtonConfiguration::tintedGlassButtonConfiguration not bound -!missing-selector! +UIColor::colorWithRed:green:blue:alpha:exposure: not bound -!missing-selector! +UIColor::colorWithRed:green:blue:alpha:linearExposure: not bound -!missing-selector! +UIContextMenuSystem::sharedSystem not bound -!missing-selector! +UIDeferredMenuElement::elementUsingFocusWithIdentifier:shouldCacheItems: not bound -!missing-selector! +UIDeferredMenuElementProvider::providerWithElementProvider: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationWithColorRenderingMode: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationWithVariableValueMode: not bound -!missing-selector! +UIMainMenuSystem::sharedSystem not bound -!missing-selector! +UISceneWindowingControlStyle::automaticStyle not bound -!missing-selector! +UISceneWindowingControlStyle::minimalStyle not bound -!missing-selector! +UISceneWindowingControlStyle::unifiedStyle not bound -!missing-selector! +UIScrollEdgeEffectStyle::automaticStyle not bound -!missing-selector! +UIScrollEdgeEffectStyle::hardStyle not bound -!missing-selector! +UIScrollEdgeEffectStyle::softStyle not bound -!missing-selector! +UISliderTick::tickWithPosition:title:image: not bound -!missing-selector! +UISliderTrackConfiguration::configurationWithNumberOfTicks: not bound -!missing-selector! +UISliderTrackConfiguration::configurationWithTicks: not bound -!missing-selector! +UISymbolContentTransition::transitionWithContentTransition: not bound -!missing-selector! +UISymbolContentTransition::transitionWithContentTransition:options: not bound -!missing-selector! +UITraitCollection::traitCollectionWithHDRHeadroomUsageLimit: not bound -!missing-selector! +UITraitCollection::traitCollectionWithTabAccessoryEnvironment: not bound -!missing-selector! +UIViewControllerTransition::zoomWithOptions:sourceBarButtonItemProvider: not bound -!missing-selector! +UIViewLayoutRegion::marginsLayoutRegionWithCornerAdaptation: not bound -!missing-selector! +UIViewLayoutRegion::readableContentLayoutRegionWithCornerAdaptation: not bound -!missing-selector! +UIViewLayoutRegion::safeAreaLayoutRegionWithCornerAdaptation: not bound -!missing-selector! NSTextContentStorage::includesTextListMarkers not bound -!missing-selector! NSTextContentStorage::setIncludesTextListMarkers: not bound -!missing-selector! UIBackgroundExtensionView::automaticallyPlacesContentView not bound -!missing-selector! UIBackgroundExtensionView::contentView not bound -!missing-selector! UIBackgroundExtensionView::setAutomaticallyPlacesContentView: not bound -!missing-selector! UIBackgroundExtensionView::setContentView: not bound -!missing-selector! UIBarButtonItem::badge not bound -!missing-selector! UIBarButtonItem::hidesSharedBackground not bound -!missing-selector! UIBarButtonItem::setBadge: not bound -!missing-selector! UIBarButtonItem::setHidesSharedBackground: not bound -!missing-selector! UIBarButtonItem::setSharesBackground: not bound -!missing-selector! UIBarButtonItem::sharesBackground not bound -!missing-selector! UIBarButtonItemBadge::backgroundColor not bound -!missing-selector! UIBarButtonItemBadge::font not bound -!missing-selector! UIBarButtonItemBadge::foregroundColor not bound -!missing-selector! UIBarButtonItemBadge::init not bound -!missing-selector! UIBarButtonItemBadge::setBackgroundColor: not bound -!missing-selector! UIBarButtonItemBadge::setFont: not bound -!missing-selector! UIBarButtonItemBadge::setForegroundColor: not bound -!missing-selector! UIBarButtonItemBadge::stringValue not bound -!missing-selector! UIButtonConfiguration::setSymbolContentTransition: not bound -!missing-selector! UIButtonConfiguration::symbolContentTransition not bound -!missing-selector! UIColor::colorByApplyingContentHeadroom: not bound -!missing-selector! UIColor::initWithRed:green:blue:alpha:exposure: not bound -!missing-selector! UIColor::initWithRed:green:blue:alpha:linearExposure: not bound -!missing-selector! UIColor::linearExposure not bound -!missing-selector! UIColor::standardDynamicRangeColor not bound -!missing-selector! UIColorPickerViewController::maximumLinearExposure not bound -!missing-selector! UIColorPickerViewController::setMaximumLinearExposure: not bound -!missing-selector! UIColorPickerViewController::setSupportsEyedropper: not bound -!missing-selector! UIColorPickerViewController::supportsEyedropper not bound -!missing-selector! UIColorWell::maximumLinearExposure not bound -!missing-selector! UIColorWell::setMaximumLinearExposure: not bound -!missing-selector! UIColorWell::setSupportsEyedropper: not bound -!missing-selector! UIColorWell::supportsEyedropper not bound -!missing-selector! UIDeferredMenuElement::identifier not bound -!missing-selector! UIGlassContainerEffect::setSpacing: not bound -!missing-selector! UIGlassContainerEffect::spacing not bound -!missing-selector! UIGlassEffect::isInteractive not bound -!missing-selector! UIGlassEffect::setInteractive: not bound -!missing-selector! UIGlassEffect::setTintColor: not bound -!missing-selector! UIGlassEffect::tintColor not bound -!missing-selector! UIMainMenuSystem::setBuildConfiguration:buildHandler: not bound -!missing-selector! UIMainMenuSystemConfiguration::documentPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::findingConfiguration not bound -!missing-selector! UIMainMenuSystemConfiguration::findingPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::inspectorPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::newScenePreference not bound -!missing-selector! UIMainMenuSystemConfiguration::printingPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::setDocumentPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setFindingPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setInspectorPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setNewScenePreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setPrintingPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setSidebarPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setTextFormattingPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setToolbarPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::sidebarPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::textFormattingPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::toolbarPreference not bound -!missing-selector! UIMenuSystemFindElementGroupConfiguration::setStyle: not bound -!missing-selector! UIMenuSystemFindElementGroupConfiguration::style not bound -!missing-selector! UINavigationBarAppearance::largeSubtitleTextAttributes not bound -!missing-selector! UINavigationBarAppearance::prominentButtonAppearance not bound -!missing-selector! UINavigationBarAppearance::setLargeSubtitleTextAttributes: not bound -!missing-selector! UINavigationBarAppearance::setProminentButtonAppearance: not bound -!missing-selector! UINavigationBarAppearance::setSubtitleTextAttributes: not bound -!missing-selector! UINavigationBarAppearance::subtitleTextAttributes not bound -!missing-selector! UINavigationController::interactiveContentPopGestureRecognizer not bound -!missing-selector! UINavigationItem::attributedSubtitle not bound -!missing-selector! UINavigationItem::attributedTitle not bound -!missing-selector! UINavigationItem::largeAttributedSubtitle not bound -!missing-selector! UINavigationItem::largeSubtitle not bound -!missing-selector! UINavigationItem::largeSubtitleView not bound -!missing-selector! UINavigationItem::largeTitle not bound -!missing-selector! UINavigationItem::searchBarPlacementAllowsExternalIntegration not bound -!missing-selector! UINavigationItem::searchBarPlacementAllowsToolbarIntegration not bound -!missing-selector! UINavigationItem::searchBarPlacementBarButtonItem not bound -!missing-selector! UINavigationItem::setAttributedSubtitle: not bound -!missing-selector! UINavigationItem::setAttributedTitle: not bound -!missing-selector! UINavigationItem::setLargeAttributedSubtitle: not bound -!missing-selector! UINavigationItem::setLargeSubtitle: not bound -!missing-selector! UINavigationItem::setLargeSubtitleView: not bound -!missing-selector! UINavigationItem::setLargeTitle: not bound -!missing-selector! UINavigationItem::setSearchBarPlacementAllowsExternalIntegration: not bound -!missing-selector! UINavigationItem::setSearchBarPlacementAllowsToolbarIntegration: not bound -!missing-selector! UINavigationItem::setSubtitle: not bound -!missing-selector! UINavigationItem::setSubtitleView: not bound -!missing-selector! UINavigationItem::subtitle not bound -!missing-selector! UINavigationItem::subtitleView not bound -!missing-selector! UIResponder::providerForDeferredMenuElement: not bound -!missing-selector! UIScene::destructionConditions not bound -!missing-selector! UIScene::setDestructionConditions: not bound -!missing-selector! UIScrollEdgeEffect::isHidden not bound -!missing-selector! UIScrollEdgeEffect::setHidden: not bound -!missing-selector! UIScrollEdgeEffect::setStyle: not bound -!missing-selector! UIScrollEdgeEffect::style not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::edge not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::scrollView not bound -!missing-selector! UIScrollView::bottomEdgeEffect not bound -!missing-selector! UIScrollView::leftEdgeEffect not bound -!missing-selector! UIScrollView::rightEdgeEffect not bound -!missing-selector! UIScrollView::topEdgeEffect not bound -!missing-selector! UISearchTab::automaticallyActivatesSearch not bound -!missing-selector! UISearchTab::setAutomaticallyActivatesSearch: not bound -!missing-selector! UISlider::setSliderStyle: not bound -!missing-selector! UISlider::setTrackConfiguration: not bound -!missing-selector! UISlider::sliderStyle not bound -!missing-selector! UISlider::trackConfiguration not bound -!missing-selector! UISliderTick::image not bound -!missing-selector! UISliderTick::position not bound -!missing-selector! UISliderTick::setImage: not bound -!missing-selector! UISliderTick::setTitle: not bound -!missing-selector! UISliderTick::title not bound -!missing-selector! UISliderTrackConfiguration::allowsTickValuesOnly not bound -!missing-selector! UISliderTrackConfiguration::maximumEnabledValue not bound -!missing-selector! UISliderTrackConfiguration::minimumEnabledValue not bound -!missing-selector! UISliderTrackConfiguration::neutralValue not bound -!missing-selector! UISliderTrackConfiguration::setAllowsTickValuesOnly: not bound -!missing-selector! UISliderTrackConfiguration::setMaximumEnabledValue: not bound -!missing-selector! UISliderTrackConfiguration::setMinimumEnabledValue: not bound -!missing-selector! UISliderTrackConfiguration::setNeutralValue: not bound -!missing-selector! UISliderTrackConfiguration::ticks not bound -!missing-selector! UISplitViewController::isShowingColumn: not bound -!missing-selector! UISplitViewController::maximumInspectorColumnWidth not bound -!missing-selector! UISplitViewController::minimumInspectorColumnWidth not bound -!missing-selector! UISplitViewController::minimumSecondaryColumnWidth not bound -!missing-selector! UISplitViewController::preferredInspectorColumnWidth not bound -!missing-selector! UISplitViewController::preferredInspectorColumnWidthFraction not bound -!missing-selector! UISplitViewController::preferredSecondaryColumnWidth not bound -!missing-selector! UISplitViewController::preferredSecondaryColumnWidthFraction not bound -!missing-selector! UISplitViewController::setMaximumInspectorColumnWidth: not bound -!missing-selector! UISplitViewController::setMinimumInspectorColumnWidth: not bound -!missing-selector! UISplitViewController::setMinimumSecondaryColumnWidth: not bound -!missing-selector! UISplitViewController::setPreferredInspectorColumnWidth: not bound -!missing-selector! UISplitViewController::setPreferredInspectorColumnWidthFraction: not bound -!missing-selector! UISplitViewController::setPreferredSecondaryColumnWidth: not bound -!missing-selector! UISplitViewController::setPreferredSecondaryColumnWidthFraction: not bound -!missing-selector! UISymbolContentTransition::contentTransition not bound -!missing-selector! UISymbolContentTransition::options not bound -!missing-selector! UITabAccessory::contentView not bound -!missing-selector! UITabAccessory::initWithContentView: not bound -!missing-selector! UITabBarController::bottomAccessory not bound -!missing-selector! UITabBarController::contentLayoutGuide not bound -!missing-selector! UITabBarController::setBottomAccessory: not bound -!missing-selector! UITabBarController::setBottomAccessory:animated: not bound -!missing-selector! UITabBarController::setTabBarMinimizeBehavior: not bound -!missing-selector! UITabBarController::tabBarMinimizeBehavior not bound -!missing-selector! UITextView::selectedRanges not bound -!missing-selector! UITextView::setSelectedRanges: not bound -!missing-selector! UIToolbarAppearance::prominentButtonAppearance not bound -!missing-selector! UIToolbarAppearance::setProminentButtonAppearance: not bound -!missing-selector! UITraitCollection::hdrHeadroomUsageLimit not bound -!missing-selector! UITraitCollection::splitViewControllerLayoutEnvironment not bound -!missing-selector! UITraitCollection::tabAccessoryEnvironment not bound -!missing-selector! UIView::directionalEdgeInsetsForLayoutRegion: not bound -!missing-selector! UIView::edgeInsetsForLayoutRegion: not bound -!missing-selector! UIView::layoutGuideForLayoutRegion: not bound -!missing-selector! UIView::setNeedsUpdateProperties not bound -!missing-selector! UIView::updateProperties not bound -!missing-selector! UIView::updatePropertiesIfNeeded not bound -!missing-selector! UIViewController::setNeedsUpdateProperties not bound -!missing-selector! UIViewController::updateProperties not bound -!missing-selector! UIViewController::updatePropertiesIfNeeded not bound -!missing-selector! UIViewControllerUIViewController::childViewControllerForInterfaceOrientationLock not bound -!missing-selector! UIViewControllerUIViewController::prefersInterfaceOrientationLocked not bound -!missing-selector! UIViewControllerUIViewController::setNeedsUpdateOfPrefersInterfaceOrientationLocked not bound -!missing-selector! UIViewPropertyAnimator::flushUpdates not bound -!missing-selector! UIViewPropertyAnimator::setFlushUpdates: not bound -!missing-selector! UIWindowSceneGeometry::coordinateSpace not bound -!missing-selector! UIWindowSceneGeometry::isInteractivelyResizing not bound -!missing-selector! UIWindowSceneGeometry::isInterfaceOrientationLocked not bound -!missing-selector! UIWritingToolsCoordinator::includesTextListMarkers not bound -!missing-selector! UIWritingToolsCoordinator::setIncludesTextListMarkers: not bound -!missing-type! UIBackgroundExtensionView not bound -!missing-type! UIBarButtonItemBadge not bound -!missing-type! UIContextMenuSystem not bound -!missing-type! UIDeferredMenuElementProvider not bound -!missing-type! UIGlassContainerEffect not bound -!missing-type! UIGlassEffect not bound -!missing-type! UIMainMenuSystem not bound -!missing-type! UIMainMenuSystemConfiguration not bound -!missing-type! UIMenuSystemFindElementGroupConfiguration not bound -!missing-type! UISceneDestructionCondition not bound -!missing-type! UISceneWindowingControlStyle not bound -!missing-type! UIScrollEdgeEffect not bound -!missing-type! UIScrollEdgeEffectStyle not bound -!missing-type! UIScrollEdgeElementContainerInteraction not bound -!missing-type! UISliderTick not bound -!missing-type! UISliderTrackConfiguration not bound -!missing-type! UISymbolContentTransition not bound -!missing-type! UITabAccessory not bound -!missing-type! UITraitHDRHeadroomUsageLimit not bound -!missing-type! UITraitSplitViewControllerLayoutEnvironment not bound -!missing-type! UITraitTabAccessoryEnvironment not bound -!missing-type! UIViewLayoutRegion not bound -!missing-selector! UIBarButtonItem::identifier not bound -!missing-selector! UIBarButtonItem::setIdentifier: not bound -!missing-selector! UIDocumentBrowserAction::imageOnlyForContextMenu not bound -!missing-selector! UIDocumentBrowserAction::setImageOnlyForContextMenu: not bound -!missing-enum-value! NSStringDrawingOptions native value NSStringDrawingOptionsResolvesNaturalAlignmentWithBaseWritingDirection = 512 not bound -!missing-protocol-member! UIMutableTraits::resolvesNaturalAlignmentWithBaseWritingDirection not found -!missing-protocol-member! UIMutableTraits::setResolvesNaturalAlignmentWithBaseWritingDirection: not found -!missing-protocol-member! UITextInputTraits::allowsNumberPadPopover not found -!missing-protocol-member! UITextInputTraits::setAllowsNumberPadPopover: not found -!missing-selector! +UITraitCollection::traitCollectionWithResolvesNaturalAlignmentWithBaseWritingDirection: not bound -!missing-selector! NSTextLayoutManager::resolvesNaturalAlignmentWithBaseWritingDirection not bound -!missing-selector! NSTextLayoutManager::setResolvesNaturalAlignmentWithBaseWritingDirection: not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::setEdge: not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::setScrollView: not bound -!missing-selector! UITraitCollection::resolvesNaturalAlignmentWithBaseWritingDirection not bound -!missing-type! UITraitResolvesNaturalAlignmentWithBaseWritingDirection not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo index 072f636325d7..735cdc92bc5e 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo @@ -97,7 +97,6 @@ !missing-selector! +NSCell::_bulletStringForString:bulletCharacter: not bound !missing-selector! +NSImageSymbolConfiguration::configurationWithColorRenderingMode: not bound !missing-selector! +NSImageSymbolConfiguration::configurationWithVariableValueMode: not bound -!missing-selector! +NSTextList::includesTextListMarkers not bound !missing-selector! NSApplication::applicationShouldSuppressHighDynamicRangeContent not bound !missing-selector! NSBackgroundExtensionView::automaticallyPlacesContentView not bound !missing-selector! NSBackgroundExtensionView::contentView not bound @@ -141,8 +140,6 @@ !missing-selector! NSSplitViewItemAccessoryViewController::viewDidDisappear not bound !missing-selector! NSSplitViewItemAccessoryViewController::viewWillAppear not bound !missing-selector! NSSplitViewItemAccessoryViewController::viewWillDisappear not bound -!missing-selector! NSTextContentStorage::includesTextListMarkers not bound -!missing-selector! NSTextContentStorage::setIncludesTextListMarkers: not bound !missing-selector! NSTextField::placeholderAttributedStrings not bound !missing-selector! NSTextField::placeholderStrings not bound !missing-selector! NSTextField::setPlaceholderAttributedStrings: not bound @@ -153,14 +150,11 @@ !missing-selector! NSToolbarItem::style not bound !missing-selector! NSView::prefersCompactControlSizeMetrics not bound !missing-selector! NSView::setPrefersCompactControlSizeMetrics: not bound -!missing-selector! NSWritingToolsCoordinator::includesTextListMarkers not bound -!missing-selector! NSWritingToolsCoordinator::setIncludesTextListMarkers: not bound !missing-type! NSBackgroundExtensionView not bound !missing-type! NSGlassEffectContainerView not bound !missing-type! NSGlassEffectView not bound !missing-type! NSSplitViewItemAccessoryViewController not bound !missing-enum! NSTintProminence not bound -!missing-enum-value! NSStringDrawingOptions native value NSStringDrawingOptionsResolvesNaturalAlignmentWithBaseWritingDirection = 512 not bound !missing-selector! +NSItemBadge::badgeWithCount: not bound !missing-selector! +NSItemBadge::badgeWithText: not bound !missing-selector! +NSItemBadge::indicatorBadge not bound @@ -171,8 +165,6 @@ !missing-selector! NSSlider::tintProminence not bound !missing-selector! NSTextField::resolvesNaturalAlignmentWithBaseWritingDirection not bound !missing-selector! NSTextField::setResolvesNaturalAlignmentWithBaseWritingDirection: not bound -!missing-selector! NSTextLayoutManager::resolvesNaturalAlignmentWithBaseWritingDirection not bound -!missing-selector! NSTextLayoutManager::setResolvesNaturalAlignmentWithBaseWritingDirection: not bound !missing-selector! NSToolbarItem::badge not bound !missing-selector! NSToolbarItem::setBadge: not bound !missing-type! NSItemBadge not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo deleted file mode 100644 index 7c188f5f20a5..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo +++ /dev/null @@ -1,207 +0,0 @@ -!deprecated-attribute-missing! UIApplicationDelegate::application:continueUserActivity:restorationHandler: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:didFailToContinueUserActivityWithType:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:didUpdateUserActivity: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:openURL:options: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:userDidAcceptCloudKitShareWithMetadata: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:willContinueUserActivityWithType: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::applicationDidBecomeActive: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::applicationDidEnterBackground: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::applicationWillEnterForeground: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::applicationWillResignActive: missing a [Deprecated] attribute -!deprecated-attribute-missing! UINavigationBarAppearance::doneButtonAppearance missing a [Deprecated] attribute -!deprecated-attribute-missing! UINavigationBarAppearance::setDoneButtonAppearance: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIToolbarAppearance::doneButtonAppearance missing a [Deprecated] attribute -!deprecated-attribute-missing! UIToolbarAppearance::setDoneButtonAppearance: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIWindow::init missing a [Deprecated] attribute -!deprecated-attribute-missing! UIWindow::initWithFrame: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIWindowScene::coordinateSpace missing a [Deprecated] attribute -!missing-designated-initializer! UIWindow::initWithFrame: is missing an [DesignatedInitializer] attribute -!missing-designated-initializer! UIWindow::initWithWindowScene: is missing an [DesignatedInitializer] attribute -!missing-enum! UIHDRHeadroomUsageLimit not bound -!missing-enum! UIImageSymbolColorRenderingMode not bound -!missing-enum! UIImageSymbolVariableValueMode not bound -!missing-enum! UIMenuElementRepeatBehavior not bound -!missing-enum! UIMenuSystemElementGroupPreference not bound -!missing-enum! UIMenuSystemFindElementGroupConfigurationStyle not bound -!missing-enum! UISplitViewControllerLayoutEnvironment not bound -!missing-enum! UITabBarMinimizeBehavior not bound -!missing-enum! UIViewLayoutRegionAdaptivityAxis not bound -!missing-enum-value! UIViewAnimationOptions native value UIViewAnimationOptionFlushUpdates = 268435456 not bound -!missing-field! UIActionNewFromPasteboard not bound -!missing-field! UIMenuFindPanel not bound -!missing-field! UIMenuNewItem not bound -!missing-field! UIWindowSceneSessionRoleAssistiveAccessApplication not bound -!missing-protocol-member! UIMenuBuilder::insertElements:afterActionForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:afterCommandForAction:propertyList: not found -!missing-protocol-member! UIMenuBuilder::insertElements:afterMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:atEndOfMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:atStartOfMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:beforeActionForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::insertElements:beforeCommandForAction:propertyList: not found -!missing-protocol-member! UIMenuBuilder::insertElements:beforeMenuForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::removeActionForIdentifier: not found -!missing-protocol-member! UIMenuBuilder::removeCommandForAction:propertyList: not found -!missing-protocol-member! UIMenuBuilder::replaceActionForIdentifier:withElements: not found -!missing-protocol-member! UIMenuBuilder::replaceCommandForAction:propertyList:withElements: not found -!missing-protocol-member! UIMenuBuilder::replaceMenuForIdentifier:withElements: not found -!missing-protocol-member! UIMenuLeaf::repeatBehavior not found -!missing-protocol-member! UIMenuLeaf::setRepeatBehavior: not found -!missing-protocol-member! UIMutableTraits::setSplitViewControllerLayoutEnvironment: not found -!missing-protocol-member! UIMutableTraits::splitViewControllerLayoutEnvironment not found -!missing-protocol-member! UIResponderStandardEditActions::alignCenter: not found -!missing-protocol-member! UIResponderStandardEditActions::alignJustified: not found -!missing-protocol-member! UIResponderStandardEditActions::alignLeft: not found -!missing-protocol-member! UIResponderStandardEditActions::alignRight: not found -!missing-protocol-member! UIResponderStandardEditActions::newFromPasteboard: not found -!missing-protocol-member! UIResponderStandardEditActions::performClose: not found -!missing-protocol-member! UIResponderStandardEditActions::toggleInspector: not found -!missing-protocol-member! UIResponderStandardEditActions::toggleSidebar: not found -!missing-protocol-member! UISplitViewControllerDelegate::splitViewController:didHideColumn: not found -!missing-protocol-member! UISplitViewControllerDelegate::splitViewController:didShowColumn: not found -!missing-protocol-member! UITextFieldDelegate::textField:editMenuForCharactersInRanges:suggestedActions: not found -!missing-protocol-member! UITextFieldDelegate::textField:shouldChangeCharactersInRanges:replacementString: not found -!missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRanges:suggestedActions: not found -!missing-protocol-member! UITextViewDelegate::textView:shouldChangeTextInRanges:replacementText: not found -!missing-protocol-member! UIWindowSceneDelegate::preferredWindowingControlStyleForScene: not found -!missing-protocol-member! UIWindowSceneDelegate::windowScene:didUpdateEffectiveGeometry: not found -!missing-selector! +NSTextList::includesTextListMarkers not bound -!missing-selector! +UIBarButtonItem::fixedSpaceItem not bound -!missing-selector! +UIButtonConfiguration::glassButtonConfiguration not bound -!missing-selector! +UIButtonConfiguration::tintedGlassButtonConfiguration not bound -!missing-selector! +UIColor::colorWithRed:green:blue:alpha:exposure: not bound -!missing-selector! +UIColor::colorWithRed:green:blue:alpha:linearExposure: not bound -!missing-selector! +UIContextMenuSystem::sharedSystem not bound -!missing-selector! +UIDeferredMenuElement::elementUsingFocusWithIdentifier:shouldCacheItems: not bound -!missing-selector! +UIDeferredMenuElementProvider::providerWithElementProvider: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationWithColorRenderingMode: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationWithVariableValueMode: not bound -!missing-selector! +UIMainMenuSystem::sharedSystem not bound -!missing-selector! +UISceneWindowingControlStyle::automaticStyle not bound -!missing-selector! +UIScrollEdgeEffectStyle::automaticStyle not bound -!missing-selector! +UIScrollEdgeEffectStyle::hardStyle not bound -!missing-selector! +UIScrollEdgeEffectStyle::softStyle not bound -!missing-selector! +UISymbolContentTransition::transitionWithContentTransition: not bound -!missing-selector! +UISymbolContentTransition::transitionWithContentTransition:options: not bound -!missing-selector! +UITraitCollection::traitCollectionWithHDRHeadroomUsageLimit: not bound -!missing-selector! +UIViewControllerTransition::zoomWithOptions:sourceBarButtonItemProvider: not bound -!missing-selector! +UIViewLayoutRegion::marginsLayoutRegionWithCornerAdaptation: not bound -!missing-selector! +UIViewLayoutRegion::readableContentLayoutRegionWithCornerAdaptation: not bound -!missing-selector! +UIViewLayoutRegion::safeAreaLayoutRegionWithCornerAdaptation: not bound -!missing-selector! NSTextContentStorage::includesTextListMarkers not bound -!missing-selector! NSTextContentStorage::setIncludesTextListMarkers: not bound -!missing-selector! UIBackgroundExtensionView::automaticallyPlacesContentView not bound -!missing-selector! UIBackgroundExtensionView::contentView not bound -!missing-selector! UIBackgroundExtensionView::setAutomaticallyPlacesContentView: not bound -!missing-selector! UIBackgroundExtensionView::setContentView: not bound -!missing-selector! UIButtonConfiguration::setSymbolContentTransition: not bound -!missing-selector! UIButtonConfiguration::symbolContentTransition not bound -!missing-selector! UIColor::colorByApplyingContentHeadroom: not bound -!missing-selector! UIColor::initWithRed:green:blue:alpha:exposure: not bound -!missing-selector! UIColor::initWithRed:green:blue:alpha:linearExposure: not bound -!missing-selector! UIColor::linearExposure not bound -!missing-selector! UIColor::standardDynamicRangeColor not bound -!missing-selector! UIDeferredMenuElement::identifier not bound -!missing-selector! UIGlassContainerEffect::setSpacing: not bound -!missing-selector! UIGlassContainerEffect::spacing not bound -!missing-selector! UIGlassEffect::isInteractive not bound -!missing-selector! UIGlassEffect::setInteractive: not bound -!missing-selector! UIGlassEffect::setTintColor: not bound -!missing-selector! UIGlassEffect::tintColor not bound -!missing-selector! UIMainMenuSystem::setBuildConfiguration:buildHandler: not bound -!missing-selector! UIMainMenuSystemConfiguration::documentPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::findingConfiguration not bound -!missing-selector! UIMainMenuSystemConfiguration::findingPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::inspectorPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::newScenePreference not bound -!missing-selector! UIMainMenuSystemConfiguration::printingPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::setDocumentPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setFindingPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setInspectorPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setNewScenePreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setPrintingPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setSidebarPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setTextFormattingPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::setToolbarPreference: not bound -!missing-selector! UIMainMenuSystemConfiguration::sidebarPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::textFormattingPreference not bound -!missing-selector! UIMainMenuSystemConfiguration::toolbarPreference not bound -!missing-selector! UIMenuSystemFindElementGroupConfiguration::setStyle: not bound -!missing-selector! UIMenuSystemFindElementGroupConfiguration::style not bound -!missing-selector! UINavigationBarAppearance::prominentButtonAppearance not bound -!missing-selector! UINavigationBarAppearance::setProminentButtonAppearance: not bound -!missing-selector! UIResponder::providerForDeferredMenuElement: not bound -!missing-selector! UIScene::destructionConditions not bound -!missing-selector! UIScene::setDestructionConditions: not bound -!missing-selector! UIScrollEdgeEffect::isHidden not bound -!missing-selector! UIScrollEdgeEffect::setHidden: not bound -!missing-selector! UIScrollEdgeEffect::setStyle: not bound -!missing-selector! UIScrollEdgeEffect::style not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::edge not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::scrollView not bound -!missing-selector! UIScrollView::bottomEdgeEffect not bound -!missing-selector! UIScrollView::leftEdgeEffect not bound -!missing-selector! UIScrollView::rightEdgeEffect not bound -!missing-selector! UIScrollView::topEdgeEffect not bound -!missing-selector! UISearchBar::init not bound -!missing-selector! UISplitViewController::isShowingColumn: not bound -!missing-selector! UISplitViewController::minimumSecondaryColumnWidth not bound -!missing-selector! UISplitViewController::preferredSecondaryColumnWidth not bound -!missing-selector! UISplitViewController::preferredSecondaryColumnWidthFraction not bound -!missing-selector! UISplitViewController::setMinimumSecondaryColumnWidth: not bound -!missing-selector! UISplitViewController::setPreferredSecondaryColumnWidth: not bound -!missing-selector! UISplitViewController::setPreferredSecondaryColumnWidthFraction: not bound -!missing-selector! UISymbolContentTransition::contentTransition not bound -!missing-selector! UISymbolContentTransition::options not bound -!missing-selector! UITabBarController::contentLayoutGuide not bound -!missing-selector! UITabBarController::setTabBarMinimizeBehavior: not bound -!missing-selector! UITabBarController::tabBarMinimizeBehavior not bound -!missing-selector! UITextView::selectedRanges not bound -!missing-selector! UITextView::setSelectedRanges: not bound -!missing-selector! UIToolbarAppearance::prominentButtonAppearance not bound -!missing-selector! UIToolbarAppearance::setProminentButtonAppearance: not bound -!missing-selector! UITraitCollection::hdrHeadroomUsageLimit not bound -!missing-selector! UITraitCollection::splitViewControllerLayoutEnvironment not bound -!missing-selector! UIView::directionalEdgeInsetsForLayoutRegion: not bound -!missing-selector! UIView::edgeInsetsForLayoutRegion: not bound -!missing-selector! UIView::layoutGuideForLayoutRegion: not bound -!missing-selector! UIView::setNeedsUpdateProperties not bound -!missing-selector! UIView::updateProperties not bound -!missing-selector! UIView::updatePropertiesIfNeeded not bound -!missing-selector! UIViewController::setNeedsUpdateProperties not bound -!missing-selector! UIViewController::updateProperties not bound -!missing-selector! UIViewController::updatePropertiesIfNeeded not bound -!missing-selector! UIViewPropertyAnimator::flushUpdates not bound -!missing-selector! UIViewPropertyAnimator::setFlushUpdates: not bound -!missing-selector! UIWindowSceneGeometry::coordinateSpace not bound -!missing-selector! UIWindowSceneGeometry::isInteractivelyResizing not bound -!missing-type! UIBackgroundExtensionView not bound -!missing-type! UIContextMenuSystem not bound -!missing-type! UIDeferredMenuElementProvider not bound -!missing-type! UIGlassContainerEffect not bound -!missing-type! UIGlassEffect not bound -!missing-type! UIMainMenuSystem not bound -!missing-type! UIMainMenuSystemConfiguration not bound -!missing-type! UIMenuSystemFindElementGroupConfiguration not bound -!missing-type! UISceneDestructionCondition not bound -!missing-type! UISceneWindowingControlStyle not bound -!missing-type! UIScrollEdgeEffect not bound -!missing-type! UIScrollEdgeEffectStyle not bound -!missing-type! UIScrollEdgeElementContainerInteraction not bound -!missing-type! UISymbolContentTransition not bound -!missing-type! UITraitHDRHeadroomUsageLimit not bound -!missing-type! UITraitSplitViewControllerLayoutEnvironment not bound -!missing-type! UIViewLayoutRegion not bound -!missing-selector! UIBarButtonItem::identifier not bound -!missing-selector! UIBarButtonItem::setIdentifier: not bound -!missing-enum-value! NSStringDrawingOptions native value NSStringDrawingOptionsResolvesNaturalAlignmentWithBaseWritingDirection = 512 not bound -!missing-protocol-member! UIMutableTraits::resolvesNaturalAlignmentWithBaseWritingDirection not found -!missing-protocol-member! UIMutableTraits::setResolvesNaturalAlignmentWithBaseWritingDirection: not found -!missing-protocol-member! UITextInputTraits::allowsNumberPadPopover not found -!missing-protocol-member! UITextInputTraits::setAllowsNumberPadPopover: not found -!missing-selector! +UITraitCollection::traitCollectionWithResolvesNaturalAlignmentWithBaseWritingDirection: not bound -!missing-selector! NSTextLayoutManager::resolvesNaturalAlignmentWithBaseWritingDirection not bound -!missing-selector! NSTextLayoutManager::setResolvesNaturalAlignmentWithBaseWritingDirection: not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::setEdge: not bound -!missing-selector! UIScrollEdgeElementContainerInteraction::setScrollView: not bound -!missing-selector! UITraitCollection::resolvesNaturalAlignmentWithBaseWritingDirection not bound -!missing-type! UITraitResolvesNaturalAlignmentWithBaseWritingDirection not bound From 75530d26b0e60f1a332429fefe5e33685aeacf90 Mon Sep 17 00:00:00 2001 From: GitHub Actions Autoformatter Date: Fri, 18 Jul 2025 08:14:39 +0000 Subject: [PATCH 02/13] Auto-format source code --- src/UIKit/UIEnums.cs | 2 +- src/uikit.cs | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index 802256264d19..e7dffd47a7cf 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -1811,7 +1811,7 @@ public enum UIViewAnimationOptions : ulong { /// Constant that indicates that 30 frames per second are preferred for animations. [MacCatalyst (13, 1)] PreferredFramesPerSecond30 = 7 << 24, - + /// Forces layout updates to flush immediately after animation changes. [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] FlushUpdates = 1 << 28, diff --git a/src/uikit.cs b/src/uikit.cs index 1b18871449db..0269ade31f14 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -21620,12 +21620,12 @@ interface UITextViewDelegate { void InsertInputSuggestion (UITextView textView, UIInputSuggestion inputSuggestion); [IgnoredInDelegate] - [MacCatalyst (26,0), TV (26,0), iOS (26,0)] + [MacCatalyst (26, 0), TV (26, 0), iOS (26, 0)] [Export ("textView:shouldChangeTextInRanges:replacementText:")] bool ShouldChangeText (UITextView textView, NSValue [] ranges, string replacementText); [IgnoredInDelegate] - [MacCatalyst (26,0), TV (26,0), iOS (26,0)] + [MacCatalyst (26, 0), TV (26, 0), iOS (26, 0)] [Export ("textView:editMenuForTextInRanges:suggestedActions:")] [return: NullAllowed] UIMenu GetEditMenuForText (UITextView textView, NSValue [] ranges, UIMenuElement [] suggestedActions); @@ -32162,12 +32162,12 @@ interface UIMenuBuilder { [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] [Abstract] [Export ("replaceMenuForIdentifier:withElements:")] - void ReplaceMenu (string replacedIdentifier, UIMenuElement[] replacementElements); + void ReplaceMenu (string replacedIdentifier, UIMenuElement [] replacementElements); [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] [Abstract] [Export ("insertElements:beforeMenuForIdentifier:")] - void InsertElementsBeforeMenu (UIMenuElement[] insertedElements, string siblingIdentifier); + void InsertElementsBeforeMenu (UIMenuElement [] insertedElements, string siblingIdentifier); [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] [Abstract] @@ -32273,7 +32273,7 @@ interface UIContextMenuSystem { [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] delegate void UIMainMenuSystemBuildHandler (IUIMenuBuilder builder); - + [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] [BaseType (typeof (UIMenuSystem))] [DisableDefaultCtor] @@ -33973,7 +33973,7 @@ interface UIColorPickerViewController { [Export ("supportsAlpha")] bool SupportsAlpha { get; set; } - + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] [Export ("supportsEyedropper")] bool SupportsEyedropper { get; set; } @@ -33999,7 +33999,7 @@ interface UIColorWell { [NullAllowed, Export ("selectedColor", ArgumentSemantic.Strong)] UIColor SelectedColor { get; set; } - + [iOS (26, 0), NoTV, MacCatalyst (26, 0)] [Export ("supportsEyedropper")] bool SupportsEyedropper { get; set; } @@ -37696,7 +37696,7 @@ interface UIDocumentViewControllerLaunchOptions { UIAction CreateDocumentAction (UIDocumentCreationIntent indent); } - [NoTV, iOS (26,0), MacCatalyst (26,0)] + [NoTV, iOS (26, 0), MacCatalyst (26, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface UITabAccessory { From 3d39e712747d594a442e6772a535e2bac9720742 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2025 10:22:57 -0400 Subject: [PATCH 03/13] Apply suggestions from code review Co-authored-by: Rolf Bjarne Kvinge --- src/UIKit/UITextField.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/UIKit/UITextField.cs b/src/UIKit/UITextField.cs index fe589e0bc4d5..7e2a17e3eee0 100644 --- a/src/UIKit/UITextField.cs +++ b/src/UIKit/UITextField.cs @@ -45,12 +45,10 @@ public UITextFieldEditingEndedEventArgs (UITextFieldDidEndEditingReason reason) /// monocatalog public delegate bool UITextFieldCondition (UITextField textField); + /// A delegate used to respond to changes on the UITextField. /// To be added. - /// To be added. - /// To be added. - /// A delegate used to respond to changes on the UITextField. - /// To be added. - /// To be added. + /// To be added. + /// To be added. public delegate bool UITextFieldChanges (UITextField textField, NSValue [] ranges, string replacementString); public partial class UITextField : IUITextInputTraits { From b34e14727c34dc7891378dce5b7a46b02facbcdc Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2025 14:57:30 -0400 Subject: [PATCH 04/13] Add tests and docs --- src/UIKit/UITextField.cs | 15 ++++++++---- src/uikit.cs | 6 ++++- tests/monotouch-test/UIKit/ColorTest.cs | 32 +++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 5 deletions(-) diff --git a/src/UIKit/UITextField.cs b/src/UIKit/UITextField.cs index 7e2a17e3eee0..ed2b220bb22d 100644 --- a/src/UIKit/UITextField.cs +++ b/src/UIKit/UITextField.cs @@ -45,10 +45,16 @@ public UITextFieldEditingEndedEventArgs (UITextFieldDidEndEditingReason reason) /// monocatalog public delegate bool UITextFieldCondition (UITextField textField); - /// A delegate used to respond to changes on the UITextField. - /// To be added. - /// To be added. - /// To be added. + /// Delegate that determines whether text changes should be allowed in a UITextField for multiple ranges. + /// The text field that contains the text to be modified. + /// An array of NSValue objects containing NSRange values representing the character ranges to be replaced. + /// The replacement text for the specified ranges. When typing, this typically contains the single new character entered, but may contain multiple characters if pasting. An empty string indicates character deletion. + /// Returns true if the text changes should be allowed; otherwise, false to prevent the modification. + /// + /// This delegate method is called when the text field needs to validate text changes across multiple ranges simultaneously. + /// Use this method to implement custom text validation logic, such as restricting input to specific formats or preventing certain types of content. + /// This is the multiple-range version of the standard shouldChangeCharactersInRange method. + /// public delegate bool UITextFieldChanges (UITextField textField, NSValue [] ranges, string replacementString); public partial class UITextField : IUITextInputTraits { @@ -258,6 +264,7 @@ public event EventHandler DidChangeSelection { remove { EnsureUITextFieldDelegate ().didChangeSelection -= value; } } + /// Raised when the text field wants to know if the text in the text field should be changed for multiple ranges. sourceBarButtonItemProvider); + UIViewControllerTransition Zoom ([NullAllowed] UIZoomTransitionOptions options, UIViewControllerTransitionZoomBarButtonHandler sourceBarButtonItemProvider); [Static] [Export ("coverVerticalTransition")] diff --git a/tests/monotouch-test/UIKit/ColorTest.cs b/tests/monotouch-test/UIKit/ColorTest.cs index f3fb2ecbe997..fb7b8eaf86a0 100644 --- a/tests/monotouch-test/UIKit/ColorTest.cs +++ b/tests/monotouch-test/UIKit/ColorTest.cs @@ -302,6 +302,38 @@ public void UIConfigurationColorTransformerTest () var grayColor = transformer (redColor); Assert.NotNull (grayColor, "Not null"); } + + // nfloat red, nfloat green, nfloat blue, nfloat alpha, nfloat linearExposure + // Exposure adjustment value. Must be >= 0 for exponential exposure or >= 1 for linear exposure. + [TestCase (0.5, 0.0, 0.0, 0.5, 0.5, false)] + [TestCase (0.5, 0.0, 0.0, 0.5, 1.5, true)] + [TestCase (0.0, 0.5, 0.0, 0.5, 0.5, false)] + [TestCase (0.0, 0.5, 0.0, 0.5, 1.5, true)] + [TestCase (0.0, 0.0, 0.5, 0.5, 0.5, false)] + [TestCase (0.0, 0.0, 0.5, 0.5, 1.5, true)] + [TestCase (0.5, 0.5, 0.5, 0.5, 0.5, false)] + [TestCase (0.5, 0.5, 0.5, 0.5, 1.5, true)] + public void ColorExposureCtorTest (double red, double green, double blue, double alpha, double exposure, bool isLinearExposure) + { + var nr = (nfloat) red; + var ng = (nfloat) green; + var nb = (nfloat) blue; + var na = (nfloat) alpha; + var ne = (nfloat) exposure; + if (isLinearExposure) { + // Linear exposure + var c = UIColor.FromRgbaLinearExposure (nr, ng, nb, na, ne); + var r = new UIColor (nr, ng, nb, na, ne, isLinearExposure); + Assert.That (r.ToString (), Is.EqualTo (c.ToString ()), c.ToString ()); + Assert.AreEqual (c.LinearExposure, r.LinearExposure, $"LinearExposure: r:{nr}, g:{ng}, b:{nb}, a:{na}, e:{ne}"); + } else { + // Exponential exposure + var c = UIColor.FromRgbaExposure (nr, ng, nb, na, ne); + var r = new UIColor (nr, ng, nb, na, ne, isLinearExposure); + Assert.That (r.ToString (), Is.EqualTo (c.ToString ()), c.ToString ()); + Assert.AreEqual (c.LinearExposure, r.LinearExposure, $"ExponentialExposure: r:{nr}, g:{ng}, b:{nb}, a:{na}, e:{ne}"); + } + } } } #endif From 2dd863e4c0df6f9811cbe821943b1ac05b503f7b Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2025 16:39:11 -0400 Subject: [PATCH 05/13] Fix monotouch-test --- src/UIKit/UIEnums.cs | 3 +++ tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index e7dffd47a7cf..69856538d45d 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -3943,6 +3943,9 @@ public enum UIMenuIdentifier { Hide, [Field ("UIMenuQuit")] Quit, + [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIMenuNewItem' instead.")] + [Deprecated (PlatformName.TV, 26, 0, message: "Use 'UIMenuNewItem' instead.")] + [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIMenuNewItem' instead.")] [Field ("UIMenuNewScene")] NewScene, [Field ("UIMenuClose")] diff --git a/tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs b/tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs index acdbca67f833..a292b2205e97 100644 --- a/tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs +++ b/tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs @@ -92,6 +92,13 @@ Enum [] GetSkippedEnumValues () } #endif // __TVOS__ && !XAMCORE_5_0 + if (TestRuntime.CheckXcodeVersion (26, 0)) { + // NewScene and NewItem both return 'com.apple.menu.new-item' so + // Round trip failed: NewItem.GetConstant () -> com.apple.menu.new-item but GetValue (com.apple.menu.new-item) -> NewScene + // That said NewItem is the one that should be used and NewScene is deprecated in Xcode 26.0. + rv.Add (global::UIKit.UIMenuIdentifier.NewItem); + } + return rv.ToArray (); } From 851c2b0c9be5c7d776309bef2867b5aced270b47 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2025 17:33:29 -0400 Subject: [PATCH 06/13] Fix typo... --- src/UIKit/UIEnums.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index 69856538d45d..0fc51a1877b6 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -3944,7 +3944,7 @@ public enum UIMenuIdentifier { [Field ("UIMenuQuit")] Quit, [Deprecated (PlatformName.iOS, 26, 0, message: "Use 'UIMenuNewItem' instead.")] - [Deprecated (PlatformName.TV, 26, 0, message: "Use 'UIMenuNewItem' instead.")] + [Deprecated (PlatformName.TvOS, 26, 0, message: "Use 'UIMenuNewItem' instead.")] [Deprecated (PlatformName.MacCatalyst, 26, 0, message: "Use 'UIMenuNewItem' instead.")] [Field ("UIMenuNewScene")] NewScene, From 9528d15016bff920667794df61d96d9f18976b87 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2025 18:17:20 -0400 Subject: [PATCH 07/13] I can't type today... --- src/UIKit/UITextField.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UIKit/UITextField.cs b/src/UIKit/UITextField.cs index ed2b220bb22d..c3fdeb6987d6 100644 --- a/src/UIKit/UITextField.cs +++ b/src/UIKit/UITextField.cs @@ -264,7 +264,7 @@ public event EventHandler DidChangeSelection { remove { EnsureUITextFieldDelegate ().didChangeSelection -= value; } } - /// Raised when the text field wants to know if the text in the text field should be changed for multiple ranges.Raised when the text field wants to know if the text in the text field should be changed for multiple ranges. [SupportedOSPlatform ("tvos26.0")] [SupportedOSPlatform ("ios26.0")] [SupportedOSPlatform ("maccatalyst26.0")] From 92869809f00a5df8fbdbef9a1a278713954a1e10 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Sat, 19 Jul 2025 00:34:07 -0400 Subject: [PATCH 08/13] Update templates --- .../maccatalyst/csharp/AppDelegate.cs | 35 +++++++-------- .../maccatalyst/csharp/Info.plist | 17 ++++++++ .../csharp/Resources/LaunchScreen.xib | 43 ------------------- .../maccatalyst/csharp/SceneDelegate.cs | 21 +++++++-- .../maccatalyst/visualbasic/AppDelegate.vb | 33 ++++++-------- .../maccatalyst/visualbasic/Info.plist | 17 ++++++++ .../visualbasic/Resources/LaunchScreen.xib | 43 ------------------- .../maccatalyst/visualbasic/SceneDelegate.vb | 24 +++++++++-- .../ios-tabbed/AppDelegate.cs | 3 -- .../ios/csharp/AppDelegate.cs | 35 +++++++-------- .../ios/csharp/Info.plist | 17 ++++++++ .../ios/csharp/Resources/LaunchScreen.xib | 43 ------------------- .../ios/csharp/SceneDelegate.cs | 21 +++++++-- .../ios/fsharp/AppDelegate.fs | 32 ++++++-------- .../ios/fsharp/Info.plist | 17 ++++++++ .../ios/fsharp/Resources/LaunchScreen.xib | 43 ------------------- .../ios/fsharp/SceneDelegate.fs | 26 +++++++++-- .../ios/visualbasic/AppDelegate.vb | 34 ++++++--------- .../ios/visualbasic/Info.plist | 17 ++++++++ .../visualbasic/Resources/LaunchScreen.xib | 43 ------------------- .../ios/visualbasic/SceneDelegate.vb | 24 +++++++++-- 21 files changed, 256 insertions(+), 332 deletions(-) delete mode 100644 dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/Resources/LaunchScreen.xib delete mode 100644 dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/Resources/LaunchScreen.xib delete mode 100644 dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/Resources/LaunchScreen.xib delete mode 100644 dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/Resources/LaunchScreen.xib delete mode 100644 dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/Resources/LaunchScreen.xib diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/AppDelegate.cs b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/AppDelegate.cs index 856fd1314833..dc9759cf84de 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/AppDelegate.cs +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/AppDelegate.cs @@ -2,29 +2,24 @@ namespace MacCatalystApp1; [Register ("AppDelegate")] public class AppDelegate : UIApplicationDelegate { - public override UIWindow? Window { - get; - set; - } - public override bool FinishedLaunching (UIApplication application, NSDictionary? launchOptions) { - // create a new window instance based on the screen size - Window = new UIWindow (UIScreen.MainScreen.Bounds); - - // create a UIViewController with a single UILabel - var vc = new UIViewController (); - vc.View!.AddSubview (new UILabel (Window!.Frame) { - BackgroundColor = UIColor.SystemBackground, - TextAlignment = UITextAlignment.Center, - Text = "Hello, Mac Catalyst!", - AutoresizingMask = UIViewAutoresizing.All, - }); - Window.RootViewController = vc; + // Override point for customization after application launch. + return true; + } - // make the window visible - Window.MakeKeyAndVisible (); + public override UISceneConfiguration GetConfiguration (UIApplication application, UISceneSession connectingSceneSession, UISceneConnectionOptions options) + { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + // "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + return new UISceneConfiguration ("Default Configuration", connectingSceneSession.Role); + } - return true; + public override void DidDiscardSceneSessions (UIApplication application, NSSet sceneSessions) + { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after 'FinishedLaunching'. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. } } diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/Info.plist b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/Info.plist index b86e4981b302..94758bc30e6f 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/Info.plist +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/Info.plist @@ -31,5 +31,22 @@ XSAppIconAssets Assets.xcassets/AppIcon.appiconset + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + SceneDelegate + + + + \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/Resources/LaunchScreen.xib b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/Resources/LaunchScreen.xib deleted file mode 100644 index 81902017424a..000000000000 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/Resources/LaunchScreen.xib +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/SceneDelegate.cs b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/SceneDelegate.cs index 406e3867a8b3..864663591aa1 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/SceneDelegate.cs +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/SceneDelegate.cs @@ -9,9 +9,24 @@ public class SceneDelegate : UIResponder, IUIWindowSceneDelegate { [Export ("scene:willConnectToSession:options:")] public void WillConnect (UIScene scene, UISceneSession session, UISceneConnectionOptions connectionOptions) { - // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. - // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. - // This delegate does not imply the connecting scene or session are new (see UIApplicationDelegate `GetConfiguration` instead). + // Use this method to optionally configure and attach the UIWindow 'Window' to the provided UIWindowScene 'scene'. + // Since we are not using a storyboard, the 'Window' property needs to be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see UIApplicationDelegate 'GetConfiguration' instead). + if (scene is UIWindowScene windowScene) { + Window ??= new UIWindow (windowScene); + + // Create a 'UIViewController' with a single 'UILabel' + var vc = new UIViewController (); + vc.View!.AddSubview (new UILabel (Window!.Frame) { + BackgroundColor = UIColor.SystemBackground, + TextAlignment = UITextAlignment.Center, + Text = "Hello, Mac Catalyst!", + AutoresizingMask = UIViewAutoresizing.All, + }); + + Window.RootViewController = vc; + Window.MakeKeyAndVisible (); + } } [Export ("sceneDidDisconnect:")] diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/AppDelegate.vb b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/AppDelegate.vb index 0b3cc01d2912..0ddb5e63199c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/AppDelegate.vb +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/AppDelegate.vb @@ -6,27 +6,22 @@ Namespace MacCatalystApp1 Public Class AppDelegate Inherits UIApplicationDelegate - Public Overrides Property Window As UIWindow - Public Overrides Function FinishedLaunching(ByVal application As UIApplication, ByVal launchOptions As NSDictionary) As Boolean - ' create a new window instance based on the screen size - Window = new UIWindow(UIScreen.MainScreen.Bounds) - - ' create a UIViewController with a single UILabel - Dim vc = new UIViewController() - Dim label = new UILabel(Window.Frame) With { - .BackgroundColor = UIColor.SystemBackground, - .TextAlignment = UITextAlignment.Center, - .Text = "Hello, Mac Catalyst", - .AutoresizingMask = UIViewAutoresizing.All - } - vc.View.AddSubview(label) - Window.RootViewController = vc - - ' make the window visible - Window.MakeKeyAndVisible() - + ' Override point for customization after application launch. Return True End Function + + Public Overrides Function GetConfiguration(ByVal application As UIApplication, ByVal connectingSceneSession As UISceneSession, ByVal options As UISceneConnectionOptions) As UISceneConfiguration + ' Called when a new scene session is being created. + ' Use this method to select a configuration to create the new scene with. + ' "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + Return New UISceneConfiguration("Default Configuration", connectingSceneSession.Role) + End Function + + Public Overrides Sub DidDiscardSceneSessions(ByVal application As UIApplication, ByVal sceneSessions As NSSet(Of UISceneSession)) + ' Called when the user discards a scene session. + ' If any sessions were discarded while the application was not running, this will be called shortly after 'FinishedLaunching'. + ' Use this method to release any resources that were specific to the discarded scenes, as they will not return. + End Sub End Class End Namespace diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/Info.plist b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/Info.plist index f7cfc044625d..4a36a93976cb 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/Info.plist +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/Info.plist @@ -22,5 +22,22 @@ XSAppIconAssets Assets.xcassets/AppIcon.appiconset + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + SceneDelegate + + + + \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/Resources/LaunchScreen.xib b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/Resources/LaunchScreen.xib deleted file mode 100644 index 81902017424a..000000000000 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/Resources/LaunchScreen.xib +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/SceneDelegate.vb b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/SceneDelegate.vb index b0ca6f72ab9e..66e97c8bc17d 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/SceneDelegate.vb +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/SceneDelegate.vb @@ -10,9 +10,27 @@ Namespace MacCatalystApp1 Public Overrides Property Window As UIWindow Public Overrides Sub WillConnect(ByVal scene As UIScene, ByVal session As UISceneSession, ByVal connectionOptions As UISceneConnectionOptions) - ' Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. - ' If using a storyboard, the `window` property will automatically be initialized and attached to the scene. - ' This delegate does not imply the connecting scene or session are new (see UIApplicationDelegate `GetConfiguration` instead). + ' Use this method to optionally configure and attach the UIWindow 'Window' to the provided UIWindowScene 'scene'. + ' Since we are not using a storyboard, the 'Window' property needs to be initialized and attached to the scene. + ' This delegate does not imply the connecting scene or session are new (see UIApplicationDelegate 'GetConfiguration' instead). + If TypeOf scene Is UIWindowScene Then + Dim windowScene As UIWindowScene = CType(scene, UIWindowScene) + If Window Is Nothing Then + Window = New UIWindow(windowScene) + End If + + ' Create a 'UIViewController' with a single 'UILabel' + Dim vc As New UIViewController() + vc.View.AddSubview(New UILabel(Window.Frame) With { + .BackgroundColor = UIColor.SystemBackground, + .TextAlignment = UITextAlignment.Center, + .Text = "Hello, Mac Catalyst!", + .AutoresizingMask = UIViewAutoresizing.All + }) + + Window.RootViewController = vc + Window.MakeKeyAndVisible() + End If End Sub Public Overrides Sub DidDisconnect(ByVal scene As UIScene) diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios-tabbed/AppDelegate.cs b/dotnet/Templates/Microsoft.iOS.Templates/ios-tabbed/AppDelegate.cs index 5770275b06f1..7f908b6e7867 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios-tabbed/AppDelegate.cs +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios-tabbed/AppDelegate.cs @@ -4,9 +4,6 @@ namespace iOSTabbedApp1; // User Interface of the application, as well as listening (and optionally responding) to application events from iOS. public class AppDelegate : UIResponder, IUIApplicationDelegate { - [Export ("window")] - public UIWindow? Window { get; set; } - [Export ("application:didFinishLaunchingWithOptions:")] public bool FinishedLaunching (UIApplication application, NSDictionary? launchOptions) { diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/AppDelegate.cs b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/AppDelegate.cs index 78370d134864..b1352448111c 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/AppDelegate.cs +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/AppDelegate.cs @@ -2,29 +2,24 @@ namespace iOSApp1; [Register ("AppDelegate")] public class AppDelegate : UIApplicationDelegate { - public override UIWindow? Window { - get; - set; - } - public override bool FinishedLaunching (UIApplication application, NSDictionary? launchOptions) { - // create a new window instance based on the screen size - Window = new UIWindow (UIScreen.MainScreen.Bounds); - - // create a UIViewController with a single UILabel - var vc = new UIViewController (); - vc.View!.AddSubview (new UILabel (Window!.Frame) { - BackgroundColor = UIColor.SystemBackground, - TextAlignment = UITextAlignment.Center, - Text = "Hello, iOS!", - AutoresizingMask = UIViewAutoresizing.All, - }); - Window.RootViewController = vc; + // Override point for customization after application launch. + return true; + } - // make the window visible - Window.MakeKeyAndVisible (); + public override UISceneConfiguration GetConfiguration (UIApplication application, UISceneSession connectingSceneSession, UISceneConnectionOptions options) + { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + // "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + return new UISceneConfiguration ("Default Configuration", connectingSceneSession.Role); + } - return true; + public override void DidDiscardSceneSessions (UIApplication application, NSSet sceneSessions) + { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after 'FinishedLaunching'. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. } } diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/Info.plist b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/Info.plist index f3a4b2499e2f..5127f6d7ab36 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/Info.plist +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/Info.plist @@ -42,5 +42,22 @@ XSAppIconAssets Assets.xcassets/AppIcon.appiconset + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + SceneDelegate + + + + diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/Resources/LaunchScreen.xib b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/Resources/LaunchScreen.xib deleted file mode 100644 index 81902017424a..000000000000 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/Resources/LaunchScreen.xib +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/SceneDelegate.cs b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/SceneDelegate.cs index 0f91ae623596..a5613ca1a39b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/SceneDelegate.cs +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/SceneDelegate.cs @@ -9,9 +9,24 @@ public class SceneDelegate : UIResponder, IUIWindowSceneDelegate { [Export ("scene:willConnectToSession:options:")] public void WillConnect (UIScene scene, UISceneSession session, UISceneConnectionOptions connectionOptions) { - // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. - // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. - // This delegate does not imply the connecting scene or session are new (see UIApplicationDelegate `GetConfiguration` instead). + // Use this method to optionally configure and attach the UIWindow 'Window' to the provided UIWindowScene 'scene'. + // Since we are not using a storyboard, the 'Window' property needs to be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see UIApplicationDelegate 'GetConfiguration' instead). + if (scene is UIWindowScene windowScene) { + Window ??= new UIWindow (windowScene); + + // Create a 'UIViewController' with a single 'UILabel' + var vc = new UIViewController (); + vc.View!.AddSubview (new UILabel (Window!.Frame) { + BackgroundColor = UIColor.SystemBackground, + TextAlignment = UITextAlignment.Center, + Text = "Hello, iOS!", + AutoresizingMask = UIViewAutoresizing.All, + }); + + Window.RootViewController = vc; + Window.MakeKeyAndVisible (); + } } [Export ("sceneDidDisconnect:")] diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/AppDelegate.fs b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/AppDelegate.fs index 7d925e18fb6b..d9be24a620d9 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/AppDelegate.fs +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/AppDelegate.fs @@ -7,26 +7,18 @@ open Foundation type AppDelegate() = inherit UIApplicationDelegate() - override val Window = null with get, set - override this.FinishedLaunching(application: UIApplication, launchOptions: NSDictionary) = - // create a new window instance based on the screen size - this.Window <- new UIWindow(UIScreen.MainScreen.Bounds) + // Override point for customization after application launch. + true - // create a UIViewController with a single UILabel - let vc = new UIViewController() - vc.View.AddSubview( - new UILabel( - this.Window.Frame, - BackgroundColor = UIColor.SystemBackground, - TextAlignment = UITextAlignment.Center, - Text = "Hello, iOS!", - AutoresizingMask = UIViewAutoresizing.All - ) - ) - this.Window.RootViewController <- vc + override this.GetConfiguration(application: UIApplication, connectingSceneSession: UISceneSession, options: UISceneConnectionOptions) = + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + // "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + new UISceneConfiguration("Default Configuration", connectingSceneSession.Role) - // make the window visible - this.Window.MakeKeyAndVisible() - - true + override this.DidDiscardSceneSessions(application: UIApplication, sceneSessions: NSSet) = + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after 'FinishedLaunching'. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. + () diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/Info.plist b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/Info.plist index 52b238e2955d..bce7a0e5153b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/Info.plist +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/Info.plist @@ -42,5 +42,22 @@ XSAppIconAssets Assets.xcassets/AppIcon.appiconset + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + SceneDelegate + + + + diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/Resources/LaunchScreen.xib b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/Resources/LaunchScreen.xib deleted file mode 100644 index 81902017424a..000000000000 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/Resources/LaunchScreen.xib +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/SceneDelegate.fs b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/SceneDelegate.fs index e701120f7a96..0599e6877171 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/SceneDelegate.fs +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/SceneDelegate.fs @@ -12,11 +12,31 @@ member val Window : UIWindow = null with get, set [] - member _.WillConnect(scene: UIScene, session: UISceneSession, connectionOptions: UISceneConnectionOptions) = + member this.WillConnect(scene: UIScene, session: UISceneSession, connectionOptions: UISceneConnectionOptions) = // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. - // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // Since we are not using a storyboard, the `window` property needs to be initialized and attached to the scene. // This delegate does not imply the connecting scene or session are new (see UIApplicationDelegate `GetConfiguration` instead). - () + match scene with + | :? UIWindowScene as windowScene -> + if isNull this.Window then + this.Window <- new UIWindow(windowScene) + + // create a UIViewController with a single UILabel + let vc = new UIViewController() + vc.View.AddSubview( + new UILabel( + this.Window.Frame, + BackgroundColor = UIColor.SystemBackground, + TextAlignment = UITextAlignment.Center, + Text = "Hello, iOS!", + AutoresizingMask = UIViewAutoresizing.All + ) + ) + this.Window.RootViewController <- vc + + // make the window visible + this.Window.MakeKeyAndVisible() + | _ -> () [] diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/AppDelegate.vb b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/AppDelegate.vb index 202660b3812f..46bcfb8e9a7e 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/AppDelegate.vb +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/AppDelegate.vb @@ -6,28 +6,22 @@ Namespace iOSApp1 Public Class AppDelegate Inherits UIApplicationDelegate - Public Overrides Property Window As UIWindow - Public Overrides Function FinishedLaunching(ByVal application As UIApplication, ByVal launchOptions As NSDictionary) As Boolean - ' create a new window instance based on the screen size - Window = new UIWindow(UIScreen.MainScreen.Bounds) - - ' create a UIViewController with a single UILabel - Dim vc = new UIViewController() - Dim label As New UILabel(Window.Frame) With - { - .BackgroundColor = UIColor.SystemBackground, - .TextAlignment = UITextAlignment.Center, - .Text = "Hello, iOS!", - .AutoresizingMask = UIViewAutoresizing.All - } - vc.View.AddSubview(label) - Window.RootViewController = vc - - ' make the window visible - Window.MakeKeyAndVisible() - + ' Override point for customization after application launch. Return True End Function + + Public Overrides Function GetConfiguration(ByVal application As UIApplication, ByVal connectingSceneSession As UISceneSession, ByVal options As UISceneConnectionOptions) As UISceneConfiguration + ' Called when a new scene session is being created. + ' Use this method to select a configuration to create the new scene with. + ' "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + Return New UISceneConfiguration("Default Configuration", connectingSceneSession.Role) + End Function + + Public Overrides Sub DidDiscardSceneSessions(ByVal application As UIApplication, ByVal sceneSessions As NSSet(Of UISceneSession)) + ' Called when the user discards a scene session. + ' If any sessions were discarded while the application was not running, this will be called shortly after 'FinishedLaunching'. + ' Use this method to release any resources that were specific to the discarded scenes, as they will not return. + End Sub End Class End Namespace diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/Info.plist b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/Info.plist index f3a4b2499e2f..5127f6d7ab36 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/Info.plist +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/Info.plist @@ -42,5 +42,22 @@ XSAppIconAssets Assets.xcassets/AppIcon.appiconset + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + SceneDelegate + + + + diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/Resources/LaunchScreen.xib b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/Resources/LaunchScreen.xib deleted file mode 100644 index 81902017424a..000000000000 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/Resources/LaunchScreen.xib +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/SceneDelegate.vb b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/SceneDelegate.vb index 706179932662..ece3ee7330e3 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/SceneDelegate.vb +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/SceneDelegate.vb @@ -10,9 +10,27 @@ Namespace iOSApp1 Public Overrides Property Window As UIWindow Public Overrides Sub WillConnect(ByVal scene As UIScene, ByVal session As UISceneSession, ByVal connectionOptions As UISceneConnectionOptions) - ' Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. - ' If using a storyboard, the `window` property will automatically be initialized and attached to the scene. - ' This delegate does not imply the connecting scene or session are new (see UIApplicationDelegate `GetConfiguration` instead). + ' Use this method to optionally configure and attach the UIWindow 'Window' to the provided UIWindowScene 'scene'. + ' Since we are not using a storyboard, the 'Window' property needs to be initialized and attached to the scene. + ' This delegate does not imply the connecting scene or session are new (see UIApplicationDelegate 'GetConfiguration' instead). + If TypeOf scene Is UIWindowScene Then + Dim windowScene As UIWindowScene = CType(scene, UIWindowScene) + If Window Is Nothing Then + Window = New UIWindow(windowScene) + End If + + ' Create a 'UIViewController' with a single 'UILabel' + Dim vc As New UIViewController() + vc.View.AddSubview(New UILabel(Window.Frame) With { + .BackgroundColor = UIColor.SystemBackground, + .TextAlignment = UITextAlignment.Center, + .Text = "Hello, iOS!", + .AutoresizingMask = UIViewAutoresizing.All + }) + + Window.RootViewController = vc + Window.MakeKeyAndVisible() + End If End Sub Public Overrides Sub DidDisconnect(ByVal scene As UIScene) From ca06006bf4adb2e9a0dee5f26b9688f3066eadfa Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Sat, 19 Jul 2025 01:07:56 -0400 Subject: [PATCH 09/13] Fix monotouch-tests --- tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs | 2 ++ tests/monotouch-test/UIKit/ColorTest.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs b/tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs index a292b2205e97..9bf970297004 100644 --- a/tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs +++ b/tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs @@ -92,12 +92,14 @@ Enum [] GetSkippedEnumValues () } #endif // __TVOS__ && !XAMCORE_5_0 +#if !__MACOS__ if (TestRuntime.CheckXcodeVersion (26, 0)) { // NewScene and NewItem both return 'com.apple.menu.new-item' so // Round trip failed: NewItem.GetConstant () -> com.apple.menu.new-item but GetValue (com.apple.menu.new-item) -> NewScene // That said NewItem is the one that should be used and NewScene is deprecated in Xcode 26.0. rv.Add (global::UIKit.UIMenuIdentifier.NewItem); } +#endif // !__MACOS__ return rv.ToArray (); } diff --git a/tests/monotouch-test/UIKit/ColorTest.cs b/tests/monotouch-test/UIKit/ColorTest.cs index fb7b8eaf86a0..3b713b137eac 100644 --- a/tests/monotouch-test/UIKit/ColorTest.cs +++ b/tests/monotouch-test/UIKit/ColorTest.cs @@ -315,6 +315,8 @@ public void UIConfigurationColorTransformerTest () [TestCase (0.5, 0.5, 0.5, 0.5, 1.5, true)] public void ColorExposureCtorTest (double red, double green, double blue, double alpha, double exposure, bool isLinearExposure) { + TestRuntime.AssertXcodeVersion (26, 0); + var nr = (nfloat) red; var ng = (nfloat) green; var nb = (nfloat) blue; From a8dfce6ea296f14132c61eb17d70421633eee480 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Sat, 19 Jul 2025 01:08:32 -0400 Subject: [PATCH 10/13] [tests] Disable CA1422 for now This needs to be reverted in order to completely fix #23058 disabling it for now since this will be fixed in a sepparated PR once we also have AppKit bound --- tests/common/AppDelegate.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/common/AppDelegate.cs b/tests/common/AppDelegate.cs index ddff9ad2e707..3af48a286f8f 100644 --- a/tests/common/AppDelegate.cs +++ b/tests/common/AppDelegate.cs @@ -29,7 +29,9 @@ public override bool FinishedLaunching (UIApplication application, NSDictionary #if __MACCATALYST__ || __MACOS__ TestRuntime.NotifyLaunchCompleted (); #endif +#pragma warning disable CA1422 var window = new UIWindow (UIScreen.MainScreen.Bounds); +#pragma warning restore CA1422 var runner = new TouchRunner (window); foreach (var assembly in TestLoader.GetTestAssemblies ()) From c3b1c3e24315a5060220cf24284646c81f804886 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Sat, 19 Jul 2025 11:25:55 -0400 Subject: [PATCH 11/13] Fix cecil and intro on older macOS --- src/xkit.cs | 4 ++-- tests/cecil-tests/Documentation.KnownFailures.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xkit.cs b/src/xkit.cs index 9c596aa2a60c..3a947a96307a 100644 --- a/src/xkit.cs +++ b/src/xkit.cs @@ -4723,7 +4723,7 @@ interface NSTextContentStorage : NSTextStorageObserving { [return: NullAllowed] NSTextRange GetAdjustedRange (NSTextRange textRange, bool forEditingTextSelection); - [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0), Mac (26, 0)] [Export ("includesTextListMarkers")] bool IncludesTextListMarkers { get; set; } } @@ -5292,7 +5292,7 @@ interface UIWritingToolsCoordinator : UIInteraction [Export ("updateForReflowedTextInContextWithIdentifier:")] void UpdateForReflowedTextInContext (NSUuid contextId); - [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0), Mac (26, 0)] [Export ("includesTextListMarkers")] bool IncludesTextListMarkers { get; set; } } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index f954e329c884..9b001982fb22 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -24253,7 +24253,6 @@ P:UIKit.UITableViewCell.UITableViewCellAppearance.SeparatorInset P:UIKit.UITextDocumentProxy.AllowsNumberPadPopover P:UIKit.UITextField.AllowsNumberPadPopover P:UIKit.UITextField.Editable -P:UIKit.UITextField.ShouldChangeCharactersInRanges P:UIKit.UITextFormattingCoordinator.Delegate P:UIKit.UITextFormattingCoordinator.FontPanelVisible P:UIKit.UITextFormattingViewController.Delegate @@ -29355,6 +29354,7 @@ T:UIKit.UIUpdateLinkCallback T:UIKit.UIUserInterfaceActiveAppearance T:UIKit.UIUserInterfaceLevel T:UIKit.UIVibrancyEffectStyle +T:UIKit.UIViewControllerTransitionZoomBarButtonHandler T:UIKit.UIViewLayoutRegionAdaptivityAxis T:UIKit.UIWindowSceneActivationActionConfigurationProvider T:UIKit.UIWindowSceneActivationInteractionConfigurationProvider From a6421c9ffdb18cb85301e63f830087f274b770a7 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Mon, 21 Jul 2025 08:46:16 -0400 Subject: [PATCH 12/13] Apply suggestions from code review Co-authored-by: Rolf Bjarne Kvinge --- .../maccatalyst/csharp/AppDelegate.cs | 2 +- .../maccatalyst/visualbasic/AppDelegate.vb | 2 +- .../Microsoft.iOS.Templates/ios/csharp/AppDelegate.cs | 2 +- .../Microsoft.iOS.Templates/ios/fsharp/AppDelegate.fs | 2 +- .../Microsoft.iOS.Templates/ios/visualbasic/AppDelegate.vb | 2 +- src/UIKit/UITextField.cs | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/AppDelegate.cs b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/AppDelegate.cs index dc9759cf84de..93be16d0649f 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/AppDelegate.cs +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/AppDelegate.cs @@ -12,7 +12,7 @@ public override UISceneConfiguration GetConfiguration (UIApplication application { // Called when a new scene session is being created. // Use this method to select a configuration to create the new scene with. - // "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + // "Default Configuration" is defined in the Info.plist's 'UISceneConfigurationName' key. return new UISceneConfiguration ("Default Configuration", connectingSceneSession.Role); } diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/AppDelegate.vb b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/AppDelegate.vb index 0ddb5e63199c..d7c4b0bfde60 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/AppDelegate.vb +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/AppDelegate.vb @@ -14,7 +14,7 @@ Namespace MacCatalystApp1 Public Overrides Function GetConfiguration(ByVal application As UIApplication, ByVal connectingSceneSession As UISceneSession, ByVal options As UISceneConnectionOptions) As UISceneConfiguration ' Called when a new scene session is being created. ' Use this method to select a configuration to create the new scene with. - ' "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + ' "Default Configuration" is defined in the Info.plist's 'UISceneConfigurationName' key. Return New UISceneConfiguration("Default Configuration", connectingSceneSession.Role) End Function diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/AppDelegate.cs b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/AppDelegate.cs index b1352448111c..4338037c8af8 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/AppDelegate.cs +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/AppDelegate.cs @@ -12,7 +12,7 @@ public override UISceneConfiguration GetConfiguration (UIApplication application { // Called when a new scene session is being created. // Use this method to select a configuration to create the new scene with. - // "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + // "Default Configuration" is defined in the Info.plist's 'UISceneConfigurationName' key. return new UISceneConfiguration ("Default Configuration", connectingSceneSession.Role); } diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/AppDelegate.fs b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/AppDelegate.fs index d9be24a620d9..58764d838ee0 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/AppDelegate.fs +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/AppDelegate.fs @@ -14,7 +14,7 @@ type AppDelegate() = override this.GetConfiguration(application: UIApplication, connectingSceneSession: UISceneSession, options: UISceneConnectionOptions) = // Called when a new scene session is being created. // Use this method to select a configuration to create the new scene with. - // "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + // "Default Configuration" is defined in the Info.plist's 'UISceneConfigurationName' key. new UISceneConfiguration("Default Configuration", connectingSceneSession.Role) override this.DidDiscardSceneSessions(application: UIApplication, sceneSessions: NSSet) = diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/AppDelegate.vb b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/AppDelegate.vb index 46bcfb8e9a7e..e9f6c0d1ffc3 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/AppDelegate.vb +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/AppDelegate.vb @@ -14,7 +14,7 @@ Namespace iOSApp1 Public Overrides Function GetConfiguration(ByVal application As UIApplication, ByVal connectingSceneSession As UISceneSession, ByVal options As UISceneConnectionOptions) As UISceneConfiguration ' Called when a new scene session is being created. ' Use this method to select a configuration to create the new scene with. - ' "Default Configuration" is defined in the info.plist's 'UISceneConfigurationName' key. + ' "Default Configuration" is defined in the Info.plist's 'UISceneConfigurationName' key. Return New UISceneConfiguration("Default Configuration", connectingSceneSession.Role) End Function diff --git a/src/UIKit/UITextField.cs b/src/UIKit/UITextField.cs index c3fdeb6987d6..0aa3cfcf88ff 100644 --- a/src/UIKit/UITextField.cs +++ b/src/UIKit/UITextField.cs @@ -47,13 +47,13 @@ public UITextFieldEditingEndedEventArgs (UITextFieldDidEndEditingReason reason) /// Delegate that determines whether text changes should be allowed in a UITextField for multiple ranges. /// The text field that contains the text to be modified. - /// An array of NSValue objects containing NSRange values representing the character ranges to be replaced. + /// An array of objects containing values representing the character ranges to be replaced. /// The replacement text for the specified ranges. When typing, this typically contains the single new character entered, but may contain multiple characters if pasting. An empty string indicates character deletion. /// Returns true if the text changes should be allowed; otherwise, false to prevent the modification. /// /// This delegate method is called when the text field needs to validate text changes across multiple ranges simultaneously. /// Use this method to implement custom text validation logic, such as restricting input to specific formats or preventing certain types of content. - /// This is the multiple-range version of the standard shouldChangeCharactersInRange method. + /// This is the multiple-range version of the standard method. /// public delegate bool UITextFieldChanges (UITextField textField, NSValue [] ranges, string replacementString); From 66661413f61ad80a192408558038073ee30fbd24 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Mon, 21 Jul 2025 09:22:49 -0400 Subject: [PATCH 13/13] more feedback --- src/UIKit/UITextField.cs | 2 +- src/uikit.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/UIKit/UITextField.cs b/src/UIKit/UITextField.cs index 0aa3cfcf88ff..00ba5e98f1bb 100644 --- a/src/UIKit/UITextField.cs +++ b/src/UIKit/UITextField.cs @@ -53,7 +53,7 @@ public UITextFieldEditingEndedEventArgs (UITextFieldDidEndEditingReason reason) /// /// This delegate method is called when the text field needs to validate text changes across multiple ranges simultaneously. /// Use this method to implement custom text validation logic, such as restricting input to specific formats or preventing certain types of content. - /// This is the multiple-range version of the standard method. + /// This is the multiple-range version of the standard method. /// public delegate bool UITextFieldChanges (UITextField textField, NSValue [] ranges, string replacementString); diff --git a/src/uikit.cs b/src/uikit.cs index 1a8b399dca03..59b15471ae13 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -35990,12 +35990,12 @@ interface UISceneDestructionCondition : NSCopying { [NoiOS, NoTV, NoMacCatalyst] [Static] [Export ("userInitiatedDismissal")] - UISceneDestructionCondition UserInitiatedDismissal (); + UISceneDestructionCondition UserInitiatedDismissal { get; } [NoiOS, NoTV, NoMacCatalyst] [Static] [Export ("systemDisconnection")] - UISceneDestructionCondition SystemDisconnection (); + UISceneDestructionCondition SystemDisconnection { get; } } [iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)]