From 620923323fdbef64485a8ba7ab1882a7b87341b6 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Wed, 10 Aug 2022 11:10:04 -0400 Subject: [PATCH 01/12] [UIKit] Add support for Xcode 14 up to beta 5. --- src/AppKit/Enums.cs | 7 - src/UIKit/UIEnums.cs | 17 +- src/appkit.cs | 109 -- src/generator.cs | 2 +- src/uikit.cs | 1283 ++++++++++++++++- src/xkit.cs | 153 ++ .../api-annotations-dotnet/iOS-UIKit.todo | 368 ----- .../api-annotations-dotnet/macOS-AppKit.todo | 10 - .../api-annotations-dotnet/tvOS-UIKit.todo | 114 -- tests/xtro-sharpie/iOS-UIKit.todo | 368 ----- tests/xtro-sharpie/macOS-AppKit.todo | 10 - tests/xtro-sharpie/tvOS-UIKit.todo | 114 -- 12 files changed, 1443 insertions(+), 1112 deletions(-) diff --git a/src/AppKit/Enums.cs b/src/AppKit/Enums.cs index 657a00359842..37c9e27fc69a 100644 --- a/src/AppKit/Enums.cs +++ b/src/AppKit/Enums.cs @@ -1637,13 +1637,6 @@ public enum NSTextTableLayoutAlgorithm : ulong { Automatic, Fixed } - [NoMacCatalyst] - [Flags] - [Native] - public enum NSTextListOptions : ulong { - PrependEnclosingMarker = 1 - } - [NoMacCatalyst] [Flags] public enum NSFontSymbolicTraits : int { // uint32_t NSFontSymbolicTraits diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index 9ddd719ce0de..339f4da216e4 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -779,6 +779,10 @@ public enum UIDataDetectorType : ulong { FlightNumber = 1 << 5, [iOS (10,0)] LookupSuggestion = 1 << 6, + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + Money = 1uL << 7, + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + PhysicalValue = 1uL << 8, None = 0, All = UInt64.MaxValue @@ -1375,7 +1379,12 @@ public enum UIKeyModifierFlags : long { [Native] [NoWatch] public enum UIScrollViewKeyboardDismissMode : long { - None, OnDrag, Interactive + None, + OnDrag, + Interactive, + OnDragWithAccessory, + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + InteractiveWithAccessory, } // NSInteger -> UIWebView.h @@ -2270,6 +2279,10 @@ public enum UISceneErrorCode : long { MultipleScenesNotSupported, RequestDenied, + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + GeometryRequestUnsupported = 100, + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + GeometryRequestDenied } [Watch (6,0), TV (13,0), iOS (13,0)] @@ -2322,6 +2335,8 @@ public enum UIMenuElementAttributes : ulong { Disabled = 1uL << 0, Destructive = 1uL << 1, Hidden = 1uL << 2, + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + KeepsMenuPresented = 1uL << 3, } [Flags] diff --git a/src/appkit.cs b/src/appkit.cs index fbbd20bdff64..2452aa8dbb97 100644 --- a/src/appkit.cs +++ b/src/appkit.cs @@ -18961,115 +18961,6 @@ partial interface NSTextInputContext { string LocalizedNameForInputSource (string inputSourceIdentifier); } - [NoMacCatalyst] - [BaseType (typeof (NSObject))] - interface NSTextList : NSCoding, NSCopying, NSSecureCoding { - [Export ("initWithMarkerFormat:options:")] -#if NET - NativeHandle Constructor ([BindAs (typeof (NSTextListMarkerFormats))] NSString format, NSTextListOptions mask); -#else - NativeHandle Constructor (string format, NSTextListOptions mask); -#endif - -#if !NET - [Wrap ("this (format.GetConstant(), mask)")] - NativeHandle Constructor (NSTextListMarkerFormats format, NSTextListOptions mask); -#endif - -#if NET - [BindAs (typeof (NSTextListMarkerFormats))] -#endif - [Export ("markerFormat")] -#if NET - NSString MarkerFormat { get; } -#else - string MarkerFormat { get; } -#endif - - [Export ("listOptions")] - NSTextListOptions ListOptions { get; } - - [Export ("markerForItemNumber:")] - string GetMarker (nint itemNum); - - //Detected properties - [Export ("startingItemNumber")] - nint StartingItemNumber { get; set; } - - } - - [NoMacCatalyst] - enum NSTextListMarkerFormats - { - [Mac (10, 13)] - [Field ("NSTextListMarkerBox")] - Box, - - [Mac (10, 13)] - [Field ("NSTextListMarkerCheck")] - Check, - - [Mac (10, 13)] - [Field ("NSTextListMarkerCircle")] - Circle, - - [Mac (10, 13)] - [Field ("NSTextListMarkerDiamond")] - Diamond, - - [Mac (10, 13)] - [Field ("NSTextListMarkerDisc")] - Disc, - - [Mac (10, 13)] - [Field ("NSTextListMarkerHyphen")] - Hyphen, - - [Mac (10, 13)] - [Field ("NSTextListMarkerSquare")] - Square, - - [Mac (10, 13)] - [Field ("NSTextListMarkerLowercaseHexadecimal")] - LowercaseHexadecimal, - - [Mac (10, 13)] - [Field ("NSTextListMarkerUppercaseHexadecimal")] - UppercaseHexadecimal, - - [Mac (10, 13)] - [Field ("NSTextListMarkerOctal")] - Octal, - - [Mac (10, 13)] - [Field ("NSTextListMarkerLowercaseAlpha")] - LowercaseAlpha, - - [Mac (10, 13)] - [Field ("NSTextListMarkerUppercaseAlpha")] - UppercaseAlpha, - - [Mac (10, 13)] - [Field ("NSTextListMarkerLowercaseLatin")] - LowercaseLatin, - - [Mac (10, 13)] - [Field ("NSTextListMarkerUppercaseLatin")] - UppercaseLatin, - - [Mac (10, 13)] - [Field ("NSTextListMarkerLowercaseRoman")] - LowercaseRoman, - - [Mac (10, 13)] - [Field ("NSTextListMarkerUppercaseRoman")] - UppercaseRoman, - - [Mac (10, 13)] - [Field ("NSTextListMarkerDecimal")] - Decimal, - } - [NoMacCatalyst] [BaseType (typeof (NSTextBlock))] [DisableDefaultCtor] diff --git a/src/generator.cs b/src/generator.cs index 70ff456333a9..0da00cc98258 100644 --- a/src/generator.cs +++ b/src/generator.cs @@ -1802,7 +1802,7 @@ public TrampolineInfo MakeTrampoline (Type t) } var rt = mi.ReturnType; - var rts = IsNativeEnum (rt) ? "var" : rt.ToString (); + var rts = IsNativeEnum (rt) ? "var" : RenderType (rt); var trampoline_name = MakeTrampolineName (t); var ti = new TrampolineInfo (userDelegate: FormatType (null, t), delegateName: "D" + trampoline_name, diff --git a/src/uikit.cs b/src/uikit.cs index 691fccb16e72..46639b2f96d4 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -254,6 +254,23 @@ public enum UISplitViewControllerDisplayModeButtonVisibility : long { Always, } + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UIButtonConfigurationIndicator : long { + Automatic, + None, + Popup, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UISearchControllerScopeBarActivation : long { + Automatic, + Manual, + OnTextEntry, + OnSearchActivation, + } + delegate void UICompletionHandler (bool finished); delegate void UIOperationHandler (bool success); delegate void UICollectionViewLayoutInteractiveTransitionCompletion (bool completed, bool finished); @@ -385,6 +402,10 @@ interface UISheetPresentationController { [Export ("animateChanges:")] void AnimateChanges (Action changes); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("invalidateDetents")] + void InvalidateDetents (); } interface IUICloudSharingControllerDelegate { } @@ -1047,20 +1068,20 @@ partial interface UIAccessibilityCustomAction { NativeHandle Constructor (NSAttributedString attributedName, [NullAllowed] UIImage image, UIAccessibilityCustomActionHandler actionHandler); [NullAllowed] // by default this property is null - [Export ("name")] - string Name { get; set; } + [Export ("name")] + string Name { get; set; } [TV (11,0), iOS (11,0)] [Export ("attributedName", ArgumentSemantic.Copy)] NSAttributedString AttributedName { get; set; } [NullAllowed] // by default this property is null - [Export ("target", ArgumentSemantic.Weak)] - NSObject Target { get; set; } + [Export ("target", ArgumentSemantic.Weak)] + NSObject Target { get; set; } [NullAllowed] // by default this property is null - [Export ("selector", ArgumentSemantic.UnsafeUnretained)] - Selector Selector { get; set; } + [Export ("selector", ArgumentSemantic.UnsafeUnretained)] + Selector Selector { get; set; } [TV (13,0), iOS (13,0)] [NullAllowed, Export ("actionHandler", ArgumentSemantic.Copy)] @@ -1657,6 +1678,10 @@ partial interface UIAlertController [Export ("preferredAction")] [NullAllowed] UIAlertAction PreferredAction { get; set; } + + [TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("severity", ArgumentSemantic.Assign)] + UIAlertControllerSeverity Severity { get; set; } } interface IUIAlertViewDelegate {} @@ -2869,6 +2894,148 @@ public enum UIContentSizeCategory { AccessibilityExtraExtraExtraLarge } + [iOS (16,0), MacCatalyst (16,0), TV (16,0), NoWatch] + [Native] + public enum UIAlertControllerSeverity : long { + Default = 0, + Critical, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UICalendarViewDecorationSize : long { + Small = 0, + Medium = 1, + Large = 2, + } + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UICollectionViewSelfSizingInvalidation : long { + Disabled, + Enabled, + EnabledIncludingConstraints, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UIContextMenuConfigurationElementOrder : long { + Automatic = 0, + Priority, + Fixed, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UIEditMenuArrowDirection : long { + Automatic = 0, + Up = 1, + Down = 2, + Left = 3, + Right = 4, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UIFindSessionSearchResultDisplayStyle : long { + CurrentAndTotal, + Total, + None, + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UIMenuElementSize : long { + Small = 0, + Medium, + Large, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UINavigationBarNSToolbarSection : long { + None, + Sidebar, + Supplementary, + Content, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UINavigationItemSearchBarPlacement : long { + Automatic, + Inline, + Stacked, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UINavigationItemStyle : long { + Navigator, + Browser, + Editor, + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UINSToolbarItemPresentationSize : long { + Unspecified = -1, + Regular = 0, + Small = 1, + Large = 3, + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UIPageControlDirection : long { + Natural = 0, + LeftToRight = 1, + RightToLeft = 2, + TopToBottom = 3, + BottomToTop = 4, + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UIPasteControlDisplayMode : ulong { + IconAndLabel, + IconOnly, + LabelOnly, + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UIScreenReferenceDisplayModeStatus : long { + NotSupported, + NotEnabled, + Limited, + Enabled, + } + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UITableViewSelfSizingInvalidation : long { + Disabled, + Enabled, + EnabledIncludingConstraints, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UITextSearchFoundTextStyle : long { + Normal, + Found, + Highlighted, + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Native] + public enum UITextSearchMatchMethod : long { + Contains, + StartsWith, + FullWord, + } + delegate UIViewController UIContextMenuContentPreviewProvider (); delegate UIMenu UIContextMenuActionProvider (UIMenuElement [] suggestedActions); @@ -2882,6 +3049,18 @@ interface UIContextMenuConfiguration { [Static] [Export ("configurationWithIdentifier:previewProvider:actionProvider:")] UIContextMenuConfiguration Create ([NullAllowed] INSCopying identifier, [NullAllowed] UIContextMenuContentPreviewProvider previewProvider, [NullAllowed] UIContextMenuActionProvider actionProvider); + + [iOS (16, 0), MacCatalyst (16,0)] + [Export ("secondaryItemIdentifiers", ArgumentSemantic.Copy)] + NSSet SecondaryItemIdentifiers { get; set; } + + [iOS (16, 0), MacCatalyst (16,0)] + [Export ("badgeCount")] + nint BadgeCount { get; set; } + + [iOS (16, 0), MacCatalyst (16,0)] + [Export ("preferredMenuElementOrder", ArgumentSemantic.Assign)] + UIContextMenuConfigurationElementOrder PreferredMenuElementOrder { get; set; } } interface IUIContextMenuInteractionDelegate { } @@ -3346,6 +3525,18 @@ interface UIBarButtonItem : NSCoding [Export ("initWithImage:menu:")] NativeHandle Constructor ([NullAllowed] UIImage image, [NullAllowed] UIMenu menu); + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("initWithPrimaryAction:menu:")] + NativeHandle Constructor ([NullAllowed] UIAction primaryAction, [NullAllowed] UIMenu menu); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("initWithBarButtonSystemItem:primaryAction:menu:")] + NativeHandle Constructor (UIBarButtonSystemItem systemItem, [NullAllowed] UIAction primaryAction, [NullAllowed] UIMenu menu); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("initWithTitle:image:target:action:menu:")] + NativeHandle Constructor ([NullAllowed] string title, [NullAllowed] UIImage image, [NullAllowed] NSObject target, [NullAllowed] Selector action, [NullAllowed] UIMenu menu); + [TV (14,0), iOS (14,0)] [Static] [Export ("fixedSpaceItemOfWidth:")] @@ -3487,6 +3678,31 @@ interface UIBarButtonItem : NSCoding [iOS (9,0)] [NullAllowed, Export ("buttonGroup", ArgumentSemantic.Weak)] UIBarButtonItemGroup ButtonGroup { get; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("preferredMenuElementOrder", ArgumentSemantic.Assign)] + UIContextMenuConfigurationElementOrder PreferredMenuElementOrder { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("hidden")] + bool Hidden { [Bind ("isHidden")] get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("menuRepresentation", ArgumentSemantic.Copy)] + UIMenuElement MenuRepresentation { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("creatingFixedGroup")] + UIBarButtonItemGroup CreatingFixedGroup { get; } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("creatingMovableGroupWithCustomizationIdentifier:")] + UIBarButtonItemGroup CreatingMovableGroup (string customizationIdentifier); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization:")] + UIBarButtonItemGroup CreatingOptionalGroup (string customizationIdentifier, bool inDefaultCustomization); + } [iOS (9,0), NoWatch] @@ -3505,6 +3721,18 @@ interface UIBarButtonItemGroup : NSCoding [Export ("displayingRepresentativeItem")] bool DisplayingRepresentativeItem { [Bind ("isDisplayingRepresentativeItem")] get; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("alwaysAvailable")] + bool AlwaysAvailable { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("hidden")] + bool Hidden { [Bind ("isHidden")] get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("menuRepresentation", ArgumentSemantic.Copy)] + UIMenuElement MenuRepresentation { get; set; } } [NoWatch] @@ -3809,6 +4037,10 @@ UICollectionViewTransitionLayout StartInteractiveTransition (UICollectionViewLay [Watch (7,0), TV (14,0), iOS (14,0)] [Export ("allowsMultipleSelectionDuringEditing")] bool AllowsMultipleSelectionDuringEditing { get; set; } + + [Watch (9, 0), TV (16, 0), iOS (16, 0)] + [Export ("selfSizingInvalidation", ArgumentSemantic.Assign)] + UICollectionViewSelfSizingInvalidation SelfSizingInvalidation { get; set; } } interface IUICollectionViewDataSourcePrefetching {} @@ -4023,6 +4255,29 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { [Export ("collectionView:sceneActivationConfigurationForItemAtIndexPath:point:")] [return: NullAllowed] UIWindowSceneActivationConfiguration GetSceneActivationConfigurationForItem (UICollectionView collectionView, NSIndexPath indexPath, CGPoint point); + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("collectionView:canPerformPrimaryActionForItemAtIndexPath:")] + bool CanPerformPrimaryActionForItemAtIndexPath (UICollectionView collectionView, NSIndexPath indexPath); + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("collectionView:performPrimaryActionForItemAtIndexPath:")] + void PerformPrimaryActionForItemAtIndexPath (UICollectionView collectionView, NSIndexPath indexPath); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:")] + [return: NullAllowed] + UIContextMenuConfiguration GetContextMenuConfiguration (UICollectionView collectionView, NSIndexPath[] indexPaths, CGPoint point); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:")] + [return: NullAllowed] + UITargetedPreview GetContextMenuConfigurationhighlightPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:")] + [return: NullAllowed] + UITargetedPreview GetContextMenuConfigurationDismissalPreview(UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath); } [Watch (8,0), TV (15,0), iOS (15,0), MacCatalyst (15,0)] @@ -4087,6 +4342,10 @@ interface UICollectionViewCell { [Watch (7,0), TV (14,0), iOS (14,0)] [Export ("automaticallyUpdatesBackgroundConfiguration")] bool AutomaticallyUpdatesBackgroundConfiguration { get; set; } + + [Watch (9, 0), TV (16, 0), iOS (16, 0)] + [Export ("defaultBackgroundConfiguration")] + UIBackgroundConfiguration DefaultBackgroundConfiguration { get; } } [NoWatch] @@ -7125,6 +7384,14 @@ interface UITextInput : UIKeyInput { [iOS (13,0)] [Export ("removeTextPlaceholder:")] void RemoveTextPlaceholder (UITextPlaceholder textPlaceholder); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("willPresentEditMenuWithAnimator:")] + void WillPresentEditMenuWithAnimator (IUIEditMenuInteractionAnimating animator); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("willDismissEditMenuWithAnimator:")] + void WillDismissEditMenuWithAnimator (IUIEditMenuInteractionAnimating animator); } [NoWatch, NoTV] @@ -8066,6 +8333,10 @@ interface UIMenu { [Export ("menuByReplacingChildren:")] UIMenu GetMenuByReplacingChildren (UIMenuElement [] newChildren); + + [TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("preferredElementSize", ArgumentSemantic.Assign)] + UIMenuElementSize PreferredElementSize { get; set; } } [iOS (13,0), TV (13,0), NoWatch] @@ -8328,6 +8599,10 @@ UIScreen Screen { [Field ("UIWindowDidResignKeyNotification")] [Notification] NSString DidResignKeyNotification { get; } + + [NoWatch, TV (16, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("safeAreaAspectFitLayoutGuide", ArgumentSemantic.Strong)] + UILayoutGuideAspectFitting SafeAreaAspectFitLayoutGuide { get; } } delegate void UIControlEnumerateEventsIteratorHandler ([NullAllowed] UIAction actionHandler, [NullAllowed] NSObject target, [NullAllowed] Selector action, UIControlEvent controlEvents, out bool stop); @@ -8874,6 +9149,10 @@ interface UIButton : UIAccessibilityContentSizeCategoryImageAdjusting [NoWatch, NoTV, MacCatalyst (15, 0),iOS (15,0)] [Export ("preferredBehavioralStyle", ArgumentSemantic.Assign)] UIBehavioralStyle PreferredBehavioralStyle { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("preferredMenuElementOrder", ArgumentSemantic.Assign)] + UIContextMenuConfigurationElementOrder PreferredMenuElementOrder { get; set; } } [NoWatch] @@ -9729,6 +10008,18 @@ interface UINavigationBar : UIBarPositioning, NSCoding { [NullAllowed] [Appearance] UIStringAttributes LargeTitleTextAttributes { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("preferredBehavioralStyle", ArgumentSemantic.Assign)] + UIBehavioralStyle PreferredBehavioralStyle { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("currentNSToolbarSection", ArgumentSemantic.Assign)] + UINavigationBarNSToolbarSection CurrentNSToolbarSection { get; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("behavioralStyle", ArgumentSemantic.Assign)] + UIBehavioralStyle BehavioralStyle { get; } } [NoWatch] @@ -9860,6 +10151,63 @@ UIBarButtonItem RightBarButtonItem { [TV (15,0), iOS (15,0), MacCatalyst (15,0)] [NullAllowed, Export ("compactScrollEdgeAppearance", ArgumentSemantic.Copy)] UINavigationBarAppearance CompactScrollEdgeAppearance { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("pinnedTrailingGroup", ArgumentSemantic.Strong)] + UIBarButtonItemGroup PinnedTrailingGroup { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("overflowPresentationSource", ArgumentSemantic.Strong)] + UIPopoverPresentationControllerSourceItem OverflowPresentationSource { get; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("trailingItemGroups", ArgumentSemantic.Copy)] + UIBarButtonItemGroup[] TrailingItemGroups { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("additionalOverflowItems", ArgumentSemantic.Strong)] + UIDeferredMenuElement AdditionalOverflowItems { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("titleMenuProvider", ArgumentSemantic.Copy)] + Func, UIMenu> TitleMenuProvider { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [NullAllowed, Export ("renameDelegate", ArgumentSemantic.Weak)] + NSObject WeakRenameDelegate { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("documentProperties", ArgumentSemantic.Strong)] + UIDocumentProperties DocumentProperties { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("customizationIdentifier")] + string CustomizationIdentifier { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("leadingItemGroups", ArgumentSemantic.Copy)] + UIBarButtonItemGroup[] LeadingItemGroups { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("centerItemGroups", ArgumentSemantic.Copy)] + UIBarButtonItemGroup[] CenterItemGroups { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("style", ArgumentSemantic.Assign)] + UINavigationItemStyle Style { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("backAction", ArgumentSemantic.Copy)] + UIAction BackAction { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("preferredSearchBarPlacement", ArgumentSemantic.Assign)] + UINavigationItemSearchBarPlacement PreferredSearchBarPlacement { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("searchBarPlacement", ArgumentSemantic.Assign)] + UINavigationItemSearchBarPlacement SearchBarPlacement { get; } + } [NoWatch] @@ -10105,6 +10453,23 @@ interface UIPageControl : UIAppearance { [Deprecated (PlatformName.TvOS, 14, 0)] [Export ("updateCurrentPageDisplay")] void UpdateCurrentPageDisplay (); + + [iOS (16, 0), MacCatalyst (16,0)] + [Export ("direction", ArgumentSemantic.Assign)] + UIPageControlDirection Direction { get; set; } + + [iOS (16, 0), MacCatalyst (16,0)] + [Export ("preferredCurrentPageIndicatorImage", ArgumentSemantic.Strong)] + UIImage PreferredCurrentPageIndicatorImage { get; set; } + + [iOS (16,0), MacCatalyst (16,0)] + [Export ("currentPageIndicatorImageForPage:")] + [return: NullAllowed] + UIImage CurrentPageIndicatorImageForPage (nint page); + + [iOS (16,0), MacCatalyst (16,0)] + [Export ("setCurrentPageIndicatorImage:forPage:")] + void SetCurrentPageIndicatorImage ([NullAllowed] UIImage image, nint page); } [NoWatch] @@ -11235,6 +11600,18 @@ UIScreenMode CurrentMode { [iOS (11,0), TV (11,0)] [Export ("captured")] bool Captured { [Bind ("isCaptured")] get; } + + [TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("referenceDisplayModeStatus")] + UIScreenReferenceDisplayModeStatus ReferenceDisplayModeStatus { get; } + + [TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("currentEDRHeadroom")] + nfloat CurrentEdrHeadroom { get; } + + [TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("potentialEDRHeadroom")] + nfloat PotentialEdrHeadroom { get; } } [NoWatch] @@ -11792,13 +12169,26 @@ partial interface UISearchController : UIViewControllerTransitioningDelegate, UI [Export ("automaticallyShowsScopeBar")] bool AutomaticallyShowsScopeBar { get; set; } - [TV (14,0), NoWatch, NoiOS] + [TV (14,0), NoWatch, iOS (16,0)] [NullAllowed, Export ("searchSuggestions", ArgumentSemantic.Copy)] IUISearchSuggestion [] SearchSuggestions { get; set; } [TV (14,0), NoWatch, NoiOS] [NullAllowed, Export ("searchControllerObservedScrollView", ArgumentSemantic.Strong)] UIScrollView SearchControllerObservedScrollView { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("scopeBarActivation", ArgumentSemantic.Assign)] + UISearchControllerScopeBarActivation ScopeBarActivation { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("ignoresSearchSuggestionsForSearchBarPlacementStacked")] + bool IgnoresSearchSuggestionsForSearchBarPlacementStacked { get; set; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("searchBarPlacement")] + UINavigationItemSearchBarPlacement SearchBarPlacement { get; } + } [NoWatch] @@ -13107,6 +13497,11 @@ interface UITableView : NSCoding, UIDataSourceTranslating [Watch (8,0), TV (15,0), iOS (15,0), MacCatalyst (15,0)] [Export ("sectionHeaderTopPadding")] nfloat SectionHeaderTopPadding { get; set; } + + [Watch (9, 0), TV (16, 0), iOS (16, 0)] + [Export ("selfSizingInvalidation", ArgumentSemantic.Assign)] + UITableViewSelfSizingInvalidation SelfSizingInvalidation { get; set; } + } interface IUITableViewDataSourcePrefetching {} @@ -13526,6 +13921,10 @@ interface UITableViewCell : NSCoding, UIGestureRecognizerDelegate { [iOS (11,0)] [Export ("userInteractionEnabledWhileDragging")] bool UserInteractionEnabledWhileDragging { get; set; } + + [Watch (9, 0), TV (16, 0), iOS (16, 0)] + [Export ("defaultBackgroundConfiguration")] + UIBackgroundConfiguration DefaultBackgroundConfiguration { get; } } [NoWatch] @@ -13872,6 +14271,10 @@ interface UITableViewHeaderFooterView : UIAppearance, NSCoding { [Export ("prepareForReuse")] void PrepareForReuse (); + [Watch (9, 0), TV (16, 0), iOS (16, 0)] + [Export ("defaultBackgroundConfiguration")] + UIBackgroundConfiguration DefaultBackgroundConfiguration { get; } + } [NoTV, NoWatch] @@ -14095,6 +14498,14 @@ interface UITextFieldDelegate { [TV (13,0), iOS (13,0)] [Export ("textFieldDidChangeSelection:")] void DidChangeSelection (UITextField textField); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("textField:willPresentEditMenuWithAnimator:")] + void WillPresentEditMenu (UITextField textField, IUIEditMenuInteractionAnimating animator); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("textField:willDismissEditMenuWithAnimator:")] + void WillDismissEditMenu (UITextField textField, IUIEditMenuInteractionAnimating aniamtor); } [NoWatch] @@ -14225,6 +14636,18 @@ NSDictionary TypingAttributes { [TV (15,0), iOS (15,0), MacCatalyst (15,0)] [Export ("interactionState", ArgumentSemantic.Copy)] NSObject InteractionState { get; set; } + + [NoWatch, TV (16, 0), iOS (16, 0), MacCatalyst (16,0)] + [NullAllowed, Export ("textLayoutManager")] + NSTextLayoutManager TextLayoutManager { get; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("findInteraction")] + UIFindInteraction FindInteraction { get; } + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("findInteractionEnabled")] + bool FindInteractionEnabled { [Bind ("isFindInteractionEnabled")] get; set; } } [BaseType (typeof(UIScrollViewDelegate))] @@ -14271,6 +14694,16 @@ interface UITextViewDelegate { [iOS (10,0)] [Export ("textView:shouldInteractWithTextAttachment:inRange:interaction:"), DelegateApiName ("AllowTextAttachmentInteraction"), DelegateName ("UITextViewDelegateShouldInteractTextDelegate"), DefaultValue ("true")] bool ShouldInteractWithTextAttachment (UITextView textView, NSTextAttachment textAttachment, NSRange characterRange, UITextItemInteraction interaction); + + [IgnoredInDelegate] + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("textView:willPresentEditMenuWithAnimator:")] + void WillPresentEditMenu (UITextView textView, IUIEditMenuInteractionAnimating animator); + + [IgnoredInDelegate] + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("textView:willDismissEditMenuWithAnimator:")] + void WillDismissEditMenu (UITextView textView, IUIEditMenuInteractionAnimating aniamtor); } [NoTV, NoWatch] @@ -15190,6 +15623,10 @@ [Static] [Export ("areAnimationsEnabled")] #if TVOS #pragma warning restore 0109 #endif + + [NoWatch, TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("anchorPoint", ArgumentSemantic.Assign)] + CGPoint AnchorPoint { get; set; } } [NoWatch] @@ -15903,6 +16340,18 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [NullAllowed] [Export ("childViewControllerForTouchBar")] UIViewController ChildViewControllerForTouchBar { get; } + + [NoWatch, TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("interactionActivityTrackingBaseName")] + string InteractionActivityTrackingBaseName { get; set; } + + [TV (16, 0), NoWatch, iOS (16, 0), MacCatalyst (16,0)] + [Export ("activePresentationController")] + UIPresentationController ActivePresentationController { get; } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("setNeedsUpdateOfSupportedInterfaceOrientations")] + void SetNeedsUpdateOfSupportedInterfaceOrientations (); } [iOS (7,0), NoWatch] @@ -16131,6 +16580,16 @@ partial interface UITraitCollection : NSCopying, NSSecureCoding { [Watch (6, 0), TV (13, 0), iOS (13, 0)] [Export ("imageConfiguration", ArgumentSemantic.Strong)] UIImageConfiguration ImageConfiguration { get; } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("traitCollectionWithToolbarItemPresentationSize:")] + UITraitCollection GetTraitCollection (UINSToolbarItemPresentationSize toolbarItemPresentationSize); + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("toolbarItemPresentationSize")] + UINSToolbarItemPresentationSize ToolbarItemPresentationSize { get; } + } [iOS (7,0), NoWatch] @@ -17196,6 +17655,10 @@ partial interface UIPopoverPresentationController { [iOS (15,0), MacCatalyst (15,0)] [Export ("adaptiveSheetPresentationController", ArgumentSemantic.Strong)] UISheetPresentationController AdaptiveSheetPresentationController { get; } + + [iOS (16, 0), MacCatalyst (16,0)] + [Export ("sourceItem", ArgumentSemantic.Strong)] + UIPopoverPresentationControllerSourceItem SourceItem { get; set; } } [NoWatch] @@ -17736,6 +18199,10 @@ interface UIPrintFormatter : NSCopying { [iOS (8,0)] [Export ("perPageContentInsets")] UIEdgeInsets PerPageContentInsets { get; set; } + + [iOS (16, 0), MacCatalyst (16,0)] + [Export ("requiresMainThread")] + bool RequiresMainThread { get; } } [MacCatalyst (14,0)] // the headers lie, not usable until at least Mac Catalyst 14.0 @@ -20147,7 +20614,7 @@ interface UIPasteConfiguration : NSSecureCoding, NSCopying { interface IUIPasteConfigurationSupporting {} [NoWatch, NoTV] - [iOS (11,0)] + [iOS (11,0), MacCatalyst (16,0)] [Protocol] interface UIPasteConfigurationSupporting { [Abstract] @@ -20237,6 +20704,11 @@ interface UIDocumentBrowserViewController : NSCoding { [iOS (12,0)] [Export ("transitionControllerForDocumentAtURL:")] UIDocumentBrowserTransitionController _NewGetTransitionController (NSUrl documentUrl); + + [Async] + [iOS (16,0)] + [Export ("renameDocumentAtURL:proposedName:completionHandler:")] + void RenameDocument (NSUrl documentUrl, string proposedName, Action completionHandler); } interface IUIDocumentBrowserViewControllerDelegate {} @@ -20397,6 +20869,8 @@ public enum UIPencilPreferredAction : long { SwitchEraser, SwitchPrevious, ShowColorPalette, + [iOS (16,0), MacCatalyst (16,0)] + ShowInkAttributes, } [iOS (12,1)] @@ -21293,6 +21767,10 @@ interface UISearchTextField { [Export ("allowsCopyingTokens")] bool AllowsCopyingTokens { get; set; } + + [iOS (16, 0), MacCatalyst (16,0)] + [Export ("searchSuggestions", ArgumentSemantic.Copy)] + IUISearchSuggestion[] SearchSuggestions { get; set; } } [NoWatch, NoTV, iOS (13,0)] @@ -21598,6 +22076,22 @@ interface UIWindowScene { [Export ("titlebar")] [NullAllowed] UITitlebar Titlebar { get; } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("requestGeometryUpdateWithPreferences:errorHandler:")] + void RequestGeometryUpdateWithPreferences (UIWindowSceneGeometryPreferences geometryPreferences, [NullAllowed] Action errorHandler); + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("effectiveGeometry")] + UIWindowSceneGeometry EffectiveGeometry { get; } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("windowingBehaviors")] + UISceneWindowingBehaviors WindowingBehaviors { get; } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("fullScreen")] + bool FullScreen { [Bind ("isFullScreen")] get; } } interface IUIWindowSceneDelegate { } @@ -21893,6 +22387,10 @@ interface UISceneSizeRestrictions { [Export ("maximumSize", ArgumentSemantic.Assign)] CGSize MaximumSize { get; set; } + + [TV (16,0), iOS (16,0), MacCatalyst (16, 0)] + [Export ("allowsFullScreen")] + bool AllowsFullScreen { get; set; } } interface IUIContextMenuInteractionAnimating { } @@ -22739,6 +23237,10 @@ interface UIContentView { [Abstract] [Export ("configuration", ArgumentSemantic.Copy)] IUIContentConfiguration Configuration { get; set; } + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("supportsConfiguration:")] + bool SupportsConfiguration (IUIContentConfiguration configuration); } [NoWatch, TV (14,0), iOS (14,0)] @@ -23079,6 +23581,10 @@ interface UIListContentTextProperties : NSCopying, NSSecureCoding { [Export ("transform", ArgumentSemantic.Assign)] UIListContentTextTransform Transform { get; set; } + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("showsExpansionTextWhenTruncated")] + bool ShowsExpansionTextWhenTruncated { get; set; } } interface UIPointerLockStateDidChangeEventArgs { @@ -23155,7 +23661,7 @@ interface UIScribbleInteractionDelegate { interface IUISearchSuggestion { } - [TV (14,0), NoWatch, NoiOS] + [TV (14,0), NoWatch, iOS (16,0)] [Protocol] interface UISearchSuggestion { @@ -23189,7 +23695,7 @@ interface UIConfigurationColorTransformer { IntPtr _MonochromeTint { get; } } - [TV (14,0), NoWatch, NoiOS] + [TV (14,0), NoWatch, iOS (16,0), MacCatalyst (16,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface UISearchSuggestionItem : UISearchSuggestion { @@ -23224,6 +23730,41 @@ interface UISearchSuggestionItem : UISearchSuggestion { // [NullAllowed, Export ("iconImage")] // UIImage IconImage { get; } + + [NoTV, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("suggestionWithLocalizedAttributedSuggestion:")] + UISearchSuggestionItem Create (NSAttributedString suggestion); + + [NoTV, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("suggestionWithLocalizedAttributedSuggestion:descriptionString:")] + UISearchSuggestionItem Create (NSAttributedString suggestion, [NullAllowed] string description); + + [NoTV, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("suggestionWithLocalizedAttributedSuggestion:descriptionString:iconImage:")] + UISearchSuggestionItem Create (NSAttributedString suggestion, [NullAllowed] string description, [NullAllowed] UIImage iconImage); + + [NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("initWithLocalizedAttributedSuggestion:")] + NativeHandle Constructor (NSAttributedString suggestion); + + [NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("initWithLocalizedAttributedSuggestion:localizedDescription:")] + NativeHandle Constructor (NSAttributedString suggestion, [NullAllowed] string description); + + [NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("initWithLocalizedAttributedSuggestion:localizedDescription:iconImage:")] + NativeHandle Constructor (NSAttributedString suggestion, [NullAllowed] string description, [NullAllowed] UIImage iconImage); + + [NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("localizedAttributedSuggestion")] + NSAttributedString LocalizedAttributedSuggestion { get; } + + [TV (16, 0), iOS (16, 0), MacCatalyst (16,0)] + [NullAllowed, Export ("representedObject", ArgumentSemantic.Strong)] + NSObject RepresentedObject { get; set; } } [NoWatch, TV (14,0), iOS (14,0)] @@ -23555,6 +24096,14 @@ interface UIButtonConfiguration : NSCopying, NSSecureCoding { [Export ("automaticallyUpdateForSelection")] bool AutomaticallyUpdateForSelection { get; set; } + + [NoWatch, TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("indicator", ArgumentSemantic.Assign)] + UIButtonConfigurationIndicator Indicator { get; set; } + + [NoWatch, TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("indicatorColorTransformer", ArgumentSemantic.Copy)] + UIConfigurationColorTransformerHandler IndicatorColorTransformer { get; set; } } [NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] @@ -23617,6 +24166,24 @@ interface UISheetPresentationControllerDetent { [Static] [Export ("largeDetent")] UISheetPresentationControllerDetent CreateLargeDetent (); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("customDetentWithIdentifier:resolver:")] + UISheetPresentationControllerDetent GetCustomDetent ([NullAllowed] string identifier, Func resolver); + + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Export ("identifier", ArgumentSemantic.Strong)] + string Identifier { get; } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("customDetentWithIdentifier:resolver:")] + UISheetPresentationControllerDetent Create ([NullAllowed] string identifier, Func resolver); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("resolvedValueInContext:")] + nfloat ResolvedValue (IUISheetPresentationControllerDetentResolutionContext context); } [NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] @@ -23827,4 +24394,700 @@ interface UICellAccessoryDetail { [NullAllowed, Export ("actionHandler", ArgumentSemantic.Copy)] Action ActionHandler { get; set; } } + + interface IUICalendarSelectionMultiDateDelegate {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] +#if NET + [Protocol, Model] +#else + [Protocol, Model (AutoGeneratedName = true)] +#endif + [BaseType (typeof (NSObject))] + interface UICalendarSelectionMultiDateDelegate + { + [Abstract] + [Export ("multiDateSelection:didSelectDate:")] + void DidSelectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents); + + [Abstract] + [Export ("multiDateSelection:didDeselectDate:")] + void DidDeselectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents); + + [Export ("multiDateSelection:canSelectDate:")] + bool CanSelectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents); + + [Export ("multiDateSelection:canDeselectDate:")] + bool CanDeselectDate (UICalendarSelectionMultiDate selection, NSDateComponents dateComponents); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (UICalendarSelection))] + interface UICalendarSelectionMultiDate + { + [Export ("selectedDates", ArgumentSemantic.Copy)] + NSDateComponents[] SelectedDates { get; set; } + + [Export ("setSelectedDates:animated:")] + void SetSelectedDates (NSDateComponents[] selectedDates, bool animated); + + [Wrap ("WeakDelegate")] + [NullAllowed] + IUICalendarSelectionMultiDateDelegate Delegate { get; } + + [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] + NSObject WeakDelegate { get; } + + [Export ("initWithDelegate:")] + NativeHandle Constructor ([NullAllowed] IUICalendarSelectionMultiDateDelegate @delegate); + } + + interface IUICalendarSelectionSingleDateDelegate {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] +#if NET + [Protocol, Model] +#else + [Protocol, Model (AutoGeneratedName = true)] +#endif + [BaseType (typeof (NSObject))] + interface UICalendarSelectionSingleDateDelegate + { + [Abstract] + [Export ("dateSelection:didSelectDate:")] + void DidSelectDate (UICalendarSelectionSingleDate selection, [NullAllowed] NSDateComponents dateComponents); + + [Export ("dateSelection:canSelectDate:")] + bool CanSelectDate (UICalendarSelectionSingleDate selection, [NullAllowed] NSDateComponents dateComponents); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UICalendarSelection + { + [Export ("updateSelectableDates")] + void UpdateSelectableDates (); + } + + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (UICalendarSelection))] + interface UICalendarSelectionSingleDate + { + [Wrap ("WeakDelegate")] + [NullAllowed] + IUICalendarSelectionSingleDateDelegate Delegate { get; } + + [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] + NSObject WeakDelegate { get; } + + [NullAllowed, Export ("selectedDate", ArgumentSemantic.Copy)] + NSDateComponents SelectedDate { get; set; } + + [Export ("setSelectedDate:animated:")] + void SetSelectedDate ([NullAllowed] NSDateComponents selectedDate, bool animated); + + [Export ("initWithDelegate:")] + NativeHandle Constructor ([NullAllowed] IUICalendarSelectionSingleDateDelegate @delegate); + } + + interface IUICalendarViewDelegate {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] +#if NET + [Protocol, Model] +#else + [Protocol, Model (AutoGeneratedName = true)] +#endif + [BaseType (typeof (NSObject))] + interface UICalendarViewDelegate + { + [Abstract] + [Export ("calendarView:decorationForDateComponents:")] + [return: NullAllowed] + UICalendarViewDecoration GetDecorationForDateComponents (UICalendarView calendarView, NSDateComponents dateComponents); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + interface UICalendarViewDecoration + { + [Export ("initWithImage:color:size:")] + NativeHandle Constructor ([NullAllowed] UIImage image, [NullAllowed] UIColor color, UICalendarViewDecorationSize size); + + [Export ("initWithCustomViewProvider:")] + NativeHandle Constructor (Func customViewProvider); + + [Static] + [Export ("decorationWithColor:size:")] + UICalendarViewDecoration DecorationWithColor ([NullAllowed] UIColor color, UICalendarViewDecorationSize size); + + [Static] + [Export ("decorationWithImage:")] + UICalendarViewDecoration DecorationWithImage ([NullAllowed] UIImage image); + + [Static] + [Export ("decorationWithImage:color:size:")] + UICalendarViewDecoration DecorationWithImage ([NullAllowed] UIImage image, [NullAllowed] UIColor color, UICalendarViewDecorationSize size); + + [Static] + [Export ("decorationWithCustomViewProvider:")] + UICalendarViewDecoration DecorationWithCustomViewProvider (Func customViewProvider); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (UIView))] + interface UICalendarView + { + [Wrap ("WeakDelegate")] + [NullAllowed] + IUICalendarViewDelegate Delegate { get; set; } + + [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] + NSObject WeakDelegate { get; set; } + + [NullAllowed, Export ("selectionBehavior", ArgumentSemantic.Strong)] + UICalendarSelection SelectionBehavior { get; set; } + + [Export ("locale", ArgumentSemantic.Strong)] + NSLocale Locale { get; set; } + + [Export ("calendar", ArgumentSemantic.Copy)] + NSCalendar Calendar { get; set; } + + [NullAllowed, Export ("timeZone", ArgumentSemantic.Strong)] + NSTimeZone TimeZone { get; set; } + + [Export ("fontDesign")] + string FontDesign { get; set; } + + [Export ("availableDateRange", ArgumentSemantic.Copy)] + NSDateInterval AvailableDateRange { get; set; } + + [Export ("visibleDateComponents", ArgumentSemantic.Copy)] + NSDateComponents VisibleDateComponents { get; set; } + + [Export ("setVisibleDateComponents:animated:")] + void SetVisibleDateComponents (NSDateComponents dateComponents, bool animated); + + [Export ("wantsDateDecorations")] + bool WantsDateDecorations { get; set; } + + [Export ("reloadDecorationsForDateComponents:animated:")] + void ReloadDecorationsForDateComponents (NSDateComponents[] dates, bool animated); + } + + + interface IUIEditMenuInteractionAnimating {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Protocol] + interface UIEditMenuInteractionAnimating + { + [Abstract] + [Export ("addAnimations:")] + void AddAnimations (Action animations); + + [Abstract] + [Export ("addCompletion:")] + void AddCompletion (Action completion); + } + + interface IUIEditMenuInteractionDelegate {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] +#if NET + [Protocol, Model] +#else + [Protocol, Model (AutoGeneratedName = true)] +#endif + [BaseType (typeof (NSObject))] + interface UIEditMenuInteractionDelegate + { + [Export ("editMenuInteraction:menuForConfiguration:suggestedActions:")] + [return: NullAllowed] + UIMenu MenuForConfiguration (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, UIMenuElement[] suggestedActions); + + [Export ("editMenuInteraction:targetRectForConfiguration:")] + CGRect GetTargetRectForConfiguration (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration); + + [Export ("editMenuInteraction:willPresentMenuForConfiguration:animator:")] + void WillPresentMenuForConfiguration (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator); + + [Export ("editMenuInteraction:willDismissMenuForConfiguration:animator:")] + void WillDismissMenuForConfiguration (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator); + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Protocol] + [BaseType (typeof (NSObject))] + interface UILayoutGuideAspectFitting + { + [Abstract] + [Export ("aspectRatio")] + nfloat AspectRatio { get; set; } + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Protocol] + interface UIMenuLeaf + { + [Abstract] + [Export ("title")] + string Title { get; set; } + + [Abstract] + [NullAllowed, Export ("image", ArgumentSemantic.Copy)] + UIImage Image { get; set; } + + [Abstract] + [NullAllowed, Export ("discoverabilityTitle")] + string DiscoverabilityTitle { get; set; } + + [Abstract] + [Export ("attributes", ArgumentSemantic.Assign)] + UIMenuElementAttributes Attributes { get; set; } + + [Abstract] + [Export ("state", ArgumentSemantic.Assign)] + UIMenuElementState State { get; set; } + + [Abstract] + [NullAllowed, Export ("sender")] + NSObject Sender { get; } + + [NoTV, iOS (16, 0)] + [Abstract] + [Export ("presentationSourceItem")] + UIPopoverPresentationControllerSourceItem PresentationSourceItem { get; } + + [Abstract] + [Export ("performWithSender:target:")] + void Target ([NullAllowed] NSObject sender, [NullAllowed] NSObject target); + } + + interface IUINavigationItemRenameDelegate {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + interface UIPopoverPresentationControllerSourceItem {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] +#if NET + [Protocol, Model] +#else + [Protocol, Model (AutoGeneratedName = true)] +#endif + [BaseType (typeof (NSObject))] + interface UINavigationItemRenameDelegate + { + [Abstract] + [Export ("navigationItem:didEndRenamingWithTitle:")] + void DidEndRenamingWithTitle (UINavigationItem navigationItem, string title); + + [Export ("navigationItemShouldBeginRenaming:")] + bool ShouldBeginRenaming (UINavigationItem navigationItem); + + [Export ("navigationItem:willBeginRenamingWithSuggestedTitle:selectedRange:")] + string WillBeginRenaming (UINavigationItem navigationItem, string title, NSRange selectedRange); + + [Export ("navigationItem:shouldEndRenamingWithTitle:")] + bool ShouldEndRenaming (UINavigationItem navigationItem, string title); + } + + interface IUISheetPresentationControllerDetentResolutionContext {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Protocol] + interface UISheetPresentationControllerDetentResolutionContext + { + [Abstract] + [Export ("containerTraitCollection")] + UITraitCollection ContainerTraitCollection { get; } + + [Abstract] + [Export ("maximumDetentValue")] + nfloat MaximumDetentValue { get; } + } + + interface IUITextSearchAggregator {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Protocol] + interface UITextSearchAggregator + { + [Abstract] + [Export ("allFoundRanges")] + NSOrderedSet AllFoundRanges { get; } + + [Abstract] + [Export ("foundRange:forSearchString:inDocument:")] + void GetFoundRange (UITextRange range, string @string, [NullAllowed] INSCopying document); + + [Abstract] + [Export ("invalidateFoundRange:inDocument:")] + void InvalidateFoundRange (UITextRange range, [NullAllowed] INSCopying document); + + [Abstract] + [Export ("finishedSearching")] + void FinishedSearching (); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + interface UITextSearchOptions + { + [Export ("wordMatchMethod")] + UITextSearchMatchMethod WordMatchMethod { get; } + + [Export ("stringCompareOptions")] + NSStringCompareOptions StringCompareOptions { get; } + } + + interface IUITextSearching {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Protocol] + interface UITextSearching + { + [Abstract] + [NullAllowed, Export ("selectedTextRange")] + UITextRange SelectedTextRange { get; } + + [Abstract] + [Export ("compareFoundRange:toRange:inDocument:")] + NSComparisonResult CompareFoundRange (UITextRange foundRange, UITextRange toRange, [NullAllowed] INSCopying document); + + [Abstract] + [Export ("performTextSearchWithQueryString:usingOptions:resultAggregator:")] + void PerformTextSearch (string @string, UITextSearchOptions options, IUITextSearchAggregator aggregator); + + [Abstract] + [Export ("decorateFoundTextRange:inDocument:usingStyle:")] + void DecorateFoundTextRange (UITextRange range, [NullAllowed] INSCopying document, UITextSearchFoundTextStyle style); + + [Abstract] + [Export ("clearAllDecoratedFoundText")] + void ClearAllDecoratedFoundText (); + + [Export ("supportsTextReplacement")] + bool SupportsTextReplacement { get; } + + [Export ("shouldReplaceFoundTextInRange:inDocument:withText:")] + bool ShouldReplaceFoundText (UITextRange range, [NullAllowed] INSCopying document, string replacementText); + + [Export ("replaceFoundTextInRange:inDocument:withText:")] + void ReplaceFoundText (UITextRange range, [NullAllowed] INSCopying document, string replacementText); + + [Export ("replaceAllOccurrencesOfQueryString:usingOptions:withText:")] + void ReplaceAllOccurrences (string queryString, UITextSearchOptions options, string replacementText); + + [Export ("willHighlightFoundTextRange:inDocument:")] + void WillHighlightFoundTextRange (UITextRange range, [NullAllowed] INSCopying document); + + [Export ("scrollRangeToVisible:inDocument:")] + void ScrollRangeToVisible (UITextRange range, [NullAllowed] INSCopying document); + + [NullAllowed, Export ("selectedTextSearchDocument")] + INSCopying SelectedTextSearchDocument { get; } + + [Export ("compareOrderFromDocument:toDocument:")] + NSComparisonResult CompareOrder (INSCopying fromDocument, INSCopying toDocument); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIEditMenuInteraction : UIInteraction + { + [Wrap ("WeakDelegate")] + [NullAllowed] + IUIEditMenuInteractionDelegate Delegate { get; } + + [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] + NSObject WeakDelegate { get; } + + [Export ("initWithDelegate:")] + NativeHandle Constructor ([NullAllowed] IUIEditMenuInteractionDelegate @delegate); + + [Export ("presentEditMenuWithConfiguration:")] + void PresentEditMenu (UIEditMenuConfiguration configuration); + + [Export ("dismissMenu")] + void DismissMenu (); + + [Export ("reloadVisibleMenu")] + void ReloadVisibleMenu (); + + [Export ("updateVisibleMenuPositionAnimated:")] + void UpdateVisibleMenuPositionAnimated (bool animated); + + [Export ("locationInView:")] + CGPoint LocationInView ([NullAllowed] UIView view); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIEditMenuConfiguration + { + [Export ("identifier", ArgumentSemantic.Copy)] + INSCopying Identifier { get; } + + [Export ("sourcePoint", ArgumentSemantic.Assign)] + CGPoint SourcePoint { get; } + + [Export ("preferredArrowDirection", ArgumentSemantic.Assign)] + UIEditMenuArrowDirection PreferredArrowDirection { get; set; } + + [Static] + [Export ("configurationWithIdentifier:sourcePoint:")] + UIEditMenuConfiguration Create ([NullAllowed] INSCopying identifier, CGPoint sourcePoint); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (UICellAccessory))] + [DisableDefaultCtor] + interface UICellAccessoryPopUpMenu + { + [Export ("initWithMenu:")] + [DesignatedInitializer] + NativeHandle Constructor (UIMenu menu); + + [Export ("menu", ArgumentSemantic.Copy)] + UIMenu Menu { get; } + + [NullAllowed, Export ("selectedElementDidChangeHandler", ArgumentSemantic.Copy)] + Action SelectedElementDidChangeHandler { get; set; } + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIDocumentProperties + { + [Export ("initWithURL:")] + NativeHandle Constructor (NSUrl url); + + [Export ("initWithMetadata:")] + NativeHandle Constructor (LPLinkMetadata metadata); + + [Export ("metadata", ArgumentSemantic.Copy)] + LPLinkMetadata Metadata { get; set; } + + [NullAllowed, Export ("dragItemsProvider", ArgumentSemantic.Copy)] + Func> DragItemsProvider { get; set; } + + [NullAllowed, Export ("activityViewControllerProvider", ArgumentSemantic.Copy)] + Func ActivityViewControllerProvider { get; set; } + + [Export ("wantsIconRepresentation")] + bool WantsIconRepresentation { get; set; } + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface UIFindInteraction : UIInteraction + { + [Export ("findNavigatorVisible")] + bool FindNavigatorVisible { [Bind ("isFindNavigatorVisible")] get; } + + [NullAllowed, Export ("activeFindSession")] + UIFindSession ActiveFindSession { get; } + + [NullAllowed, Export ("searchText")] + string SearchText { get; set; } + + [NullAllowed, Export ("replacementText")] + string ReplacementText { get; set; } + + [NullAllowed, Export ("optionsMenuProvider", ArgumentSemantic.Copy)] + Func, UIMenu> OptionsMenuProvider { get; set; } + + [Wrap ("WeakDelegate")] + [NullAllowed] + IUIFindInteractionDelegate Delegate { get; } + + [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] + NSObject WeakDelegate { get; } + + [Export ("initWithSessionDelegate:")] + [DesignatedInitializer] + NativeHandle Constructor (IUIFindInteractionDelegate sessionDelegate); + + [Export ("presentFindNavigatorShowingReplace:")] + void PresentFindNavigatorShowingReplace (bool showingReplace); + + [Export ("dismissFindNavigator")] + void DismissFindNavigator (); + + [Export ("findNext")] + void FindNext (); + + [Export ("findPrevious")] + void FindPrevious (); + + [Export ("updateResultCount")] + void UpdateResultCount (); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(NSObject))] + interface UIFindSession + { + [Export ("resultCount")] + nint ResultCount { get; } + + [Export ("highlightedResultIndex")] + nint HighlightedResultIndex { get; } + + [Export ("searchResultDisplayStyle", ArgumentSemantic.Assign)] + UIFindSessionSearchResultDisplayStyle SearchResultDisplayStyle { get; set; } + + [Export ("allowsReplacement")] + bool AllowsReplacement { get; } + + [Export ("performSearchWithQuery:options:")] + void PerformSearchWithQuery (string query, [NullAllowed] UITextSearchOptions options); + + [Export ("performSingleReplacementWithSearchQuery:replacementString:options:")] + void PerformSingleReplacement (string searchQuery, string replacementString, [NullAllowed] UITextSearchOptions options); + + [Export ("replaceAllInstancesOfSearchQuery:withReplacementString:options:")] + void ReplaceAllInstancesOfSearchQuery (string searchQuery, string replacementString, [NullAllowed] UITextSearchOptions options); + + [Export ("highlightNextResultInDirection:")] + void HighlightNextResultInDirection (UITextStorageDirection direction); + + [Export ("invalidateFoundResults")] + void InvalidateFoundResults (); + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + interface UIPasteControlConfiguration : NSSecureCoding + { + [Export ("displayMode", ArgumentSemantic.Assign)] + UIPasteControlDisplayMode DisplayMode { get; set; } + + [Export ("cornerStyle", ArgumentSemantic.Assign)] + UIButtonConfigurationCornerStyle CornerStyle { get; set; } + + [Export ("cornerRadius")] + nfloat CornerRadius { get; set; } + + [NullAllowed, Export ("baseForegroundColor", ArgumentSemantic.Strong)] + UIColor BaseForegroundColor { get; set; } + + } + + interface IUIFindInteractionDelegate {} + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] +#if NET + [Protocol, Model] +#else + [Protocol, Model (AutoGeneratedName = true)] +#endif + [BaseType (typeof(NSObject))] + interface UIFindInteractionDelegate + { + [Abstract] + [Export ("findInteraction:sessionForView:")] + [return: NullAllowed] + UIFindSession GetSessionForView (UIFindInteraction interaction, UIView view); + + [Export ("findInteraction:didBeginFindSession:")] + void DidBeginFindSession (UIFindInteraction interaction, UIFindSession session); + + [Export ("findInteraction:didEndFindSession:")] + void DidEndFindSession (UIFindInteraction interaction, UIFindSession session); + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface UISceneWindowingBehaviors + { + [Export ("closable")] + bool Closable { [Bind ("isClosable")] get; set; } + + [Export ("miniaturizable")] + bool Miniaturizable { [Bind ("isMiniaturizable")] get; set; } + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (UIFindSession))] + [DisableDefaultCtor] + interface UITextSearchingFindSession + { + [NullAllowed, Export ("searchableObject", ArgumentSemantic.Weak)] + IUITextSearching SearchableObject { get; } + + [Export ("initWithSearchableObject:")] + [DesignatedInitializer] + NativeHandle Constructor (IUITextSearching searchableObject); + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface UIWindowSceneGeometry : NSCopying + { + [Export ("systemFrame")] + CGRect SystemFrame { get; } + + [NoTV] + [Export ("interfaceOrientation")] + UIInterfaceOrientation InterfaceOrientation { get; } + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(NSObject))] + interface UIWindowSceneGeometryPreferences {} + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(UIWindowSceneGeometryPreferences))] + interface UIWindowSceneGeometryPreferencesMac + { + [Export ("initWithSystemFrame:")] + NativeHandle Constructor (CGRect systemFrame); + + [Export ("systemFrame", ArgumentSemantic.Assign)] + CGRect SystemFrame { get; set; } + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(UIWindowSceneGeometryPreferences))] + interface UIWindowSceneGeometryPreferencesIOS + { + [Export ("initWithInterfaceOrientations:")] + NativeHandle Constructor (UIInterfaceOrientationMask interfaceOrientations); + + [Export ("interfaceOrientations", ArgumentSemantic.Assign)] + UIInterfaceOrientationMask InterfaceOrientations { get; set; } + } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (UIControl))] + interface UIPasteControl + { + [Export ("configuration")] + UIPasteControlConfiguration Configuration { get; } + + [NullAllowed, Export ("target", ArgumentSemantic.Weak)] + IUIPasteConfigurationSupporting Target { get; set; } + + [Export ("initWithConfiguration:")] + [DesignatedInitializer] + NativeHandle Constructor (UIPasteControlConfiguration configuration); + + [Export ("initWithFrame:")] + [DesignatedInitializer] + NativeHandle Constructor (CGRect frame); + } + + } diff --git a/src/xkit.cs b/src/xkit.cs index 856945eddd67..aa31e03f0977 100644 --- a/src/xkit.cs +++ b/src/xkit.cs @@ -3929,6 +3929,85 @@ interface NSTextStorageObserving void PerformEditingTransaction (NSTextStorage textStorage, Action transaction); } + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + enum NSTextListMarkerFormats + { + [Mac (10, 13)] + [Field ("NSTextListMarkerBox")] + Box, + + [Mac (10, 13)] + [Field ("NSTextListMarkerCheck")] + Check, + + [Mac (10, 13)] + [Field ("NSTextListMarkerCircle")] + Circle, + + [Mac (10, 13)] + [Field ("NSTextListMarkerDiamond")] + Diamond, + + [Mac (10, 13)] + [Field ("NSTextListMarkerDisc")] + Disc, + + [Mac (10, 13)] + [Field ("NSTextListMarkerHyphen")] + Hyphen, + + [Mac (10, 13)] + [Field ("NSTextListMarkerSquare")] + Square, + + [Mac (10, 13)] + [Field ("NSTextListMarkerLowercaseHexadecimal")] + LowercaseHexadecimal, + + [Mac (10, 13)] + [Field ("NSTextListMarkerUppercaseHexadecimal")] + UppercaseHexadecimal, + + [Mac (10, 13)] + [Field ("NSTextListMarkerOctal")] + Octal, + + [Mac (10, 13)] + [Field ("NSTextListMarkerLowercaseAlpha")] + LowercaseAlpha, + + [Mac (10, 13)] + [Field ("NSTextListMarkerUppercaseAlpha")] + UppercaseAlpha, + + [Mac (10, 13)] + [Field ("NSTextListMarkerLowercaseLatin")] + LowercaseLatin, + + [Mac (10, 13)] + [Field ("NSTextListMarkerUppercaseLatin")] + UppercaseLatin, + + [Mac (10, 13)] + [Field ("NSTextListMarkerLowercaseRoman")] + LowercaseRoman, + + [Mac (10, 13)] + [Field ("NSTextListMarkerUppercaseRoman")] + UppercaseRoman, + + [Mac (10, 13)] + [Field ("NSTextListMarkerDecimal")] + Decimal, + } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Flags] + [Native] + public enum NSTextListOptions : ulong { + PrependEnclosingMarker = 1 + } + [TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] [BaseType (typeof (NSTextContentManager))] interface NSTextContentStorage : NSTextStorageObserving @@ -3963,4 +4042,78 @@ interface NSTextContentStorage : NSTextStorageObserving NSTextRange GetAdjustedRange (NSTextRange textRange, bool forEditingTextSelection); } + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + interface NSTextList : NSCoding, NSCopying, NSSecureCoding { + [Export ("initWithMarkerFormat:options:")] +#if NET + NativeHandle Constructor ([BindAs (typeof (NSTextListMarkerFormats))] NSString format, NSTextListOptions mask); +#else + NativeHandle Constructor (string format, NSTextListOptions mask); +#endif + +#if !NET + [Wrap ("this (format.GetConstant(), mask)")] + NativeHandle Constructor (NSTextListMarkerFormats format, NSTextListOptions mask); +#endif + +#if NET + [BindAs (typeof (NSTextListMarkerFormats))] +#endif + [Export ("markerFormat")] +#if NET + NSString MarkerFormat { get; } +#else + string MarkerFormat { get; } +#endif + + [Export ("listOptions")] + NSTextListOptions ListOptions { get; } + + [Export ("markerForItemNumber:")] + string GetMarker (nint itemNum); + + //Detected properties + [Export ("startingItemNumber")] + nint StartingItemNumber { get; set; } + + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSTextParagraph))] + interface NSTextListElement + { + [Export ("initWithParentElement:textList:contents:markerAttributes:childElements:")] + [DesignatedInitializer] + NativeHandle Constructor ([NullAllowed] NSTextListElement parent, NSTextList textList, [NullAllowed] NSAttributedString contents, [NullAllowed] NSDictionary markerAttributes, [NullAllowed] NSTextListElement[] children); + + [Static] + [Export ("textListElementWithContents:markerAttributes:textList:childElements:")] + NSTextListElement Create (NSAttributedString contents, [NullAllowed] NSDictionary markerAttributes, NSTextList textList, [NullAllowed] NSTextListElement[] children); + + [Static] + [Export ("textListElementWithChildElements:textList:nestingLevel:")] + [return: NullAllowed] + NSTextListElement Create (NSTextListElement[] children, NSTextList textList, nint nestingLevel); + + [Export ("textList", ArgumentSemantic.Strong)] + NSTextList TextList { get; } + + [NullAllowed, Export ("contents", ArgumentSemantic.Strong)] + NSAttributedString Contents { get; } + + [NullAllowed, Export ("markerAttributes", ArgumentSemantic.Strong)] + NSDictionary MarkerAttributes { get; } + + [Export ("attributedString", ArgumentSemantic.Strong)] + NSAttributedString AttributedString { get; } + + [Export ("childElements", ArgumentSemantic.Copy)] + NSTextListElement[] ChildElements { get; } + + [NullAllowed, Export ("parentElement", ArgumentSemantic.Weak)] + NSTextListElement ParentElement { get; } + } + + } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo index 985d5eab6715..0a91d0c8f656 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo @@ -29,80 +29,19 @@ !deprecated-attribute-missing! UIMenuItem missing a [Deprecated] attribute !deprecated-attribute-missing! UIPopoverPresentationController::barButtonItem missing a [Deprecated] attribute !deprecated-attribute-missing! UIPopoverPresentationController::setBarButtonItem: missing a [Deprecated] attribute -!missing-enum! NSTextListOptions not bound -!missing-enum! UIAlertControllerSeverity not bound -!missing-enum! UICalendarViewDecorationSize not bound -!missing-enum! UICollectionViewSelfSizingInvalidation not bound -!missing-enum! UIContextMenuConfigurationElementOrder not bound -!missing-enum! UIEditMenuArrowDirection not bound -!missing-enum! UIFindSessionSearchResultDisplayStyle not bound -!missing-enum! UIMenuElementSize not bound -!missing-enum! UINavigationBarNSToolbarSection not bound -!missing-enum! UINavigationItemSearchBarPlacement not bound -!missing-enum! UINavigationItemStyle not bound -!missing-enum! UINSToolbarItemPresentationSize not bound -!missing-enum! UIPageControlDirection not bound -!missing-enum! UIPasteControlDisplayMode not bound -!missing-enum! UIScreenReferenceDisplayModeStatus not bound -!missing-enum! UITableViewSelfSizingInvalidation not bound -!missing-enum! UITextSearchFoundTextStyle not bound -!missing-enum! UITextSearchMatchMethod not bound -!missing-enum-value! UIDataDetectorType native value UIDataDetectorTypeMoney = 128 not bound -!missing-enum-value! UIDataDetectorType native value UIDataDetectorTypePhysicalValue = 256 not bound -!missing-enum-value! UIMenuElementAttributes native value UIMenuElementAttributesKeepsMenuPresented = 8 not bound -!missing-enum-value! UIPencilPreferredAction native value UIPencilPreferredActionShowInkAttributes = 4 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestDenied = 101 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestUnsupported = 100 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeInteractiveWithAccessory = 4 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeOnDragWithAccessory = 3 not bound -!missing-field! NSTextListMarkerBox not bound -!missing-field! NSTextListMarkerCheck not bound -!missing-field! NSTextListMarkerCircle not bound -!missing-field! NSTextListMarkerDecimal not bound -!missing-field! NSTextListMarkerDiamond not bound -!missing-field! NSTextListMarkerDisc not bound -!missing-field! NSTextListMarkerHyphen not bound -!missing-field! NSTextListMarkerLowercaseAlpha not bound -!missing-field! NSTextListMarkerLowercaseHexadecimal not bound -!missing-field! NSTextListMarkerLowercaseLatin not bound -!missing-field! NSTextListMarkerLowercaseRoman not bound -!missing-field! NSTextListMarkerOctal not bound -!missing-field! NSTextListMarkerSquare not bound -!missing-field! NSTextListMarkerUppercaseAlpha not bound -!missing-field! NSTextListMarkerUppercaseHexadecimal not bound -!missing-field! NSTextListMarkerUppercaseLatin not bound -!missing-field! NSTextListMarkerUppercaseRoman not bound !missing-field! UIActivityTypeCollaborationCopyLink not bound !missing-field! UIActivityTypeCollaborationInviteWithLink not bound !missing-field! UIMenuDocument not bound !missing-field! UIScreenReferenceDisplayModeStatusDidChangeNotification not bound !missing-field! UISheetPresentationControllerDetentInactive not bound !missing-field! UIWindowSceneSessionRoleExternalDisplayNonInteractive not bound -!missing-protocol! UICalendarSelectionMultiDateDelegate not bound -!missing-protocol! UICalendarSelectionSingleDateDelegate not bound -!missing-protocol! UICalendarViewDelegate not bound -!missing-protocol! UIEditMenuInteractionAnimating not bound -!missing-protocol! UIEditMenuInteractionDelegate not bound -!missing-protocol! UIFindInteractionDelegate not bound -!missing-protocol! UILayoutGuideAspectFitting not bound -!missing-protocol! UIMenuLeaf not bound -!missing-protocol! UINavigationItemRenameDelegate not bound !missing-protocol! UIPopoverPresentationControllerSourceItem not bound -!missing-protocol! UISearchSuggestion not bound -!missing-protocol! UISheetPresentationControllerDetentResolutionContext not bound -!missing-protocol! UITextSearchAggregator not bound -!missing-protocol! UITextSearching not bound !missing-protocol-conformance! UIAction should conform to UIMenuLeaf !missing-protocol-conformance! UIBarButtonItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) !missing-protocol-conformance! UICommand should conform to UIMenuLeaf !missing-protocol-conformance! UILayoutGuide should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) !missing-protocol-conformance! UITabBarItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) !missing-protocol-conformance! UIView should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-member! UICollectionViewDelegate::collectionView:canPerformPrimaryActionForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:contextMenuConfigurationForItemsAtIndexPaths:point: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:performPrimaryActionForItemAtIndexPath: not found !missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier: not found !missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier: not found !missing-protocol-member! UINavigationBarDelegate::navigationBarNSToolbarSection: not found @@ -126,30 +65,15 @@ !missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRange:suggestedActions: not found !missing-selector! +NSCollectionLayoutGroup::horizontalGroupWithLayoutSize:repeatingSubitem:count: not bound !missing-selector! +NSCollectionLayoutGroup::verticalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSTextListElement::textListElementWithChildElements:textList:nestingLevel: not bound -!missing-selector! +NSTextListElement::textListElementWithContents:markerAttributes:textList:childElements: not bound !missing-selector! +UIBarButtonItemGroup::fixedGroupWithRepresentativeItem:items: not bound !missing-selector! +UIBarButtonItemGroup::movableGroupWithCustomizationIdentifier:representativeItem:items: not bound !missing-selector! +UIBarButtonItemGroup::optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithColor:size: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithCustomViewProvider: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithImage: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithImage:color:size: not bound -!missing-selector! +UIEditMenuConfiguration::configurationWithIdentifier:sourcePoint: not bound !missing-selector! +UIFocusDebugger::focusGroupsForEnvironment: not bound !missing-selector! +UIFocusDebugger::preferredFocusEnvironmentsForEnvironment: not bound !missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound !missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound !missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedAttributedSuggestion: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedAttributedSuggestion:descriptionString: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedAttributedSuggestion:descriptionString:iconImage: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedSuggestion: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedSuggestion:descriptionString: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedSuggestion:descriptionString:iconImage: not bound -!missing-selector! +UISheetPresentationControllerDetent::customDetentWithIdentifier:resolver: not bound !missing-selector! +UITextView::textViewUsingTextLayoutManager: not bound -!missing-selector! +UITraitCollection::traitCollectionWithToolbarItemPresentationSize: not bound !missing-selector! NSCollectionLayoutSection::setSupplementaryContentInsetsReference: not bound !missing-selector! NSCollectionLayoutSection::supplementaryContentInsetsReference not bound !missing-selector! NSMutableParagraphStyle::setTextLists: not bound @@ -158,300 +82,8 @@ !missing-selector! NSTextElement::childElements not bound !missing-selector! NSTextElement::isRepresentedElement not bound !missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithCoder: not bound -!missing-selector! NSTextList::initWithMarkerFormat:options: not bound !missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound !missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextList::listOptions not bound -!missing-selector! NSTextList::markerForItemNumber: not bound -!missing-selector! NSTextList::markerFormat not bound -!missing-selector! NSTextList::setStartingItemNumber: not bound -!missing-selector! NSTextList::startingItemNumber not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound -!missing-selector! UIAlertController::setSeverity: not bound -!missing-selector! UIAlertController::severity not bound -!missing-selector! UIBarButtonItem::creatingFixedGroup not bound -!missing-selector! UIBarButtonItem::creatingMovableGroupWithCustomizationIdentifier: not bound -!missing-selector! UIBarButtonItem::creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization: not bound -!missing-selector! UIBarButtonItem::isHidden not bound -!missing-selector! UIBarButtonItem::menuRepresentation not bound -!missing-selector! UIBarButtonItem::preferredMenuElementOrder not bound -!missing-selector! UIBarButtonItem::setHidden: not bound -!missing-selector! UIBarButtonItem::setMenuRepresentation: not bound -!missing-selector! UIBarButtonItem::setPreferredMenuElementOrder: not bound -!missing-selector! UIBarButtonItemGroup::isHidden not bound -!missing-selector! UIBarButtonItemGroup::menuRepresentation not bound -!missing-selector! UIBarButtonItemGroup::setHidden: not bound -!missing-selector! UIBarButtonItemGroup::setMenuRepresentation: not bound -!missing-selector! UIButton::preferredMenuElementOrder not bound -!missing-selector! UIButton::setPreferredMenuElementOrder: not bound -!missing-selector! UICalendarSelection::updateSelectableDates not bound -!missing-selector! UICalendarSelectionMultiDate::delegate not bound -!missing-selector! UICalendarSelectionMultiDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionMultiDate::selectedDates not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates: not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates:animated: not bound -!missing-selector! UICalendarSelectionSingleDate::delegate not bound -!missing-selector! UICalendarSelectionSingleDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionSingleDate::selectedDate not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate: not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate:animated: not bound -!missing-selector! UICalendarView::availableDateRange not bound -!missing-selector! UICalendarView::calendar not bound -!missing-selector! UICalendarView::delegate not bound -!missing-selector! UICalendarView::fontDesign not bound -!missing-selector! UICalendarView::locale not bound -!missing-selector! UICalendarView::reloadDecorationsForDateComponents:animated: not bound -!missing-selector! UICalendarView::selectionBehavior not bound -!missing-selector! UICalendarView::setAvailableDateRange: not bound -!missing-selector! UICalendarView::setCalendar: not bound -!missing-selector! UICalendarView::setDelegate: not bound -!missing-selector! UICalendarView::setFontDesign: not bound -!missing-selector! UICalendarView::setLocale: not bound -!missing-selector! UICalendarView::setSelectionBehavior: not bound -!missing-selector! UICalendarView::setTimeZone: not bound -!missing-selector! UICalendarView::setVisibleDateComponents: not bound -!missing-selector! UICalendarView::setVisibleDateComponents:animated: not bound -!missing-selector! UICalendarView::setWantsDateDecorations: not bound -!missing-selector! UICalendarView::timeZone not bound -!missing-selector! UICalendarView::visibleDateComponents not bound -!missing-selector! UICalendarView::wantsDateDecorations not bound -!missing-selector! UICalendarViewDecoration::init not bound -!missing-selector! UICalendarViewDecoration::initWithCustomViewProvider: not bound -!missing-selector! UICalendarViewDecoration::initWithImage:color:size: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithCoder: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithMenu: not bound -!missing-selector! UICellAccessoryPopUpMenu::menu not bound -!missing-selector! UICellAccessoryPopUpMenu::selectedElementDidChangeHandler not bound -!missing-selector! UICellAccessoryPopUpMenu::setSelectedElementDidChangeHandler: not bound -!missing-selector! UICollectionView::selfSizingInvalidation not bound -!missing-selector! UICollectionView::setSelfSizingInvalidation: not bound -!missing-selector! UICollectionViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UIContextMenuConfiguration::badgeCount not bound -!missing-selector! UIContextMenuConfiguration::preferredMenuElementOrder not bound -!missing-selector! UIContextMenuConfiguration::secondaryItemIdentifiers not bound -!missing-selector! UIContextMenuConfiguration::setBadgeCount: not bound -!missing-selector! UIContextMenuConfiguration::setPreferredMenuElementOrder: not bound -!missing-selector! UIContextMenuConfiguration::setSecondaryItemIdentifiers: not bound -!missing-selector! UIDocumentBrowserViewController::renameDocumentAtURL:proposedName:completionHandler: not bound -!missing-selector! UIDocumentProperties::activityViewControllerProvider not bound -!missing-selector! UIDocumentProperties::dragItemsProvider not bound -!missing-selector! UIDocumentProperties::initWithMetadata: not bound -!missing-selector! UIDocumentProperties::initWithURL: not bound -!missing-selector! UIDocumentProperties::metadata not bound -!missing-selector! UIDocumentProperties::setActivityViewControllerProvider: not bound -!missing-selector! UIDocumentProperties::setDragItemsProvider: not bound -!missing-selector! UIDocumentProperties::setMetadata: not bound -!missing-selector! UIDocumentProperties::setWantsIconRepresentation: not bound -!missing-selector! UIDocumentProperties::wantsIconRepresentation not bound -!missing-selector! UIEditMenuConfiguration::identifier not bound -!missing-selector! UIEditMenuConfiguration::preferredArrowDirection not bound -!missing-selector! UIEditMenuConfiguration::setPreferredArrowDirection: not bound -!missing-selector! UIEditMenuConfiguration::sourcePoint not bound -!missing-selector! UIEditMenuInteraction::delegate not bound -!missing-selector! UIEditMenuInteraction::dismissMenu not bound -!missing-selector! UIEditMenuInteraction::initWithDelegate: not bound -!missing-selector! UIEditMenuInteraction::locationInView: not bound -!missing-selector! UIEditMenuInteraction::presentEditMenuWithConfiguration: not bound -!missing-selector! UIEditMenuInteraction::reloadVisibleMenu not bound -!missing-selector! UIEditMenuInteraction::updateVisibleMenuPositionAnimated: not bound -!missing-selector! UIFindInteraction::activeFindSession not bound -!missing-selector! UIFindInteraction::delegate not bound -!missing-selector! UIFindInteraction::dismissFindNavigator not bound -!missing-selector! UIFindInteraction::findNext not bound -!missing-selector! UIFindInteraction::findPrevious not bound -!missing-selector! UIFindInteraction::initWithSessionDelegate: not bound -!missing-selector! UIFindInteraction::isFindNavigatorVisible not bound -!missing-selector! UIFindInteraction::optionsMenuProvider not bound -!missing-selector! UIFindInteraction::presentFindNavigatorShowingReplace: not bound -!missing-selector! UIFindInteraction::replacementText not bound -!missing-selector! UIFindInteraction::searchText not bound -!missing-selector! UIFindInteraction::setOptionsMenuProvider: not bound -!missing-selector! UIFindInteraction::setReplacementText: not bound -!missing-selector! UIFindInteraction::setSearchText: not bound -!missing-selector! UIFindInteraction::updateResultCount not bound -!missing-selector! UIFindSession::allowsReplacement not bound -!missing-selector! UIFindSession::highlightedResultIndex not bound -!missing-selector! UIFindSession::highlightNextResultInDirection: not bound -!missing-selector! UIFindSession::invalidateFoundResults not bound -!missing-selector! UIFindSession::performSearchWithQuery:options: not bound -!missing-selector! UIFindSession::performSingleReplacementWithSearchQuery:replacementString:options: not bound -!missing-selector! UIFindSession::replaceAllInstancesOfSearchQuery:withReplacementString:options: not bound -!missing-selector! UIFindSession::resultCount not bound -!missing-selector! UIFindSession::searchResultDisplayStyle not bound -!missing-selector! UIFindSession::setSearchResultDisplayStyle: not bound -!missing-selector! UIListContentTextProperties::setShowsExpansionTextWhenTruncated: not bound -!missing-selector! UIListContentTextProperties::showsExpansionTextWhenTruncated not bound -!missing-selector! UIMenu::preferredElementSize not bound -!missing-selector! UIMenu::setPreferredElementSize: not bound -!missing-selector! UINavigationBar::behavioralStyle not bound -!missing-selector! UINavigationBar::currentNSToolbarSection not bound -!missing-selector! UINavigationBar::preferredBehavioralStyle not bound -!missing-selector! UINavigationBar::setPreferredBehavioralStyle: not bound -!missing-selector! UINavigationItem::additionalOverflowItems not bound -!missing-selector! UINavigationItem::backAction not bound -!missing-selector! UINavigationItem::centerItemGroups not bound -!missing-selector! UINavigationItem::customizationIdentifier not bound -!missing-selector! UINavigationItem::documentProperties not bound -!missing-selector! UINavigationItem::leadingItemGroups not bound -!missing-selector! UINavigationItem::preferredSearchBarPlacement not bound -!missing-selector! UINavigationItem::renameDelegate not bound -!missing-selector! UINavigationItem::searchBarPlacement not bound -!missing-selector! UINavigationItem::setAdditionalOverflowItems: not bound -!missing-selector! UINavigationItem::setBackAction: not bound -!missing-selector! UINavigationItem::setCenterItemGroups: not bound -!missing-selector! UINavigationItem::setCustomizationIdentifier: not bound -!missing-selector! UINavigationItem::setDocumentProperties: not bound -!missing-selector! UINavigationItem::setLeadingItemGroups: not bound -!missing-selector! UINavigationItem::setPreferredSearchBarPlacement: not bound -!missing-selector! UINavigationItem::setRenameDelegate: not bound -!missing-selector! UINavigationItem::setStyle: not bound -!missing-selector! UINavigationItem::setTitleMenuProvider: not bound -!missing-selector! UINavigationItem::setTrailingItemGroups: not bound -!missing-selector! UINavigationItem::style not bound -!missing-selector! UINavigationItem::titleMenuProvider not bound -!missing-selector! UINavigationItem::trailingItemGroups not bound -!missing-selector! UIPageControl::currentPageIndicatorImageForPage: not bound -!missing-selector! UIPageControl::direction not bound -!missing-selector! UIPageControl::preferredCurrentPageIndicatorImage not bound -!missing-selector! UIPageControl::setCurrentPageIndicatorImage:forPage: not bound -!missing-selector! UIPageControl::setDirection: not bound -!missing-selector! UIPageControl::setPreferredCurrentPageIndicatorImage: not bound -!missing-selector! UIPasteControl::configuration not bound -!missing-selector! UIPasteControl::initWithCoder: not bound -!missing-selector! UIPasteControl::initWithConfiguration: not bound -!missing-selector! UIPasteControl::initWithFrame: not bound -!missing-selector! UIPasteControl::setTarget: not bound -!missing-selector! UIPasteControl::target not bound -!missing-selector! UIPasteControlConfiguration::baseBackgroundColor not bound -!missing-selector! UIPasteControlConfiguration::baseForegroundColor not bound -!missing-selector! UIPasteControlConfiguration::cornerStyle not bound -!missing-selector! UIPasteControlConfiguration::displayMode not bound -!missing-selector! UIPasteControlConfiguration::setBaseBackgroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setBaseForegroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setCornerStyle: not bound -!missing-selector! UIPasteControlConfiguration::setDisplayMode: not bound -!missing-selector! UIPopoverPresentationController::setSourceItem: not bound -!missing-selector! UIPopoverPresentationController::sourceItem not bound -!missing-selector! UIPrintFormatter::requiresMainThread not bound -!missing-selector! UISceneSizeRestrictions::allowsFullScreen not bound -!missing-selector! UISceneSizeRestrictions::setAllowsFullScreen: not bound -!missing-selector! UISceneWindowingBehaviors::isClosable not bound -!missing-selector! UISceneWindowingBehaviors::isMiniaturizable not bound -!missing-selector! UISceneWindowingBehaviors::setClosable: not bound -!missing-selector! UISceneWindowingBehaviors::setMiniaturizable: not bound -!missing-selector! UIScreen::currentEDRHeadroom not bound -!missing-selector! UIScreen::potentialEDRHeadroom not bound -!missing-selector! UIScreen::referenceDisplayModeStatus not bound -!missing-selector! UISearchController::searchBarPlacement not bound -!missing-selector! UISearchController::searchSuggestions not bound -!missing-selector! UISearchController::setSearchSuggestions: not bound -!missing-selector! UISearchSuggestionItem::iconImage not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::localizedAttributedSuggestion not bound -!missing-selector! UISearchSuggestionItem::localizedDescription not bound -!missing-selector! UISearchSuggestionItem::localizedSuggestion not bound -!missing-selector! UISearchSuggestionItem::representedObject not bound -!missing-selector! UISearchSuggestionItem::setRepresentedObject: not bound -!missing-selector! UISearchTextField::searchSuggestions not bound -!missing-selector! UISearchTextField::setSearchSuggestions: not bound -!missing-selector! UISheetPresentationController::invalidateDetents not bound -!missing-selector! UISheetPresentationControllerDetent::identifier not bound -!missing-selector! UISheetPresentationControllerDetent::resolvedValueInContext: not bound -!missing-selector! UITableView::selfSizingInvalidation not bound -!missing-selector! UITableView::setSelfSizingInvalidation: not bound -!missing-selector! UITableViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UITableViewHeaderFooterView::defaultBackgroundConfiguration not bound -!missing-selector! UITextSearchingFindSession::initWithSearchableObject: not bound -!missing-selector! UITextSearchingFindSession::searchableObject not bound -!missing-selector! UITextSearchOptions::stringCompareOptions not bound -!missing-selector! UITextSearchOptions::wordMatchMethod not bound -!missing-selector! UITextView::findInteraction not bound -!missing-selector! UITextView::isFindInteractionEnabled not bound -!missing-selector! UITextView::setFindInteractionEnabled: not bound -!missing-selector! UITextView::textLayoutManager not bound -!missing-selector! UITraitCollection::toolbarItemPresentationSize not bound -!missing-selector! UIViewController::activePresentationController not bound -!missing-selector! UIViewController::interactionActivityTrackingBaseName not bound -!missing-selector! UIViewController::setInteractionActivityTrackingBaseName: not bound -!missing-selector! UIWindow::safeAreaAspectFitLayoutGuide not bound -!missing-selector! UIWindowScene::effectiveGeometry not bound -!missing-selector! UIWindowScene::isFullScreen not bound -!missing-selector! UIWindowScene::requestGeometryUpdateWithPreferences:errorHandler: not bound -!missing-selector! UIWindowScene::windowingBehaviors not bound -!missing-type! NSTextList not bound -!missing-type! NSTextListElement not bound -!missing-type! UICalendarSelection not bound -!missing-type! UICalendarSelectionMultiDate not bound -!missing-type! UICalendarSelectionSingleDate not bound -!missing-type! UICalendarView not bound -!missing-type! UICalendarViewDecoration not bound -!missing-type! UICellAccessoryPopUpMenu not bound -!missing-type! UIDocumentProperties not bound -!missing-type! UIEditMenuConfiguration not bound -!missing-type! UIEditMenuInteraction not bound -!missing-type! UIFindInteraction not bound -!missing-type! UIFindSession not bound -!missing-type! UIPasteControl not bound -!missing-type! UIPasteControlConfiguration not bound -!missing-type! UISceneWindowingBehaviors not bound -!missing-type! UISearchSuggestionItem not bound -!missing-type! UITextSearchingFindSession not bound -!missing-type! UITextSearchOptions not bound -!missing-type! UIWindowSceneGeometry not bound -!missing-type! UIWindowSceneGeometryPreferences not bound !deprecated-attribute-missing! UIViewController::shouldAutorotate missing a [Deprecated] attribute -!missing-enum! UIButtonConfigurationIndicator not bound -!missing-selector! UIButtonConfiguration::indicator not bound -!missing-selector! UIButtonConfiguration::indicatorColorTransformer not bound -!missing-selector! UIButtonConfiguration::setIndicator: not bound -!missing-selector! UIButtonConfiguration::setIndicatorColorTransformer: not bound -!missing-selector! UIPasteControlConfiguration::cornerRadius not bound -!missing-selector! UIPasteControlConfiguration::setCornerRadius: not bound -!missing-selector! UISearchController::ignoresSearchSuggestionsForSearchBarPlacementStacked not bound -!missing-selector! UISearchController::setIgnoresSearchSuggestionsForSearchBarPlacementStacked: not bound -!missing-selector! UIViewController::setNeedsUpdateOfSupportedInterfaceOrientations not bound -!missing-selector! UIWindowSceneGeometry::interfaceOrientation not bound -!missing-selector! UIWindowSceneGeometryPreferencesIOS::init not bound -!missing-selector! UIWindowSceneGeometryPreferencesIOS::initWithInterfaceOrientations: not bound -!missing-selector! UIWindowSceneGeometryPreferencesIOS::interfaceOrientations not bound -!missing-selector! UIWindowSceneGeometryPreferencesIOS::setInterfaceOrientations: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::init not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::initWithSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::setSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::systemFrame not bound -!missing-type! UIWindowSceneGeometryPreferencesIOS not bound -!missing-type! UIWindowSceneGeometryPreferencesMac not bound -!missing-protocol-member! UIContentView::supportsConfiguration: not found -!missing-selector! UIView::anchorPoint not bound -!missing-selector! UIView::setAnchorPoint: not bound !deprecated-attribute-missing! UISearchController::automaticallyShowsScopeBar missing a [Deprecated] attribute !deprecated-attribute-missing! UISearchController::setAutomaticallyShowsScopeBar: missing a [Deprecated] attribute -!missing-enum! UISearchControllerScopeBarActivation not bound -!missing-protocol-member! UITextFieldDelegate::textField:willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextFieldDelegate::textField:willPresentEditMenuWithAnimator: not found -!missing-protocol-member! UITextInput::willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextInput::willPresentEditMenuWithAnimator: not found -!missing-protocol-member! UITextViewDelegate::textView:willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextViewDelegate::textView:willPresentEditMenuWithAnimator: not found -!missing-selector! UIBarButtonItem::initWithBarButtonSystemItem:primaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithPrimaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithTitle:image:target:action:menu: not bound -!missing-selector! UIBarButtonItemGroup::alwaysAvailable not bound -!missing-selector! UIBarButtonItemGroup::setAlwaysAvailable: not bound -!missing-selector! UINavigationItem::overflowPresentationSource not bound -!missing-selector! UINavigationItem::pinnedTrailingGroup not bound -!missing-selector! UINavigationItem::setPinnedTrailingGroup: not bound -!missing-selector! UISearchController::scopeBarActivation not bound -!missing-selector! UISearchController::setScopeBarActivation: 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 302e4ac96262..d3d14a7fa5d5 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo @@ -23,8 +23,6 @@ !missing-selector! +NSComboButton::comboButtonWithTitle:menu:target:action: not bound !missing-selector! +NSImage::imageWithSymbolName:variableValue: not bound !missing-selector! +NSImage::imageWithSystemSymbolName:variableValue:accessibilityDescription: not bound -!missing-selector! +NSTextListElement::textListElementWithChildElements:textList:nestingLevel: not bound -!missing-selector! +NSTextListElement::textListElementWithContents:markerAttributes:textList:childElements: not bound !missing-selector! NSColorWell::colorWellStyle not bound !missing-selector! NSColorWell::image not bound !missing-selector! NSColorWell::pulldownAction not bound @@ -61,13 +59,6 @@ !missing-selector! NSTextElement::parentElement not bound !missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound !missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound !missing-selector! NSToolbar::centeredItemIdentifiers not bound !missing-selector! NSToolbar::setCenteredItemIdentifiers: not bound !missing-selector! NSToolbarItem::isVisible not bound @@ -78,7 +69,6 @@ !missing-type! NSNibControlConnector not bound !missing-type! NSNibOutletConnector not bound !missing-type! NSPreviewRepresentingActivityItem not bound -!missing-type! NSTextListElement not bound !missing-field! NSFontWidthCompressed not bound !missing-field! NSFontWidthCondensed not bound !missing-field! NSFontWidthExpanded not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo index 1f2378a24577..d73e8191f5ce 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo @@ -56,48 +56,13 @@ !missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceSidebarPlain = 4 not bound !deprecated-attribute-missing! NSCollectionLayoutSection::setSupplementariesFollowContentInsets: missing a [Deprecated] attribute !deprecated-attribute-missing! NSCollectionLayoutSection::supplementariesFollowContentInsets missing a [Deprecated] attribute -!missing-enum! NSTextListOptions not bound -!missing-enum! UIAlertControllerSeverity not bound -!missing-enum! UICollectionViewSelfSizingInvalidation not bound !missing-enum! UIFindSessionSearchResultDisplayStyle not bound -!missing-enum! UIMenuElementSize not bound -!missing-enum! UINSToolbarItemPresentationSize not bound -!missing-enum! UIPageControlDirection not bound -!missing-enum! UIPasteControlDisplayMode not bound -!missing-enum! UIScreenReferenceDisplayModeStatus not bound -!missing-enum! UITableViewSelfSizingInvalidation not bound !missing-enum! UITextSearchMatchMethod not bound -!missing-enum-value! UIMenuElementAttributes native value UIMenuElementAttributesKeepsMenuPresented = 8 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestDenied = 101 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestUnsupported = 100 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeInteractiveWithAccessory = 4 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeOnDragWithAccessory = 3 not bound -!missing-field! NSTextListMarkerBox not bound -!missing-field! NSTextListMarkerCheck not bound -!missing-field! NSTextListMarkerCircle not bound -!missing-field! NSTextListMarkerDecimal not bound -!missing-field! NSTextListMarkerDiamond not bound -!missing-field! NSTextListMarkerDisc not bound -!missing-field! NSTextListMarkerHyphen not bound -!missing-field! NSTextListMarkerLowercaseAlpha not bound -!missing-field! NSTextListMarkerLowercaseHexadecimal not bound -!missing-field! NSTextListMarkerLowercaseLatin not bound -!missing-field! NSTextListMarkerLowercaseRoman not bound -!missing-field! NSTextListMarkerOctal not bound -!missing-field! NSTextListMarkerSquare not bound -!missing-field! NSTextListMarkerUppercaseAlpha not bound -!missing-field! NSTextListMarkerUppercaseHexadecimal not bound -!missing-field! NSTextListMarkerUppercaseLatin not bound -!missing-field! NSTextListMarkerUppercaseRoman not bound !missing-field! UIMenuDocument not bound !missing-field! UIScreenReferenceDisplayModeStatusDidChangeNotification not bound !missing-field! UIWindowSceneSessionRoleExternalDisplayNonInteractive not bound -!missing-protocol! UILayoutGuideAspectFitting not bound -!missing-protocol! UIMenuLeaf not bound !missing-protocol-conformance! UIAction should conform to UIMenuLeaf !missing-protocol-conformance! UICommand should conform to UIMenuLeaf -!missing-protocol-member! UICollectionViewDelegate::collectionView:canPerformPrimaryActionForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:performPrimaryActionForItemAtIndexPath: not found !missing-protocol-member! UIResponderStandardEditActions::duplicate: not found !missing-protocol-member! UIResponderStandardEditActions::export: not found !missing-protocol-member! UIResponderStandardEditActions::find: not found @@ -116,15 +81,12 @@ !missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRange:suggestedActions: not found !missing-selector! +NSCollectionLayoutGroup::horizontalGroupWithLayoutSize:repeatingSubitem:count: not bound !missing-selector! +NSCollectionLayoutGroup::verticalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSTextListElement::textListElementWithChildElements:textList:nestingLevel: not bound -!missing-selector! +NSTextListElement::textListElementWithContents:markerAttributes:textList:childElements: not bound !missing-selector! +UIFocusDebugger::focusGroupsForEnvironment: not bound !missing-selector! +UIFocusDebugger::preferredFocusEnvironmentsForEnvironment: not bound !missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound !missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound !missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound !missing-selector! +UITextView::textViewUsingTextLayoutManager: not bound -!missing-selector! +UITraitCollection::traitCollectionWithToolbarItemPresentationSize: not bound !missing-selector! NSCollectionLayoutSection::setSupplementaryContentInsetsReference: not bound !missing-selector! NSCollectionLayoutSection::supplementaryContentInsetsReference not bound !missing-selector! NSMutableParagraphStyle::setTextLists: not bound @@ -133,81 +95,5 @@ !missing-selector! NSTextElement::childElements not bound !missing-selector! NSTextElement::isRepresentedElement not bound !missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithCoder: not bound -!missing-selector! NSTextList::initWithMarkerFormat:options: not bound !missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound !missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextList::listOptions not bound -!missing-selector! NSTextList::markerForItemNumber: not bound -!missing-selector! NSTextList::markerFormat not bound -!missing-selector! NSTextList::setStartingItemNumber: not bound -!missing-selector! NSTextList::startingItemNumber not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound -!missing-selector! UIAlertController::setSeverity: not bound -!missing-selector! UIAlertController::severity not bound -!missing-selector! UICollectionView::selfSizingInvalidation not bound -!missing-selector! UICollectionView::setSelfSizingInvalidation: not bound -!missing-selector! UICollectionViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UIListContentTextProperties::setShowsExpansionTextWhenTruncated: not bound -!missing-selector! UIListContentTextProperties::showsExpansionTextWhenTruncated not bound -!missing-selector! UIMenu::preferredElementSize not bound -!missing-selector! UIMenu::setPreferredElementSize: not bound -!missing-selector! UIPageControl::currentPageIndicatorImageForPage: not bound -!missing-selector! UIPageControl::direction not bound -!missing-selector! UIPageControl::preferredCurrentPageIndicatorImage not bound -!missing-selector! UIPageControl::setCurrentPageIndicatorImage:forPage: not bound -!missing-selector! UIPageControl::setDirection: not bound -!missing-selector! UIPageControl::setPreferredCurrentPageIndicatorImage: not bound -!missing-selector! UISceneSizeRestrictions::allowsFullScreen not bound -!missing-selector! UISceneSizeRestrictions::setAllowsFullScreen: not bound -!missing-selector! UISceneWindowingBehaviors::isClosable not bound -!missing-selector! UISceneWindowingBehaviors::isMiniaturizable not bound -!missing-selector! UISceneWindowingBehaviors::setClosable: not bound -!missing-selector! UISceneWindowingBehaviors::setMiniaturizable: not bound -!missing-selector! UIScreen::currentEDRHeadroom not bound -!missing-selector! UIScreen::potentialEDRHeadroom not bound -!missing-selector! UIScreen::referenceDisplayModeStatus not bound -!missing-selector! UISearchSuggestionItem::representedObject not bound -!missing-selector! UISearchSuggestionItem::setRepresentedObject: not bound -!missing-selector! UITableView::selfSizingInvalidation not bound -!missing-selector! UITableView::setSelfSizingInvalidation: not bound -!missing-selector! UITableViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UITableViewHeaderFooterView::defaultBackgroundConfiguration not bound -!missing-selector! UITextView::textLayoutManager not bound -!missing-selector! UITraitCollection::toolbarItemPresentationSize not bound -!missing-selector! UIViewController::activePresentationController not bound -!missing-selector! UIViewController::interactionActivityTrackingBaseName not bound -!missing-selector! UIViewController::setInteractionActivityTrackingBaseName: not bound -!missing-selector! UIWindow::safeAreaAspectFitLayoutGuide not bound -!missing-selector! UIWindowScene::effectiveGeometry not bound -!missing-selector! UIWindowScene::isFullScreen not bound -!missing-selector! UIWindowScene::requestGeometryUpdateWithPreferences:errorHandler: not bound -!missing-selector! UIWindowScene::windowingBehaviors not bound -!missing-type! NSTextList not bound -!missing-type! NSTextListElement not bound -!missing-type! UISceneWindowingBehaviors not bound -!missing-type! UIWindowSceneGeometry not bound -!missing-type! UIWindowSceneGeometryPreferences not bound -!missing-enum! UIButtonConfigurationIndicator not bound -!missing-selector! UIButtonConfiguration::indicator not bound -!missing-selector! UIButtonConfiguration::indicatorColorTransformer not bound -!missing-selector! UIButtonConfiguration::setIndicator: not bound -!missing-selector! UIButtonConfiguration::setIndicatorColorTransformer: not bound -!missing-protocol-member! UIContentView::supportsConfiguration: not found -!missing-selector! UIView::anchorPoint not bound -!missing-selector! UIView::setAnchorPoint: not bound -!missing-selector! UIViewController::setNeedsUpdateOfSupportedInterfaceOrientations not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::init not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::initWithSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::setSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::systemFrame not bound -!missing-type! UIWindowSceneGeometryPreferencesMac not bound -!missing-selector! UIBarButtonItem::initWithBarButtonSystemItem:primaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithPrimaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithTitle:image:target:action:menu: not bound diff --git a/tests/xtro-sharpie/iOS-UIKit.todo b/tests/xtro-sharpie/iOS-UIKit.todo index 985d5eab6715..0a91d0c8f656 100644 --- a/tests/xtro-sharpie/iOS-UIKit.todo +++ b/tests/xtro-sharpie/iOS-UIKit.todo @@ -29,80 +29,19 @@ !deprecated-attribute-missing! UIMenuItem missing a [Deprecated] attribute !deprecated-attribute-missing! UIPopoverPresentationController::barButtonItem missing a [Deprecated] attribute !deprecated-attribute-missing! UIPopoverPresentationController::setBarButtonItem: missing a [Deprecated] attribute -!missing-enum! NSTextListOptions not bound -!missing-enum! UIAlertControllerSeverity not bound -!missing-enum! UICalendarViewDecorationSize not bound -!missing-enum! UICollectionViewSelfSizingInvalidation not bound -!missing-enum! UIContextMenuConfigurationElementOrder not bound -!missing-enum! UIEditMenuArrowDirection not bound -!missing-enum! UIFindSessionSearchResultDisplayStyle not bound -!missing-enum! UIMenuElementSize not bound -!missing-enum! UINavigationBarNSToolbarSection not bound -!missing-enum! UINavigationItemSearchBarPlacement not bound -!missing-enum! UINavigationItemStyle not bound -!missing-enum! UINSToolbarItemPresentationSize not bound -!missing-enum! UIPageControlDirection not bound -!missing-enum! UIPasteControlDisplayMode not bound -!missing-enum! UIScreenReferenceDisplayModeStatus not bound -!missing-enum! UITableViewSelfSizingInvalidation not bound -!missing-enum! UITextSearchFoundTextStyle not bound -!missing-enum! UITextSearchMatchMethod not bound -!missing-enum-value! UIDataDetectorType native value UIDataDetectorTypeMoney = 128 not bound -!missing-enum-value! UIDataDetectorType native value UIDataDetectorTypePhysicalValue = 256 not bound -!missing-enum-value! UIMenuElementAttributes native value UIMenuElementAttributesKeepsMenuPresented = 8 not bound -!missing-enum-value! UIPencilPreferredAction native value UIPencilPreferredActionShowInkAttributes = 4 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestDenied = 101 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestUnsupported = 100 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeInteractiveWithAccessory = 4 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeOnDragWithAccessory = 3 not bound -!missing-field! NSTextListMarkerBox not bound -!missing-field! NSTextListMarkerCheck not bound -!missing-field! NSTextListMarkerCircle not bound -!missing-field! NSTextListMarkerDecimal not bound -!missing-field! NSTextListMarkerDiamond not bound -!missing-field! NSTextListMarkerDisc not bound -!missing-field! NSTextListMarkerHyphen not bound -!missing-field! NSTextListMarkerLowercaseAlpha not bound -!missing-field! NSTextListMarkerLowercaseHexadecimal not bound -!missing-field! NSTextListMarkerLowercaseLatin not bound -!missing-field! NSTextListMarkerLowercaseRoman not bound -!missing-field! NSTextListMarkerOctal not bound -!missing-field! NSTextListMarkerSquare not bound -!missing-field! NSTextListMarkerUppercaseAlpha not bound -!missing-field! NSTextListMarkerUppercaseHexadecimal not bound -!missing-field! NSTextListMarkerUppercaseLatin not bound -!missing-field! NSTextListMarkerUppercaseRoman not bound !missing-field! UIActivityTypeCollaborationCopyLink not bound !missing-field! UIActivityTypeCollaborationInviteWithLink not bound !missing-field! UIMenuDocument not bound !missing-field! UIScreenReferenceDisplayModeStatusDidChangeNotification not bound !missing-field! UISheetPresentationControllerDetentInactive not bound !missing-field! UIWindowSceneSessionRoleExternalDisplayNonInteractive not bound -!missing-protocol! UICalendarSelectionMultiDateDelegate not bound -!missing-protocol! UICalendarSelectionSingleDateDelegate not bound -!missing-protocol! UICalendarViewDelegate not bound -!missing-protocol! UIEditMenuInteractionAnimating not bound -!missing-protocol! UIEditMenuInteractionDelegate not bound -!missing-protocol! UIFindInteractionDelegate not bound -!missing-protocol! UILayoutGuideAspectFitting not bound -!missing-protocol! UIMenuLeaf not bound -!missing-protocol! UINavigationItemRenameDelegate not bound !missing-protocol! UIPopoverPresentationControllerSourceItem not bound -!missing-protocol! UISearchSuggestion not bound -!missing-protocol! UISheetPresentationControllerDetentResolutionContext not bound -!missing-protocol! UITextSearchAggregator not bound -!missing-protocol! UITextSearching not bound !missing-protocol-conformance! UIAction should conform to UIMenuLeaf !missing-protocol-conformance! UIBarButtonItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) !missing-protocol-conformance! UICommand should conform to UIMenuLeaf !missing-protocol-conformance! UILayoutGuide should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) !missing-protocol-conformance! UITabBarItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) !missing-protocol-conformance! UIView should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-member! UICollectionViewDelegate::collectionView:canPerformPrimaryActionForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:contextMenuConfigurationForItemsAtIndexPaths:point: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:performPrimaryActionForItemAtIndexPath: not found !missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier: not found !missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier: not found !missing-protocol-member! UINavigationBarDelegate::navigationBarNSToolbarSection: not found @@ -126,30 +65,15 @@ !missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRange:suggestedActions: not found !missing-selector! +NSCollectionLayoutGroup::horizontalGroupWithLayoutSize:repeatingSubitem:count: not bound !missing-selector! +NSCollectionLayoutGroup::verticalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSTextListElement::textListElementWithChildElements:textList:nestingLevel: not bound -!missing-selector! +NSTextListElement::textListElementWithContents:markerAttributes:textList:childElements: not bound !missing-selector! +UIBarButtonItemGroup::fixedGroupWithRepresentativeItem:items: not bound !missing-selector! +UIBarButtonItemGroup::movableGroupWithCustomizationIdentifier:representativeItem:items: not bound !missing-selector! +UIBarButtonItemGroup::optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithColor:size: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithCustomViewProvider: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithImage: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithImage:color:size: not bound -!missing-selector! +UIEditMenuConfiguration::configurationWithIdentifier:sourcePoint: not bound !missing-selector! +UIFocusDebugger::focusGroupsForEnvironment: not bound !missing-selector! +UIFocusDebugger::preferredFocusEnvironmentsForEnvironment: not bound !missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound !missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound !missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedAttributedSuggestion: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedAttributedSuggestion:descriptionString: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedAttributedSuggestion:descriptionString:iconImage: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedSuggestion: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedSuggestion:descriptionString: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedSuggestion:descriptionString:iconImage: not bound -!missing-selector! +UISheetPresentationControllerDetent::customDetentWithIdentifier:resolver: not bound !missing-selector! +UITextView::textViewUsingTextLayoutManager: not bound -!missing-selector! +UITraitCollection::traitCollectionWithToolbarItemPresentationSize: not bound !missing-selector! NSCollectionLayoutSection::setSupplementaryContentInsetsReference: not bound !missing-selector! NSCollectionLayoutSection::supplementaryContentInsetsReference not bound !missing-selector! NSMutableParagraphStyle::setTextLists: not bound @@ -158,300 +82,8 @@ !missing-selector! NSTextElement::childElements not bound !missing-selector! NSTextElement::isRepresentedElement not bound !missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithCoder: not bound -!missing-selector! NSTextList::initWithMarkerFormat:options: not bound !missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound !missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextList::listOptions not bound -!missing-selector! NSTextList::markerForItemNumber: not bound -!missing-selector! NSTextList::markerFormat not bound -!missing-selector! NSTextList::setStartingItemNumber: not bound -!missing-selector! NSTextList::startingItemNumber not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound -!missing-selector! UIAlertController::setSeverity: not bound -!missing-selector! UIAlertController::severity not bound -!missing-selector! UIBarButtonItem::creatingFixedGroup not bound -!missing-selector! UIBarButtonItem::creatingMovableGroupWithCustomizationIdentifier: not bound -!missing-selector! UIBarButtonItem::creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization: not bound -!missing-selector! UIBarButtonItem::isHidden not bound -!missing-selector! UIBarButtonItem::menuRepresentation not bound -!missing-selector! UIBarButtonItem::preferredMenuElementOrder not bound -!missing-selector! UIBarButtonItem::setHidden: not bound -!missing-selector! UIBarButtonItem::setMenuRepresentation: not bound -!missing-selector! UIBarButtonItem::setPreferredMenuElementOrder: not bound -!missing-selector! UIBarButtonItemGroup::isHidden not bound -!missing-selector! UIBarButtonItemGroup::menuRepresentation not bound -!missing-selector! UIBarButtonItemGroup::setHidden: not bound -!missing-selector! UIBarButtonItemGroup::setMenuRepresentation: not bound -!missing-selector! UIButton::preferredMenuElementOrder not bound -!missing-selector! UIButton::setPreferredMenuElementOrder: not bound -!missing-selector! UICalendarSelection::updateSelectableDates not bound -!missing-selector! UICalendarSelectionMultiDate::delegate not bound -!missing-selector! UICalendarSelectionMultiDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionMultiDate::selectedDates not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates: not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates:animated: not bound -!missing-selector! UICalendarSelectionSingleDate::delegate not bound -!missing-selector! UICalendarSelectionSingleDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionSingleDate::selectedDate not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate: not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate:animated: not bound -!missing-selector! UICalendarView::availableDateRange not bound -!missing-selector! UICalendarView::calendar not bound -!missing-selector! UICalendarView::delegate not bound -!missing-selector! UICalendarView::fontDesign not bound -!missing-selector! UICalendarView::locale not bound -!missing-selector! UICalendarView::reloadDecorationsForDateComponents:animated: not bound -!missing-selector! UICalendarView::selectionBehavior not bound -!missing-selector! UICalendarView::setAvailableDateRange: not bound -!missing-selector! UICalendarView::setCalendar: not bound -!missing-selector! UICalendarView::setDelegate: not bound -!missing-selector! UICalendarView::setFontDesign: not bound -!missing-selector! UICalendarView::setLocale: not bound -!missing-selector! UICalendarView::setSelectionBehavior: not bound -!missing-selector! UICalendarView::setTimeZone: not bound -!missing-selector! UICalendarView::setVisibleDateComponents: not bound -!missing-selector! UICalendarView::setVisibleDateComponents:animated: not bound -!missing-selector! UICalendarView::setWantsDateDecorations: not bound -!missing-selector! UICalendarView::timeZone not bound -!missing-selector! UICalendarView::visibleDateComponents not bound -!missing-selector! UICalendarView::wantsDateDecorations not bound -!missing-selector! UICalendarViewDecoration::init not bound -!missing-selector! UICalendarViewDecoration::initWithCustomViewProvider: not bound -!missing-selector! UICalendarViewDecoration::initWithImage:color:size: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithCoder: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithMenu: not bound -!missing-selector! UICellAccessoryPopUpMenu::menu not bound -!missing-selector! UICellAccessoryPopUpMenu::selectedElementDidChangeHandler not bound -!missing-selector! UICellAccessoryPopUpMenu::setSelectedElementDidChangeHandler: not bound -!missing-selector! UICollectionView::selfSizingInvalidation not bound -!missing-selector! UICollectionView::setSelfSizingInvalidation: not bound -!missing-selector! UICollectionViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UIContextMenuConfiguration::badgeCount not bound -!missing-selector! UIContextMenuConfiguration::preferredMenuElementOrder not bound -!missing-selector! UIContextMenuConfiguration::secondaryItemIdentifiers not bound -!missing-selector! UIContextMenuConfiguration::setBadgeCount: not bound -!missing-selector! UIContextMenuConfiguration::setPreferredMenuElementOrder: not bound -!missing-selector! UIContextMenuConfiguration::setSecondaryItemIdentifiers: not bound -!missing-selector! UIDocumentBrowserViewController::renameDocumentAtURL:proposedName:completionHandler: not bound -!missing-selector! UIDocumentProperties::activityViewControllerProvider not bound -!missing-selector! UIDocumentProperties::dragItemsProvider not bound -!missing-selector! UIDocumentProperties::initWithMetadata: not bound -!missing-selector! UIDocumentProperties::initWithURL: not bound -!missing-selector! UIDocumentProperties::metadata not bound -!missing-selector! UIDocumentProperties::setActivityViewControllerProvider: not bound -!missing-selector! UIDocumentProperties::setDragItemsProvider: not bound -!missing-selector! UIDocumentProperties::setMetadata: not bound -!missing-selector! UIDocumentProperties::setWantsIconRepresentation: not bound -!missing-selector! UIDocumentProperties::wantsIconRepresentation not bound -!missing-selector! UIEditMenuConfiguration::identifier not bound -!missing-selector! UIEditMenuConfiguration::preferredArrowDirection not bound -!missing-selector! UIEditMenuConfiguration::setPreferredArrowDirection: not bound -!missing-selector! UIEditMenuConfiguration::sourcePoint not bound -!missing-selector! UIEditMenuInteraction::delegate not bound -!missing-selector! UIEditMenuInteraction::dismissMenu not bound -!missing-selector! UIEditMenuInteraction::initWithDelegate: not bound -!missing-selector! UIEditMenuInteraction::locationInView: not bound -!missing-selector! UIEditMenuInteraction::presentEditMenuWithConfiguration: not bound -!missing-selector! UIEditMenuInteraction::reloadVisibleMenu not bound -!missing-selector! UIEditMenuInteraction::updateVisibleMenuPositionAnimated: not bound -!missing-selector! UIFindInteraction::activeFindSession not bound -!missing-selector! UIFindInteraction::delegate not bound -!missing-selector! UIFindInteraction::dismissFindNavigator not bound -!missing-selector! UIFindInteraction::findNext not bound -!missing-selector! UIFindInteraction::findPrevious not bound -!missing-selector! UIFindInteraction::initWithSessionDelegate: not bound -!missing-selector! UIFindInteraction::isFindNavigatorVisible not bound -!missing-selector! UIFindInteraction::optionsMenuProvider not bound -!missing-selector! UIFindInteraction::presentFindNavigatorShowingReplace: not bound -!missing-selector! UIFindInteraction::replacementText not bound -!missing-selector! UIFindInteraction::searchText not bound -!missing-selector! UIFindInteraction::setOptionsMenuProvider: not bound -!missing-selector! UIFindInteraction::setReplacementText: not bound -!missing-selector! UIFindInteraction::setSearchText: not bound -!missing-selector! UIFindInteraction::updateResultCount not bound -!missing-selector! UIFindSession::allowsReplacement not bound -!missing-selector! UIFindSession::highlightedResultIndex not bound -!missing-selector! UIFindSession::highlightNextResultInDirection: not bound -!missing-selector! UIFindSession::invalidateFoundResults not bound -!missing-selector! UIFindSession::performSearchWithQuery:options: not bound -!missing-selector! UIFindSession::performSingleReplacementWithSearchQuery:replacementString:options: not bound -!missing-selector! UIFindSession::replaceAllInstancesOfSearchQuery:withReplacementString:options: not bound -!missing-selector! UIFindSession::resultCount not bound -!missing-selector! UIFindSession::searchResultDisplayStyle not bound -!missing-selector! UIFindSession::setSearchResultDisplayStyle: not bound -!missing-selector! UIListContentTextProperties::setShowsExpansionTextWhenTruncated: not bound -!missing-selector! UIListContentTextProperties::showsExpansionTextWhenTruncated not bound -!missing-selector! UIMenu::preferredElementSize not bound -!missing-selector! UIMenu::setPreferredElementSize: not bound -!missing-selector! UINavigationBar::behavioralStyle not bound -!missing-selector! UINavigationBar::currentNSToolbarSection not bound -!missing-selector! UINavigationBar::preferredBehavioralStyle not bound -!missing-selector! UINavigationBar::setPreferredBehavioralStyle: not bound -!missing-selector! UINavigationItem::additionalOverflowItems not bound -!missing-selector! UINavigationItem::backAction not bound -!missing-selector! UINavigationItem::centerItemGroups not bound -!missing-selector! UINavigationItem::customizationIdentifier not bound -!missing-selector! UINavigationItem::documentProperties not bound -!missing-selector! UINavigationItem::leadingItemGroups not bound -!missing-selector! UINavigationItem::preferredSearchBarPlacement not bound -!missing-selector! UINavigationItem::renameDelegate not bound -!missing-selector! UINavigationItem::searchBarPlacement not bound -!missing-selector! UINavigationItem::setAdditionalOverflowItems: not bound -!missing-selector! UINavigationItem::setBackAction: not bound -!missing-selector! UINavigationItem::setCenterItemGroups: not bound -!missing-selector! UINavigationItem::setCustomizationIdentifier: not bound -!missing-selector! UINavigationItem::setDocumentProperties: not bound -!missing-selector! UINavigationItem::setLeadingItemGroups: not bound -!missing-selector! UINavigationItem::setPreferredSearchBarPlacement: not bound -!missing-selector! UINavigationItem::setRenameDelegate: not bound -!missing-selector! UINavigationItem::setStyle: not bound -!missing-selector! UINavigationItem::setTitleMenuProvider: not bound -!missing-selector! UINavigationItem::setTrailingItemGroups: not bound -!missing-selector! UINavigationItem::style not bound -!missing-selector! UINavigationItem::titleMenuProvider not bound -!missing-selector! UINavigationItem::trailingItemGroups not bound -!missing-selector! UIPageControl::currentPageIndicatorImageForPage: not bound -!missing-selector! UIPageControl::direction not bound -!missing-selector! UIPageControl::preferredCurrentPageIndicatorImage not bound -!missing-selector! UIPageControl::setCurrentPageIndicatorImage:forPage: not bound -!missing-selector! UIPageControl::setDirection: not bound -!missing-selector! UIPageControl::setPreferredCurrentPageIndicatorImage: not bound -!missing-selector! UIPasteControl::configuration not bound -!missing-selector! UIPasteControl::initWithCoder: not bound -!missing-selector! UIPasteControl::initWithConfiguration: not bound -!missing-selector! UIPasteControl::initWithFrame: not bound -!missing-selector! UIPasteControl::setTarget: not bound -!missing-selector! UIPasteControl::target not bound -!missing-selector! UIPasteControlConfiguration::baseBackgroundColor not bound -!missing-selector! UIPasteControlConfiguration::baseForegroundColor not bound -!missing-selector! UIPasteControlConfiguration::cornerStyle not bound -!missing-selector! UIPasteControlConfiguration::displayMode not bound -!missing-selector! UIPasteControlConfiguration::setBaseBackgroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setBaseForegroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setCornerStyle: not bound -!missing-selector! UIPasteControlConfiguration::setDisplayMode: not bound -!missing-selector! UIPopoverPresentationController::setSourceItem: not bound -!missing-selector! UIPopoverPresentationController::sourceItem not bound -!missing-selector! UIPrintFormatter::requiresMainThread not bound -!missing-selector! UISceneSizeRestrictions::allowsFullScreen not bound -!missing-selector! UISceneSizeRestrictions::setAllowsFullScreen: not bound -!missing-selector! UISceneWindowingBehaviors::isClosable not bound -!missing-selector! UISceneWindowingBehaviors::isMiniaturizable not bound -!missing-selector! UISceneWindowingBehaviors::setClosable: not bound -!missing-selector! UISceneWindowingBehaviors::setMiniaturizable: not bound -!missing-selector! UIScreen::currentEDRHeadroom not bound -!missing-selector! UIScreen::potentialEDRHeadroom not bound -!missing-selector! UIScreen::referenceDisplayModeStatus not bound -!missing-selector! UISearchController::searchBarPlacement not bound -!missing-selector! UISearchController::searchSuggestions not bound -!missing-selector! UISearchController::setSearchSuggestions: not bound -!missing-selector! UISearchSuggestionItem::iconImage not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::localizedAttributedSuggestion not bound -!missing-selector! UISearchSuggestionItem::localizedDescription not bound -!missing-selector! UISearchSuggestionItem::localizedSuggestion not bound -!missing-selector! UISearchSuggestionItem::representedObject not bound -!missing-selector! UISearchSuggestionItem::setRepresentedObject: not bound -!missing-selector! UISearchTextField::searchSuggestions not bound -!missing-selector! UISearchTextField::setSearchSuggestions: not bound -!missing-selector! UISheetPresentationController::invalidateDetents not bound -!missing-selector! UISheetPresentationControllerDetent::identifier not bound -!missing-selector! UISheetPresentationControllerDetent::resolvedValueInContext: not bound -!missing-selector! UITableView::selfSizingInvalidation not bound -!missing-selector! UITableView::setSelfSizingInvalidation: not bound -!missing-selector! UITableViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UITableViewHeaderFooterView::defaultBackgroundConfiguration not bound -!missing-selector! UITextSearchingFindSession::initWithSearchableObject: not bound -!missing-selector! UITextSearchingFindSession::searchableObject not bound -!missing-selector! UITextSearchOptions::stringCompareOptions not bound -!missing-selector! UITextSearchOptions::wordMatchMethod not bound -!missing-selector! UITextView::findInteraction not bound -!missing-selector! UITextView::isFindInteractionEnabled not bound -!missing-selector! UITextView::setFindInteractionEnabled: not bound -!missing-selector! UITextView::textLayoutManager not bound -!missing-selector! UITraitCollection::toolbarItemPresentationSize not bound -!missing-selector! UIViewController::activePresentationController not bound -!missing-selector! UIViewController::interactionActivityTrackingBaseName not bound -!missing-selector! UIViewController::setInteractionActivityTrackingBaseName: not bound -!missing-selector! UIWindow::safeAreaAspectFitLayoutGuide not bound -!missing-selector! UIWindowScene::effectiveGeometry not bound -!missing-selector! UIWindowScene::isFullScreen not bound -!missing-selector! UIWindowScene::requestGeometryUpdateWithPreferences:errorHandler: not bound -!missing-selector! UIWindowScene::windowingBehaviors not bound -!missing-type! NSTextList not bound -!missing-type! NSTextListElement not bound -!missing-type! UICalendarSelection not bound -!missing-type! UICalendarSelectionMultiDate not bound -!missing-type! UICalendarSelectionSingleDate not bound -!missing-type! UICalendarView not bound -!missing-type! UICalendarViewDecoration not bound -!missing-type! UICellAccessoryPopUpMenu not bound -!missing-type! UIDocumentProperties not bound -!missing-type! UIEditMenuConfiguration not bound -!missing-type! UIEditMenuInteraction not bound -!missing-type! UIFindInteraction not bound -!missing-type! UIFindSession not bound -!missing-type! UIPasteControl not bound -!missing-type! UIPasteControlConfiguration not bound -!missing-type! UISceneWindowingBehaviors not bound -!missing-type! UISearchSuggestionItem not bound -!missing-type! UITextSearchingFindSession not bound -!missing-type! UITextSearchOptions not bound -!missing-type! UIWindowSceneGeometry not bound -!missing-type! UIWindowSceneGeometryPreferences not bound !deprecated-attribute-missing! UIViewController::shouldAutorotate missing a [Deprecated] attribute -!missing-enum! UIButtonConfigurationIndicator not bound -!missing-selector! UIButtonConfiguration::indicator not bound -!missing-selector! UIButtonConfiguration::indicatorColorTransformer not bound -!missing-selector! UIButtonConfiguration::setIndicator: not bound -!missing-selector! UIButtonConfiguration::setIndicatorColorTransformer: not bound -!missing-selector! UIPasteControlConfiguration::cornerRadius not bound -!missing-selector! UIPasteControlConfiguration::setCornerRadius: not bound -!missing-selector! UISearchController::ignoresSearchSuggestionsForSearchBarPlacementStacked not bound -!missing-selector! UISearchController::setIgnoresSearchSuggestionsForSearchBarPlacementStacked: not bound -!missing-selector! UIViewController::setNeedsUpdateOfSupportedInterfaceOrientations not bound -!missing-selector! UIWindowSceneGeometry::interfaceOrientation not bound -!missing-selector! UIWindowSceneGeometryPreferencesIOS::init not bound -!missing-selector! UIWindowSceneGeometryPreferencesIOS::initWithInterfaceOrientations: not bound -!missing-selector! UIWindowSceneGeometryPreferencesIOS::interfaceOrientations not bound -!missing-selector! UIWindowSceneGeometryPreferencesIOS::setInterfaceOrientations: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::init not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::initWithSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::setSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::systemFrame not bound -!missing-type! UIWindowSceneGeometryPreferencesIOS not bound -!missing-type! UIWindowSceneGeometryPreferencesMac not bound -!missing-protocol-member! UIContentView::supportsConfiguration: not found -!missing-selector! UIView::anchorPoint not bound -!missing-selector! UIView::setAnchorPoint: not bound !deprecated-attribute-missing! UISearchController::automaticallyShowsScopeBar missing a [Deprecated] attribute !deprecated-attribute-missing! UISearchController::setAutomaticallyShowsScopeBar: missing a [Deprecated] attribute -!missing-enum! UISearchControllerScopeBarActivation not bound -!missing-protocol-member! UITextFieldDelegate::textField:willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextFieldDelegate::textField:willPresentEditMenuWithAnimator: not found -!missing-protocol-member! UITextInput::willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextInput::willPresentEditMenuWithAnimator: not found -!missing-protocol-member! UITextViewDelegate::textView:willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextViewDelegate::textView:willPresentEditMenuWithAnimator: not found -!missing-selector! UIBarButtonItem::initWithBarButtonSystemItem:primaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithPrimaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithTitle:image:target:action:menu: not bound -!missing-selector! UIBarButtonItemGroup::alwaysAvailable not bound -!missing-selector! UIBarButtonItemGroup::setAlwaysAvailable: not bound -!missing-selector! UINavigationItem::overflowPresentationSource not bound -!missing-selector! UINavigationItem::pinnedTrailingGroup not bound -!missing-selector! UINavigationItem::setPinnedTrailingGroup: not bound -!missing-selector! UISearchController::scopeBarActivation not bound -!missing-selector! UISearchController::setScopeBarActivation: not bound diff --git a/tests/xtro-sharpie/macOS-AppKit.todo b/tests/xtro-sharpie/macOS-AppKit.todo index 302e4ac96262..d3d14a7fa5d5 100644 --- a/tests/xtro-sharpie/macOS-AppKit.todo +++ b/tests/xtro-sharpie/macOS-AppKit.todo @@ -23,8 +23,6 @@ !missing-selector! +NSComboButton::comboButtonWithTitle:menu:target:action: not bound !missing-selector! +NSImage::imageWithSymbolName:variableValue: not bound !missing-selector! +NSImage::imageWithSystemSymbolName:variableValue:accessibilityDescription: not bound -!missing-selector! +NSTextListElement::textListElementWithChildElements:textList:nestingLevel: not bound -!missing-selector! +NSTextListElement::textListElementWithContents:markerAttributes:textList:childElements: not bound !missing-selector! NSColorWell::colorWellStyle not bound !missing-selector! NSColorWell::image not bound !missing-selector! NSColorWell::pulldownAction not bound @@ -61,13 +59,6 @@ !missing-selector! NSTextElement::parentElement not bound !missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound !missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound !missing-selector! NSToolbar::centeredItemIdentifiers not bound !missing-selector! NSToolbar::setCenteredItemIdentifiers: not bound !missing-selector! NSToolbarItem::isVisible not bound @@ -78,7 +69,6 @@ !missing-type! NSNibControlConnector not bound !missing-type! NSNibOutletConnector not bound !missing-type! NSPreviewRepresentingActivityItem not bound -!missing-type! NSTextListElement not bound !missing-field! NSFontWidthCompressed not bound !missing-field! NSFontWidthCondensed not bound !missing-field! NSFontWidthExpanded not bound diff --git a/tests/xtro-sharpie/tvOS-UIKit.todo b/tests/xtro-sharpie/tvOS-UIKit.todo index ecea5ea47882..d00baceeca07 100644 --- a/tests/xtro-sharpie/tvOS-UIKit.todo +++ b/tests/xtro-sharpie/tvOS-UIKit.todo @@ -21,48 +21,13 @@ !extra-enum-value! Managed value 2 for UIActivityIndicatorViewStyle.Gray is available for the current platform while the value in the native header is not !deprecated-attribute-missing! NSCollectionLayoutSection::setSupplementariesFollowContentInsets: missing a [Deprecated] attribute !deprecated-attribute-missing! NSCollectionLayoutSection::supplementariesFollowContentInsets missing a [Deprecated] attribute -!missing-enum! NSTextListOptions not bound -!missing-enum! UIAlertControllerSeverity not bound -!missing-enum! UICollectionViewSelfSizingInvalidation not bound !missing-enum! UIFindSessionSearchResultDisplayStyle not bound -!missing-enum! UIMenuElementSize not bound -!missing-enum! UINSToolbarItemPresentationSize not bound -!missing-enum! UIPageControlDirection not bound -!missing-enum! UIPasteControlDisplayMode not bound -!missing-enum! UIScreenReferenceDisplayModeStatus not bound -!missing-enum! UITableViewSelfSizingInvalidation not bound !missing-enum! UITextSearchMatchMethod not bound -!missing-enum-value! UIMenuElementAttributes native value UIMenuElementAttributesKeepsMenuPresented = 8 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestDenied = 101 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestUnsupported = 100 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeInteractiveWithAccessory = 4 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeOnDragWithAccessory = 3 not bound -!missing-field! NSTextListMarkerBox not bound -!missing-field! NSTextListMarkerCheck not bound -!missing-field! NSTextListMarkerCircle not bound -!missing-field! NSTextListMarkerDecimal not bound -!missing-field! NSTextListMarkerDiamond not bound -!missing-field! NSTextListMarkerDisc not bound -!missing-field! NSTextListMarkerHyphen not bound -!missing-field! NSTextListMarkerLowercaseAlpha not bound -!missing-field! NSTextListMarkerLowercaseHexadecimal not bound -!missing-field! NSTextListMarkerLowercaseLatin not bound -!missing-field! NSTextListMarkerLowercaseRoman not bound -!missing-field! NSTextListMarkerOctal not bound -!missing-field! NSTextListMarkerSquare not bound -!missing-field! NSTextListMarkerUppercaseAlpha not bound -!missing-field! NSTextListMarkerUppercaseHexadecimal not bound -!missing-field! NSTextListMarkerUppercaseLatin not bound -!missing-field! NSTextListMarkerUppercaseRoman not bound !missing-field! UIMenuDocument not bound !missing-field! UIScreenReferenceDisplayModeStatusDidChangeNotification not bound !missing-field! UIWindowSceneSessionRoleExternalDisplayNonInteractive not bound -!missing-protocol! UILayoutGuideAspectFitting not bound -!missing-protocol! UIMenuLeaf not bound !missing-protocol-conformance! UIAction should conform to UIMenuLeaf !missing-protocol-conformance! UICommand should conform to UIMenuLeaf -!missing-protocol-member! UICollectionViewDelegate::collectionView:canPerformPrimaryActionForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:performPrimaryActionForItemAtIndexPath: not found !missing-protocol-member! UIResponderStandardEditActions::duplicate: not found !missing-protocol-member! UIResponderStandardEditActions::export: not found !missing-protocol-member! UIResponderStandardEditActions::find: not found @@ -81,15 +46,12 @@ !missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRange:suggestedActions: not found !missing-selector! +NSCollectionLayoutGroup::horizontalGroupWithLayoutSize:repeatingSubitem:count: not bound !missing-selector! +NSCollectionLayoutGroup::verticalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSTextListElement::textListElementWithChildElements:textList:nestingLevel: not bound -!missing-selector! +NSTextListElement::textListElementWithContents:markerAttributes:textList:childElements: not bound !missing-selector! +UIFocusDebugger::focusGroupsForEnvironment: not bound !missing-selector! +UIFocusDebugger::preferredFocusEnvironmentsForEnvironment: not bound !missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound !missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound !missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound !missing-selector! +UITextView::textViewUsingTextLayoutManager: not bound -!missing-selector! +UITraitCollection::traitCollectionWithToolbarItemPresentationSize: not bound !missing-selector! NSCollectionLayoutSection::setSupplementaryContentInsetsReference: not bound !missing-selector! NSCollectionLayoutSection::supplementaryContentInsetsReference not bound !missing-selector! NSMutableParagraphStyle::setTextLists: not bound @@ -98,81 +60,5 @@ !missing-selector! NSTextElement::childElements not bound !missing-selector! NSTextElement::isRepresentedElement not bound !missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithCoder: not bound -!missing-selector! NSTextList::initWithMarkerFormat:options: not bound !missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound !missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextList::listOptions not bound -!missing-selector! NSTextList::markerForItemNumber: not bound -!missing-selector! NSTextList::markerFormat not bound -!missing-selector! NSTextList::setStartingItemNumber: not bound -!missing-selector! NSTextList::startingItemNumber not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound -!missing-selector! UIAlertController::setSeverity: not bound -!missing-selector! UIAlertController::severity not bound -!missing-selector! UICollectionView::selfSizingInvalidation not bound -!missing-selector! UICollectionView::setSelfSizingInvalidation: not bound -!missing-selector! UICollectionViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UIListContentTextProperties::setShowsExpansionTextWhenTruncated: not bound -!missing-selector! UIListContentTextProperties::showsExpansionTextWhenTruncated not bound -!missing-selector! UIMenu::preferredElementSize not bound -!missing-selector! UIMenu::setPreferredElementSize: not bound -!missing-selector! UIPageControl::currentPageIndicatorImageForPage: not bound -!missing-selector! UIPageControl::direction not bound -!missing-selector! UIPageControl::preferredCurrentPageIndicatorImage not bound -!missing-selector! UIPageControl::setCurrentPageIndicatorImage:forPage: not bound -!missing-selector! UIPageControl::setDirection: not bound -!missing-selector! UIPageControl::setPreferredCurrentPageIndicatorImage: not bound -!missing-selector! UISceneSizeRestrictions::allowsFullScreen not bound -!missing-selector! UISceneSizeRestrictions::setAllowsFullScreen: not bound -!missing-selector! UISceneWindowingBehaviors::isClosable not bound -!missing-selector! UISceneWindowingBehaviors::isMiniaturizable not bound -!missing-selector! UISceneWindowingBehaviors::setClosable: not bound -!missing-selector! UISceneWindowingBehaviors::setMiniaturizable: not bound -!missing-selector! UIScreen::currentEDRHeadroom not bound -!missing-selector! UIScreen::potentialEDRHeadroom not bound -!missing-selector! UIScreen::referenceDisplayModeStatus not bound -!missing-selector! UISearchSuggestionItem::representedObject not bound -!missing-selector! UISearchSuggestionItem::setRepresentedObject: not bound -!missing-selector! UITableView::selfSizingInvalidation not bound -!missing-selector! UITableView::setSelfSizingInvalidation: not bound -!missing-selector! UITableViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UITableViewHeaderFooterView::defaultBackgroundConfiguration not bound -!missing-selector! UITextView::textLayoutManager not bound -!missing-selector! UITraitCollection::toolbarItemPresentationSize not bound -!missing-selector! UIViewController::activePresentationController not bound -!missing-selector! UIViewController::interactionActivityTrackingBaseName not bound -!missing-selector! UIViewController::setInteractionActivityTrackingBaseName: not bound -!missing-selector! UIWindow::safeAreaAspectFitLayoutGuide not bound -!missing-selector! UIWindowScene::effectiveGeometry not bound -!missing-selector! UIWindowScene::isFullScreen not bound -!missing-selector! UIWindowScene::requestGeometryUpdateWithPreferences:errorHandler: not bound -!missing-selector! UIWindowScene::windowingBehaviors not bound -!missing-type! NSTextList not bound -!missing-type! NSTextListElement not bound -!missing-type! UISceneWindowingBehaviors not bound -!missing-type! UIWindowSceneGeometry not bound -!missing-type! UIWindowSceneGeometryPreferences not bound -!missing-enum! UIButtonConfigurationIndicator not bound -!missing-selector! UIButtonConfiguration::indicator not bound -!missing-selector! UIButtonConfiguration::indicatorColorTransformer not bound -!missing-selector! UIButtonConfiguration::setIndicator: not bound -!missing-selector! UIButtonConfiguration::setIndicatorColorTransformer: not bound -!missing-protocol-member! UIContentView::supportsConfiguration: not found -!missing-selector! UIView::anchorPoint not bound -!missing-selector! UIView::setAnchorPoint: not bound -!missing-selector! UIViewController::setNeedsUpdateOfSupportedInterfaceOrientations not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::init not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::initWithSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::setSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::systemFrame not bound -!missing-type! UIWindowSceneGeometryPreferencesMac not bound -!missing-selector! UIBarButtonItem::initWithBarButtonSystemItem:primaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithPrimaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithTitle:image:target:action:menu: not bound From 52a49c57aa53a803e43d6a97773bf90b11f2bd82 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Tue, 16 Aug 2022 18:02:17 -0400 Subject: [PATCH 02/12] Bump for xcode 14 beta5. --- src/UIKit/UIEnums.cs | 20 + src/uikit.cs | 340 ++++++++++++++--- src/xkit.cs | 56 ++- .../common-UIKit.ignore | 93 +++++ .../api-annotations-dotnet/iOS-UIKit.todo | 361 ------------------ .../api-annotations-dotnet/macOS-AppKit.todo | 5 - .../api-annotations-dotnet/tvOS-UIKit.todo | 178 --------- tests/xtro-sharpie/common-UIKit.ignore | 35 ++ tests/xtro-sharpie/iOS-UIKit.todo | 361 ------------------ tests/xtro-sharpie/macOS-AppKit.todo | 5 - tests/xtro-sharpie/tvOS-UIKit.todo | 143 ------- tests/xtro-sharpie/watchOS-UIKit.todo | 10 - 12 files changed, 495 insertions(+), 1112 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo delete mode 100644 tests/xtro-sharpie/iOS-UIKit.todo delete mode 100644 tests/xtro-sharpie/tvOS-UIKit.todo delete mode 100644 tests/xtro-sharpie/watchOS-UIKit.todo diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index 339f4da216e4..123057c09150 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -898,6 +898,9 @@ public enum UIModalPresentationStyle : long { OverCurrentContext, [NoTV] Popover, + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] BlurOverFullScreen, } @@ -1695,6 +1698,14 @@ public enum UIFontWeight { Black, } + [Watch (9,0), TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + public enum UIFontWidth { + Condensed, + Standard, + Expanded, + Compressed, + } + [NoWatch] [iOS (9,0)] [Native] @@ -2369,6 +2380,10 @@ public enum UIWindowSceneSessionRole { [Field ("CPTemplateApplicationSceneSessionRoleApplication", "CarPlay")] #endif CarTemplateApplication, + + [TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Field ("UIWindowSceneSessionRoleExternalDisplayNonInteractive")] + ExternalDisplayNonInteractive, } [iOS (13,0), TV (13,0), NoWatch] @@ -2470,6 +2485,11 @@ public enum UIMenuIdentifier { [MacCatalyst (14,0)] [Field ("UIMenuOpenRecent")] OpenRecent, + + [TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + [Field ("UIMenuDocument")] + Document, + } [iOS (13,0), TV (13,0), Watch (6,0)] diff --git a/src/uikit.cs b/src/uikit.cs index 46639b2f96d4..3a11ec3e8b88 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -1356,30 +1356,30 @@ interface UIActionSheet { [iOS (13,0), TV (13,0), NoWatch] [BaseType (typeof (UIMenuElement))] [DisableDefaultCtor] - interface UIAction { + interface UIAction : UIMenuLeaf { [Export ("title")] - string Title { get; set; } + new string Title { get; set; } [NullAllowed, Export ("image", ArgumentSemantic.Copy)] - UIImage Image { get; set; } + new UIImage Image { get; set; } [NullAllowed, Export ("discoverabilityTitle")] - string DiscoverabilityTitle { get; set; } + new string DiscoverabilityTitle { get; set; } [Export ("identifier")] string Identifier { get; } [Export ("attributes", ArgumentSemantic.Assign)] - UIMenuElementAttributes Attributes { get; set; } + new UIMenuElementAttributes Attributes { get; set; } [Export ("state", ArgumentSemantic.Assign)] - UIMenuElementState State { get; set; } + new UIMenuElementState State { get; set; } [TV (14,0), iOS (14,0)] [NullAllowed] [Export ("sender")] - NSObject Sender { get; } + new NSObject Sender { get; } [TV (14,0), iOS (14,0)] [Static] @@ -1521,6 +1521,14 @@ interface UIActivityType [iOS (15,4), MacCatalyst (15,4)] [Field ("UIActivityTypeSharePlay")] NSString UIActivityTypeSharePlay { get; } + + [NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Field ("UIActivityTypeCollaborationInviteWithLink")] + NSString CollaborationInviteWithLink { get; } + + [NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Field ("UIActivityTypeCollaborationCopyLink")] + NSString CollaborationCopyLink { get; } } // @@ -2935,7 +2943,7 @@ public enum UIEditMenuArrowDirection : long { Right = 4, } - [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Native] public enum UIFindSessionSearchResultDisplayStyle : long { CurrentAndTotal, @@ -3028,7 +3036,7 @@ public enum UITextSearchFoundTextStyle : long { Highlighted, } - [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Native] public enum UITextSearchMatchMethod : long { Contains, @@ -3079,10 +3087,12 @@ interface UIContextMenuInteractionDelegate { [return: NullAllowed] UIContextMenuConfiguration GetConfigurationForMenu (UIContextMenuInteraction interaction, CGPoint location); + [Deprecated (PlatformName.iOS, 16, 0)] [Export ("contextMenuInteraction:previewForHighlightingMenuWithConfiguration:")] [return: NullAllowed] UITargetedPreview GetPreviewForHighlightingMenu (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration); + [Deprecated (PlatformName.iOS, 16, 0)] [Export ("contextMenuInteraction:previewForDismissingMenuWithConfiguration:")] [return: NullAllowed] UITargetedPreview GetPreviewForDismissingMenu (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration); @@ -3095,6 +3105,16 @@ interface UIContextMenuInteractionDelegate { [Export ("contextMenuInteraction:willEndForConfiguration:animator:")] void WillEnd (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, [NullAllowed] IUIContextMenuInteractionAnimating animator); + + [iOS (16,0)] + [Export ("contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:")] + [return: NullAllowed] + UITargetedPreview GethighlightPreview (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier); + + [iOS (16,0)] + [Export ("contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:")] + [return: NullAllowed] + UITargetedPreview GetDismissalPreviewForItemWithIdentifier (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier); } [NoWatch, NoTV, iOS (13,0)] @@ -3485,7 +3505,7 @@ interface UIBarItem : NSCoding, UIAppearance, UIAccessibility, UIAccessibilityId [DesignatedDefaultCtor] interface UIBarButtonItem : NSCoding #if IOS - , UISpringLoadedInteractionSupporting + , UISpringLoadedInteractionSupporting, UIPopoverPresentationControllerSourceItem #endif { [Export ("initWithImage:style:target:action:")] @@ -3689,6 +3709,7 @@ interface UIBarButtonItem : NSCoding [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("menuRepresentation", ArgumentSemantic.Copy)] + [NullAllowed] UIMenuElement MenuRepresentation { get; set; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] @@ -3732,7 +3753,23 @@ interface UIBarButtonItemGroup : NSCoding [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("menuRepresentation", ArgumentSemantic.Copy)] + [NullAllowed] UIMenuElement MenuRepresentation { get; set; } + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items:")] + UIBarButtonItemGroup GetOptionalGroup (string customizationIdentifier, bool inDefaultCustomization, [NullAllowed] UIBarButtonItem representativeItem, UIBarButtonItem[] items); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("movableGroupWithCustomizationIdentifier:representativeItem:items:")] + UIBarButtonItemGroup GetMovableGroup (string customizationIdentifier, [NullAllowed] UIBarButtonItem representativeItem, UIBarButtonItem[] items); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("fixedGroupWithRepresentativeItem:items:")] + UIBarButtonItemGroup GetFixedGroup ([NullAllowed] UIBarButtonItem representativeItem, UIBarButtonItem[] items); } [NoWatch] @@ -4229,11 +4266,13 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { [return: NullAllowed] UIContextMenuConfiguration GetContextMenuConfiguration (UICollectionView collectionView, NSIndexPath indexPath, CGPoint point); + [Deprecated (PlatformName.iOS, 16, 0)] [NoWatch, NoTV, iOS (13,0)] [Export ("collectionView:previewForHighlightingContextMenuWithConfiguration:")] [return: NullAllowed] UITargetedPreview GetPreviewForHighlightingContextMenu (UICollectionView collectionView, UIContextMenuConfiguration configuration); + [Deprecated (PlatformName.iOS, 16, 0)] [NoWatch, NoTV, iOS (13,0)] [Export ("collectionView:previewForDismissingContextMenuWithConfiguration:")] [return: NullAllowed] @@ -6166,6 +6205,12 @@ [Static] [Export ("fontNamesForFamilyName:")] [Export ("preferredFontForTextStyle:compatibleWithTraitCollection:")] [Internal] IntPtr _GetPreferredFontForTextStyle (NSString uiFontTextStyle, [NullAllowed] UITraitCollection traitCollection); + + [Watch (9,0), iOS (16,0), TV (16,0), Watch (9,0), MacCatalyst (16,0)] + [Static] + [Export ("systemFontOfSize:weight:width:")] + UIFont SystemFontOfSize (nfloat fontSize, double weight, double width); + } public enum UIFontTextStyle { @@ -7392,6 +7437,11 @@ interface UITextInput : UIKeyInput { [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("willDismissEditMenuWithAnimator:")] void WillDismissEditMenuWithAnimator (IUIEditMenuInteractionAnimating animator); + + [iOS (16,0)] + [Export ("editMenuForTextRange:suggestedActions:")] + [return: NullAllowed] + UIMenu GetEditMenu (UITextRange textRange, UIMenuElement[] suggestedActions); } [NoWatch, NoTV] @@ -8206,6 +8256,18 @@ [Static] [Export ("imageWithCGImage:")][Autorelease] [Static] [Export ("strokedCheckmarkImage", ArgumentSemantic.Strong)] UIImage StrokedCheckmarkImage { get; } + + [Watch (9,0), TV (16,0), MacCatalyst (16,0), iOS (16,0)] + [Static] + [Export ("systemImageNamed:variableValue:withConfiguration:")] + [return: NullAllowed] + UIImage GetSystemImage (string name, double value, [NullAllowed] UIImageConfiguration configuration); + + [Watch (9,0), TV (16,0), MacCatalyst (16,0), iOS (16,0)] + [Static] + [Export ("imageNamed:inBundle:variableValue:withConfiguration:")] + [return: NullAllowed] + UIImage GetImageNamed (string name, [NullAllowed] NSBundle bundle, double value, [NullAllowed] UIImageConfiguration configuration); } [Watch (6,0), TV (13,0), iOS (13,0)] @@ -8297,6 +8359,11 @@ interface UIImageSymbolConfiguration { [Export ("isEqualToConfiguration:")] bool IsEqualTo ([NullAllowed] UIImageSymbolConfiguration otherConfiguration); + + [Watch (9,0), TV (16,0), MacCatalyst (16,0), iOS (16,0)] + [Static] + [Export ("configurationPreferringMonochrome")] + UIImageSymbolConfiguration GetConfigurationPreferringMonochrome (); } [iOS (13,0), TV (13,0), NoWatch] @@ -9779,6 +9846,7 @@ interface UIManagedDocument { bool WriteAdditionalContent (NSObject content, NSUrl absoluteURL, NSUrl absoluteOriginalContentsURL, out NSError error); } + [Deprecated (PlatformName.iOS, 16, 0, message: "Use 'UIEditMenuInteraction' instead.")] [NoTV, NoWatch] [BaseType (typeof (NSObject))] interface UIMenuController { @@ -9842,6 +9910,7 @@ interface UIMenuController { NSString MenuFrameDidChangeNotification { get; } } + [Deprecated (PlatformName.iOS, 16, 0, message: "Use 'UIEditMenuInteraction' instead.")] [NoTV, NoWatch] [BaseType (typeof (NSObject))] interface UIMenuItem { @@ -10038,6 +10107,10 @@ interface UINavigationBarDelegate { [Export ("navigationBar:shouldPushItem:")] bool ShouldPushItem (UINavigationBar navigationBar, UINavigationItem item); + + [NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("navigationBarNSToolbarSection:")] + UINavigationBarNSToolbarSection GetNSToolbarSection (UINavigationBar navigationBar); } [NoWatch] @@ -10154,11 +10227,12 @@ UIBarButtonItem RightBarButtonItem { [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("pinnedTrailingGroup", ArgumentSemantic.Strong)] + [NullAllowed] UIBarButtonItemGroup PinnedTrailingGroup { get; set; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("overflowPresentationSource", ArgumentSemantic.Strong)] - UIPopoverPresentationControllerSourceItem OverflowPresentationSource { get; } + IUIPopoverPresentationControllerSourceItem OverflowPresentationSource { [return: NullAllowed] get; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("trailingItemGroups", ArgumentSemantic.Copy)] @@ -10166,10 +10240,12 @@ UIBarButtonItem RightBarButtonItem { [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("additionalOverflowItems", ArgumentSemantic.Strong)] + [NullAllowed] UIDeferredMenuElement AdditionalOverflowItems { get; set; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("titleMenuProvider", ArgumentSemantic.Copy)] + [NullAllowed] Func, UIMenu> TitleMenuProvider { get; set; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] @@ -10178,10 +10254,12 @@ UIBarButtonItem RightBarButtonItem { [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("documentProperties", ArgumentSemantic.Strong)] + [NullAllowed] UIDocumentProperties DocumentProperties { get; set; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("customizationIdentifier")] + [NullAllowed] string CustomizationIdentifier { get; set; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] @@ -10198,6 +10276,7 @@ UIBarButtonItem RightBarButtonItem { [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("backAction", ArgumentSemantic.Copy)] + [NullAllowed] UIAction BackAction { get; set; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] @@ -10460,6 +10539,7 @@ interface UIPageControl : UIAppearance { [iOS (16, 0), MacCatalyst (16,0)] [Export ("preferredCurrentPageIndicatorImage", ArgumentSemantic.Strong)] + [NullAllowed] UIImage PreferredCurrentPageIndicatorImage { get; set; } [iOS (16,0), MacCatalyst (16,0)] @@ -11224,7 +11304,7 @@ interface UIResponder : UIAccessibilityAction, UIAccessibilityFocus, UIUserActiv , UIAccessibilityDragging #endif // !TVOS #if IOS - , UIPasteConfigurationSupporting + , UIPasteConfigurationSupporting, UIActivityItemsConfigurationProviding #if __MACCATALYST__ , NSTouchBarProvider #endif // __MACCATALYST__ @@ -11373,7 +11453,7 @@ interface UIResponder : UIAccessibilityAction, UIAccessibilityFocus, UIUserActiv [NoWatch, NoTV, iOS (13, 0)] [NullAllowed, Export ("activityItemsConfiguration", ArgumentSemantic.Strong)] - IUIActivityItemsConfigurationReading ActivityItemsConfiguration { get; set; } + new IUIActivityItemsConfigurationReading ActivityItemsConfiguration { get; set; } // from UIResponder (UICaptureTextFromCameraSupporting) [TV (15,0), iOS (15,0), MacCatalyst (15,0)] @@ -11390,7 +11470,7 @@ interface UIResponder : UIAccessibilityAction, UIAccessibilityFocus, UIUserActiv [NoWatch, NoTV, NoiOS] [Export ("touchBar", ArgumentSemantic.Strong)] [NullAllowed] - NSTouchBar TouchBar { get; set; } + new NSTouchBar TouchBar { get; set; } } [NoWatch] @@ -11454,6 +11534,42 @@ interface UIResponderStandardEditActions { [iOS (15,0), MacCatalyst (15,0)] [Export ("print:")] void Print ([NullAllowed] NSObject sender); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("rename:")] + void Rename ([NullAllowed] NSObject sender); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("duplicate:")] + void Duplicate ([NullAllowed] NSObject sender); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("move:")] + void Move ([NullAllowed] NSObject sender); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("export:")] + void Export ([NullAllowed] NSObject sender); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("find:")] + void Find ([NullAllowed] NSObject sender); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("findAndReplace:")] + void FindAndReplace ([NullAllowed] NSObject sender); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("findNext:")] + void FindNext ([NullAllowed] NSObject sender); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("findPrevious:")] + void FindPrevious ([NullAllowed] NSObject sender); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("useSelectionForFind:")] + void UseSelectionForFind ([NullAllowed] NSObject sender); } #if !NET // These two methods are in the UIResponderStandardEditActions protocol @@ -11546,6 +11662,11 @@ UIScreenMode CurrentMode { [Notification] NSString DidConnectNotification { get; } + [TV(16,0), iOS (16, 0), MacCatalyst (16,0)] + [Notification] + [Field ("UIScreenReferenceDisplayModeStatusDidChangeNotification")] + NSString ReferenceDisplayModeStatusDidChangeNotification { get; } + [iOS (11,0), TV (11,0)] [Field ("UIScreenCapturedDidChangeNotification")] [Notification] @@ -12165,6 +12286,9 @@ partial interface UISearchController : UIViewControllerTransitioningDelegate, UI [Export ("automaticallyShowsCancelButton")] bool AutomaticallyShowsCancelButton { get; set; } + [Deprecated (PlatformName.iOS, 16, 0, message: "Use the 'ScopeBarActivation' property instead")] + [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use the 'ScopeBarActivation' property instead")] + [Deprecated (PlatformName.TvOS, 16, 0, message: "Use the 'ScopeBarActivation' property instead")] [iOS (13,0), TV (13,0)] [Export ("automaticallyShowsScopeBar")] bool AutomaticallyShowsScopeBar { get; set; } @@ -12173,6 +12297,7 @@ partial interface UISearchController : UIViewControllerTransitioningDelegate, UI [NullAllowed, Export ("searchSuggestions", ArgumentSemantic.Copy)] IUISearchSuggestion [] SearchSuggestions { get; set; } + [Deprecated (PlatformName.TvOS, 16, 0, message: "Use UIViewController.SetContentScrollView on the SearchResultsController instead.")] [TV (14,0), NoWatch, NoiOS] [NullAllowed, Export ("searchControllerObservedScrollView", ArgumentSemantic.Strong)] UIScrollView SearchControllerObservedScrollView { get; set; } @@ -12209,6 +12334,14 @@ partial interface UISearchControllerDelegate { [Export ("presentSearchController:")] void PresentSearchController (UISearchController searchController); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("searchController:willChangeToSearchBarPlacement:")] + void WillChangeToSearchBarPlacement (UISearchController searchController, UINavigationItemSearchBarPlacement newPlacement); + + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [Export ("searchController:didChangeFromSearchBarPlacement:")] + void DidChangeFromSearchBarPlacement (UISearchController searchController, UINavigationItemSearchBarPlacement previousPlacement); } [BaseType (typeof (NSObject))] @@ -12333,7 +12466,7 @@ partial interface UISearchResultsUpdating { [Export ("updateSearchResultsForSearchController:")] void UpdateSearchResultsForSearchController (UISearchController searchController); - [TV (14,0), NoWatch, NoiOS] + [TV (14,0), NoWatch, iOS (16,0)] [Export ("updateSearchResultsForSearchController:selectingSearchSuggestion:")] void UpdateSearchResults (UISearchController searchController, IUISearchSuggestion searchSuggestion); } @@ -13041,7 +13174,7 @@ IUIViewControllerAnimatedTransitioning GetAnimationControllerForTransition (UITa [DesignatedDefaultCtor] interface UITabBarItem : NSCoding #if IOS - , UISpringLoadedInteractionSupporting + , UISpringLoadedInteractionSupporting, UIPopoverPresentationControllerSourceItem #endif { [Export ("enabled")][Override] @@ -14198,6 +14331,14 @@ interface UITableViewDelegate { [NoWatch, NoTV, iOS (14,0)] [Export ("tableView:willEndContextMenuInteractionWithConfiguration:animator:")] void WillEndContextMenuInteraction (UITableView tableView, UIContextMenuConfiguration configuration, [NullAllowed] IUIContextMenuInteractionAnimating animator); + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("tableView:canPerformPrimaryActionForRowAtIndexPath:")] + bool CanPerformPrimaryActionForRowAtIndexPath (UITableView tableView, NSIndexPath indexPath); + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("tableView:performPrimaryActionForRowAtIndexPath:")] + void PerformPrimaryAction (UITableView tableView, NSIndexPath indexPath); } [TV (15,0), Watch (8,0), iOS (15,0), MacCatalyst (15,0), NoWatch] @@ -14499,13 +14640,23 @@ interface UITextFieldDelegate { [Export ("textFieldDidChangeSelection:")] void DidChangeSelection (UITextField textField); - [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("textField:willPresentEditMenuWithAnimator:")] void WillPresentEditMenu (UITextField textField, IUIEditMenuInteractionAnimating animator); - [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + [NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("textField:willDismissEditMenuWithAnimator:")] void WillDismissEditMenu (UITextField textField, IUIEditMenuInteractionAnimating aniamtor); + + [IgnoredInDelegate] + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("textField:editMenuForCharactersInRange:suggestedActions:")] + [return: NullAllowed] + UIMenu GetEditMenu (UITextField textField, NSRange range, UIMenuElement[] suggestedActions); + + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("tableView:performPrimaryActionForRowAtIndexPath:")] + void PerformPrimaryAction (UITableView tableView, NSIndexPath indexPath); } [NoWatch] @@ -14643,11 +14794,17 @@ NSDictionary TypingAttributes { [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("findInteraction")] + [NullAllowed] UIFindInteraction FindInteraction { get; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("findInteractionEnabled")] bool FindInteractionEnabled { [Bind ("isFindInteractionEnabled")] get; set; } + + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("textViewUsingTextLayoutManager:")] + UITextView GetTextView (bool usingTextLayoutManager); } [BaseType (typeof(UIScrollViewDelegate))] @@ -14695,6 +14852,12 @@ interface UITextViewDelegate { [Export ("textView:shouldInteractWithTextAttachment:inRange:interaction:"), DelegateApiName ("AllowTextAttachmentInteraction"), DelegateName ("UITextViewDelegateShouldInteractTextDelegate"), DefaultValue ("true")] bool ShouldInteractWithTextAttachment (UITextView textView, NSTextAttachment textAttachment, NSRange characterRange, UITextItemInteraction interaction); + [IgnoredInDelegate] + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("textView:editMenuForTextInRange:suggestedActions:")] + [return: NullAllowed] + UIMenu GetEditMenuForTextInRange (UITextView textView, NSRange range, UIMenuElement[] suggestedActions); + [IgnoredInDelegate] [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("textView:willPresentEditMenuWithAnimator:")] @@ -14704,6 +14867,12 @@ interface UITextViewDelegate { [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("textView:willDismissEditMenuWithAnimator:")] void WillDismissEditMenu (UITextView textView, IUIEditMenuInteractionAnimating aniamtor); + + [IgnoredInDelegate] + [iOS (16,0), MacCatalyst (16,0)] + [Export ("editMenuForTextRange:suggestedActions:")] + [return: NullAllowed] + UIMenu GetEditMenu (UITextRange textRange, UIMenuElement[] suggestedActions); } [NoTV, NoWatch] @@ -14937,7 +15106,7 @@ interface UIVideoEditorControllerDelegate { [BaseType (typeof (UIResponder))] interface UIView : UIAppearance, UIAppearanceContainer, UIAccessibility, UIDynamicItem, NSCoding, UIAccessibilityIdentification, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer #if !TVOS - , UILargeContentViewerItem + , UILargeContentViewerItem, UIPopoverPresentationControllerSourceItem #endif #if !WATCH , CALayerDelegate @@ -15542,11 +15711,11 @@ [Static] [Export ("areAnimationsEnabled")] [NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] [Export ("focusGroupPriority")] - nint FocusGroupPriority { get; set; } + new nint FocusGroupPriority { get; set; } [NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] [NullAllowed, Export ("focusEffect", ArgumentSemantic.Copy)] - UIFocusEffect FocusEffect { get; set; } + new UIFocusEffect FocusEffect { get; set; } [iOS (9,0)] // added in Xcode 7.1 / iOS 9.1 SDK [Export ("canBecomeFocused")] @@ -16035,6 +16204,7 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [Export ("updateViewConstraints")] void UpdateViewConstraints (); + [Deprecated (PlatformName.iOS, 16, 0)] [NoTV] [Export ("shouldAutorotate")] bool ShouldAutorotate (); @@ -16231,7 +16401,7 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] [NullAllowed, Export ("focusGroupIdentifier")] - string FocusGroupIdentifier { get; set; } + new string FocusGroupIdentifier { get; set; } [NoWatch, NoiOS] [TV (11,0)] @@ -16343,11 +16513,12 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [NoWatch, TV (16,0), iOS (16, 0), MacCatalyst (16,0)] [Export ("interactionActivityTrackingBaseName")] + [NullAllowed] string InteractionActivityTrackingBaseName { get; set; } [TV (16, 0), NoWatch, iOS (16, 0), MacCatalyst (16,0)] [Export ("activePresentationController")] - UIPresentationController ActivePresentationController { get; } + UIPresentationController ActivePresentationController { [return: NullAllowed] get; } [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("setNeedsUpdateOfSupportedInterfaceOrientations")] @@ -17633,6 +17804,8 @@ partial interface UIPopoverPresentationController { [Export ("canOverlapSourceViewRect")] bool CanOverlapSourceViewRect { get; set; } + [Deprecated (PlatformName.iOS, 16, 0, message: "Use the SourceItem property instead.")] + [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use the SourceItem property instead.")] [Export ("barButtonItem", ArgumentSemantic.Retain), NullAllowed] UIBarButtonItem BarButtonItem { get; set; } @@ -17658,7 +17831,8 @@ partial interface UIPopoverPresentationController { [iOS (16, 0), MacCatalyst (16,0)] [Export ("sourceItem", ArgumentSemantic.Strong)] - UIPopoverPresentationControllerSourceItem SourceItem { get; set; } + [NullAllowed] + IUIPopoverPresentationControllerSourceItem SourceItem { get; set; } } [NoWatch] @@ -18532,6 +18706,9 @@ partial interface UITextDocumentProxy : UIKeyInput { [iOS (9,0)] [BaseType (typeof(NSObject))] interface UILayoutGuide : NSCoding +#if IOS + , UIPopoverPresentationControllerSourceItem +#endif { [Export ("layoutFrame")] CGRect LayoutFrame { get; } @@ -19251,6 +19428,16 @@ interface UIFocusDebugger { [Static] [Export ("checkFocusGroupTreeForEnvironment:")] string CheckFocusGroupTree (IUIFocusEnvironment environment); + + [TV (16,0), NoWatch, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("preferredFocusEnvironmentsForEnvironment:")] + IUIFocusDebuggerOutput GetPreferredFocusEnvironments (IUIFocusEnvironment environment); + + [TV (16,0), NoWatch, iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("focusGroupsForEnvironment:")] + IUIFocusDebuggerOutput GetFocusGroups (IUIFocusEnvironment environment); } [NoWatch] @@ -21383,19 +21570,19 @@ interface UICommandAlternate : NSCopying, NSSecureCoding { [NoWatch, TV (13,0), iOS (13,0)] [BaseType (typeof (UIMenuElement))] [DisableDefaultCtor] - interface UICommand { + interface UICommand : UIMenuLeaf { [Field ("UICommandTagShare")] NSString UICommandTagShare { get; } [Export ("title")] - string Title { get; set; } + new string Title { get; set; } [NullAllowed, Export ("image", ArgumentSemantic.Copy)] - UIImage Image { get; set; } + new UIImage Image { get; set; } [NullAllowed, Export ("discoverabilityTitle")] - string DiscoverabilityTitle { get; set; } + new string DiscoverabilityTitle { get; set; } [Export ("action")] Selector Action { get; } @@ -21404,10 +21591,10 @@ interface UICommand { NSObject PropertyList { get; } [Export ("attributes", ArgumentSemantic.Assign)] - UIMenuElementAttributes Attributes { get; set; } + new UIMenuElementAttributes Attributes { get; set; } [Export ("state", ArgumentSemantic.Assign)] - UIMenuElementState State { get; set; } + new UIMenuElementState State { get; set; } [Export ("alternates")] UICommandAlternate[] Alternates { get; } @@ -21770,6 +21957,7 @@ interface UISearchTextField { [iOS (16, 0), MacCatalyst (16,0)] [Export ("searchSuggestions", ArgumentSemantic.Copy)] + [NullAllowed] IUISearchSuggestion[] SearchSuggestions { get; set; } } @@ -21799,6 +21987,10 @@ interface UISearchTextFieldDelegate : UITextFieldDelegate { [Export ("searchTextField:itemProviderForCopyingToken:")] NSItemProvider GetItemProvider (UISearchTextField searchTextField, UISearchToken token); + + [iOS (16,0)] + [Export ("searchTextField:didSelectSuggestion:")] + void DidSelectSuggestion (UISearchTextField searchTextField, IUISearchSuggestion suggestion); } interface IUISearchTextFieldPasteItem { } @@ -22087,6 +22279,7 @@ interface UIWindowScene { [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("windowingBehaviors")] + [NullAllowed] UISceneWindowingBehaviors WindowingBehaviors { get; } [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] @@ -23283,9 +23476,10 @@ interface NSDiffableDataSourceSectionTransaction FinalSnapshot { get; } - // TODO: Enable when Foundation return type is bound - // [Export ("difference")] - // NSOrderedCollectionDifference Difference { get; } +#if false // https://github.com/xamarin/xamarin-macios/issues/15577 + [Export ("difference")] + NSOrderedCollectionDifference Difference { get; } +#endif } [NoWatch, TV (14,0), iOS (14,0)] @@ -23301,9 +23495,10 @@ interface NSDiffableDataSourceTransaction FinalSnapshot { get; } - // TODO: Enable when Foundation return type is bound - // [Export ("difference")] - // NSOrderedCollectionDifference Difference { get; } +#if false // https://github.com/xamarin/xamarin-macios/issues/15577 + [Export ("difference")] + NSOrderedCollectionDifference Difference { get; } +#endif [Export ("sectionTransactions")] NSDiffableDataSourceSectionTransaction [] SectionTransactions { get; } @@ -23676,6 +23871,20 @@ interface UISearchSuggestion { [return: NullAllowed] [Export ("iconImage")] UIImage GetIconImage (); + + [NoTV, iOS (16, 0)] +#if XAMCORE_5_0 + [Abstract] +#endif + [Export ("localizedAttributedSuggestion")] + NSAttributedString LocalizedAttributedSuggestion { get; } + + [TV (16, 0), iOS (16, 0)] +#if XAMCORE_5_0 + [Abstract] +#endif + [NullAllowed, Export ("representedObject", ArgumentSemantic.Strong)] + NSObject RepresentedObject { get; set; } } [NoWatch, TV (14,0), iOS (14,0)] @@ -23760,11 +23969,11 @@ interface UISearchSuggestionItem : UISearchSuggestion { [NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("localizedAttributedSuggestion")] - NSAttributedString LocalizedAttributedSuggestion { get; } + new NSAttributedString LocalizedAttributedSuggestion { [return: NullAllowed] get; } [TV (16, 0), iOS (16, 0), MacCatalyst (16,0)] [NullAllowed, Export ("representedObject", ArgumentSemantic.Strong)] - NSObject RepresentedObject { get; set; } + new NSObject RepresentedObject { get; set; } } [NoWatch, TV (14,0), iOS (14,0)] @@ -23952,6 +24161,8 @@ interface UIActivityItemsConfigurationProviding { [Abstract] [Export ("activityItemsConfiguration", ArgumentSemantic.Strong)] + [NullAllowed +] IUIActivityItemsConfigurationReading ActivityItemsConfiguration { get; } } @@ -24103,6 +24314,7 @@ interface UIButtonConfiguration : NSCopying, NSSecureCoding { [NoWatch, TV (16,0), iOS (16, 0), MacCatalyst (16,0)] [Export ("indicatorColorTransformer", ArgumentSemantic.Copy)] + [NullAllowed] UIConfigurationColorTransformerHandler IndicatorColorTransformer { get; set; } } @@ -24159,6 +24371,10 @@ interface UISheetPresentationControllerDetent { [Field ("UISheetPresentationControllerAutomaticDimension")] nfloat AutomaticDimension { get; } + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Field ("UISheetPresentationControllerDetentInactive")] + nfloat ControllerDetentInactive { get; } + [Static] [Export ("mediumDetent")] UISheetPresentationControllerDetent CreateMediumDetent (); @@ -24660,7 +24876,7 @@ interface UIMenuLeaf [NoTV, iOS (16, 0)] [Abstract] [Export ("presentationSourceItem")] - UIPopoverPresentationControllerSourceItem PresentationSourceItem { get; } + IUIPopoverPresentationControllerSourceItem PresentationSourceItem { get; } [Abstract] [Export ("performWithSender:target:")] @@ -24669,8 +24885,10 @@ interface UIMenuLeaf interface IUINavigationItemRenameDelegate {} + interface IUIPopoverPresentationControllerSourceItem {} + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] - [BaseType (typeof (NSObject))] + [Protocol] interface UIPopoverPresentationControllerSourceItem {} [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] @@ -24732,6 +24950,10 @@ interface UITextSearchAggregator [Abstract] [Export ("finishedSearching")] void FinishedSearching (); + + [Abstract] + [Export ("invalidate")] + void Invalidate (); } [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] @@ -24946,9 +25168,6 @@ interface UIFindSession [Export ("searchResultDisplayStyle", ArgumentSemantic.Assign)] UIFindSessionSearchResultDisplayStyle SearchResultDisplayStyle { get; set; } - [Export ("allowsReplacement")] - bool AllowsReplacement { get; } - [Export ("performSearchWithQuery:options:")] void PerformSearchWithQuery (string query, [NullAllowed] UITextSearchOptions options); @@ -24963,6 +25182,12 @@ interface UIFindSession [Export ("invalidateFoundResults")] void InvalidateFoundResults (); + + [Export ("supportsReplacement")] + bool SupportsReplacement { get; } + + [Export ("allowsReplacementForCurrentlyHighlightedResult")] + bool AllowsReplacementForCurrentlyHighlightedResult { get; } } [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] @@ -24981,6 +25206,9 @@ interface UIPasteControlConfiguration : NSSecureCoding [NullAllowed, Export ("baseForegroundColor", ArgumentSemantic.Strong)] UIColor BaseForegroundColor { get; set; } + [NullAllowed, Export ("baseBackgroundColor", ArgumentSemantic.Strong)] + UIColor BaseBackgroundColor { get; set; } + } interface IUIFindInteractionDelegate {} @@ -25050,8 +25278,13 @@ interface UIWindowSceneGeometryPreferences {} [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [BaseType (typeof(UIWindowSceneGeometryPreferences))] + [DisableDefaultCtor] interface UIWindowSceneGeometryPreferencesMac { + [DesignatedInitializer] + [Export ("init")] + NativeHandle Constructor (); + [Export ("initWithSystemFrame:")] NativeHandle Constructor (CGRect systemFrame); @@ -25061,8 +25294,13 @@ interface UIWindowSceneGeometryPreferencesMac [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [BaseType (typeof(UIWindowSceneGeometryPreferences))] + [DisableDefaultCtor] interface UIWindowSceneGeometryPreferencesIOS { + [DesignatedInitializer] + [Export ("init")] + NativeHandle Constructor (); + [Export ("initWithInterfaceOrientations:")] NativeHandle Constructor (UIInterfaceOrientationMask interfaceOrientations); @@ -25089,5 +25327,21 @@ interface UIPasteControl NativeHandle Constructor (CGRect frame); } + [Static][Internal] + [Watch (9,0), TV (16,0), iOS (16, 0), MacCatalyst (16,0)] + interface UIFontWidthConstants { + [Field ("UIFontWidthCondensed")] + double Condensed { get; } + + [Field ("UIFontWidthStandard")] + double Standard { get; } + + [Field ("UIFontWidthExpanded")] + double Expanded { get; } + + [Field ("UIFontWidthCompressed")] + double Compressed { get; } + } + } diff --git a/src/xkit.cs b/src/xkit.cs index aa31e03f0977..a3a9f8c49310 100644 --- a/src/xkit.cs +++ b/src/xkit.cs @@ -1697,7 +1697,7 @@ interface NSParagraphStyle : NSSecureCoding, NSMutableCopying { NSTextTableBlock [] TextBlocks { get; [NotImplemented] set; } #endif - [NoiOS, NoTV, NoWatch] + [iOS (16,0), TV (16,0), NoWatch, MacCatalyst (16,0)] [Export ("textLists")] NSTextList[] TextLists { get; [NotImplemented] set; } @@ -1816,7 +1816,7 @@ interface NSMutableParagraphStyle { NSTextTableBlock [] TextBlocks { get; set; } #endif - [NoiOS, NoTV, NoWatch] + [iOS (16,0), TV (16,0), NoWatch, MacCatalyst (16,0)] [NoMacCatalyst] [Override] [Export ("textLists")] @@ -1898,6 +1898,16 @@ interface NSCollectionLayoutGroup : NSCopying { [Export ("visualDescription")] string VisualDescription { get; } + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("horizontalGroupWithLayoutSize:repeatingSubitem:count:")] + NSCollectionLayoutGroup GetHorizontalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem subitem, nint count); + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("verticalGroupWithLayoutSize:repeatingSubitem:count:")] + NSCollectionLayoutGroup GetVerticalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem subitem, nint count); } [NoWatch, TV (13,0), iOS (13,0)] @@ -1931,6 +1941,10 @@ interface NSCollectionLayoutSection : NSCopying { [Export ("boundarySupplementaryItems", ArgumentSemantic.Copy)] NSCollectionLayoutBoundarySupplementaryItem [] BoundarySupplementaryItems { get; set; } + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] [Export ("supplementariesFollowContentInsets")] bool SupplementariesFollowContentInsets { get; set; } @@ -1953,6 +1967,10 @@ interface NSCollectionLayoutSection : NSCopying { [Static] [Export ("orthogonalLayoutSectionForMediaItems")] NSCollectionLayoutSection GetOrthogonalLayoutSectionForMediaItems (); + + [Watch (9, 0), TV (16, 0), iOS (16, 0), NoMac] + [Export ("supplementaryContentInsetsReference", ArgumentSemantic.Assign)] + UIContentInsetsReference SupplementaryContentInsetsReference { get; set; } } [NoWatch, TV (13,0), iOS (13,0)] @@ -2048,12 +2066,12 @@ interface NSCollectionLayoutVisibleItem [NoiOS][NoMacCatalyst][NoWatch][NoTV] [Abstract] [Export ("center", ArgumentSemantic.Assign)] - CGPoint Center { get; set; } + new CGPoint Center { get; set; } [NoiOS][NoMacCatalyst][NoWatch][NoTV] [Abstract] [Export ("bounds")] - CGRect Bounds { get; } + new CGRect Bounds { get; } [NoMac] [Abstract] @@ -2380,7 +2398,7 @@ interface NSLayoutConstraint string Identifier { get; set; } } - [NoWatch] + [Watch (9,0)] [Introduced (PlatformName.iOS)] [TV (9,0)] [Mac (10,11)] @@ -2389,6 +2407,7 @@ interface NSLayoutConstraint [Protocol] [BaseType (typeof (NSObject))] partial interface NSTextAttachmentContainer { + [NoWatch] [Abstract] [Export ("imageForBounds:textContainer:characterIndex:")] [return: NullAllowed] @@ -2398,6 +2417,7 @@ partial interface NSTextAttachmentContainer { Image GetImageForBounds (CGRect bounds, [NullAllowed] NSTextContainer textContainer, nuint characterIndex); #endif + [NoWatch] [Abstract] [Export ("attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")] CGRect GetAttachmentBounds ([NullAllowed] NSTextContainer textContainer, CGRect proposedLineFragment, CGPoint glyphPosition, nuint characterIndex); @@ -2481,19 +2501,22 @@ partial interface NSTextAttachment : NSTextAttachmentContainer, NSSecureCoding, bool UsesTextAttachmentView { get; } } - [TV (15,0), NoWatch, Mac (12,0), iOS (15,0)] + [TV (15,0), Watch (9,0), Mac (12,0), iOS (15,0)] [Protocol] interface NSTextAttachmentLayout { + [NoWatch] [Abstract] [Export ("imageForBounds:attributes:location:textContainer:")] [return: NullAllowed] Image GetImageForBounds (CGRect bounds, NSDictionary attributes, INSTextLocation location, [NullAllowed] NSTextContainer textContainer); + [NoWatch] [Abstract] [Export ("attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:")] CGRect GetAttachmentBounds (NSDictionary attributes, INSTextLocation location, [NullAllowed] NSTextContainer textContainer, CGRect proposedLineFragment, CGPoint position); + [NoWatch] [Abstract] [Export ("viewProviderForParentView:location:textContainer:")] [return: NullAllowed] @@ -3416,6 +3439,18 @@ interface NSTextElement [NullAllowed, Export ("elementRange", ArgumentSemantic.Strong)] NSTextRange ElementRange { get; set; } + + [TV (16, 0), NoWatch, Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("childElements", ArgumentSemantic.Copy)] + NSTextElement[] ChildElements { get; } + + [TV (16, 0), NoWatch, Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [NullAllowed, Export ("parentElement", ArgumentSemantic.Weak)] + NSTextElement ParentElement { get; } + + [TV (16, 0), NoWatch, Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("isRepresentedElement")] + bool IsRepresentedElement { get; } } [TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] @@ -4067,6 +4102,11 @@ interface NSTextList : NSCoding, NSCopying, NSSecureCoding { string MarkerFormat { get; } #endif + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("initWithMarkerFormat:options:startingItemNumber:")] + [DesignatedInitializer] + NativeHandle Constructor (string markerFormat, NSTextListOptions options, nint startingItemNumber); + [Export ("listOptions")] NSTextListOptions ListOptions { get; } @@ -4077,6 +4117,10 @@ interface NSTextList : NSCoding, NSCopying, NSSecureCoding { [Export ("startingItemNumber")] nint StartingItemNumber { get; set; } + [TV (16, 0), NoWatch, Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("ordered")] + bool Ordered { [Bind ("isOrdered")] get; } + } [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] diff --git a/tests/xtro-sharpie/api-annotations-dotnet/common-UIKit.ignore b/tests/xtro-sharpie/api-annotations-dotnet/common-UIKit.ignore index 0688961258e1..12795b1e4704 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/common-UIKit.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/common-UIKit.ignore @@ -14,6 +14,9 @@ !missing-pinvoke! NSTextAlignmentFromCTTextAlignment is not bound !missing-pinvoke! NSTextAlignmentToCTTextAlignment is not bound +## this was (pre iOS10) a required member that was deprecated and made optional +!incorrect-protocol-member! UIFocusEnvironment::preferredFocusedView is OPTIONAL and should NOT be abstract + ## https://bugzilla.xamarin.com/show_bug.cgi?id=43788 !missing-selector! +UIView::layerClass not bound @@ -47,6 +50,16 @@ !missing-selector! UILabel::isUserInteractionEnabled not bound !missing-selector! UILabel::setUserInteractionEnabled: not bound +## it's technically optional but there's no point in adopting the protocol if you do not provide the implemenation +!incorrect-protocol-member! UIInputViewAudioFeedback::enableInputClicksWhenVisible is OPTIONAL and should NOT be abstract + +## fixed in .NET - API break +!incorrect-protocol-member! UIDynamicAnimatorDelegate::dynamicAnimatorDidPause: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UIDynamicAnimatorDelegate::dynamicAnimatorWillResume: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UILayoutSupport::bottomAnchor is REQUIRED and should be abstract +!incorrect-protocol-member! UILayoutSupport::heightAnchor is REQUIRED and should be abstract +!incorrect-protocol-member! UILayoutSupport::topAnchor is REQUIRED and should be abstract + ## the [Sealed] attributes removes the [Export] one so it seems missing (but it's not) !missing-selector! UIGestureRecognizer::ignorePress:forEvent: not bound @@ -62,9 +75,32 @@ !missing-pinvoke! CGPointFromString is not bound !missing-pinvoke! CGRectFromString is not bound !missing-pinvoke! CGSizeFromString is not bound +!missing-pinvoke! NSStringFromCGAffineTransform is not bound +!missing-pinvoke! NSStringFromCGPoint is not bound +!missing-pinvoke! NSStringFromCGRect is not bound +!missing-pinvoke! NSStringFromCGSize is not bound !missing-pinvoke! NSStringFromUIOffset is not bound !missing-pinvoke! UIOffsetFromString is not bound +## HACK: those members are not *required* in ObjC but we made them abstract to have them inlined in UITextField and UITextView +## Even more confusing it that respondToSelecttor return NO on them even if it works in _real_ life (compare unit and introspection tests) +!incorrect-protocol-member! UITextInputTraits::autocapitalizationType is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::autocorrectionType is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::enablesReturnKeyAutomatically is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::isSecureTextEntry is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::keyboardAppearance is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::keyboardType is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::returnKeyType is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::setAutocapitalizationType: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::setAutocorrectionType: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::setEnablesReturnKeyAutomatically: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::setKeyboardAppearance: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::setKeyboardType: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::setReturnKeyType: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::setSecureTextEntry: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::setSpellCheckingType: is OPTIONAL and should NOT be abstract +!incorrect-protocol-member! UITextInputTraits::spellCheckingType is OPTIONAL and should NOT be abstract + ## UIAccessibility ## We can't expose them as categories of NSObject so we have custom types instead !missing-selector! NSObject::accessibilityActivationPoint not bound @@ -115,12 +151,25 @@ !missing-selector! NSObject::setShouldGroupAccessibilityChildren: not bound !missing-selector! NSObject::shouldGroupAccessibilityChildren not bound +## @required members added to exixting interfaces (breaking change), fixed on .NET +!incorrect-protocol-member! UIFocusEnvironment::preferredFocusEnvironments is REQUIRED and should be abstract +!incorrect-protocol-member! UITextDocumentProxy::documentInputMode is REQUIRED and should be abstract +!incorrect-protocol-member! UITextDocumentProxy::documentIdentifier is REQUIRED and should be abstract +!incorrect-protocol-member! UITextDocumentProxy::selectedText is REQUIRED and should be abstract +!incorrect-protocol-member! UIViewControllerContextTransitioning::pauseInteractiveTransition is REQUIRED and should be abstract +!incorrect-protocol-member! UIViewControllerTransitionCoordinator::notifyWhenInteractionChangesUsingBlock: is REQUIRED and should be abstract +!incorrect-protocol-member! UIViewControllerTransitionCoordinatorContext::isInterruptible is REQUIRED and should be abstract + # Apple renamed it from UILineBreakMode and we kept the old name for API compatibility !missing-enum! NSLineBreakMode not bound # Apple renamed it from UITextAlignment and we kept the old name for API compatibility !missing-enum! NSTextAlignment not bound +## It got renamed from UITextWritingDirection to NSWritingDirection but it is a breaking change +## Fixed in .NET +!unknown-native-enum! UITextWritingDirection bound + ## macro is used in UIBarCommon.h: #define UIToolbarPosition UIBarPosition !unknown-native-enum! UIToolbarPosition bound @@ -156,6 +205,14 @@ !extra-ui-appearance-support! UIKit.UIStringAttributes UIKit.UISearchBar::GetScopeBarButtonTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] !extra-ui-appearance-support! UIKit.UIStringAttributes UIKit.UISegmentedControl::GetTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] !extra-ui-appearance-support! UIKit.UITextAttributes UIKit.UINavigationBar::GetTitleTextAttributes() should NOT be decorated with [Appearance] +!extra-ui-appearance-support! System.Void UIKit.UIBarItem::SetTitleTextAttributes(UIKit.UITextAttributes,UIKit.UIControlState) should NOT be decorated with [Appearance] +!extra-ui-appearance-support! System.Void UIKit.UISegmentedControl::SetTitleTextAttributes(UIKit.UITextAttributes,UIKit.UIControlState) should NOT be decorated with [Appearance] +!extra-ui-appearance-support! UIKit.UITextAttributes UIKit.UIBarItem::GetTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] +!extra-ui-appearance-support! UIKit.UITextAttributes UIKit.UISegmentedControl::GetTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] + +## manually bound (better, stronger signature) on `[setS|s]copeBarButtonTitleTextAttributes:forState:` which is decorated with `UI_APPEARANCE_SELECTOR` +!extra-ui-appearance-support! System.Void UIKit.UISearchBar::SetScopeBarButtonTitle(UIKit.UITextAttributes,UIKit.UIControlState) should NOT be decorated with [Appearance] +!extra-ui-appearance-support! UIKit.UITextAttributes UIKit.UISearchBar::GetScopeBarButtonTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] ## [Wrap] over `[largeT|t]itleTextAttributes` which is decorated with `UI_APPEARANCE_SELECTOR` !extra-ui-appearance-support! UIKit.UIStringAttributes UIKit.UINavigationBar::get_LargeTitleTextAttributes() should NOT be decorated with [Appearance] @@ -185,3 +242,39 @@ ## manually bound !missing-field! UIListSeparatorAutomaticInsets not bound + +## added in xcode 14 and is between a #if XAMCORE_5_0 +!incorrect-protocol-member! UISearchSuggestion::localizedAttributedSuggestion is REQUIRED and should be abstract +!incorrect-protocol-member! UISearchSuggestion::representedObject is REQUIRED and should be abstract +!incorrect-protocol-member! UISearchSuggestion::setRepresentedObject: is REQUIRED and should be abstract + +# deprecated in xcode 14 beta 5 +!extra-enum-value! Managed value 8 for UIModalPresentationStyle.BlurOverFullScreen is available for the current platform while the value in the native header is not +!extra-enum-value! Managed value 2 for UIActivityIndicatorViewStyle.Gray is available for the current platform while the value in the native header is not + +# out trampolines generators does not support the following +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::canReorderItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::didReorderHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setCanReorderItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setDidReorderHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setWillReorderHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::willReorderHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldCollapseItemHandler: not bound + +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldExpandItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setSnapshotForExpandingParentItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillCollapseItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillExpandItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldCollapseItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldExpandItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::snapshotForExpandingParentItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willCollapseItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willExpandItemHandler not bound + +# no bound due to issues with foundation https://github.com/xamarin/xamarin-macios/issues/15577 +!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound +!missing-selector! NSDiffableDataSourceTransaction::difference not bound + +!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound +!missing-selector! NSDiffableDataSourceTransaction::difference 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 bfe47bd89f0c..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo +++ /dev/null @@ -1,361 +0,0 @@ -!missing-protocol-conformance! UIResponder should conform to UIActivityItemsConfigurationProviding (defined in 'UIActivityItemsConfiguration' category) -!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound -!missing-selector! NSDiffableDataSourceTransaction::difference not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::canReorderItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::didReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setCanReorderItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setDidReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setWillReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::willReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setSnapshotForExpandingParentItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldExpandItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::snapshotForExpandingParentItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willExpandItemHandler not bound -!extra-enum-value! Managed value 8 for UIModalPresentationStyle.BlurOverFullScreen is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! NSCollectionLayoutSection::setSupplementariesFollowContentInsets: missing a [Deprecated] attribute -!deprecated-attribute-missing! NSCollectionLayoutSection::supplementariesFollowContentInsets missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:contextMenuConfigurationForItemAtIndexPath:point: missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:previewForDismissingContextMenuWithConfiguration: missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:previewForHighlightingContextMenuWithConfiguration: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIContextMenuInteractionDelegate::contextMenuInteraction:previewForDismissingMenuWithConfiguration: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIContextMenuInteractionDelegate::contextMenuInteraction:previewForHighlightingMenuWithConfiguration: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIMenuController missing a [Deprecated] attribute -!deprecated-attribute-missing! UIMenuItem missing a [Deprecated] attribute -!deprecated-attribute-missing! UIPopoverPresentationController::barButtonItem missing a [Deprecated] attribute -!deprecated-attribute-missing! UIPopoverPresentationController::setBarButtonItem: missing a [Deprecated] attribute -!missing-field! UIActivityTypeCollaborationCopyLink not bound -!missing-field! UIActivityTypeCollaborationInviteWithLink not bound -!missing-field! UIMenuDocument not bound -!missing-field! UIScreenReferenceDisplayModeStatusDidChangeNotification not bound -!missing-field! UISheetPresentationControllerDetentInactive not bound -!missing-field! UIWindowSceneSessionRoleExternalDisplayNonInteractive not bound -!missing-protocol! UIPopoverPresentationControllerSourceItem not bound -!missing-protocol-conformance! UIAction should conform to UIMenuLeaf -!missing-protocol-conformance! UIBarButtonItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UICommand should conform to UIMenuLeaf -!missing-protocol-conformance! UILayoutGuide should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UITabBarItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UIView should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier: not found -!missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier: not found -!missing-protocol-member! UINavigationBarDelegate::navigationBarNSToolbarSection: not found -!missing-protocol-member! UIResponderStandardEditActions::duplicate: not found -!missing-protocol-member! UIResponderStandardEditActions::export: not found -!missing-protocol-member! UIResponderStandardEditActions::find: not found -!missing-protocol-member! UIResponderStandardEditActions::findAndReplace: not found -!missing-protocol-member! UIResponderStandardEditActions::findNext: not found -!missing-protocol-member! UIResponderStandardEditActions::findPrevious: not found -!missing-protocol-member! UIResponderStandardEditActions::move: not found -!missing-protocol-member! UIResponderStandardEditActions::rename: not found -!missing-protocol-member! UIResponderStandardEditActions::useSelectionForFind: not found -!missing-protocol-member! UISearchControllerDelegate::searchController:didChangeFromSearchBarPlacement: not found -!missing-protocol-member! UISearchControllerDelegate::searchController:willChangeToSearchBarPlacement: not found -!missing-protocol-member! UISearchResultsUpdating::updateSearchResultsForSearchController:selectingSearchSuggestion: not found -!missing-protocol-member! UISearchTextFieldDelegate::searchTextField:didSelectSuggestion: not found -!missing-protocol-member! UITableViewDelegate::tableView:canPerformPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITableViewDelegate::tableView:performPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITextFieldDelegate::textField:editMenuForCharactersInRange:suggestedActions: not found -!missing-protocol-member! UITextInput::editMenuForTextRange:suggestedActions: not found -!missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRange:suggestedActions: not found -!missing-selector! +NSCollectionLayoutGroup::horizontalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSCollectionLayoutGroup::verticalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +UIBarButtonItemGroup::fixedGroupWithRepresentativeItem:items: not bound -!missing-selector! +UIBarButtonItemGroup::movableGroupWithCustomizationIdentifier:representativeItem:items: not bound -!missing-selector! +UIBarButtonItemGroup::optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items: not bound -!missing-selector! +UIFocusDebugger::focusGroupsForEnvironment: not bound -!missing-selector! +UIFocusDebugger::preferredFocusEnvironmentsForEnvironment: not bound -!missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound -!missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound -!missing-selector! +UITextView::textViewUsingTextLayoutManager: not bound -!missing-selector! NSCollectionLayoutSection::setSupplementaryContentInsetsReference: not bound -!missing-selector! NSCollectionLayoutSection::supplementaryContentInsetsReference not bound -!missing-selector! NSMutableParagraphStyle::setTextLists: not bound -!missing-selector! NSMutableParagraphStyle::textLists not bound -!missing-selector! NSParagraphStyle::textLists not bound -!missing-selector! NSTextElement::childElements not bound -!missing-selector! NSTextElement::isRepresentedElement not bound -!missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound -!missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextList::listOptions not bound -!missing-selector! NSTextList::markerForItemNumber: not bound -!missing-selector! NSTextList::markerFormat not bound -!missing-selector! NSTextList::setStartingItemNumber: not bound -!missing-selector! NSTextList::startingItemNumber not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound -!missing-selector! UIAlertController::setSeverity: not bound -!missing-selector! UIAlertController::severity not bound -!missing-selector! UIBarButtonItem::creatingFixedGroup not bound -!missing-selector! UIBarButtonItem::creatingMovableGroupWithCustomizationIdentifier: not bound -!missing-selector! UIBarButtonItem::creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization: not bound -!missing-selector! UIBarButtonItem::isHidden not bound -!missing-selector! UIBarButtonItem::menuRepresentation not bound -!missing-selector! UIBarButtonItem::preferredMenuElementOrder not bound -!missing-selector! UIBarButtonItem::setHidden: not bound -!missing-selector! UIBarButtonItem::setMenuRepresentation: not bound -!missing-selector! UIBarButtonItem::setPreferredMenuElementOrder: not bound -!missing-selector! UIBarButtonItemGroup::isHidden not bound -!missing-selector! UIBarButtonItemGroup::menuRepresentation not bound -!missing-selector! UIBarButtonItemGroup::setHidden: not bound -!missing-selector! UIBarButtonItemGroup::setMenuRepresentation: not bound -!missing-selector! UIButton::preferredMenuElementOrder not bound -!missing-selector! UIButton::setPreferredMenuElementOrder: not bound -!missing-selector! UICalendarSelection::updateSelectableDates not bound -!missing-selector! UICalendarSelectionMultiDate::delegate not bound -!missing-selector! UICalendarSelectionMultiDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionMultiDate::selectedDates not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates: not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates:animated: not bound -!missing-selector! UICalendarSelectionSingleDate::delegate not bound -!missing-selector! UICalendarSelectionSingleDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionSingleDate::selectedDate not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate: not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate:animated: not bound -!missing-selector! UICalendarView::availableDateRange not bound -!missing-selector! UICalendarView::calendar not bound -!missing-selector! UICalendarView::delegate not bound -!missing-selector! UICalendarView::fontDesign not bound -!missing-selector! UICalendarView::locale not bound -!missing-selector! UICalendarView::reloadDecorationsForDateComponents:animated: not bound -!missing-selector! UICalendarView::selectionBehavior not bound -!missing-selector! UICalendarView::setAvailableDateRange: not bound -!missing-selector! UICalendarView::setCalendar: not bound -!missing-selector! UICalendarView::setDelegate: not bound -!missing-selector! UICalendarView::setFontDesign: not bound -!missing-selector! UICalendarView::setLocale: not bound -!missing-selector! UICalendarView::setSelectionBehavior: not bound -!missing-selector! UICalendarView::setTimeZone: not bound -!missing-selector! UICalendarView::setVisibleDateComponents: not bound -!missing-selector! UICalendarView::setVisibleDateComponents:animated: not bound -!missing-selector! UICalendarView::setWantsDateDecorations: not bound -!missing-selector! UICalendarView::timeZone not bound -!missing-selector! UICalendarView::visibleDateComponents not bound -!missing-selector! UICalendarView::wantsDateDecorations not bound -!missing-selector! UICalendarViewDecoration::init not bound -!missing-selector! UICalendarViewDecoration::initWithCustomViewProvider: not bound -!missing-selector! UICalendarViewDecoration::initWithImage:color:size: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithCoder: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithMenu: not bound -!missing-selector! UICellAccessoryPopUpMenu::menu not bound -!missing-selector! UICellAccessoryPopUpMenu::selectedElementDidChangeHandler not bound -!missing-selector! UICellAccessoryPopUpMenu::setSelectedElementDidChangeHandler: not bound -!missing-selector! UICollectionView::selfSizingInvalidation not bound -!missing-selector! UICollectionView::setSelfSizingInvalidation: not bound -!missing-selector! UICollectionViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UIContextMenuConfiguration::badgeCount not bound -!missing-selector! UIContextMenuConfiguration::preferredMenuElementOrder not bound -!missing-selector! UIContextMenuConfiguration::secondaryItemIdentifiers not bound -!missing-selector! UIContextMenuConfiguration::setBadgeCount: not bound -!missing-selector! UIContextMenuConfiguration::setPreferredMenuElementOrder: not bound -!missing-selector! UIContextMenuConfiguration::setSecondaryItemIdentifiers: not bound -!missing-selector! UIDocumentBrowserViewController::renameDocumentAtURL:proposedName:completionHandler: not bound -!missing-selector! UIDocumentProperties::activityViewControllerProvider not bound -!missing-selector! UIDocumentProperties::dragItemsProvider not bound -!missing-selector! UIDocumentProperties::initWithMetadata: not bound -!missing-selector! UIDocumentProperties::initWithURL: not bound -!missing-selector! UIDocumentProperties::metadata not bound -!missing-selector! UIDocumentProperties::setActivityViewControllerProvider: not bound -!missing-selector! UIDocumentProperties::setDragItemsProvider: not bound -!missing-selector! UIDocumentProperties::setMetadata: not bound -!missing-selector! UIDocumentProperties::setWantsIconRepresentation: not bound -!missing-selector! UIDocumentProperties::wantsIconRepresentation not bound -!missing-selector! UIEditMenuConfiguration::identifier not bound -!missing-selector! UIEditMenuConfiguration::preferredArrowDirection not bound -!missing-selector! UIEditMenuConfiguration::setPreferredArrowDirection: not bound -!missing-selector! UIEditMenuConfiguration::sourcePoint not bound -!missing-selector! UIEditMenuInteraction::delegate not bound -!missing-selector! UIEditMenuInteraction::dismissMenu not bound -!missing-selector! UIEditMenuInteraction::initWithDelegate: not bound -!missing-selector! UIEditMenuInteraction::locationInView: not bound -!missing-selector! UIEditMenuInteraction::presentEditMenuWithConfiguration: not bound -!missing-selector! UIEditMenuInteraction::reloadVisibleMenu not bound -!missing-selector! UIEditMenuInteraction::updateVisibleMenuPositionAnimated: not bound -!missing-selector! UIFindInteraction::activeFindSession not bound -!missing-selector! UIFindInteraction::delegate not bound -!missing-selector! UIFindInteraction::dismissFindNavigator not bound -!missing-selector! UIFindInteraction::findNext not bound -!missing-selector! UIFindInteraction::findPrevious not bound -!missing-selector! UIFindInteraction::initWithSessionDelegate: not bound -!missing-selector! UIFindInteraction::isFindNavigatorVisible not bound -!missing-selector! UIFindInteraction::optionsMenuProvider not bound -!missing-selector! UIFindInteraction::presentFindNavigatorShowingReplace: not bound -!missing-selector! UIFindInteraction::replacementText not bound -!missing-selector! UIFindInteraction::searchText not bound -!missing-selector! UIFindInteraction::setOptionsMenuProvider: not bound -!missing-selector! UIFindInteraction::setReplacementText: not bound -!missing-selector! UIFindInteraction::setSearchText: not bound -!missing-selector! UIFindInteraction::updateResultCount not bound -!missing-selector! UIFindSession::highlightedResultIndex not bound -!missing-selector! UIFindSession::highlightNextResultInDirection: not bound -!missing-selector! UIFindSession::invalidateFoundResults not bound -!missing-selector! UIFindSession::performSearchWithQuery:options: not bound -!missing-selector! UIFindSession::performSingleReplacementWithSearchQuery:replacementString:options: not bound -!missing-selector! UIFindSession::replaceAllInstancesOfSearchQuery:withReplacementString:options: not bound -!missing-selector! UIFindSession::resultCount not bound -!missing-selector! UIFindSession::searchResultDisplayStyle not bound -!missing-selector! UIFindSession::setSearchResultDisplayStyle: not bound -!missing-selector! UIListContentTextProperties::setShowsExpansionTextWhenTruncated: not bound -!missing-selector! UIListContentTextProperties::showsExpansionTextWhenTruncated not bound -!missing-selector! UIMenu::preferredElementSize not bound -!missing-selector! UIMenu::setPreferredElementSize: not bound -!missing-selector! UINavigationBar::behavioralStyle not bound -!missing-selector! UINavigationBar::currentNSToolbarSection not bound -!missing-selector! UINavigationBar::preferredBehavioralStyle not bound -!missing-selector! UINavigationBar::setPreferredBehavioralStyle: not bound -!missing-selector! UINavigationItem::additionalOverflowItems not bound -!missing-selector! UINavigationItem::backAction not bound -!missing-selector! UINavigationItem::centerItemGroups not bound -!missing-selector! UINavigationItem::customizationIdentifier not bound -!missing-selector! UINavigationItem::documentProperties not bound -!missing-selector! UINavigationItem::leadingItemGroups not bound -!missing-selector! UINavigationItem::preferredSearchBarPlacement not bound -!missing-selector! UINavigationItem::renameDelegate not bound -!missing-selector! UINavigationItem::searchBarPlacement not bound -!missing-selector! UINavigationItem::setAdditionalOverflowItems: not bound -!missing-selector! UINavigationItem::setBackAction: not bound -!missing-selector! UINavigationItem::setCenterItemGroups: not bound -!missing-selector! UINavigationItem::setCustomizationIdentifier: not bound -!missing-selector! UINavigationItem::setDocumentProperties: not bound -!missing-selector! UINavigationItem::setLeadingItemGroups: not bound -!missing-selector! UINavigationItem::setPreferredSearchBarPlacement: not bound -!missing-selector! UINavigationItem::setRenameDelegate: not bound -!missing-selector! UINavigationItem::setStyle: not bound -!missing-selector! UINavigationItem::setTitleMenuProvider: not bound -!missing-selector! UINavigationItem::setTrailingItemGroups: not bound -!missing-selector! UINavigationItem::style not bound -!missing-selector! UINavigationItem::titleMenuProvider not bound -!missing-selector! UINavigationItem::trailingItemGroups not bound -!missing-selector! UIPageControl::currentPageIndicatorImageForPage: not bound -!missing-selector! UIPageControl::direction not bound -!missing-selector! UIPageControl::preferredCurrentPageIndicatorImage not bound -!missing-selector! UIPageControl::setCurrentPageIndicatorImage:forPage: not bound -!missing-selector! UIPageControl::setDirection: not bound -!missing-selector! UIPageControl::setPreferredCurrentPageIndicatorImage: not bound -!missing-selector! UIPasteControl::configuration not bound -!missing-selector! UIPasteControl::initWithCoder: not bound -!missing-selector! UIPasteControl::initWithConfiguration: not bound -!missing-selector! UIPasteControl::initWithFrame: not bound -!missing-selector! UIPasteControl::setTarget: not bound -!missing-selector! UIPasteControl::target not bound -!missing-selector! UIPasteControlConfiguration::baseBackgroundColor not bound -!missing-selector! UIPasteControlConfiguration::baseForegroundColor not bound -!missing-selector! UIPasteControlConfiguration::cornerStyle not bound -!missing-selector! UIPasteControlConfiguration::displayMode not bound -!missing-selector! UIPasteControlConfiguration::setBaseBackgroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setBaseForegroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setCornerStyle: not bound -!missing-selector! UIPasteControlConfiguration::setDisplayMode: not bound -!missing-selector! UIPopoverPresentationController::setSourceItem: not bound -!missing-selector! UIPopoverPresentationController::sourceItem not bound -!missing-selector! UIPrintFormatter::requiresMainThread not bound -!missing-selector! UISceneSizeRestrictions::allowsFullScreen not bound -!missing-selector! UISceneSizeRestrictions::setAllowsFullScreen: not bound -!missing-selector! UISceneWindowingBehaviors::isClosable not bound -!missing-selector! UISceneWindowingBehaviors::isMiniaturizable not bound -!missing-selector! UISceneWindowingBehaviors::setClosable: not bound -!missing-selector! UISceneWindowingBehaviors::setMiniaturizable: not bound -!missing-selector! UIScreen::currentEDRHeadroom not bound -!missing-selector! UIScreen::potentialEDRHeadroom not bound -!missing-selector! UIScreen::referenceDisplayModeStatus not bound -!missing-selector! UISearchController::searchBarPlacement not bound -!missing-selector! UISearchController::searchSuggestions not bound -!missing-selector! UISearchController::setSearchSuggestions: not bound -!missing-selector! UISearchSuggestionItem::iconImage not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::localizedAttributedSuggestion not bound -!missing-selector! UISearchSuggestionItem::localizedDescription not bound -!missing-selector! UISearchSuggestionItem::localizedSuggestion not bound -!missing-selector! UISearchSuggestionItem::representedObject not bound -!missing-selector! UISearchSuggestionItem::setRepresentedObject: not bound -!missing-selector! UISearchTextField::searchSuggestions not bound -!missing-selector! UISearchTextField::setSearchSuggestions: not bound -!missing-selector! UISheetPresentationController::invalidateDetents not bound -!missing-selector! UISheetPresentationControllerDetent::identifier not bound -!missing-selector! UISheetPresentationControllerDetent::resolvedValueInContext: not bound -!missing-selector! UITableView::selfSizingInvalidation not bound -!missing-selector! UITableView::setSelfSizingInvalidation: not bound -!missing-selector! UITableViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UITableViewHeaderFooterView::defaultBackgroundConfiguration not bound -!missing-selector! UITextSearchingFindSession::initWithSearchableObject: not bound -!missing-selector! UITextSearchingFindSession::searchableObject not bound -!missing-selector! UITextSearchOptions::stringCompareOptions not bound -!missing-selector! UITextSearchOptions::wordMatchMethod not bound -!missing-selector! UITextView::findInteraction not bound -!missing-selector! UITextView::isFindInteractionEnabled not bound -!missing-selector! UITextView::setFindInteractionEnabled: not bound -!missing-selector! UITextView::textLayoutManager not bound -!missing-selector! UITraitCollection::toolbarItemPresentationSize not bound -!missing-selector! UIViewController::activePresentationController not bound -!missing-selector! UIViewController::interactionActivityTrackingBaseName not bound -!missing-selector! UIViewController::setInteractionActivityTrackingBaseName: not bound -!missing-selector! UIWindow::safeAreaAspectFitLayoutGuide not bound -!missing-selector! UIWindowScene::effectiveGeometry not bound -!missing-selector! UIWindowScene::isFullScreen not bound -!missing-selector! UIWindowScene::requestGeometryUpdateWithPreferences:errorHandler: not bound -!missing-selector! UIWindowScene::windowingBehaviors not bound -!missing-type! NSTextList not bound -!missing-type! NSTextListElement not bound -!missing-type! UICalendarSelection not bound -!missing-type! UICalendarSelectionMultiDate not bound -!missing-type! UICalendarSelectionSingleDate not bound -!missing-type! UICalendarView not bound -!missing-type! UICalendarViewDecoration not bound -!missing-type! UICellAccessoryPopUpMenu not bound -!missing-type! UIDocumentProperties not bound -!missing-type! UIEditMenuConfiguration not bound -!missing-type! UIEditMenuInteraction not bound -!missing-type! UIFindInteraction not bound -!missing-type! UIFindSession not bound -!missing-type! UIPasteControl not bound -!missing-type! UIPasteControlConfiguration not bound -!missing-type! UISceneWindowingBehaviors not bound -!missing-type! UISearchSuggestionItem not bound -!missing-type! UITextSearchingFindSession not bound -!missing-type! UITextSearchOptions not bound -!missing-type! UIWindowSceneGeometry not bound -!missing-type! UIWindowSceneGeometryPreferences not bound -!deprecated-attribute-missing! UIViewController::shouldAutorotate missing a [Deprecated] attribute -!deprecated-attribute-missing! UISearchController::automaticallyShowsScopeBar missing a [Deprecated] attribute -!deprecated-attribute-missing! UISearchController::setAutomaticallyShowsScopeBar: missing a [Deprecated] attribute -!missing-enum! UISearchControllerScopeBarActivation not bound -!missing-protocol-member! UITextFieldDelegate::textField:willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextFieldDelegate::textField:willPresentEditMenuWithAnimator: not found -!missing-protocol-member! UITextInput::willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextInput::willPresentEditMenuWithAnimator: not found -!missing-protocol-member! UITextViewDelegate::textView:willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextViewDelegate::textView:willPresentEditMenuWithAnimator: not found -!missing-selector! UIBarButtonItem::initWithBarButtonSystemItem:primaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithPrimaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithTitle:image:target:action:menu: not bound -!missing-selector! UIBarButtonItemGroup::alwaysAvailable not bound -!missing-selector! UIBarButtonItemGroup::setAlwaysAvailable: not bound -!missing-selector! UINavigationItem::overflowPresentationSource not bound -!missing-selector! UINavigationItem::pinnedTrailingGroup not bound -!missing-selector! UINavigationItem::setPinnedTrailingGroup: not bound -!missing-selector! UISearchController::scopeBarActivation not bound -!missing-selector! UISearchController::setScopeBarActivation: not bound -!missing-field! UIFontWidthCompressed not bound -!missing-field! UIFontWidthCondensed not bound -!missing-field! UIFontWidthExpanded not bound -!missing-field! UIFontWidthStandard not bound -!missing-selector! +UIFont::systemFontOfSize:weight:width: not bound -!missing-selector! UIFindSession::allowsReplacementForCurrentlyHighlightedResult not bound -!missing-selector! UIFindSession::supportsReplacement 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 0d5ab3458e53..9f80a11adbe9 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo @@ -54,11 +54,6 @@ !missing-selector! NSPreviewRepresentingActivityItem::initWithItem:title:image:icon: not bound !missing-selector! NSPreviewRepresentingActivityItem::initWithItem:title:imageProvider:iconProvider: not bound !missing-selector! NSSharingServicePicker::standardShareMenuItem not bound -!missing-selector! NSTextElement::childElements not bound -!missing-selector! NSTextElement::isRepresentedElement not bound -!missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound -!missing-selector! NSTextList::isOrdered not bound !missing-selector! NSToolbar::centeredItemIdentifiers not bound !missing-selector! NSToolbar::setCenteredItemIdentifiers: not bound !missing-selector! NSToolbarItem::isVisible 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 60b528cb1341..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo +++ /dev/null @@ -1,178 +0,0 @@ -!deprecated-attribute-missing! UISearchController::searchControllerObservedScrollView missing a [Deprecated] attribute -!deprecated-attribute-missing! UISearchController::setSearchControllerObservedScrollView: missing a [Deprecated] attribute -!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound -!missing-selector! NSDiffableDataSourceTransaction::difference not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::canReorderItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::didReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setCanReorderItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setDidReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setWillReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::willReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setSnapshotForExpandingParentItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldExpandItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::snapshotForExpandingParentItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willExpandItemHandler not bound -!deprecated-attribute-missing! UIApplication::openURL: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplication::windows missing a [Deprecated] attribute -!deprecated-attribute-missing! UIApplicationDelegate::application:didReceiveRemoteNotification: missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:canPerformAction:forItemAtIndexPath:withSender: missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:performAction:forItemAtIndexPath:withSender: missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:shouldShowMenuForItemAtIndexPath: missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:targetIndexPathForMoveFromItemAtIndexPath:toProposedIndexPath: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIFocusGuide::preferredFocusedView missing a [Deprecated] attribute -!deprecated-attribute-missing! UIFocusGuide::setPreferredFocusedView: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIPopoverController missing a [Deprecated] attribute -!deprecated-attribute-missing! UIPopoverControllerDelegate::popoverController:willRepositionPopoverToRect:inView: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIPopoverControllerDelegate::popoverControllerDidDismissPopover: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIPopoverControllerDelegate::popoverControllerShouldDismissPopover: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIStoryboardPopoverSegue missing a [Deprecated] attribute -!deprecated-attribute-missing! UITableViewCell::detailTextLabel missing a [Deprecated] attribute -!deprecated-attribute-missing! UITableViewCell::imageView missing a [Deprecated] attribute -!deprecated-attribute-missing! UITableViewCell::textLabel missing a [Deprecated] attribute -!deprecated-attribute-missing! UITableViewDelegate::tableView:canPerformAction:forRowAtIndexPath:withSender: missing a [Deprecated] attribute -!deprecated-attribute-missing! UITableViewDelegate::tableView:performAction:forRowAtIndexPath:withSender: missing a [Deprecated] attribute -!deprecated-attribute-missing! UITableViewDelegate::tableView:shouldShowMenuForRowAtIndexPath: missing a [Deprecated] attribute -!deprecated-attribute-missing! UITableViewHeaderFooterView::detailTextLabel missing a [Deprecated] attribute -!deprecated-attribute-missing! UITableViewHeaderFooterView::textLabel missing a [Deprecated] attribute -!deprecated-attribute-missing! UITextViewDelegate::textView:shouldInteractWithTextAttachment:inRange: missing a [Deprecated] attribute -!deprecated-attribute-missing! UITextViewDelegate::textView:shouldInteractWithURL:inRange: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIViewController::isModalInPopover missing a [Deprecated] attribute -!deprecated-attribute-missing! UIViewController::previewActionItems missing a [Deprecated] attribute -!deprecated-attribute-missing! UIViewController::registerForPreviewingWithDelegate:sourceView: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIViewController::segueForUnwindingToViewController:fromViewController:identifier: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIViewController::setModalInPopover: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIViewController::unregisterForPreviewingWithContext: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIViewController::viewControllerForUnwindSegueAction:fromViewController:withSender: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIViewControllerPreviewingDelegate::previewingContext:commitViewController: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIViewControllerPreviewingDelegate::previewingContext:viewControllerForLocation: missing a [Deprecated] attribute -!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceInsetGrouped = 2 not bound -!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceSidebar = 3 not bound -!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceSidebarPlain = 4 not bound -!deprecated-attribute-missing! NSCollectionLayoutSection::setSupplementariesFollowContentInsets: missing a [Deprecated] attribute -!deprecated-attribute-missing! NSCollectionLayoutSection::supplementariesFollowContentInsets missing a [Deprecated] attribute -!missing-enum! UIFindSessionSearchResultDisplayStyle not bound -!missing-enum! UITextSearchMatchMethod not bound -!missing-field! UIMenuDocument not bound -!missing-field! UIScreenReferenceDisplayModeStatusDidChangeNotification not bound -!missing-field! UIWindowSceneSessionRoleExternalDisplayNonInteractive not bound -!missing-protocol-conformance! UIAction should conform to UIMenuLeaf -!missing-protocol-conformance! UICommand should conform to UIMenuLeaf -!missing-protocol-member! UIResponderStandardEditActions::duplicate: not found -!missing-protocol-member! UIResponderStandardEditActions::export: not found -!missing-protocol-member! UIResponderStandardEditActions::find: not found -!missing-protocol-member! UIResponderStandardEditActions::findAndReplace: not found -!missing-protocol-member! UIResponderStandardEditActions::findNext: not found -!missing-protocol-member! UIResponderStandardEditActions::findPrevious: not found -!missing-protocol-member! UIResponderStandardEditActions::move: not found -!missing-protocol-member! UIResponderStandardEditActions::rename: not found -!missing-protocol-member! UIResponderStandardEditActions::useSelectionForFind: not found -!missing-protocol-member! UISearchSuggestion::representedObject not found -!missing-protocol-member! UISearchSuggestion::setRepresentedObject: not found -!missing-protocol-member! UITableViewDelegate::tableView:canPerformPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITableViewDelegate::tableView:performPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITextFieldDelegate::textField:editMenuForCharactersInRange:suggestedActions: not found -!missing-protocol-member! UITextInput::editMenuForTextRange:suggestedActions: not found -!missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRange:suggestedActions: not found -!missing-selector! +NSCollectionLayoutGroup::horizontalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSCollectionLayoutGroup::verticalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +UIFocusDebugger::focusGroupsForEnvironment: not bound -!missing-selector! +UIFocusDebugger::preferredFocusEnvironmentsForEnvironment: not bound -!missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound -!missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound -!missing-selector! +UITextView::textViewUsingTextLayoutManager: not bound -!missing-selector! NSCollectionLayoutSection::setSupplementaryContentInsetsReference: not bound -!missing-selector! NSCollectionLayoutSection::supplementaryContentInsetsReference not bound -!missing-selector! NSMutableParagraphStyle::setTextLists: not bound -!missing-selector! NSMutableParagraphStyle::textLists not bound -!missing-selector! NSParagraphStyle::textLists not bound -!missing-selector! NSTextElement::childElements not bound -!missing-selector! NSTextElement::isRepresentedElement not bound -!missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound -!missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextList::listOptions not bound -!missing-selector! NSTextList::markerForItemNumber: not bound -!missing-selector! NSTextList::markerFormat not bound -!missing-selector! NSTextList::setStartingItemNumber: not bound -!missing-selector! NSTextList::startingItemNumber not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound -!missing-selector! UIAlertController::setSeverity: not bound -!missing-selector! UIAlertController::severity not bound -!missing-selector! UICollectionView::selfSizingInvalidation not bound -!missing-selector! UICollectionView::setSelfSizingInvalidation: not bound -!missing-selector! UICollectionViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UIListContentTextProperties::setShowsExpansionTextWhenTruncated: not bound -!missing-selector! UIListContentTextProperties::showsExpansionTextWhenTruncated not bound -!missing-selector! UIMenu::preferredElementSize not bound -!missing-selector! UIMenu::setPreferredElementSize: not bound -!missing-selector! UIPageControl::currentPageIndicatorImageForPage: not bound -!missing-selector! UIPageControl::direction not bound -!missing-selector! UIPageControl::preferredCurrentPageIndicatorImage not bound -!missing-selector! UIPageControl::setCurrentPageIndicatorImage:forPage: not bound -!missing-selector! UIPageControl::setDirection: not bound -!missing-selector! UIPageControl::setPreferredCurrentPageIndicatorImage: not bound -!missing-selector! UISceneSizeRestrictions::allowsFullScreen not bound -!missing-selector! UISceneSizeRestrictions::setAllowsFullScreen: not bound -!missing-selector! UISceneWindowingBehaviors::isClosable not bound -!missing-selector! UISceneWindowingBehaviors::isMiniaturizable not bound -!missing-selector! UISceneWindowingBehaviors::setClosable: not bound -!missing-selector! UISceneWindowingBehaviors::setMiniaturizable: not bound -!missing-selector! UIScreen::currentEDRHeadroom not bound -!missing-selector! UIScreen::potentialEDRHeadroom not bound -!missing-selector! UIScreen::referenceDisplayModeStatus not bound -!missing-selector! UISearchSuggestionItem::representedObject not bound -!missing-selector! UISearchSuggestionItem::setRepresentedObject: not bound -!missing-selector! UITableView::selfSizingInvalidation not bound -!missing-selector! UITableView::setSelfSizingInvalidation: not bound -!missing-selector! UITableViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UITableViewHeaderFooterView::defaultBackgroundConfiguration not bound -!missing-selector! UITextView::textLayoutManager not bound -!missing-selector! UITraitCollection::toolbarItemPresentationSize not bound -!missing-selector! UIViewController::activePresentationController not bound -!missing-selector! UIViewController::interactionActivityTrackingBaseName not bound -!missing-selector! UIViewController::setInteractionActivityTrackingBaseName: not bound -!missing-selector! UIWindow::safeAreaAspectFitLayoutGuide not bound -!missing-selector! UIWindowScene::effectiveGeometry not bound -!missing-selector! UIWindowScene::isFullScreen not bound -!missing-selector! UIWindowScene::requestGeometryUpdateWithPreferences:errorHandler: not bound -!missing-selector! UIWindowScene::windowingBehaviors not bound -!missing-type! NSTextList not bound -!missing-type! NSTextListElement not bound -!missing-type! UISceneWindowingBehaviors not bound -!missing-type! UIWindowSceneGeometry not bound -!missing-type! UIWindowSceneGeometryPreferences not bound -!missing-enum! UIButtonConfigurationIndicator not bound -!missing-selector! UIButtonConfiguration::indicator not bound -!missing-selector! UIButtonConfiguration::indicatorColorTransformer not bound -!missing-selector! UIButtonConfiguration::setIndicator: not bound -!missing-selector! UIButtonConfiguration::setIndicatorColorTransformer: not bound -!missing-protocol-member! UIContentView::supportsConfiguration: not found -!missing-selector! UIView::anchorPoint not bound -!missing-selector! UIView::setAnchorPoint: not bound -!missing-selector! UIViewController::setNeedsUpdateOfSupportedInterfaceOrientations not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::init not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::initWithSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::setSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::systemFrame not bound -!missing-type! UIWindowSceneGeometryPreferencesMac not bound -!missing-selector! UIBarButtonItem::initWithBarButtonSystemItem:primaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithPrimaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithTitle:image:target:action:menu: not bound -!missing-field! UIFontWidthCompressed not bound -!missing-field! UIFontWidthCondensed not bound -!missing-field! UIFontWidthExpanded not bound -!missing-field! UIFontWidthStandard not bound -!missing-selector! +UIFont::systemFontOfSize:weight:width: not bound diff --git a/tests/xtro-sharpie/common-UIKit.ignore b/tests/xtro-sharpie/common-UIKit.ignore index 4100a38ecd1f..1dd47c145560 100644 --- a/tests/xtro-sharpie/common-UIKit.ignore +++ b/tests/xtro-sharpie/common-UIKit.ignore @@ -242,3 +242,38 @@ ## manually bound !missing-field! UIListSeparatorAutomaticInsets not bound + +## added in xcode 14 and is between a #if XAMCORE_5_0 +!incorrect-protocol-member! UISearchSuggestion::localizedAttributedSuggestion is REQUIRED and should be abstract +!incorrect-protocol-member! UISearchSuggestion::representedObject is REQUIRED and should be abstract +!incorrect-protocol-member! UISearchSuggestion::setRepresentedObject: is REQUIRED and should be abstract + +# deprecated in xcode 14 beta 5 +!extra-enum-value! Managed value 8 for UIModalPresentationStyle.BlurOverFullScreen is available for the current platform while the value in the native header is not +!extra-enum-value! Managed value 2 for UIActivityIndicatorViewStyle.Gray is available for the current platform while the value in the native header is not + +# out trampolines generators does not support the following +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::canReorderItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::didReorderHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setCanReorderItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setDidReorderHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setWillReorderHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::willReorderHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldCollapseItemHandler: not bound + +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldExpandItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setSnapshotForExpandingParentItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillCollapseItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillExpandItemHandler: not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldCollapseItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldExpandItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::snapshotForExpandingParentItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willCollapseItemHandler not bound +!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willExpandItemHandler not bound + +# no bound due to issues with foundation https://github.com/xamarin/xamarin-macios/issues/15577 +!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound +!missing-selector! NSDiffableDataSourceTransaction::difference not bound + +!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound +!missing-selector! NSDiffableDataSourceTransaction::difference not bound diff --git a/tests/xtro-sharpie/iOS-UIKit.todo b/tests/xtro-sharpie/iOS-UIKit.todo deleted file mode 100644 index bfe47bd89f0c..000000000000 --- a/tests/xtro-sharpie/iOS-UIKit.todo +++ /dev/null @@ -1,361 +0,0 @@ -!missing-protocol-conformance! UIResponder should conform to UIActivityItemsConfigurationProviding (defined in 'UIActivityItemsConfiguration' category) -!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound -!missing-selector! NSDiffableDataSourceTransaction::difference not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::canReorderItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::didReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setCanReorderItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setDidReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setWillReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::willReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setSnapshotForExpandingParentItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldExpandItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::snapshotForExpandingParentItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willExpandItemHandler not bound -!extra-enum-value! Managed value 8 for UIModalPresentationStyle.BlurOverFullScreen is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! NSCollectionLayoutSection::setSupplementariesFollowContentInsets: missing a [Deprecated] attribute -!deprecated-attribute-missing! NSCollectionLayoutSection::supplementariesFollowContentInsets missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:contextMenuConfigurationForItemAtIndexPath:point: missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:previewForDismissingContextMenuWithConfiguration: missing a [Deprecated] attribute -!deprecated-attribute-missing! UICollectionViewDelegate::collectionView:previewForHighlightingContextMenuWithConfiguration: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIContextMenuInteractionDelegate::contextMenuInteraction:previewForDismissingMenuWithConfiguration: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIContextMenuInteractionDelegate::contextMenuInteraction:previewForHighlightingMenuWithConfiguration: missing a [Deprecated] attribute -!deprecated-attribute-missing! UIMenuController missing a [Deprecated] attribute -!deprecated-attribute-missing! UIMenuItem missing a [Deprecated] attribute -!deprecated-attribute-missing! UIPopoverPresentationController::barButtonItem missing a [Deprecated] attribute -!deprecated-attribute-missing! UIPopoverPresentationController::setBarButtonItem: missing a [Deprecated] attribute -!missing-field! UIActivityTypeCollaborationCopyLink not bound -!missing-field! UIActivityTypeCollaborationInviteWithLink not bound -!missing-field! UIMenuDocument not bound -!missing-field! UIScreenReferenceDisplayModeStatusDidChangeNotification not bound -!missing-field! UISheetPresentationControllerDetentInactive not bound -!missing-field! UIWindowSceneSessionRoleExternalDisplayNonInteractive not bound -!missing-protocol! UIPopoverPresentationControllerSourceItem not bound -!missing-protocol-conformance! UIAction should conform to UIMenuLeaf -!missing-protocol-conformance! UIBarButtonItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UICommand should conform to UIMenuLeaf -!missing-protocol-conformance! UILayoutGuide should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UITabBarItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UIView should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier: not found -!missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier: not found -!missing-protocol-member! UINavigationBarDelegate::navigationBarNSToolbarSection: not found -!missing-protocol-member! UIResponderStandardEditActions::duplicate: not found -!missing-protocol-member! UIResponderStandardEditActions::export: not found -!missing-protocol-member! UIResponderStandardEditActions::find: not found -!missing-protocol-member! UIResponderStandardEditActions::findAndReplace: not found -!missing-protocol-member! UIResponderStandardEditActions::findNext: not found -!missing-protocol-member! UIResponderStandardEditActions::findPrevious: not found -!missing-protocol-member! UIResponderStandardEditActions::move: not found -!missing-protocol-member! UIResponderStandardEditActions::rename: not found -!missing-protocol-member! UIResponderStandardEditActions::useSelectionForFind: not found -!missing-protocol-member! UISearchControllerDelegate::searchController:didChangeFromSearchBarPlacement: not found -!missing-protocol-member! UISearchControllerDelegate::searchController:willChangeToSearchBarPlacement: not found -!missing-protocol-member! UISearchResultsUpdating::updateSearchResultsForSearchController:selectingSearchSuggestion: not found -!missing-protocol-member! UISearchTextFieldDelegate::searchTextField:didSelectSuggestion: not found -!missing-protocol-member! UITableViewDelegate::tableView:canPerformPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITableViewDelegate::tableView:performPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITextFieldDelegate::textField:editMenuForCharactersInRange:suggestedActions: not found -!missing-protocol-member! UITextInput::editMenuForTextRange:suggestedActions: not found -!missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRange:suggestedActions: not found -!missing-selector! +NSCollectionLayoutGroup::horizontalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSCollectionLayoutGroup::verticalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +UIBarButtonItemGroup::fixedGroupWithRepresentativeItem:items: not bound -!missing-selector! +UIBarButtonItemGroup::movableGroupWithCustomizationIdentifier:representativeItem:items: not bound -!missing-selector! +UIBarButtonItemGroup::optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items: not bound -!missing-selector! +UIFocusDebugger::focusGroupsForEnvironment: not bound -!missing-selector! +UIFocusDebugger::preferredFocusEnvironmentsForEnvironment: not bound -!missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound -!missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound -!missing-selector! +UITextView::textViewUsingTextLayoutManager: not bound -!missing-selector! NSCollectionLayoutSection::setSupplementaryContentInsetsReference: not bound -!missing-selector! NSCollectionLayoutSection::supplementaryContentInsetsReference not bound -!missing-selector! NSMutableParagraphStyle::setTextLists: not bound -!missing-selector! NSMutableParagraphStyle::textLists not bound -!missing-selector! NSParagraphStyle::textLists not bound -!missing-selector! NSTextElement::childElements not bound -!missing-selector! NSTextElement::isRepresentedElement not bound -!missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound -!missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextList::listOptions not bound -!missing-selector! NSTextList::markerForItemNumber: not bound -!missing-selector! NSTextList::markerFormat not bound -!missing-selector! NSTextList::setStartingItemNumber: not bound -!missing-selector! NSTextList::startingItemNumber not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound -!missing-selector! UIAlertController::setSeverity: not bound -!missing-selector! UIAlertController::severity not bound -!missing-selector! UIBarButtonItem::creatingFixedGroup not bound -!missing-selector! UIBarButtonItem::creatingMovableGroupWithCustomizationIdentifier: not bound -!missing-selector! UIBarButtonItem::creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization: not bound -!missing-selector! UIBarButtonItem::isHidden not bound -!missing-selector! UIBarButtonItem::menuRepresentation not bound -!missing-selector! UIBarButtonItem::preferredMenuElementOrder not bound -!missing-selector! UIBarButtonItem::setHidden: not bound -!missing-selector! UIBarButtonItem::setMenuRepresentation: not bound -!missing-selector! UIBarButtonItem::setPreferredMenuElementOrder: not bound -!missing-selector! UIBarButtonItemGroup::isHidden not bound -!missing-selector! UIBarButtonItemGroup::menuRepresentation not bound -!missing-selector! UIBarButtonItemGroup::setHidden: not bound -!missing-selector! UIBarButtonItemGroup::setMenuRepresentation: not bound -!missing-selector! UIButton::preferredMenuElementOrder not bound -!missing-selector! UIButton::setPreferredMenuElementOrder: not bound -!missing-selector! UICalendarSelection::updateSelectableDates not bound -!missing-selector! UICalendarSelectionMultiDate::delegate not bound -!missing-selector! UICalendarSelectionMultiDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionMultiDate::selectedDates not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates: not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates:animated: not bound -!missing-selector! UICalendarSelectionSingleDate::delegate not bound -!missing-selector! UICalendarSelectionSingleDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionSingleDate::selectedDate not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate: not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate:animated: not bound -!missing-selector! UICalendarView::availableDateRange not bound -!missing-selector! UICalendarView::calendar not bound -!missing-selector! UICalendarView::delegate not bound -!missing-selector! UICalendarView::fontDesign not bound -!missing-selector! UICalendarView::locale not bound -!missing-selector! UICalendarView::reloadDecorationsForDateComponents:animated: not bound -!missing-selector! UICalendarView::selectionBehavior not bound -!missing-selector! UICalendarView::setAvailableDateRange: not bound -!missing-selector! UICalendarView::setCalendar: not bound -!missing-selector! UICalendarView::setDelegate: not bound -!missing-selector! UICalendarView::setFontDesign: not bound -!missing-selector! UICalendarView::setLocale: not bound -!missing-selector! UICalendarView::setSelectionBehavior: not bound -!missing-selector! UICalendarView::setTimeZone: not bound -!missing-selector! UICalendarView::setVisibleDateComponents: not bound -!missing-selector! UICalendarView::setVisibleDateComponents:animated: not bound -!missing-selector! UICalendarView::setWantsDateDecorations: not bound -!missing-selector! UICalendarView::timeZone not bound -!missing-selector! UICalendarView::visibleDateComponents not bound -!missing-selector! UICalendarView::wantsDateDecorations not bound -!missing-selector! UICalendarViewDecoration::init not bound -!missing-selector! UICalendarViewDecoration::initWithCustomViewProvider: not bound -!missing-selector! UICalendarViewDecoration::initWithImage:color:size: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithCoder: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithMenu: not bound -!missing-selector! UICellAccessoryPopUpMenu::menu not bound -!missing-selector! UICellAccessoryPopUpMenu::selectedElementDidChangeHandler not bound -!missing-selector! UICellAccessoryPopUpMenu::setSelectedElementDidChangeHandler: not bound -!missing-selector! UICollectionView::selfSizingInvalidation not bound -!missing-selector! UICollectionView::setSelfSizingInvalidation: not bound -!missing-selector! UICollectionViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UIContextMenuConfiguration::badgeCount not bound -!missing-selector! UIContextMenuConfiguration::preferredMenuElementOrder not bound -!missing-selector! UIContextMenuConfiguration::secondaryItemIdentifiers not bound -!missing-selector! UIContextMenuConfiguration::setBadgeCount: not bound -!missing-selector! UIContextMenuConfiguration::setPreferredMenuElementOrder: not bound -!missing-selector! UIContextMenuConfiguration::setSecondaryItemIdentifiers: not bound -!missing-selector! UIDocumentBrowserViewController::renameDocumentAtURL:proposedName:completionHandler: not bound -!missing-selector! UIDocumentProperties::activityViewControllerProvider not bound -!missing-selector! UIDocumentProperties::dragItemsProvider not bound -!missing-selector! UIDocumentProperties::initWithMetadata: not bound -!missing-selector! UIDocumentProperties::initWithURL: not bound -!missing-selector! UIDocumentProperties::metadata not bound -!missing-selector! UIDocumentProperties::setActivityViewControllerProvider: not bound -!missing-selector! UIDocumentProperties::setDragItemsProvider: not bound -!missing-selector! UIDocumentProperties::setMetadata: not bound -!missing-selector! UIDocumentProperties::setWantsIconRepresentation: not bound -!missing-selector! UIDocumentProperties::wantsIconRepresentation not bound -!missing-selector! UIEditMenuConfiguration::identifier not bound -!missing-selector! UIEditMenuConfiguration::preferredArrowDirection not bound -!missing-selector! UIEditMenuConfiguration::setPreferredArrowDirection: not bound -!missing-selector! UIEditMenuConfiguration::sourcePoint not bound -!missing-selector! UIEditMenuInteraction::delegate not bound -!missing-selector! UIEditMenuInteraction::dismissMenu not bound -!missing-selector! UIEditMenuInteraction::initWithDelegate: not bound -!missing-selector! UIEditMenuInteraction::locationInView: not bound -!missing-selector! UIEditMenuInteraction::presentEditMenuWithConfiguration: not bound -!missing-selector! UIEditMenuInteraction::reloadVisibleMenu not bound -!missing-selector! UIEditMenuInteraction::updateVisibleMenuPositionAnimated: not bound -!missing-selector! UIFindInteraction::activeFindSession not bound -!missing-selector! UIFindInteraction::delegate not bound -!missing-selector! UIFindInteraction::dismissFindNavigator not bound -!missing-selector! UIFindInteraction::findNext not bound -!missing-selector! UIFindInteraction::findPrevious not bound -!missing-selector! UIFindInteraction::initWithSessionDelegate: not bound -!missing-selector! UIFindInteraction::isFindNavigatorVisible not bound -!missing-selector! UIFindInteraction::optionsMenuProvider not bound -!missing-selector! UIFindInteraction::presentFindNavigatorShowingReplace: not bound -!missing-selector! UIFindInteraction::replacementText not bound -!missing-selector! UIFindInteraction::searchText not bound -!missing-selector! UIFindInteraction::setOptionsMenuProvider: not bound -!missing-selector! UIFindInteraction::setReplacementText: not bound -!missing-selector! UIFindInteraction::setSearchText: not bound -!missing-selector! UIFindInteraction::updateResultCount not bound -!missing-selector! UIFindSession::highlightedResultIndex not bound -!missing-selector! UIFindSession::highlightNextResultInDirection: not bound -!missing-selector! UIFindSession::invalidateFoundResults not bound -!missing-selector! UIFindSession::performSearchWithQuery:options: not bound -!missing-selector! UIFindSession::performSingleReplacementWithSearchQuery:replacementString:options: not bound -!missing-selector! UIFindSession::replaceAllInstancesOfSearchQuery:withReplacementString:options: not bound -!missing-selector! UIFindSession::resultCount not bound -!missing-selector! UIFindSession::searchResultDisplayStyle not bound -!missing-selector! UIFindSession::setSearchResultDisplayStyle: not bound -!missing-selector! UIListContentTextProperties::setShowsExpansionTextWhenTruncated: not bound -!missing-selector! UIListContentTextProperties::showsExpansionTextWhenTruncated not bound -!missing-selector! UIMenu::preferredElementSize not bound -!missing-selector! UIMenu::setPreferredElementSize: not bound -!missing-selector! UINavigationBar::behavioralStyle not bound -!missing-selector! UINavigationBar::currentNSToolbarSection not bound -!missing-selector! UINavigationBar::preferredBehavioralStyle not bound -!missing-selector! UINavigationBar::setPreferredBehavioralStyle: not bound -!missing-selector! UINavigationItem::additionalOverflowItems not bound -!missing-selector! UINavigationItem::backAction not bound -!missing-selector! UINavigationItem::centerItemGroups not bound -!missing-selector! UINavigationItem::customizationIdentifier not bound -!missing-selector! UINavigationItem::documentProperties not bound -!missing-selector! UINavigationItem::leadingItemGroups not bound -!missing-selector! UINavigationItem::preferredSearchBarPlacement not bound -!missing-selector! UINavigationItem::renameDelegate not bound -!missing-selector! UINavigationItem::searchBarPlacement not bound -!missing-selector! UINavigationItem::setAdditionalOverflowItems: not bound -!missing-selector! UINavigationItem::setBackAction: not bound -!missing-selector! UINavigationItem::setCenterItemGroups: not bound -!missing-selector! UINavigationItem::setCustomizationIdentifier: not bound -!missing-selector! UINavigationItem::setDocumentProperties: not bound -!missing-selector! UINavigationItem::setLeadingItemGroups: not bound -!missing-selector! UINavigationItem::setPreferredSearchBarPlacement: not bound -!missing-selector! UINavigationItem::setRenameDelegate: not bound -!missing-selector! UINavigationItem::setStyle: not bound -!missing-selector! UINavigationItem::setTitleMenuProvider: not bound -!missing-selector! UINavigationItem::setTrailingItemGroups: not bound -!missing-selector! UINavigationItem::style not bound -!missing-selector! UINavigationItem::titleMenuProvider not bound -!missing-selector! UINavigationItem::trailingItemGroups not bound -!missing-selector! UIPageControl::currentPageIndicatorImageForPage: not bound -!missing-selector! UIPageControl::direction not bound -!missing-selector! UIPageControl::preferredCurrentPageIndicatorImage not bound -!missing-selector! UIPageControl::setCurrentPageIndicatorImage:forPage: not bound -!missing-selector! UIPageControl::setDirection: not bound -!missing-selector! UIPageControl::setPreferredCurrentPageIndicatorImage: not bound -!missing-selector! UIPasteControl::configuration not bound -!missing-selector! UIPasteControl::initWithCoder: not bound -!missing-selector! UIPasteControl::initWithConfiguration: not bound -!missing-selector! UIPasteControl::initWithFrame: not bound -!missing-selector! UIPasteControl::setTarget: not bound -!missing-selector! UIPasteControl::target not bound -!missing-selector! UIPasteControlConfiguration::baseBackgroundColor not bound -!missing-selector! UIPasteControlConfiguration::baseForegroundColor not bound -!missing-selector! UIPasteControlConfiguration::cornerStyle not bound -!missing-selector! UIPasteControlConfiguration::displayMode not bound -!missing-selector! UIPasteControlConfiguration::setBaseBackgroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setBaseForegroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setCornerStyle: not bound -!missing-selector! UIPasteControlConfiguration::setDisplayMode: not bound -!missing-selector! UIPopoverPresentationController::setSourceItem: not bound -!missing-selector! UIPopoverPresentationController::sourceItem not bound -!missing-selector! UIPrintFormatter::requiresMainThread not bound -!missing-selector! UISceneSizeRestrictions::allowsFullScreen not bound -!missing-selector! UISceneSizeRestrictions::setAllowsFullScreen: not bound -!missing-selector! UISceneWindowingBehaviors::isClosable not bound -!missing-selector! UISceneWindowingBehaviors::isMiniaturizable not bound -!missing-selector! UISceneWindowingBehaviors::setClosable: not bound -!missing-selector! UISceneWindowingBehaviors::setMiniaturizable: not bound -!missing-selector! UIScreen::currentEDRHeadroom not bound -!missing-selector! UIScreen::potentialEDRHeadroom not bound -!missing-selector! UIScreen::referenceDisplayModeStatus not bound -!missing-selector! UISearchController::searchBarPlacement not bound -!missing-selector! UISearchController::searchSuggestions not bound -!missing-selector! UISearchController::setSearchSuggestions: not bound -!missing-selector! UISearchSuggestionItem::iconImage not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::localizedAttributedSuggestion not bound -!missing-selector! UISearchSuggestionItem::localizedDescription not bound -!missing-selector! UISearchSuggestionItem::localizedSuggestion not bound -!missing-selector! UISearchSuggestionItem::representedObject not bound -!missing-selector! UISearchSuggestionItem::setRepresentedObject: not bound -!missing-selector! UISearchTextField::searchSuggestions not bound -!missing-selector! UISearchTextField::setSearchSuggestions: not bound -!missing-selector! UISheetPresentationController::invalidateDetents not bound -!missing-selector! UISheetPresentationControllerDetent::identifier not bound -!missing-selector! UISheetPresentationControllerDetent::resolvedValueInContext: not bound -!missing-selector! UITableView::selfSizingInvalidation not bound -!missing-selector! UITableView::setSelfSizingInvalidation: not bound -!missing-selector! UITableViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UITableViewHeaderFooterView::defaultBackgroundConfiguration not bound -!missing-selector! UITextSearchingFindSession::initWithSearchableObject: not bound -!missing-selector! UITextSearchingFindSession::searchableObject not bound -!missing-selector! UITextSearchOptions::stringCompareOptions not bound -!missing-selector! UITextSearchOptions::wordMatchMethod not bound -!missing-selector! UITextView::findInteraction not bound -!missing-selector! UITextView::isFindInteractionEnabled not bound -!missing-selector! UITextView::setFindInteractionEnabled: not bound -!missing-selector! UITextView::textLayoutManager not bound -!missing-selector! UITraitCollection::toolbarItemPresentationSize not bound -!missing-selector! UIViewController::activePresentationController not bound -!missing-selector! UIViewController::interactionActivityTrackingBaseName not bound -!missing-selector! UIViewController::setInteractionActivityTrackingBaseName: not bound -!missing-selector! UIWindow::safeAreaAspectFitLayoutGuide not bound -!missing-selector! UIWindowScene::effectiveGeometry not bound -!missing-selector! UIWindowScene::isFullScreen not bound -!missing-selector! UIWindowScene::requestGeometryUpdateWithPreferences:errorHandler: not bound -!missing-selector! UIWindowScene::windowingBehaviors not bound -!missing-type! NSTextList not bound -!missing-type! NSTextListElement not bound -!missing-type! UICalendarSelection not bound -!missing-type! UICalendarSelectionMultiDate not bound -!missing-type! UICalendarSelectionSingleDate not bound -!missing-type! UICalendarView not bound -!missing-type! UICalendarViewDecoration not bound -!missing-type! UICellAccessoryPopUpMenu not bound -!missing-type! UIDocumentProperties not bound -!missing-type! UIEditMenuConfiguration not bound -!missing-type! UIEditMenuInteraction not bound -!missing-type! UIFindInteraction not bound -!missing-type! UIFindSession not bound -!missing-type! UIPasteControl not bound -!missing-type! UIPasteControlConfiguration not bound -!missing-type! UISceneWindowingBehaviors not bound -!missing-type! UISearchSuggestionItem not bound -!missing-type! UITextSearchingFindSession not bound -!missing-type! UITextSearchOptions not bound -!missing-type! UIWindowSceneGeometry not bound -!missing-type! UIWindowSceneGeometryPreferences not bound -!deprecated-attribute-missing! UIViewController::shouldAutorotate missing a [Deprecated] attribute -!deprecated-attribute-missing! UISearchController::automaticallyShowsScopeBar missing a [Deprecated] attribute -!deprecated-attribute-missing! UISearchController::setAutomaticallyShowsScopeBar: missing a [Deprecated] attribute -!missing-enum! UISearchControllerScopeBarActivation not bound -!missing-protocol-member! UITextFieldDelegate::textField:willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextFieldDelegate::textField:willPresentEditMenuWithAnimator: not found -!missing-protocol-member! UITextInput::willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextInput::willPresentEditMenuWithAnimator: not found -!missing-protocol-member! UITextViewDelegate::textView:willDismissEditMenuWithAnimator: not found -!missing-protocol-member! UITextViewDelegate::textView:willPresentEditMenuWithAnimator: not found -!missing-selector! UIBarButtonItem::initWithBarButtonSystemItem:primaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithPrimaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithTitle:image:target:action:menu: not bound -!missing-selector! UIBarButtonItemGroup::alwaysAvailable not bound -!missing-selector! UIBarButtonItemGroup::setAlwaysAvailable: not bound -!missing-selector! UINavigationItem::overflowPresentationSource not bound -!missing-selector! UINavigationItem::pinnedTrailingGroup not bound -!missing-selector! UINavigationItem::setPinnedTrailingGroup: not bound -!missing-selector! UISearchController::scopeBarActivation not bound -!missing-selector! UISearchController::setScopeBarActivation: not bound -!missing-field! UIFontWidthCompressed not bound -!missing-field! UIFontWidthCondensed not bound -!missing-field! UIFontWidthExpanded not bound -!missing-field! UIFontWidthStandard not bound -!missing-selector! +UIFont::systemFontOfSize:weight:width: not bound -!missing-selector! UIFindSession::allowsReplacementForCurrentlyHighlightedResult not bound -!missing-selector! UIFindSession::supportsReplacement not bound diff --git a/tests/xtro-sharpie/macOS-AppKit.todo b/tests/xtro-sharpie/macOS-AppKit.todo index 0d5ab3458e53..9f80a11adbe9 100644 --- a/tests/xtro-sharpie/macOS-AppKit.todo +++ b/tests/xtro-sharpie/macOS-AppKit.todo @@ -54,11 +54,6 @@ !missing-selector! NSPreviewRepresentingActivityItem::initWithItem:title:image:icon: not bound !missing-selector! NSPreviewRepresentingActivityItem::initWithItem:title:imageProvider:iconProvider: not bound !missing-selector! NSSharingServicePicker::standardShareMenuItem not bound -!missing-selector! NSTextElement::childElements not bound -!missing-selector! NSTextElement::isRepresentedElement not bound -!missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound -!missing-selector! NSTextList::isOrdered not bound !missing-selector! NSToolbar::centeredItemIdentifiers not bound !missing-selector! NSToolbar::setCenteredItemIdentifiers: not bound !missing-selector! NSToolbarItem::isVisible not bound diff --git a/tests/xtro-sharpie/tvOS-UIKit.todo b/tests/xtro-sharpie/tvOS-UIKit.todo deleted file mode 100644 index 349f715547d8..000000000000 --- a/tests/xtro-sharpie/tvOS-UIKit.todo +++ /dev/null @@ -1,143 +0,0 @@ -!deprecated-attribute-missing! UISearchController::searchControllerObservedScrollView missing a [Deprecated] attribute -!deprecated-attribute-missing! UISearchController::setSearchControllerObservedScrollView: missing a [Deprecated] attribute -!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound -!missing-selector! NSDiffableDataSourceTransaction::difference not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::canReorderItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::didReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setCanReorderItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setDidReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setWillReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::willReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setSnapshotForExpandingParentItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldExpandItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::snapshotForExpandingParentItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willExpandItemHandler not bound -!extra-enum-value! Managed value 2 for UIActivityIndicatorViewStyle.Gray is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! NSCollectionLayoutSection::setSupplementariesFollowContentInsets: missing a [Deprecated] attribute -!deprecated-attribute-missing! NSCollectionLayoutSection::supplementariesFollowContentInsets missing a [Deprecated] attribute -!missing-enum! UIFindSessionSearchResultDisplayStyle not bound -!missing-enum! UITextSearchMatchMethod not bound -!missing-field! UIMenuDocument not bound -!missing-field! UIScreenReferenceDisplayModeStatusDidChangeNotification not bound -!missing-field! UIWindowSceneSessionRoleExternalDisplayNonInteractive not bound -!missing-protocol-conformance! UIAction should conform to UIMenuLeaf -!missing-protocol-conformance! UICommand should conform to UIMenuLeaf -!missing-protocol-member! UIResponderStandardEditActions::duplicate: not found -!missing-protocol-member! UIResponderStandardEditActions::export: not found -!missing-protocol-member! UIResponderStandardEditActions::find: not found -!missing-protocol-member! UIResponderStandardEditActions::findAndReplace: not found -!missing-protocol-member! UIResponderStandardEditActions::findNext: not found -!missing-protocol-member! UIResponderStandardEditActions::findPrevious: not found -!missing-protocol-member! UIResponderStandardEditActions::move: not found -!missing-protocol-member! UIResponderStandardEditActions::rename: not found -!missing-protocol-member! UIResponderStandardEditActions::useSelectionForFind: not found -!missing-protocol-member! UISearchSuggestion::representedObject not found -!missing-protocol-member! UISearchSuggestion::setRepresentedObject: not found -!missing-protocol-member! UITableViewDelegate::tableView:canPerformPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITableViewDelegate::tableView:performPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITextFieldDelegate::textField:editMenuForCharactersInRange:suggestedActions: not found -!missing-protocol-member! UITextInput::editMenuForTextRange:suggestedActions: not found -!missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRange:suggestedActions: not found -!missing-selector! +NSCollectionLayoutGroup::horizontalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSCollectionLayoutGroup::verticalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +UIFocusDebugger::focusGroupsForEnvironment: not bound -!missing-selector! +UIFocusDebugger::preferredFocusEnvironmentsForEnvironment: not bound -!missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound -!missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound -!missing-selector! +UITextView::textViewUsingTextLayoutManager: not bound -!missing-selector! NSCollectionLayoutSection::setSupplementaryContentInsetsReference: not bound -!missing-selector! NSCollectionLayoutSection::supplementaryContentInsetsReference not bound -!missing-selector! NSMutableParagraphStyle::setTextLists: not bound -!missing-selector! NSMutableParagraphStyle::textLists not bound -!missing-selector! NSParagraphStyle::textLists not bound -!missing-selector! NSTextElement::childElements not bound -!missing-selector! NSTextElement::isRepresentedElement not bound -!missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound -!missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextList::listOptions not bound -!missing-selector! NSTextList::markerForItemNumber: not bound -!missing-selector! NSTextList::markerFormat not bound -!missing-selector! NSTextList::setStartingItemNumber: not bound -!missing-selector! NSTextList::startingItemNumber not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound -!missing-selector! UIAlertController::setSeverity: not bound -!missing-selector! UIAlertController::severity not bound -!missing-selector! UICollectionView::selfSizingInvalidation not bound -!missing-selector! UICollectionView::setSelfSizingInvalidation: not bound -!missing-selector! UICollectionViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UIListContentTextProperties::setShowsExpansionTextWhenTruncated: not bound -!missing-selector! UIListContentTextProperties::showsExpansionTextWhenTruncated not bound -!missing-selector! UIMenu::preferredElementSize not bound -!missing-selector! UIMenu::setPreferredElementSize: not bound -!missing-selector! UIPageControl::currentPageIndicatorImageForPage: not bound -!missing-selector! UIPageControl::direction not bound -!missing-selector! UIPageControl::preferredCurrentPageIndicatorImage not bound -!missing-selector! UIPageControl::setCurrentPageIndicatorImage:forPage: not bound -!missing-selector! UIPageControl::setDirection: not bound -!missing-selector! UIPageControl::setPreferredCurrentPageIndicatorImage: not bound -!missing-selector! UISceneSizeRestrictions::allowsFullScreen not bound -!missing-selector! UISceneSizeRestrictions::setAllowsFullScreen: not bound -!missing-selector! UISceneWindowingBehaviors::isClosable not bound -!missing-selector! UISceneWindowingBehaviors::isMiniaturizable not bound -!missing-selector! UISceneWindowingBehaviors::setClosable: not bound -!missing-selector! UISceneWindowingBehaviors::setMiniaturizable: not bound -!missing-selector! UIScreen::currentEDRHeadroom not bound -!missing-selector! UIScreen::potentialEDRHeadroom not bound -!missing-selector! UIScreen::referenceDisplayModeStatus not bound -!missing-selector! UISearchSuggestionItem::representedObject not bound -!missing-selector! UISearchSuggestionItem::setRepresentedObject: not bound -!missing-selector! UITableView::selfSizingInvalidation not bound -!missing-selector! UITableView::setSelfSizingInvalidation: not bound -!missing-selector! UITableViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UITableViewHeaderFooterView::defaultBackgroundConfiguration not bound -!missing-selector! UITextView::textLayoutManager not bound -!missing-selector! UITraitCollection::toolbarItemPresentationSize not bound -!missing-selector! UIViewController::activePresentationController not bound -!missing-selector! UIViewController::interactionActivityTrackingBaseName not bound -!missing-selector! UIViewController::setInteractionActivityTrackingBaseName: not bound -!missing-selector! UIWindow::safeAreaAspectFitLayoutGuide not bound -!missing-selector! UIWindowScene::effectiveGeometry not bound -!missing-selector! UIWindowScene::isFullScreen not bound -!missing-selector! UIWindowScene::requestGeometryUpdateWithPreferences:errorHandler: not bound -!missing-selector! UIWindowScene::windowingBehaviors not bound -!missing-type! NSTextList not bound -!missing-type! NSTextListElement not bound -!missing-type! UISceneWindowingBehaviors not bound -!missing-type! UIWindowSceneGeometry not bound -!missing-type! UIWindowSceneGeometryPreferences not bound -!missing-enum! UIButtonConfigurationIndicator not bound -!missing-selector! UIButtonConfiguration::indicator not bound -!missing-selector! UIButtonConfiguration::indicatorColorTransformer not bound -!missing-selector! UIButtonConfiguration::setIndicator: not bound -!missing-selector! UIButtonConfiguration::setIndicatorColorTransformer: not bound -!missing-protocol-member! UIContentView::supportsConfiguration: not found -!missing-selector! UIView::anchorPoint not bound -!missing-selector! UIView::setAnchorPoint: not bound -!missing-selector! UIViewController::setNeedsUpdateOfSupportedInterfaceOrientations not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::init not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::initWithSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::setSystemFrame: not bound -!missing-selector! UIWindowSceneGeometryPreferencesMac::systemFrame not bound -!missing-type! UIWindowSceneGeometryPreferencesMac not bound -!missing-selector! UIBarButtonItem::initWithBarButtonSystemItem:primaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithPrimaryAction:menu: not bound -!missing-selector! UIBarButtonItem::initWithTitle:image:target:action:menu: not bound -!missing-field! UIFontWidthCompressed not bound -!missing-field! UIFontWidthCondensed not bound -!missing-field! UIFontWidthExpanded not bound -!missing-field! UIFontWidthStandard not bound -!missing-selector! +UIFont::systemFontOfSize:weight:width: not bound diff --git a/tests/xtro-sharpie/watchOS-UIKit.todo b/tests/xtro-sharpie/watchOS-UIKit.todo deleted file mode 100644 index 1c4493f5b6a4..000000000000 --- a/tests/xtro-sharpie/watchOS-UIKit.todo +++ /dev/null @@ -1,10 +0,0 @@ -!missing-protocol! NSTextAttachmentContainer not bound -!missing-protocol! NSTextAttachmentLayout not bound -!missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound -!missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound -!missing-field! UIFontWidthCompressed not bound -!missing-field! UIFontWidthCondensed not bound -!missing-field! UIFontWidthExpanded not bound -!missing-field! UIFontWidthStandard not bound -!missing-selector! +UIFont::systemFontOfSize:weight:width: not bound From 071ae7321367afbd6bfbf0da98df6d7486a363f1 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Thu, 18 Aug 2022 08:34:00 -0400 Subject: [PATCH 03/12] Implement the missing selectors and changes for beta 5 --- src/UIKit/UIEnums.cs | 2 - src/uikit.cs | 69 +- src/xkit.cs | 9 + tests/introspection/iOS/iOSApiProtocolTest.cs | 6 + .../MacCatalyst-UIKit.todo | 751 ------------------ .../common-UIKit.ignore | 62 -- .../api-annotations-dotnet/tvOS-UIKit.ignore | 3 + tests/xtro-sharpie/common-UIKit.ignore | 3 - tests/xtro-sharpie/tvOS-UIKit.ignore | 6 +- 9 files changed, 71 insertions(+), 840 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index 123057c09150..81296e088853 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -2290,9 +2290,7 @@ public enum UISceneErrorCode : long { MultipleScenesNotSupported, RequestDenied, - [TV (16,0), iOS (16,0), MacCatalyst (16,0)] GeometryRequestUnsupported = 100, - [TV (16,0), iOS (16,0), MacCatalyst (16,0)] GeometryRequestDenied } diff --git a/src/uikit.cs b/src/uikit.cs index 3a11ec3e8b88..f9b756747908 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -2048,11 +2048,13 @@ interface IUIViewControllerPreviewingDelegate {} [BaseType (typeof (NSObject))] interface UIViewControllerPreviewingDelegate { [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [Abstract] [Export ("previewingContext:viewControllerForLocation:")] UIViewController GetViewControllerForPreview (IUIViewControllerPreviewing previewingContext, CGPoint location); [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [Abstract] [Export ("previewingContext:commitViewController:")] void CommitViewController (IUIViewControllerPreviewing previewingContext, UIViewController viewControllerToCommit); @@ -2174,6 +2176,7 @@ interface UIApplication { bool IdleTimerDisabled { [Bind ("isIdleTimerDisabled")] get; set; } [Deprecated (PlatformName.iOS, 10, 0, message: "Please use the overload instead.")] + [Deprecated (PlatformName.TvOS, 10, 0, message: "Please use the overload instead.")] [Export ("openURL:")] bool OpenUrl (NSUrl url); @@ -2201,6 +2204,7 @@ interface UIApplication { UIWindow KeyWindow { get; } [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'UIWindowScene.Windows' in the desired window scene object instead.")] + [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'UIWindowScene.Windows' in the desired window scene object instead.")] [Export ("windows")] [Transient] UIWindow [] Windows { get; } @@ -2917,7 +2921,7 @@ public enum UICalendarViewDecorationSize : long { Large = 2, } - [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Native] public enum UICollectionViewSelfSizingInvalidation : long { Disabled, @@ -3020,7 +3024,7 @@ public enum UIScreenReferenceDisplayModeStatus : long { Enabled, } - [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Native] public enum UITableViewSelfSizingInvalidation : long { Disabled, @@ -3060,7 +3064,7 @@ interface UIContextMenuConfiguration { [iOS (16, 0), MacCatalyst (16,0)] [Export ("secondaryItemIdentifiers", ArgumentSemantic.Copy)] - NSSet SecondaryItemIdentifiers { get; set; } + NSSet SecondaryItemIdentifiers { get; set; } [iOS (16, 0), MacCatalyst (16,0)] [Export ("badgeCount")] @@ -3246,6 +3250,7 @@ interface UIApplicationDelegate { void FailedToRegisterForRemoteNotifications (UIApplication application, NSError error); [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")] + [Deprecated (PlatformName.TvOS, 10, 0, message: "Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")] [Export ("application:didReceiveRemoteNotification:")] void ReceivedRemoteNotification (UIApplication application, NSDictionary userInfo); @@ -4191,14 +4196,17 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { void SupplementaryViewDisplayingEnded (UICollectionView collectionView, UICollectionReusableView view, NSString elementKind, NSIndexPath indexPath); [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] [Export ("collectionView:shouldShowMenuForItemAtIndexPath:")] bool ShouldShowMenu (UICollectionView collectionView, NSIndexPath indexPath); [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] [Export ("collectionView:canPerformAction:forItemAtIndexPath:withSender:")] bool CanPerformAction (UICollectionView collectionView, Selector action, NSIndexPath indexPath, NSObject sender); [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] [Export ("collectionView:performAction:forItemAtIndexPath:withSender:")] void PerformAction (UICollectionView collectionView, Selector action, NSIndexPath indexPath, NSObject sender); @@ -4207,6 +4215,7 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { UICollectionViewTransitionLayout TransitionLayout (UICollectionView collectionView, UICollectionViewLayout fromLayout, UICollectionViewLayout toLayout); [Deprecated (PlatformName.iOS, 15, 0, message: "Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")] + [Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'GetTargetIndexPathForMoveOfItemFromOriginalIndexPath' instead.")] [iOS (9,0)] [Export ("collectionView:targetIndexPathForMoveFromItemAtIndexPath:toProposedIndexPath:")] NSIndexPath GetTargetIndexPathForMove (UICollectionView collectionView, NSIndexPath originalIndexPath, NSIndexPath proposedIndexPath); @@ -4261,6 +4270,8 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { [Export ("collectionViewDidEndMultipleSelectionInteraction:")] void DidEndMultipleSelectionInteraction (UICollectionView collectionView); + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [NoWatch, NoTV, iOS (13,0)] [Export ("collectionView:contextMenuConfigurationForItemAtIndexPath:point:")] [return: NullAllowed] @@ -6206,7 +6217,7 @@ [Static] [Export ("fontNamesForFamilyName:")] [Internal] IntPtr _GetPreferredFontForTextStyle (NSString uiFontTextStyle, [NullAllowed] UITraitCollection traitCollection); - [Watch (9,0), iOS (16,0), TV (16,0), Watch (9,0), MacCatalyst (16,0)] + [Watch (9,0), iOS (16,0), TV (16,0), MacCatalyst (16,0)] [Static] [Export ("systemFontOfSize:weight:width:")] UIFont SystemFontOfSize (nfloat fontSize, double weight, double width); @@ -10232,7 +10243,8 @@ UIBarButtonItem RightBarButtonItem { [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("overflowPresentationSource", ArgumentSemantic.Strong)] - IUIPopoverPresentationControllerSourceItem OverflowPresentationSource { [return: NullAllowed] get; } + [NullAllowed] + IUIPopoverPresentationControllerSourceItem OverflowPresentationSource { get; } [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("trailingItemGroups", ArgumentSemantic.Copy)] @@ -12286,9 +12298,9 @@ partial interface UISearchController : UIViewControllerTransitioningDelegate, UI [Export ("automaticallyShowsCancelButton")] bool AutomaticallyShowsCancelButton { get; set; } - [Deprecated (PlatformName.iOS, 16, 0, message: "Use the 'ScopeBarActivation' property instead")] - [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use the 'ScopeBarActivation' property instead")] - [Deprecated (PlatformName.TvOS, 16, 0, message: "Use the 'ScopeBarActivation' property instead")] + [Deprecated (PlatformName.iOS, 16, 0, message: "Use the 'ScopeBarActivation' property instead.")] + [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use the 'ScopeBarActivation' property instead.")] + [Deprecated (PlatformName.TvOS, 16, 0, message: "Use the 'ScopeBarActivation' property instead.")] [iOS (13,0), TV (13,0)] [Export ("automaticallyShowsScopeBar")] bool AutomaticallyShowsScopeBar { get; set; } @@ -13764,6 +13776,7 @@ interface UITableViewSource { // Copy Paste support [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] [Export ("tableView:shouldShowMenuForRowAtIndexPath:")] bool ShouldShowMenu (UITableView tableView, NSIndexPath rowAtindexPath); @@ -13942,14 +13955,17 @@ interface UITableViewCell : NSCoding, UIGestureRecognizerDelegate { UIView ContentView { get; } [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'UIListContentConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'UIListContentConfiguration' instead.")] [Export ("imageView", ArgumentSemantic.Retain)] UIImageView ImageView { get; } [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'UIListContentConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'UIListContentConfiguration' instead.")] [Export ("textLabel", ArgumentSemantic.Retain)] UILabel TextLabel { get; } [Deprecated (PlatformName.iOS, 14, 0, message: "Use 'UIListContentConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'UIListContentConfiguration' instead.")] [Export ("detailTextLabel", ArgumentSemantic.Retain)] UILabel DetailTextLabel { get; } @@ -14202,14 +14218,17 @@ interface UITableViewDelegate { // Copy Paste support [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] [Export ("tableView:shouldShowMenuForRowAtIndexPath:")] bool ShouldShowMenu (UITableView tableView, NSIndexPath rowAtindexPath); [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] [Export ("tableView:canPerformAction:forRowAtIndexPath:withSender:")] bool CanPerformAction (UITableView tableView, Selector action, NSIndexPath indexPath, NSObject sender); [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GetContextMenuConfiguration' instead.")] [Export ("tableView:performAction:forRowAtIndexPath:withSender:")] void PerformAction (UITableView tableView, Selector action, NSIndexPath indexPath, NSObject sender); @@ -14379,10 +14398,12 @@ interface UITableViewHeaderFooterView : UIAppearance, NSCoding { bool AutomaticallyUpdatesContentConfiguration { get; set; } [Deprecated (PlatformName.iOS, 14, 0)] + [Deprecated (PlatformName.TvOS, 14, 0)] [Export ("textLabel", ArgumentSemantic.Retain)] UILabel TextLabel { get; } [Deprecated (PlatformName.iOS, 14, 0)] + [Deprecated (PlatformName.TvOS, 14, 0)] [Export ("detailTextLabel", ArgumentSemantic.Retain)] UILabel DetailTextLabel { get; } @@ -14653,10 +14674,6 @@ interface UITextFieldDelegate { [Export ("textField:editMenuForCharactersInRange:suggestedActions:")] [return: NullAllowed] UIMenu GetEditMenu (UITextField textField, NSRange range, UIMenuElement[] suggestedActions); - - [TV (16,0), iOS (16,0), MacCatalyst (16,0)] - [Export ("tableView:performPrimaryActionForRowAtIndexPath:")] - void PerformPrimaryAction (UITableView tableView, NSIndexPath indexPath); } [NoWatch] @@ -14836,11 +14853,13 @@ interface UITextViewDelegate { [iOS (7,0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use the 'ShouldInteractWithUrl' overload that takes 'UITextItemInteraction' instead.")] + [Deprecated (PlatformName.TvOS, 10, 0, message: "Use the 'ShouldInteractWithUrl' overload that takes 'UITextItemInteraction' instead.")] [Export ("textView:shouldInteractWithURL:inRange:"), DelegateName ("Func"), DefaultValue ("true")] bool ShouldInteractWithUrl (UITextView textView, NSUrl URL, NSRange characterRange); [iOS (7,0)] [Deprecated (PlatformName.iOS, 10, 0, message: "Use the 'ShouldInteractWithTextAttachment' overload that takes 'UITextItemInteraction' instead.")] + [Deprecated (PlatformName.TvOS, 10, 0, message: "Use the 'ShouldInteractWithTextAttachment' overload that takes 'UITextItemInteraction' instead.")] [Export ("textView:shouldInteractWithTextAttachment:inRange:"), DelegateName ("Func"), DefaultValue ("true")] bool ShouldInteractWithTextAttachment (UITextView textView, NSTextAttachment textAttachment, NSRange characterRange); @@ -14868,11 +14887,6 @@ interface UITextViewDelegate { [Export ("textView:willDismissEditMenuWithAnimator:")] void WillDismissEditMenu (UITextView textView, IUIEditMenuInteractionAnimating aniamtor); - [IgnoredInDelegate] - [iOS (16,0), MacCatalyst (16,0)] - [Export ("editMenuForTextRange:suggestedActions:")] - [return: NullAllowed] - UIMenu GetEditMenu (UITextRange textRange, UIMenuElement[] suggestedActions); } [NoTV, NoWatch] @@ -16032,6 +16046,7 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer // This is defined in a category in UIPopoverSupport.h: UIViewController (UIPopoverController) [Export ("modalInPopover")] [Deprecated (PlatformName.iOS, 13, 0, message: "Use 'ModalInPresentation' instead.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'ModalInPresentation' instead.")] bool ModalInPopover { [Bind ("isModalInPopover")] get; set; } // It seems apple added a setter now but seems it is a mistake on new property radar:27929872 @@ -16164,10 +16179,12 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer #endif [Deprecated (PlatformName.iOS, 9, 0)] + [Deprecated (PlatformName.TvOS, 9, 0)] [Export ("viewControllerForUnwindSegueAction:fromViewController:withSender:")] UIViewController GetViewControllerForUnwind (Selector segueAction, UIViewController fromViewController, NSObject sender); [Deprecated (PlatformName.iOS, 9, 0)] + [Deprecated (PlatformName.TvOS, 9, 0)] [Export ("segueForUnwindingToViewController:fromViewController:identifier:")] UIStoryboardSegue GetSegueForUnwinding (UIViewController toViewController, UIViewController fromViewController, string identifier); @@ -16378,16 +16395,19 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer void RemoveKeyCommand (UIKeyCommand command); [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [iOS (9,0)] [Export ("registerForPreviewingWithDelegate:sourceView:")] IUIViewControllerPreviewing RegisterForPreviewingWithDelegate (IUIViewControllerPreviewingDelegate previewingDelegate, UIView sourceView); [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [iOS (9,0)] [Export ("unregisterForPreviewingWithContext:")] void UnregisterForPreviewingWithContext (IUIViewControllerPreviewing previewing); [Deprecated (PlatformName.iOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] + [Deprecated (PlatformName.TvOS, 13, 0, message: "Replaced by 'UIContextMenuInteraction'.")] [iOS (9,0)] [Export ("previewActionItems")] IUIPreviewActionItem[] PreviewActionItems { get; } @@ -16518,7 +16538,8 @@ interface UIViewController : NSCoding, UIAppearanceContainer, UIContentContainer [TV (16, 0), NoWatch, iOS (16, 0), MacCatalyst (16,0)] [Export ("activePresentationController")] - UIPresentationController ActivePresentationController { [return: NullAllowed] get; } + [NullAllowed] + UIPresentationController ActivePresentationController { get; } [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("setNeedsUpdateOfSupportedInterfaceOrientations")] @@ -17606,6 +17627,7 @@ interface UIStoryboard { [NoWatch] [Deprecated (PlatformName.iOS, 9, 0)] + [Deprecated (PlatformName.TvOS, 9, 0)] [DisableDefaultCtor] // as it subclass UIStoryboardSegue we end up with the same error [BaseType (typeof (UIStoryboardSegue))] interface UIStoryboardPopoverSegue { @@ -17700,6 +17722,7 @@ interface UIPopoverBackgroundView : UIPopoverBackgroundViewMethods { [BaseType (typeof (NSObject), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] {typeof(UIPopoverControllerDelegate)})] [DisableDefaultCtor] // bug #1786 [Deprecated (PlatformName.iOS, 9, 0, message: "Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")] + [Deprecated (PlatformName.TvOS, 9, 0, message: "Use 'UIViewController' with style of 'UIModalPresentationStyle.Popover' or UIPopoverPresentationController' instead.")] interface UIPopoverController : UIAppearanceContainer { [Export ("initWithContentViewController:")][PostGet ("ContentViewController")] NativeHandle Constructor (UIViewController viewController); @@ -17760,6 +17783,7 @@ interface UIPopoverController : UIAppearanceContainer { [Model] [Protocol] [Deprecated (PlatformName.iOS, 9, 0)] + [Deprecated (PlatformName.TvOS, 9, 0)] interface UIPopoverControllerDelegate { [Export ("popoverControllerDidDismissPopover:"), EventArgs ("UIPopoverController")] void DidDismiss (UIPopoverController popoverController); @@ -19253,6 +19277,7 @@ interface UIFocusGuide { bool Enabled { [Bind ("isEnabled")] get; set; } [Deprecated (PlatformName.iOS, 10, 0, message: "Use 'PreferredFocusEnvironments' instead.")] + [Deprecated (PlatformName.TvOS, 10, 0, message: "Use 'PreferredFocusEnvironments' instead.")] [NullAllowed, Export ("preferredFocusedView", ArgumentSemantic.Weak)] UIView PreferredFocusedView { get; set; } @@ -23969,7 +23994,8 @@ interface UISearchSuggestionItem : UISearchSuggestion { [NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("localizedAttributedSuggestion")] - new NSAttributedString LocalizedAttributedSuggestion { [return: NullAllowed] get; } + [NullAllowed] + new NSAttributedString LocalizedAttributedSuggestion { get; } [TV (16, 0), iOS (16, 0), MacCatalyst (16,0)] [NullAllowed, Export ("representedObject", ArgumentSemantic.Strong)] @@ -24756,6 +24782,11 @@ interface UICalendarViewDecoration [BaseType (typeof (UIView))] interface UICalendarView { + + [DesignatedInitializer] + [Export ("initWithFrame:")] + NativeHandle Constructor (CGRect frame); + [Wrap ("WeakDelegate")] [NullAllowed] IUICalendarViewDelegate Delegate { get; set; } diff --git a/src/xkit.cs b/src/xkit.cs index a3a9f8c49310..e488be657e6a 100644 --- a/src/xkit.cs +++ b/src/xkit.cs @@ -4127,6 +4127,15 @@ interface NSTextList : NSCoding, NSCopying, NSSecureCoding { [BaseType (typeof (NSTextParagraph))] interface NSTextListElement { + + [Export ("initWithAttributedString:")] + [DesignatedInitializer] + NativeHandle Constructor ([NullAllowed] NSAttributedString attributedString); + + [Export ("initWithTextContentManager:")] + [DesignatedInitializer] + NativeHandle Constructor ([NullAllowed] NSTextContentManager textContentManager); + [Export ("initWithParentElement:textList:contents:markerAttributes:childElements:")] [DesignatedInitializer] NativeHandle Constructor ([NullAllowed] NSTextListElement parent, NSTextList textList, [NullAllowed] NSAttributedString contents, [NullAllowed] NSDictionary markerAttributes, [NullAllowed] NSTextListElement[] children); diff --git a/tests/introspection/iOS/iOSApiProtocolTest.cs b/tests/introspection/iOS/iOSApiProtocolTest.cs index ac2c98a033b9..deeeefa596fd 100644 --- a/tests/introspection/iOS/iOSApiProtocolTest.cs +++ b/tests/introspection/iOS/iOSApiProtocolTest.cs @@ -127,6 +127,12 @@ protected override bool Skip (Type type) return true; break; #endif + case "UILayoutGuideAspectFitting": + case "UISceneWindowingBehaviors": + // Symbol not available in simulator - but works on BigSur (others might too) + if (TestRuntime.IsSimulatorOrDesktop) + return true; + break; } return base.Skip (type); 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 36f052382ad6..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo +++ /dev/null @@ -1,751 +0,0 @@ -!extra-null-allowed! 'Foundation.NSIndexPath UIKit.UICollectionViewDataSource::GetIndexPath(UIKit.UICollectionView,System.String,System.IntPtr)' has a extraneous [NullAllowed] on return type -!extra-null-allowed! 'System.Boolean UIKit.NSLayoutManagerDelegate::ShouldSetLineFragmentRect(UIKit.NSLayoutManager,CoreGraphics.CGRect&,CoreGraphics.CGRect&,System.Runtime.InteropServices.NFloat&,UIKit.NSTextContainer,Foundation.NSRange)' has a extraneous [NullAllowed] on parameter #1 -!extra-null-allowed! 'System.Boolean UIKit.NSLayoutManagerDelegate::ShouldSetLineFragmentRect(UIKit.NSLayoutManager,CoreGraphics.CGRect&,CoreGraphics.CGRect&,System.Runtime.InteropServices.NFloat&,UIKit.NSTextContainer,Foundation.NSRange)' has a extraneous [NullAllowed] on parameter #2 -!extra-null-allowed! 'System.Boolean UIKit.NSLayoutManagerDelegate::ShouldSetLineFragmentRect(UIKit.NSLayoutManager,CoreGraphics.CGRect&,CoreGraphics.CGRect&,System.Runtime.InteropServices.NFloat&,UIKit.NSTextContainer,Foundation.NSRange)' has a extraneous [NullAllowed] on parameter #3 -!extra-null-allowed! 'System.Boolean UIKit.UIApplication::CanOpenUrl(Foundation.NSUrl)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.IntPtr Foundation.NSAttributedString::InitWithURL(Foundation.NSUrl,Foundation.NSDictionary,Foundation.NSDictionary&,Foundation.NSError&)' has a extraneous [NullAllowed] on parameter #1 -!extra-null-allowed! 'System.Void Foundation.NSAttributedString::.ctor(Foundation.NSData,Foundation.NSDictionary,Foundation.NSDictionary&,Foundation.NSError&)' has a extraneous [NullAllowed] on parameter #1 -!extra-null-allowed! 'System.Void UIKit.UIAccessibilityCustomAction::.ctor(Foundation.NSAttributedString,UIKit.UIAccessibilityCustomActionHandler)' has a extraneous [NullAllowed] on parameter #1 -!extra-null-allowed! 'System.Void UIKit.UIAccessibilityCustomAction::.ctor(System.String,UIKit.UIAccessibilityCustomActionHandler)' has a extraneous [NullAllowed] on parameter #1 -!extra-null-allowed! 'System.Void UIKit.UIAccessibilityCustomAction::set_Name(System.String)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UIAccessibilityCustomAction::set_Selector(ObjCRuntime.Selector)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UIBezierPath::set_CGPath(CoreGraphics.CGPath)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UICollectionReusableView::ApplyLayoutAttributes(UIKit.UICollectionViewLayoutAttributes)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UIContentContainer::WillTransitionToTraitCollection(UIKit.UITraitCollection,UIKit.IUIViewControllerTransitionCoordinator)' has a extraneous [NullAllowed] on parameter #1 -!extra-null-allowed! 'System.Void UIKit.UIDynamicAnimator::AddBehavior(UIKit.UIDynamicBehavior)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UIDynamicAnimator::RemoveBehavior(UIKit.UIDynamicBehavior)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UIMarkupTextPrintFormatter::.ctor(System.String)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UINavigationController::SetViewControllers(UIKit.UIViewController[],System.Boolean)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UINavigationController::set_ViewControllers(UIKit.UIViewController[])' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UIPopoverPresentationControllerDelegate::WillRepositionPopover(UIKit.UIPopoverPresentationController,CoreGraphics.CGRect&,UIKit.UIView&)' has a extraneous [NullAllowed] on parameter #1 -!extra-null-allowed! 'System.Void UIKit.UIPopoverPresentationControllerDelegate::WillRepositionPopover(UIKit.UIPopoverPresentationController,CoreGraphics.CGRect&,UIKit.UIView&)' has a extraneous [NullAllowed] on parameter #2 -!extra-null-allowed! 'System.Void UIKit.UISimpleTextPrintFormatter::.ctor(Foundation.NSAttributedString)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UISimpleTextPrintFormatter::.ctor(System.String)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UITabBar::BeginCustomizingItems(UIKit.UITabBarItem[])' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UITextDragPreviewRenderer::Adjust(CoreGraphics.CGRect&,CoreGraphics.CGRect&,CoreGraphics.CGRect&,CoreGraphics.CGPoint)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UITextDragPreviewRenderer::Adjust(CoreGraphics.CGRect&,CoreGraphics.CGRect&,CoreGraphics.CGRect&,CoreGraphics.CGPoint)' has a extraneous [NullAllowed] on parameter #1 -!extra-null-allowed! 'System.Void UIKit.UITextDragPreviewRenderer::Adjust(CoreGraphics.CGRect&,CoreGraphics.CGRect&,CoreGraphics.CGRect&,CoreGraphics.CGPoint)' has a extraneous [NullAllowed] on parameter #2 -!extra-null-allowed! 'System.Void UIKit.UITextField::set_WeakDefaultTextAttributes(Foundation.NSDictionary)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UITextInputAssistantItem::set_LeadingBarButtonGroups(UIKit.UIBarButtonItemGroup[])' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UITextInputAssistantItem::set_TrailingBarButtonGroups(UIKit.UIBarButtonItemGroup[])' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UITextView::set_TypingAttributes(Foundation.NSDictionary)' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'System.Void UIKit.UIView::set_MotionEffects(UIKit.UIMotionEffect[])' has a extraneous [NullAllowed] on parameter #0 -!extra-null-allowed! 'UIKit.IUITextDocumentProxy UIKit.UIInputViewController::get_TextDocumentProxy()' has a extraneous [NullAllowed] on return type -!extra-null-allowed! 'UIKit.UIView UIKit.UIScreen::SnapshotView(System.Boolean)' has a extraneous [NullAllowed] on return type -!missing-field! UIApplicationInvalidInterfaceOrientationException not bound -!missing-field! UIKeyInputF1 not bound -!missing-null-allowed! 'CoreAnimation.CADisplayLink UIKit.UIScreen::CreateDisplayLink(Foundation.NSObject,ObjCRuntime.Selector)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSArray Foundation.NSBundle::LoadNib(System.String,Foundation.NSObject,Foundation.NSDictionary)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSAttributedString UIKit.UIButton::GetAttributedTitle(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSAttributedString UIKit.UIButton::get_CurrentAttributedTitle()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSAttributedString UIKit.UIPickerViewDelegate::GetAttributedTitle(UIKit.UIPickerView,System.IntPtr,System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSData Foundation.NSAttributedString::GetDataFromRange(Foundation.NSRange,Foundation.NSDictionary,Foundation.NSError&)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSData UIKit.UIPasteboard::DataForPasteboardType(System.String)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSData[] UIKit.UIPasteboard::GetDataForPasteboardType(System.String,Foundation.NSIndexSet)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'Foundation.NSData[] UIKit.UIPasteboard::GetDataForPasteboardType(System.String,Foundation.NSIndexSet)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSData[] UIKit.UIPasteboard::GetValuesForPasteboardType(System.String,Foundation.NSIndexSet)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'Foundation.NSData[] UIKit.UIPasteboard::GetValuesForPasteboardType(System.String,Foundation.NSIndexSet)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSDictionary UIKit.UIBarItem::_GetTitleTextAttributes(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSDictionary UIKit.UICollectionViewLayoutInvalidationContext::get_InvalidatedDecorationIndexPaths()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSDictionary UIKit.UICollectionViewLayoutInvalidationContext::get_InvalidatedSupplementaryIndexPaths()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSDictionary UIKit.UIDocument::GetFileAttributesToWrite(Foundation.NSUrl,UIKit.UIDocumentSaveOperation,Foundation.NSError&)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSDictionary UIKit.UIMotionEffect::ComputeKeyPathsAndRelativeValues(UIKit.UIOffset)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSDictionary UIKit.UISearchBar::_GetScopeBarButtonTitleTextAttributes(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSDictionary UIKit.UISegmentedControl::_GetTitleTextAttributes(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSFileWrapper Foundation.NSAttributedString::GetFileWrapperFromRange(Foundation.NSRange,Foundation.NSDictionary,Foundation.NSError&)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSIndexPath UIKit.UICollectionViewFocusUpdateContext::get_NextFocusedIndexPath()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSIndexPath UIKit.UICollectionViewFocusUpdateContext::get_PreviouslyFocusedIndexPath()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSIndexPath UIKit.UITableViewDelegate::WillDeselectRow(UIKit.UITableView,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSIndexPath UIKit.UITableViewDelegate::WillSelectRow(UIKit.UITableView,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSIndexPath UIKit.UITableViewFocusUpdateContext::get_NextFocusedIndexPath()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSIndexPath UIKit.UITableViewFocusUpdateContext::get_PreviouslyFocusedIndexPath()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSIndexPath[] UIKit.UICollectionViewLayoutInvalidationContext::get_InvalidatedItemIndexPaths()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSIndexSet UIKit.UIPasteboard::ItemSetWithPasteboardTypes(System.String[])' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSNumber[] UIKit.UIImagePickerController::AvailableCaptureModesForCameraDevice(UIKit.UIImagePickerControllerCameraDevice)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSObject UIKit.UIActivityItemProvider::get_PlaceholderItem()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSObject UIKit.UIActivityItemSource::GetItemForActivity(UIKit.UIActivityViewController,Foundation.NSString)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSObject UIKit.UIDocument::ContentsForType(System.String,Foundation.NSError&)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSObject UIKit.UIFontDescriptor::GetObject(Foundation.NSString)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSObject UIKit.UIManagedDocument::AdditionalContent(Foundation.NSUrl,Foundation.NSError&)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSObject UIKit.UIPasteboard::GetValue(System.String)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSObject UIKit.UIResponder::GetTargetForAction(ObjCRuntime.Selector,Foundation.NSObject)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSObject[] UIKit.UICollisionBehavior::get_BoundaryIdentifiers()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSProgress UIKit.UIDocument::get_Progress()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSSet UIKit.UIEvent::TouchesForGestureRecognizer(UIKit.UIGestureRecognizer)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSSet UIKit.UIEvent::TouchesForView(UIKit.UIView)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSSet UIKit.UIEvent::TouchesForWindow(UIKit.UIWindow)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSSet UIKit.UIEvent::get_AllTouches()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSString UIKit.UIActivity::get_Type()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSString UIKit.UIActivityItemProvider::get_ActivityType()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSString UIKit.UICollectionReusableView::get_ReuseIdentifier()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSString UIKit.UIResponder::get_TextInputContextIdentifier()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSString UIKit.UITableViewCell::get_ReuseIdentifier()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSString UIKit.UITableViewHeaderFooterView::get_ReuseIdentifier()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'Foundation.NSUuid UIKit.UIDevice::get_IdentifierForVendor()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'ObjCRuntime.Class UIKit.UIStateRestoring::get_ObjectRestorationClass()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.Boolean UIKit.UIApplicationDelegate::FinishedLaunching(UIKit.UIApplication,Foundation.NSDictionary)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Boolean UIKit.UIApplicationDelegate::WillFinishLaunching(UIKit.UIApplication,Foundation.NSDictionary)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Boolean UIKit.UIManagedDocument::ConfigurePersistentStoreCoordinator(Foundation.NSUrl,System.String,System.String,Foundation.NSDictionary,Foundation.NSError)' is missing an [NullAllowed] on parameter #2 -!missing-null-allowed! 'System.Boolean UIKit.UIManagedDocument::ConfigurePersistentStoreCoordinator(Foundation.NSUrl,System.String,System.String,Foundation.NSDictionary,Foundation.NSError)' is missing an [NullAllowed] on parameter #3 -!missing-null-allowed! 'System.Boolean UIKit.UIManagedDocument::ConfigurePersistentStoreCoordinator(Foundation.NSUrl,System.String,System.String,Foundation.NSDictionary,Foundation.NSError)' is missing an [NullAllowed] on parameter #4 -!missing-null-allowed! 'System.Boolean UIKit.UIManagedDocument::WriteAdditionalContent(Foundation.NSObject,Foundation.NSUrl,Foundation.NSUrl,Foundation.NSError&)' is missing an [NullAllowed] on parameter #2 -!missing-null-allowed! 'System.Boolean UIKit.UIPrintInteractionController::PrintToPrinter(UIKit.UIPrinter,UIKit.UIPrintInteractionCompletionHandler)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Boolean UIKit.UIScrollView::TouchesShouldBegin(Foundation.NSSet,UIKit.UIEvent,UIKit.UIView)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Boolean UIKit.UISplitViewControllerDelegate::EventShowDetailViewController(UIKit.UISplitViewController,UIKit.UIViewController,Foundation.NSObject)' is missing an [NullAllowed] on parameter #2 -!missing-null-allowed! 'System.Boolean UIKit.UISplitViewControllerDelegate::EventShowViewController(UIKit.UISplitViewController,UIKit.UIViewController,Foundation.NSObject)' is missing an [NullAllowed] on parameter #2 -!missing-null-allowed! 'System.Boolean UIKit.UITraitCollection::Contains(UIKit.UITraitCollection)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Double UIKit.UIViewControllerAnimatedTransitioning::TransitionDuration(UIKit.IUIViewControllerContextTransitioning)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.String UIKit.UIActivity::get_Title()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIAlertAction::get_Title()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIButton::Title(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIButton::get_CurrentTitle()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UICollectionViewLayoutAttributes::get_RepresentedElementKind()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIDocument::get_FileType()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIDocument::get_SavingFileType()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIPickerViewAccessibilityDelegate::GetAccessibilityHint(UIKit.UIPickerView,System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIPickerViewAccessibilityDelegate::GetAccessibilityLabel(UIKit.UIPickerView,System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIPickerViewDelegate::GetTitle(UIKit.UIPickerView,System.IntPtr,System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIPrinter::get_DisplayLocation()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIPrinter::get_MakeAndModel()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UIScrollViewAccessibilityDelegate::GetAccessibilityScrollStatus(UIKit.UIScrollView)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UISegmentedControl::TitleAt(System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UITableViewDataSource::TitleForFooter(UIKit.UITableView,System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UITableViewDataSource::TitleForHeader(UIKit.UITableView,System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UITableViewDelegate::TitleForDeleteConfirmation(UIKit.UITableView,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UITextDocumentProxy::get_DocumentContextAfterInput()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UITextDocumentProxy::get_DocumentContextBeforeInput()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String UIKit.UITextInputMode::get_PrimaryLanguage()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String[] UIKit.UIControl::GetActions(Foundation.NSObject,UIKit.UIControlEvent)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String[] UIKit.UIDictationPhrase::get_AlternativeInterpretations()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String[] UIKit.UIImagePickerController::AvailableMediaTypes(UIKit.UIImagePickerControllerSourceType)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String[] UIKit.UITableViewDataSource::SectionIndexTitles(UIKit.UITableView)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String[] UIKit.UITextChecker::CompletionsForPartialWordRange(Foundation.NSRange,System.String,System.String)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.String[] UIKit.UITextChecker::GuessesForWordRange(Foundation.NSRange,System.String,System.String)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'System.Void Foundation.NSObject::set_AccessibilityAttributedUserInputLabels(Foundation.NSAttributedString[])' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void Foundation.NSObject::set_AccessibilityUserInputLabels(System.String[])' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIAccessibilityCustomAction::.ctor(System.String,Foundation.NSObject,ObjCRuntime.Selector)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UIAlertController::AddTextField(System.Action`1)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIApplicationDelegate::HandleWatchKitExtensionRequest(UIKit.UIApplication,Foundation.NSDictionary,System.Action`1)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UICollectionViewController::set_CollectionView(UIKit.UICollectionView)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIControl::EndTracking(UIKit.UITouch,UIKit.UIEvent)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIDocument::set_FileModificationDate(Foundation.NSDate)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIDocument::set_UndoManager(Foundation.NSUndoManager)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIDocument::set_UserActivity(Foundation.NSUserActivity)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIDocumentInteractionController::set_Url(Foundation.NSUrl)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIGestureRecognizer::.ctor(Foundation.NSObject,ObjCRuntime.Selector)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIGestureRecognizer::.ctor(Foundation.NSObject,ObjCRuntime.Selector)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UIImagePickerController::set_CameraOverlayView(UIKit.UIView)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UILabel::set_Font(UIKit.UIFont)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIManagedDocument::set_ModelConfiguration(System.String)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIManagedDocument::set_PersistentStoreOptions(Foundation.NSDictionary)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UINavigationBar::SetItems(UIKit.UINavigationItem[],System.Boolean)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UINavigationBar::set_Items(UIKit.UINavigationItem[])' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UINavigationItem::SetLeftBarButtonItems(UIKit.UIBarButtonItem[],System.Boolean)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UINavigationItem::SetRightBarButtonItems(UIKit.UIBarButtonItem[],System.Boolean)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPageViewController::SetViewControllers(UIKit.UIViewController[],UIKit.UIPageViewControllerNavigationDirection,System.Boolean,UIKit.UICompletionHandler)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPasteboard::set_Images(UIKit.UIImage[])' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPopoverPresentationController::set_PassthroughViews(UIKit.UIView[])' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPopoverPresentationController::set_SourceView(UIKit.UIView)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPrintInfo::set_PrinterID(System.String)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPrintInteractionController::set_PrintFormatter(UIKit.UIPrintFormatter)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPrintInteractionController::set_PrintInfo(UIKit.UIPrintInfo)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPrintInteractionController::set_PrintPageRenderer(UIKit.UIPrintPageRenderer)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPrintInteractionController::set_PrintingItem(Foundation.NSObject)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPrintInteractionController::set_PrintingItems(Foundation.NSObject[])' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIPrinter::ContactPrinter(UIKit.UIPrinterContactPrinterHandler)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIResponder::PressesBegan(Foundation.NSSet`1,UIKit.UIPressesEvent)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UIResponder::PressesCancelled(Foundation.NSSet`1,UIKit.UIPressesEvent)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UIResponder::PressesChanged(Foundation.NSSet`1,UIKit.UIPressesEvent)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UIResponder::PressesEnded(Foundation.NSSet`1,UIKit.UIPressesEvent)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UIScene::set_Title(System.String)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIScrollViewDelegate::ZoomingEnded(UIKit.UIScrollView,UIKit.UIView,System.Runtime.InteropServices.NFloat)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UIScrollViewDelegate::ZoomingStarted(UIKit.UIScrollView,UIKit.UIView)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UISearchBar::_SetScopeBarButtonTitle(Foundation.NSDictionary,UIKit.UIControlState)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UISearchTextField::set_TokenBackgroundColor(UIKit.UIColor)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UISegmentedControl::.ctor(Foundation.NSArray)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UISegmentedControl::InsertSegment(System.String,System.IntPtr,System.Boolean)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UISegmentedControl::InsertSegment(UIKit.UIImage,System.IntPtr,System.Boolean)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UISegmentedControl::SetImage(UIKit.UIImage,System.IntPtr)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UISegmentedControl::SetTitle(System.String,System.IntPtr)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UISegmentedControl::_SetTitleTextAttributes(Foundation.NSDictionary,UIKit.UIControlState)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UITabBarController::SetViewControllers(UIKit.UIViewController[],System.Boolean)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UITableViewController::set_TableView(UIKit.UITableView)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UITableViewDelegate::DidEndEditing(UIKit.UITableView,Foundation.NSIndexPath)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'System.Void UIKit.UITableViewHeaderFooterView::.ctor(Foundation.NSString)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UITextInputDelegate::SelectionDidChange(UIKit.IUITextInput)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UITextInputDelegate::SelectionWillChange(UIKit.IUITextInput)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UITextInputDelegate::TextDidChange(UIKit.IUITextInput)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UITextInputDelegate::TextWillChange(UIKit.IUITextInput)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UITextView::set_AttributedText(Foundation.NSAttributedString)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UITextView::set_WeakLinkTextAttributes(Foundation.NSDictionary)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIViewController::SetOverrideTraitCollection(UIKit.UITraitCollection,UIKit.UIViewController)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.Void UIKit.UIViewController::set_TabBarItem(UIKit.UITabBarItem)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.IntPtr UIKit.UIApplication::BeginBackgroundTask(System.String,System.Action)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'System.IntPtr UIKit.UIApplication::BeginBackgroundTask(System.String,System.Action)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'UIKit.IUIStateRestoring UIKit.UIStateRestoring::get_RestorationParent()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.IUIViewControllerAnimatedTransitioning UIKit.UINavigationControllerDelegate::GetAnimationControllerForOperation(UIKit.UINavigationController,UIKit.UINavigationControllerOperation,UIKit.UIViewController,UIKit.UIViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.IUIViewControllerAnimatedTransitioning UIKit.UITabBarControllerDelegate::GetAnimationControllerForTransition(UIKit.UITabBarController,UIKit.UIViewController,UIKit.UIViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.IUIViewControllerAnimatedTransitioning UIKit.UIViewControllerTransitioningDelegate::GetAnimationControllerForDismissedController(UIKit.UIViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.IUIViewControllerAnimatedTransitioning UIKit.UIViewControllerTransitioningDelegate::GetAnimationControllerForPresentedController(UIKit.UIViewController,UIKit.UIViewController,UIKit.UIViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.IUIViewControllerInteractiveTransitioning UIKit.UINavigationControllerDelegate::GetInteractionControllerForAnimationController(UIKit.UINavigationController,UIKit.IUIViewControllerAnimatedTransitioning)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.IUIViewControllerInteractiveTransitioning UIKit.UITabBarControllerDelegate::GetInteractionControllerForAnimationController(UIKit.UITabBarController,UIKit.IUIViewControllerAnimatedTransitioning)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.IUIViewControllerInteractiveTransitioning UIKit.UIViewControllerTransitioningDelegate::GetInteractionControllerForDismissal(UIKit.IUIViewControllerAnimatedTransitioning)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.IUIViewControllerInteractiveTransitioning UIKit.UIViewControllerTransitioningDelegate::GetInteractionControllerForPresentation(UIKit.IUIViewControllerAnimatedTransitioning)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.NSTextContainer UIKit.NSLayoutManager::get_ExtraLineFragmentTextContainer()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIAlertAction UIKit.UIAlertAction::Create(System.String,UIKit.UIAlertActionStyle,System.Action`1)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'UIKit.UIBezierPath UIKit.UICollisionBehavior::GetBoundary(Foundation.NSObject)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionView UIKit.UICollectionViewLayout::get_CollectionView()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UICollectionViewLayout::FinalLayoutAttributesForDisappearingDecorationElement(Foundation.NSString,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UICollectionViewLayout::FinalLayoutAttributesForDisappearingItem(Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UICollectionViewLayout::FinalLayoutAttributesForDisappearingSupplementaryElement(Foundation.NSString,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UICollectionViewLayout::InitialLayoutAttributesForAppearingDecorationElement(Foundation.NSString,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UICollectionViewLayout::InitialLayoutAttributesForAppearingItem(Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UICollectionViewLayout::InitialLayoutAttributesForAppearingSupplementaryElement(Foundation.NSString,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UICollectionViewLayout::LayoutAttributesForDecorationView(Foundation.NSString,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UICollectionViewLayout::LayoutAttributesForItem(Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UICollectionViewLayout::LayoutAttributesForSupplementaryView(Foundation.NSString,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UIDynamicAnimator::GetLayoutAttributesForCell(Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UIDynamicAnimator::GetLayoutAttributesForDecorationView(Foundation.NSString,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes UIKit.UIDynamicAnimator::GetLayoutAttributesForSupplementaryView(Foundation.NSString,Foundation.NSIndexPath)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UICollectionViewLayoutAttributes[] UIKit.UICollectionViewLayout::LayoutAttributesForElementsInRect(CoreGraphics.CGRect)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIColor UIKit.UIButton::TitleColor(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIColor UIKit.UIButton::TitleShadowColor(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIColor UIKit.UIButton::get_CurrentTitleShadowColor()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIDynamicAnimator UIKit.UIDynamicBehavior::get_DynamicAnimator()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIFontDescriptor UIKit.UIFontDescriptor::CreateWithTraits(UIKit.UIFontDescriptorSymbolicTraits)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIGestureRecognizer UIKit.UINavigationController::get_InteractivePopGestureRecognizer()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIGestureRecognizer[] UIKit.UITouch::get_GestureRecognizers()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIActivity::get_Image()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIActivityItemSource::GetThumbnailImageForActivity(UIKit.UIActivityViewController,Foundation.NSString,CoreGraphics.CGSize)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIBarButtonItem::GetBackButtonBackgroundImage(UIKit.UIControlState,UIKit.UIBarMetrics)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIBarButtonItem::GetBackgroundImage(UIKit.UIControlState,UIKit.UIBarButtonItemStyle,UIKit.UIBarMetrics)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIBarButtonItem::GetBackgroundImage(UIKit.UIControlState,UIKit.UIBarMetrics)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIButton::BackgroundImageForState(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIButton::ImageForState(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIButton::get_CurrentBackgroundImage()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIButton::get_CurrentImage()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UINavigationBar::GetBackgroundImage(UIKit.UIBarMetrics)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UINavigationBar::GetBackgroundImage(UIKit.UIBarPosition,UIKit.UIBarMetrics)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISearchBar::BackgroundImageForBarPosition(UIKit.UIBarPosition,UIKit.UIBarMetrics)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISearchBar::GetImageForSearchBarIcon(UIKit.UISearchBarIcon,UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISearchBar::GetScopeBarButtonBackgroundImage(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISearchBar::GetScopeBarButtonDividerImage(UIKit.UIControlState,UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISearchBar::GetSearchFieldBackgroundImage(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISegmentedControl::GetBackgroundImage(UIKit.UIControlState,UIKit.UIBarMetrics)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISegmentedControl::ImageAt(System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISlider::MaxTrackImage(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISlider::MinTrackImage(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISlider::ThumbImage(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISlider::get_CurrentMaxTrackImage()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISlider::get_CurrentMinTrackImage()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UISlider::get_CurrentThumbImage()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIStepper::BackgroundImage(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIStepper::GetDecrementImage(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIStepper::GetDividerImage(UIKit.UIControlState,UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIStepper::GetIncrementImage(UIKit.UIControlState)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIToolbar::GetBackgroundImage(UIKit.UIToolbarPosition,UIKit.UIBarMetrics)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImage UIKit.UIToolbar::GetShadowImage(UIKit.UIToolbarPosition)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIImageView UIKit.UIButton::get_ImageView()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIInputViewController UIKit.UIResponder::get_InputAccessoryViewController()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIInputViewController UIKit.UIResponder::get_InputViewController()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIInterfaceOrientationMask UIKit.UIApplication::SupportedInterfaceOrientationsForWindow(UIKit.UIWindow)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'UIKit.UIInterfaceOrientationMask UIKit.UIApplicationDelegate::GetSupportedInterfaceOrientations(UIKit.UIApplication,UIKit.UIWindow)' is missing an [NullAllowed] on parameter #1 -!missing-null-allowed! 'UIKit.UIKeyCommand[] UIKit.UIResponder::get_KeyCommands()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UILabel UIKit.UIButton::get_TitleLabel()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UINavigationItem UIKit.UINavigationBar::PopNavigationItem(System.Boolean)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UINavigationItem UIKit.UINavigationBar::get_BackItem()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UINavigationItem UIKit.UINavigationBar::get_TopItem()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIPasteboard UIKit.UIPasteboard::FromName(System.String,System.Boolean)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIPinchGestureRecognizer UIKit.UIScrollView::get_PinchGestureRecognizer()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIPresentationController UIKit.UIViewControllerTransitioningDelegate::GetPresentationControllerForPresentedViewController(UIKit.UIViewController,UIKit.UIViewController,UIKit.UIViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIPrintFormatter[] UIKit.UIPrintPageRenderer::PrintFormattersForPage(System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIPrintInfo UIKit.UIPrintInfo::FromDictionary(Foundation.NSDictionary)' is missing an [NullAllowed] on parameter #0 -!missing-null-allowed! 'UIKit.UIPrintPageRenderer UIKit.UIPrintFormatter::get_PrintPageRenderer()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIPrintPaper UIKit.UIPrintInteractionController::get_PrintPaper()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIPrinter UIKit.UIPrinterPickerController::get_SelectedPrinter()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIResponder UIKit.UIResponder::get_NextResponder()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIScreen UIKit.UIScreen::get_MirroredScreen()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIScreenMode UIKit.UIScreen::get_PreferredMode()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UITextField[] UIKit.UIAlertController::get_TextFields()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UITextInputMode UIKit.UIResponder::get_TextInputMode()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UITextPosition UIKit.UITextInputTokenizer::GetPosition(UIKit.UITextPosition,UIKit.UITextGranularity,UIKit.UITextDirection)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UITextRange UIKit.UITextInputTokenizer::GetRangeEnclosingPosition(UIKit.UITextPosition,UIKit.UITextGranularity,UIKit.UITextDirection)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UITraitCollection UIKit.UIViewController::GetOverrideTraitCollectionForChildViewController(UIKit.UIViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIDocumentInteractionControllerDelegate::ViewForPreview(UIKit.UIDocumentInteractionController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIDynamicAnimator::get_ReferenceView()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIGestureRecognizer::get_View()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIPickerView::ViewFor(System.IntPtr,System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIPresentationController::get_ContainerView()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIPresentationController::get_PresentedView()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIResponder::get_InputAccessoryView()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIResponder::get_InputView()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIScrollViewDelegate::ViewForZoomingInScrollView(UIKit.UIScrollView)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UITableViewDelegate::GetViewForFooter(UIKit.UITableView,System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UITableViewDelegate::GetViewForHeader(UIKit.UITableView,System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UITouch::get_View()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIView::HitTest(CoreGraphics.CGPoint,UIKit.UIEvent)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIView::SnapshotView(System.Boolean)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIView::ViewWithTag(System.IntPtr)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIView::get_Superview()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIView UIKit.UIViewControllerContextTransitioning::GetViewFor(Foundation.NSString)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIActivity::get_ViewController()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIAdaptivePresentationControllerDelegate::GetViewControllerForAdaptivePresentation(UIKit.UIPresentationController,UIKit.UIModalPresentationStyle)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIApplicationDelegate::GetViewController(UIKit.UIApplication,System.String[],Foundation.NSCoder)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UINavigationController::PopViewController(System.Boolean)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UINavigationController::get_TopViewController()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UINavigationController::get_VisibleViewController()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIPageViewControllerDataSource::GetNextViewController(UIKit.UIPageViewController,UIKit.UIViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIPageViewControllerDataSource::GetPreviousViewController(UIKit.UIPageViewController,UIKit.UIViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIPrintInteractionControllerDelegate::GetViewController(UIKit.UIPrintInteractionController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIPrinterPickerControllerDelegate::GetParentViewController(UIKit.UIPrinterPickerController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UISearchController::get_SearchResultsController()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UISplitViewControllerDelegate::GetPrimaryViewControllerForCollapsingSplitViewController(UIKit.UISplitViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UISplitViewControllerDelegate::GetPrimaryViewControllerForExpandingSplitViewController(UIKit.UISplitViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UISplitViewControllerDelegate::SeparateSecondaryViewController(UIKit.UISplitViewController,UIKit.UIViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UISplitViewController_UIViewController::SeparateSecondaryViewControllerForSplitViewController(UIKit.UIViewController,UIKit.UISplitViewController)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIStoryboard::InstantiateInitialViewController()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIStoryboard::InstantiateInitialViewController(UIKit.UIStoryboardViewControllerCreator)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController UIKit.UIViewControllerContextTransitioning::GetViewControllerForKey(Foundation.NSString)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController[] UIKit.UINavigationController::PopToRootViewController(System.Boolean)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController[] UIKit.UINavigationController::PopToViewController(UIKit.UIViewController,System.Boolean)' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIViewController[] UIKit.UIPageViewController::get_ViewControllers()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIWindow UIKit.UITouch::get_Window()' is missing an [NullAllowed] on return type -!missing-null-allowed! 'UIKit.UIWindow UIKit.UIView::get_Window()' is missing an [NullAllowed] on return type -!missing-pinvoke! UIFontWeightForImageSymbolWeight is not bound -!missing-pinvoke! UIImageSymbolWeightForFontWeight is not bound -!missing-protocol-conformance! UIDocumentInteractionController should conform to UIActionSheetDelegate -!missing-protocol-conformance! UIResponder should conform to UIActivityItemsConfigurationProviding (defined in 'UIActivityItemsConfiguration' category) -!missing-protocol-conformance! UIViewController should conform to UIStateRestoring (defined in 'UIStateRestoration' category) -!missing-protocol-member! NSCollectionLayoutVisibleItem::bounds not found -!missing-protocol-member! NSCollectionLayoutVisibleItem::center not found -!missing-protocol-member! NSCollectionLayoutVisibleItem::setCenter: not found -!missing-protocol-member! NSCollectionLayoutVisibleItem::setTransform: not found -!missing-protocol-member! NSCollectionLayoutVisibleItem::transform not found -!missing-requires-super! UIControl::contextMenuInteraction:willDisplayMenuForConfiguration:animator: is missing an [RequiresSuper] attribute -!missing-requires-super! UIControl::contextMenuInteraction:willEndForConfiguration:animator: is missing an [RequiresSuper] attribute -!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound -!missing-selector! NSDiffableDataSourceTransaction::difference not bound -!missing-selector! NSObject::accessibilityDragSourceDescriptors not bound -!missing-selector! NSObject::accessibilityDropPointDescriptors not bound -!missing-selector! NSObject::setAccessibilityDragSourceDescriptors: not bound -!missing-selector! NSObject::setAccessibilityDropPointDescriptors: not bound -!missing-selector! UIBarAppearance::copy not bound -!missing-selector! UIBarButtonItemAppearance::copy not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::canReorderItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::didReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setCanReorderItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setDidReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::setWillReorderHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::willReorderHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setShouldExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setSnapshotForExpandingParentItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillCollapseItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::setWillExpandItemHandler: not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::shouldExpandItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::snapshotForExpandingParentItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willCollapseItemHandler not bound -!missing-selector! UICollectionViewDiffableDataSourceSectionSnapshotHandlers::willExpandItemHandler not bound -!missing-selector! UIGestureRecognizer::initWithCoder: not bound -!missing-selector! UIKeyCommand::action not bound -!missing-selector! UIPrintPaper::printRect not bound -!missing-selector! UIRefreshControl::setTintColor: not bound -!missing-selector! UIRefreshControl::tintColor not bound -!missing-selector! UITabBarItemAppearance::copy not bound -!missing-selector! UIToolbar::setTintColor: not bound -!missing-selector! UIToolbar::tintColor not bound -!extra-enum-value! Managed value 8 for UIModalPresentationStyle.BlurOverFullScreen is available for the current platform while the value in the native header is not -!missing-enum! NSTextListOptions not bound -!missing-enum! UIAlertControllerSeverity not bound -!missing-enum! UICalendarViewDecorationSize not bound -!missing-enum! UICollectionViewSelfSizingInvalidation not bound -!missing-enum! UIContextMenuConfigurationElementOrder not bound -!missing-enum! UIEditMenuArrowDirection not bound -!missing-enum! UIFindSessionSearchResultDisplayStyle not bound -!missing-enum! UIMenuElementSize not bound -!missing-enum! UINavigationBarNSToolbarSection not bound -!missing-enum! UINavigationItemSearchBarPlacement not bound -!missing-enum! UINavigationItemStyle not bound -!missing-enum! UINSToolbarItemPresentationSize not bound -!missing-enum! UIPageControlDirection not bound -!missing-enum! UIPasteControlCornerStyle not bound -!missing-enum! UIPasteControlDisplayMode not bound -!missing-enum! UIScreenReferenceDisplayModeStatus not bound -!missing-enum! UITableViewSelfSizingInvalidation not bound -!missing-enum! UITextSearchFoundTextStyle not bound -!missing-enum! UITextSearchMatchMethod not bound -!missing-enum-value! UIDataDetectorType native value UIDataDetectorTypeMoney = 128 not bound -!missing-enum-value! UIDataDetectorType native value UIDataDetectorTypePhysicalValue = 256 not bound -!missing-enum-value! UIMenuElementAttributes native value UIMenuElementAttributesKeepsMenuPresented = 8 not bound -!missing-enum-value! UIPencilPreferredAction native value UIPencilPreferredActionShowInkAttributes = 4 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestDenied = 101 not bound -!missing-enum-value! UISceneErrorCode native value UISceneErrorCodeGeometryRequestUnsupported = 100 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeInteractiveWithAccessory = 4 not bound -!missing-enum-value! UIScrollViewKeyboardDismissMode native value UIScrollViewKeyboardDismissModeOnDragWithAccessory = 3 not bound -!missing-field! NSTextListMarkerBox not bound -!missing-field! NSTextListMarkerCheck not bound -!missing-field! NSTextListMarkerCircle not bound -!missing-field! NSTextListMarkerDecimal not bound -!missing-field! NSTextListMarkerDiamond not bound -!missing-field! NSTextListMarkerDisc not bound -!missing-field! NSTextListMarkerHyphen not bound -!missing-field! NSTextListMarkerLowercaseAlpha not bound -!missing-field! NSTextListMarkerLowercaseHexadecimal not bound -!missing-field! NSTextListMarkerLowercaseLatin not bound -!missing-field! NSTextListMarkerLowercaseRoman not bound -!missing-field! NSTextListMarkerOctal not bound -!missing-field! NSTextListMarkerSquare not bound -!missing-field! NSTextListMarkerUppercaseAlpha not bound -!missing-field! NSTextListMarkerUppercaseHexadecimal not bound -!missing-field! NSTextListMarkerUppercaseLatin not bound -!missing-field! NSTextListMarkerUppercaseRoman not bound -!missing-field! UIActivityTypeCollaborationCopyLink not bound -!missing-field! UIActivityTypeCollaborationInviteWithLink not bound -!missing-field! UIMenuDocument not bound -!missing-field! UIScreenReferenceDisplayModeStatusDidChangeNotification not bound -!missing-field! UISheetPresentationControllerDetentInactive not bound -!missing-field! UIWindowSceneSessionRoleExternalDisplayNonInteractive not bound -!missing-protocol! UICalendarSelectionMultiDateDelegate not bound -!missing-protocol! UICalendarSelectionSingleDateDelegate not bound -!missing-protocol! UICalendarViewDelegate not bound -!missing-protocol! UIEditMenuInteractionAnimating not bound -!missing-protocol! UIEditMenuInteractionDelegate not bound -!missing-protocol! UIFindInteractionDelegate not bound -!missing-protocol! UILayoutGuideAspectFitting not bound -!missing-protocol! UIMenuLeaf not bound -!missing-protocol! UINavigationItemRenameDelegate not bound -!missing-protocol! UIPopoverPresentationControllerSourceItem not bound -!missing-protocol! UISearchSuggestion not bound -!missing-protocol! UISheetPresentationControllerDetentResolutionContext not bound -!missing-protocol! UITextSearchAggregator not bound -!missing-protocol! UITextSearching not bound -!missing-protocol-conformance! NSToolbarItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UIAction should conform to UIMenuLeaf -!missing-protocol-conformance! UIBarButtonItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UICommand should conform to UIMenuLeaf -!missing-protocol-conformance! UILayoutGuide should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UITabBarItem should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-conformance! UIView should conform to UIPopoverPresentationControllerSourceItem (defined in 'UIPopoverPresentationControllerSourceItem' category) -!missing-protocol-member! UICollectionViewDelegate::collectionView:canPerformPrimaryActionForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:contextMenuConfigurationForItemsAtIndexPaths:point: not found -!missing-protocol-member! UICollectionViewDelegate::collectionView:performPrimaryActionForItemAtIndexPath: not found -!missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier: not found -!missing-protocol-member! UIContextMenuInteractionDelegate::contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier: not found -!missing-protocol-member! UINavigationBarDelegate::navigationBarNSToolbarSection: not found -!missing-protocol-member! UIResponderStandardEditActions::duplicate: not found -!missing-protocol-member! UIResponderStandardEditActions::export: not found -!missing-protocol-member! UIResponderStandardEditActions::find: not found -!missing-protocol-member! UIResponderStandardEditActions::findAndReplace: not found -!missing-protocol-member! UIResponderStandardEditActions::findNext: not found -!missing-protocol-member! UIResponderStandardEditActions::findPrevious: not found -!missing-protocol-member! UIResponderStandardEditActions::move: not found -!missing-protocol-member! UIResponderStandardEditActions::rename: not found -!missing-protocol-member! UIResponderStandardEditActions::useSelectionForFind: not found -!missing-protocol-member! UISearchControllerDelegate::searchController:didChangeFromSearchBarPlacement: not found -!missing-protocol-member! UISearchControllerDelegate::searchController:willChangeToSearchBarPlacement: not found -!missing-protocol-member! UISearchResultsUpdating::updateSearchResultsForSearchController:selectingSearchSuggestion: not found -!missing-protocol-member! UISearchTextFieldDelegate::searchTextField:didSelectSuggestion: not found -!missing-protocol-member! UITableViewDelegate::tableView:canPerformPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITableViewDelegate::tableView:performPrimaryActionForRowAtIndexPath: not found -!missing-protocol-member! UITextFieldDelegate::textField:editMenuForCharactersInRange:suggestedActions: not found -!missing-protocol-member! UITextInput::editMenuForTextRange:suggestedActions: not found -!missing-protocol-member! UITextViewDelegate::textView:editMenuForTextInRange:suggestedActions: not found -!missing-selector! +NSCollectionLayoutGroup::horizontalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSCollectionLayoutGroup::verticalGroupWithLayoutSize:repeatingSubitem:count: not bound -!missing-selector! +NSTextListElement::textListElementWithChildElements:textList:nestingLevel: not bound -!missing-selector! +NSTextListElement::textListElementWithContents:markerAttributes:textList:childElements: not bound -!missing-selector! +UIBarButtonItemGroup::fixedGroupWithRepresentativeItem:items: not bound -!missing-selector! +UIBarButtonItemGroup::movableGroupWithCustomizationIdentifier:representativeItem:items: not bound -!missing-selector! +UIBarButtonItemGroup::optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithColor:size: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithCustomViewProvider: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithImage: not bound -!missing-selector! +UICalendarViewDecoration::decorationWithImage:color:size: not bound -!missing-selector! +UIEditMenuConfiguration::configurationWithIdentifier:sourcePoint: not bound -!missing-selector! +UIFocusDebugger::focusGroupsForEnvironment: not bound -!missing-selector! +UIFocusDebugger::preferredFocusEnvironmentsForEnvironment: not bound -!missing-selector! +UIImage::imageNamed:inBundle:variableValue:withConfiguration: not bound -!missing-selector! +UIImage::systemImageNamed:variableValue:withConfiguration: not bound -!missing-selector! +UIImageSymbolConfiguration::configurationPreferringMonochrome not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedAttributedSuggestion: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedAttributedSuggestion:descriptionString: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedAttributedSuggestion:descriptionString:iconImage: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedSuggestion: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedSuggestion:descriptionString: not bound -!missing-selector! +UISearchSuggestionItem::suggestionWithLocalizedSuggestion:descriptionString:iconImage: not bound -!missing-selector! +UISheetPresentationControllerDetent::customDetentWithIdentifier:resolver: not bound -!missing-selector! +UITextView::textViewUsingTextLayoutManager: not bound -!missing-selector! +UITraitCollection::traitCollectionWithToolbarItemPresentationSize: not bound -!missing-selector! NSCollectionLayoutSection::setSupplementaryContentInsetsReference: not bound -!missing-selector! NSCollectionLayoutSection::supplementaryContentInsetsReference not bound -!missing-selector! NSMutableParagraphStyle::setTextLists: not bound -!missing-selector! NSMutableParagraphStyle::textLists not bound -!missing-selector! NSParagraphStyle::textLists not bound -!missing-selector! NSTextElement::childElements not bound -!missing-selector! NSTextElement::isRepresentedElement not bound -!missing-selector! NSTextElement::parentElement not bound -!missing-selector! NSTextList::initWithCoder: not bound -!missing-selector! NSTextList::initWithMarkerFormat:options: not bound -!missing-selector! NSTextList::initWithMarkerFormat:options:startingItemNumber: not bound -!missing-selector! NSTextList::isOrdered not bound -!missing-selector! NSTextList::listOptions not bound -!missing-selector! NSTextList::markerForItemNumber: not bound -!missing-selector! NSTextList::markerFormat not bound -!missing-selector! NSTextList::setStartingItemNumber: not bound -!missing-selector! NSTextList::startingItemNumber not bound -!missing-selector! NSTextListElement::attributedString not bound -!missing-selector! NSTextListElement::childElements not bound -!missing-selector! NSTextListElement::contents not bound -!missing-selector! NSTextListElement::initWithParentElement:textList:contents:markerAttributes:childElements: not bound -!missing-selector! NSTextListElement::markerAttributes not bound -!missing-selector! NSTextListElement::parentElement not bound -!missing-selector! NSTextListElement::textList not bound -!missing-selector! NSUIViewToolbarItem::initWithItemIdentifier:uiView: not bound -!missing-selector! NSUIViewToolbarItem::setUIView: not bound -!missing-selector! NSUIViewToolbarItem::uiView not bound -!missing-selector! UIAlertController::setSeverity: not bound -!missing-selector! UIAlertController::severity not bound -!missing-selector! UIBarButtonItem::creatingFixedGroup not bound -!missing-selector! UIBarButtonItem::creatingMovableGroupWithCustomizationIdentifier: not bound -!missing-selector! UIBarButtonItem::creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization: not bound -!missing-selector! UIBarButtonItem::isHidden not bound -!missing-selector! UIBarButtonItem::menuRepresentation not bound -!missing-selector! UIBarButtonItem::preferredMenuElementOrder not bound -!missing-selector! UIBarButtonItem::setHidden: not bound -!missing-selector! UIBarButtonItem::setMenuRepresentation: not bound -!missing-selector! UIBarButtonItem::setPreferredMenuElementOrder: not bound -!missing-selector! UIBarButtonItemGroup::isHidden not bound -!missing-selector! UIBarButtonItemGroup::menuRepresentation not bound -!missing-selector! UIBarButtonItemGroup::setHidden: not bound -!missing-selector! UIBarButtonItemGroup::setMenuRepresentation: not bound -!missing-selector! UIButton::preferredMenuElementOrder not bound -!missing-selector! UIButton::setPreferredMenuElementOrder: not bound -!missing-selector! UICalendarSelection::updateSelectableDates not bound -!missing-selector! UICalendarSelectionMultiDate::delegate not bound -!missing-selector! UICalendarSelectionMultiDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionMultiDate::selectedDates not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates: not bound -!missing-selector! UICalendarSelectionMultiDate::setSelectedDates:animated: not bound -!missing-selector! UICalendarSelectionSingleDate::delegate not bound -!missing-selector! UICalendarSelectionSingleDate::initWithDelegate: not bound -!missing-selector! UICalendarSelectionSingleDate::selectedDate not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate: not bound -!missing-selector! UICalendarSelectionSingleDate::setSelectedDate:animated: not bound -!missing-selector! UICalendarView::availableDateRange not bound -!missing-selector! UICalendarView::calendar not bound -!missing-selector! UICalendarView::delegate not bound -!missing-selector! UICalendarView::fontDesign not bound -!missing-selector! UICalendarView::locale not bound -!missing-selector! UICalendarView::reloadDecorationsForDateComponents:animated: not bound -!missing-selector! UICalendarView::selectionBehavior not bound -!missing-selector! UICalendarView::setAvailableDateRange: not bound -!missing-selector! UICalendarView::setCalendar: not bound -!missing-selector! UICalendarView::setDelegate: not bound -!missing-selector! UICalendarView::setFontDesign: not bound -!missing-selector! UICalendarView::setLocale: not bound -!missing-selector! UICalendarView::setSelectionBehavior: not bound -!missing-selector! UICalendarView::setTimeZone: not bound -!missing-selector! UICalendarView::setVisibleDateComponents: not bound -!missing-selector! UICalendarView::setVisibleDateComponents:animated: not bound -!missing-selector! UICalendarView::setWantsDateDecorations: not bound -!missing-selector! UICalendarView::timeZone not bound -!missing-selector! UICalendarView::visibleDateComponents not bound -!missing-selector! UICalendarView::wantsDateDecorations not bound -!missing-selector! UICalendarViewDecoration::init not bound -!missing-selector! UICalendarViewDecoration::initWithCustomViewProvider: not bound -!missing-selector! UICalendarViewDecoration::initWithImage:color:size: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithCoder: not bound -!missing-selector! UICellAccessoryPopUpMenu::initWithMenu: not bound -!missing-selector! UICellAccessoryPopUpMenu::menu not bound -!missing-selector! UICellAccessoryPopUpMenu::selectedElementDidChangeHandler not bound -!missing-selector! UICellAccessoryPopUpMenu::setSelectedElementDidChangeHandler: not bound -!missing-selector! UICollectionView::selfSizingInvalidation not bound -!missing-selector! UICollectionView::setSelfSizingInvalidation: not bound -!missing-selector! UICollectionViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UIContextMenuConfiguration::badgeCount not bound -!missing-selector! UIContextMenuConfiguration::preferredMenuElementOrder not bound -!missing-selector! UIContextMenuConfiguration::secondaryItemIdentifiers not bound -!missing-selector! UIContextMenuConfiguration::setBadgeCount: not bound -!missing-selector! UIContextMenuConfiguration::setPreferredMenuElementOrder: not bound -!missing-selector! UIContextMenuConfiguration::setSecondaryItemIdentifiers: not bound -!missing-selector! UIDocumentBrowserViewController::renameDocumentAtURL:proposedName:completionHandler: not bound -!missing-selector! UIDocumentProperties::activityViewControllerProvider not bound -!missing-selector! UIDocumentProperties::dragItemsProvider not bound -!missing-selector! UIDocumentProperties::initWithMetadata: not bound -!missing-selector! UIDocumentProperties::initWithURL: not bound -!missing-selector! UIDocumentProperties::metadata not bound -!missing-selector! UIDocumentProperties::setActivityViewControllerProvider: not bound -!missing-selector! UIDocumentProperties::setDragItemsProvider: not bound -!missing-selector! UIDocumentProperties::setMetadata: not bound -!missing-selector! UIDocumentProperties::setWantsIconRepresentation: not bound -!missing-selector! UIDocumentProperties::wantsIconRepresentation not bound -!missing-selector! UIEditMenuConfiguration::identifier not bound -!missing-selector! UIEditMenuConfiguration::preferredArrowDirection not bound -!missing-selector! UIEditMenuConfiguration::setPreferredArrowDirection: not bound -!missing-selector! UIEditMenuConfiguration::sourcePoint not bound -!missing-selector! UIEditMenuInteraction::delegate not bound -!missing-selector! UIEditMenuInteraction::dismissMenu not bound -!missing-selector! UIEditMenuInteraction::initWithDelegate: not bound -!missing-selector! UIEditMenuInteraction::locationInView: not bound -!missing-selector! UIEditMenuInteraction::presentEditMenuWithConfiguration: not bound -!missing-selector! UIEditMenuInteraction::reloadVisibleMenu not bound -!missing-selector! UIEditMenuInteraction::updateVisibleMenuPositionAnimated: not bound -!missing-selector! UIFindInteraction::activeFindSession not bound -!missing-selector! UIFindInteraction::delegate not bound -!missing-selector! UIFindInteraction::dismissFindNavigator not bound -!missing-selector! UIFindInteraction::findNext not bound -!missing-selector! UIFindInteraction::findPrevious not bound -!missing-selector! UIFindInteraction::initWithSessionDelegate: not bound -!missing-selector! UIFindInteraction::isFindNavigatorVisible not bound -!missing-selector! UIFindInteraction::optionsMenuProvider not bound -!missing-selector! UIFindInteraction::presentFindNavigatorShowingReplace: not bound -!missing-selector! UIFindInteraction::replacementText not bound -!missing-selector! UIFindInteraction::searchText not bound -!missing-selector! UIFindInteraction::setOptionsMenuProvider: not bound -!missing-selector! UIFindInteraction::setReplacementText: not bound -!missing-selector! UIFindInteraction::setSearchText: not bound -!missing-selector! UIFindInteraction::updateResultCount not bound -!missing-selector! UIFindSession::allowsReplacement not bound -!missing-selector! UIFindSession::highlightedResultIndex not bound -!missing-selector! UIFindSession::highlightNextResultInDirection: not bound -!missing-selector! UIFindSession::invalidateFoundResults not bound -!missing-selector! UIFindSession::performSearchWithQuery:options: not bound -!missing-selector! UIFindSession::performSingleReplacementWithSearchQuery:replacementString:options: not bound -!missing-selector! UIFindSession::replaceAllInstancesOfSearchQuery:withReplacementString:options: not bound -!missing-selector! UIFindSession::resultCount not bound -!missing-selector! UIFindSession::searchResultDisplayStyle not bound -!missing-selector! UIFindSession::setSearchResultDisplayStyle: not bound -!missing-selector! UIListContentTextProperties::setShowsExpansionTextWhenTruncated: not bound -!missing-selector! UIListContentTextProperties::showsExpansionTextWhenTruncated not bound -!missing-selector! UIMenu::preferredElementSize not bound -!missing-selector! UIMenu::setPreferredElementSize: not bound -!missing-selector! UINavigationBar::behavioralStyle not bound -!missing-selector! UINavigationBar::currentNSToolbarSection not bound -!missing-selector! UINavigationBar::preferredBehavioralStyle not bound -!missing-selector! UINavigationBar::setPreferredBehavioralStyle: not bound -!missing-selector! UINavigationItem::additionalOverflowItems not bound -!missing-selector! UINavigationItem::backAction not bound -!missing-selector! UINavigationItem::centerItemGroups not bound -!missing-selector! UINavigationItem::customizationIdentifier not bound -!missing-selector! UINavigationItem::documentProperties not bound -!missing-selector! UINavigationItem::leadingItemGroups not bound -!missing-selector! UINavigationItem::preferredSearchBarPlacement not bound -!missing-selector! UINavigationItem::renameDelegate not bound -!missing-selector! UINavigationItem::searchBarPlacement not bound -!missing-selector! UINavigationItem::setAdditionalOverflowItems: not bound -!missing-selector! UINavigationItem::setBackAction: not bound -!missing-selector! UINavigationItem::setCenterItemGroups: not bound -!missing-selector! UINavigationItem::setCustomizationIdentifier: not bound -!missing-selector! UINavigationItem::setDocumentProperties: not bound -!missing-selector! UINavigationItem::setLeadingItemGroups: not bound -!missing-selector! UINavigationItem::setPreferredSearchBarPlacement: not bound -!missing-selector! UINavigationItem::setRenameDelegate: not bound -!missing-selector! UINavigationItem::setStyle: not bound -!missing-selector! UINavigationItem::setTitleMenuProvider: not bound -!missing-selector! UINavigationItem::setTrailingItemGroups: not bound -!missing-selector! UINavigationItem::style not bound -!missing-selector! UINavigationItem::titleMenuProvider not bound -!missing-selector! UINavigationItem::trailingItemGroups not bound -!missing-selector! UIPageControl::currentPageIndicatorImageForPage: not bound -!missing-selector! UIPageControl::direction not bound -!missing-selector! UIPageControl::preferredCurrentPageIndicatorImage not bound -!missing-selector! UIPageControl::setCurrentPageIndicatorImage:forPage: not bound -!missing-selector! UIPageControl::setDirection: not bound -!missing-selector! UIPageControl::setPreferredCurrentPageIndicatorImage: not bound -!missing-selector! UIPasteControl::configuration not bound -!missing-selector! UIPasteControl::initWithCoder: not bound -!missing-selector! UIPasteControl::initWithConfiguration: not bound -!missing-selector! UIPasteControl::initWithFrame: not bound -!missing-selector! UIPasteControl::setTarget: not bound -!missing-selector! UIPasteControl::target not bound -!missing-selector! UIPasteControlConfiguration::baseBackgroundColor not bound -!missing-selector! UIPasteControlConfiguration::baseForegroundColor not bound -!missing-selector! UIPasteControlConfiguration::cornerStyle not bound -!missing-selector! UIPasteControlConfiguration::displayMode not bound -!missing-selector! UIPasteControlConfiguration::setBaseBackgroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setBaseForegroundColor: not bound -!missing-selector! UIPasteControlConfiguration::setCornerStyle: not bound -!missing-selector! UIPasteControlConfiguration::setDisplayMode: not bound -!missing-selector! UIPopoverPresentationController::setSourceItem: not bound -!missing-selector! UIPopoverPresentationController::sourceItem not bound -!missing-selector! UIPrintFormatter::requiresMainThread not bound -!missing-selector! UISceneSizeRestrictions::allowsFullScreen not bound -!missing-selector! UISceneSizeRestrictions::setAllowsFullScreen: not bound -!missing-selector! UISceneWindowingBehaviors::isClosable not bound -!missing-selector! UISceneWindowingBehaviors::isMiniaturizable not bound -!missing-selector! UISceneWindowingBehaviors::setClosable: not bound -!missing-selector! UISceneWindowingBehaviors::setMiniaturizable: not bound -!missing-selector! UIScreen::currentEDRHeadroom not bound -!missing-selector! UIScreen::potentialEDRHeadroom not bound -!missing-selector! UIScreen::referenceDisplayModeStatus not bound -!missing-selector! UISearchController::searchBarPlacement not bound -!missing-selector! UISearchController::searchSuggestions not bound -!missing-selector! UISearchController::setSearchSuggestions: not bound -!missing-selector! UISearchSuggestionItem::iconImage not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedAttributedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription: not bound -!missing-selector! UISearchSuggestionItem::initWithLocalizedSuggestion:localizedDescription:iconImage: not bound -!missing-selector! UISearchSuggestionItem::localizedAttributedSuggestion not bound -!missing-selector! UISearchSuggestionItem::localizedDescription not bound -!missing-selector! UISearchSuggestionItem::localizedSuggestion not bound -!missing-selector! UISearchSuggestionItem::representedObject not bound -!missing-selector! UISearchSuggestionItem::setRepresentedObject: not bound -!missing-selector! UISearchTextField::searchSuggestions not bound -!missing-selector! UISearchTextField::setSearchSuggestions: not bound -!missing-selector! UISheetPresentationController::invalidateDetents not bound -!missing-selector! UISheetPresentationControllerDetent::identifier not bound -!missing-selector! UISheetPresentationControllerDetent::resolvedValueInContext: not bound -!missing-selector! UITableView::selfSizingInvalidation not bound -!missing-selector! UITableView::setSelfSizingInvalidation: not bound -!missing-selector! UITableViewCell::defaultBackgroundConfiguration not bound -!missing-selector! UITableViewHeaderFooterView::defaultBackgroundConfiguration not bound -!missing-selector! UITextSearchingFindSession::initWithSearchableObject: not bound -!missing-selector! UITextSearchingFindSession::searchableObject not bound -!missing-selector! UITextSearchOptions::stringCompareOptions not bound -!missing-selector! UITextSearchOptions::wordMatchMethod not bound -!missing-selector! UITextView::findInteraction not bound -!missing-selector! UITextView::isFindInteractionEnabled not bound -!missing-selector! UITextView::setFindInteractionEnabled: not bound -!missing-selector! UITextView::textLayoutManager not bound -!missing-selector! UITraitCollection::toolbarItemPresentationSize not bound -!missing-selector! UIViewController::activePresentationController not bound -!missing-selector! UIViewController::interactionActivityTrackingBaseName not bound -!missing-selector! UIViewController::setInteractionActivityTrackingBaseName: not bound -!missing-selector! UIWindow::safeAreaAspectFitLayoutGuide not bound -!missing-selector! UIWindowScene::effectiveGeometry not bound -!missing-selector! UIWindowScene::isFullScreen not bound -!missing-selector! UIWindowScene::requestGeometryUpdateWithPreferences:errorHandler: not bound -!missing-selector! UIWindowScene::windowingBehaviors not bound -!missing-selector! UIWindowSceneGeometry::systemFrame not bound -!missing-selector! UIWindowSceneMacGeometryPreferences::initWithSystemFrame: not bound -!missing-selector! UIWindowSceneMacGeometryPreferences::setSystemFrame: not bound -!missing-selector! UIWindowSceneMacGeometryPreferences::systemFrame not bound -!missing-type! NSTextList not bound -!missing-type! NSTextListElement not bound -!missing-type! NSUIViewToolbarItem not bound -!missing-type! UICalendarSelection not bound -!missing-type! UICalendarSelectionMultiDate not bound -!missing-type! UICalendarSelectionSingleDate not bound -!missing-type! UICalendarView not bound -!missing-type! UICalendarViewDecoration not bound -!missing-type! UICellAccessoryPopUpMenu not bound -!missing-type! UIDocumentProperties not bound -!missing-type! UIEditMenuConfiguration not bound -!missing-type! UIEditMenuInteraction not bound -!missing-type! UIFindInteraction not bound -!missing-type! UIFindSession not bound -!missing-type! UIPasteControl not bound -!missing-type! UIPasteControlConfiguration not bound -!missing-type! UISceneWindowingBehaviors not bound -!missing-type! UISearchSuggestionItem not bound -!missing-type! UITextSearchingFindSession not bound -!missing-type! UITextSearchOptions not bound -!missing-type! UIWindowSceneGeometry not bound -!missing-type! UIWindowSceneGeometryPreferences not bound -!missing-type! UIWindowSceneMacGeometryPreferences not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/common-UIKit.ignore b/tests/xtro-sharpie/api-annotations-dotnet/common-UIKit.ignore index 12795b1e4704..18609354de67 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/common-UIKit.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/common-UIKit.ignore @@ -14,9 +14,6 @@ !missing-pinvoke! NSTextAlignmentFromCTTextAlignment is not bound !missing-pinvoke! NSTextAlignmentToCTTextAlignment is not bound -## this was (pre iOS10) a required member that was deprecated and made optional -!incorrect-protocol-member! UIFocusEnvironment::preferredFocusedView is OPTIONAL and should NOT be abstract - ## https://bugzilla.xamarin.com/show_bug.cgi?id=43788 !missing-selector! +UIView::layerClass not bound @@ -50,16 +47,6 @@ !missing-selector! UILabel::isUserInteractionEnabled not bound !missing-selector! UILabel::setUserInteractionEnabled: not bound -## it's technically optional but there's no point in adopting the protocol if you do not provide the implemenation -!incorrect-protocol-member! UIInputViewAudioFeedback::enableInputClicksWhenVisible is OPTIONAL and should NOT be abstract - -## fixed in .NET - API break -!incorrect-protocol-member! UIDynamicAnimatorDelegate::dynamicAnimatorDidPause: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UIDynamicAnimatorDelegate::dynamicAnimatorWillResume: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UILayoutSupport::bottomAnchor is REQUIRED and should be abstract -!incorrect-protocol-member! UILayoutSupport::heightAnchor is REQUIRED and should be abstract -!incorrect-protocol-member! UILayoutSupport::topAnchor is REQUIRED and should be abstract - ## the [Sealed] attributes removes the [Export] one so it seems missing (but it's not) !missing-selector! UIGestureRecognizer::ignorePress:forEvent: not bound @@ -75,32 +62,9 @@ !missing-pinvoke! CGPointFromString is not bound !missing-pinvoke! CGRectFromString is not bound !missing-pinvoke! CGSizeFromString is not bound -!missing-pinvoke! NSStringFromCGAffineTransform is not bound -!missing-pinvoke! NSStringFromCGPoint is not bound -!missing-pinvoke! NSStringFromCGRect is not bound -!missing-pinvoke! NSStringFromCGSize is not bound !missing-pinvoke! NSStringFromUIOffset is not bound !missing-pinvoke! UIOffsetFromString is not bound -## HACK: those members are not *required* in ObjC but we made them abstract to have them inlined in UITextField and UITextView -## Even more confusing it that respondToSelecttor return NO on them even if it works in _real_ life (compare unit and introspection tests) -!incorrect-protocol-member! UITextInputTraits::autocapitalizationType is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::autocorrectionType is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::enablesReturnKeyAutomatically is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::isSecureTextEntry is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::keyboardAppearance is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::keyboardType is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::returnKeyType is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::setAutocapitalizationType: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::setAutocorrectionType: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::setEnablesReturnKeyAutomatically: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::setKeyboardAppearance: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::setKeyboardType: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::setReturnKeyType: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::setSecureTextEntry: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::setSpellCheckingType: is OPTIONAL and should NOT be abstract -!incorrect-protocol-member! UITextInputTraits::spellCheckingType is OPTIONAL and should NOT be abstract - ## UIAccessibility ## We can't expose them as categories of NSObject so we have custom types instead !missing-selector! NSObject::accessibilityActivationPoint not bound @@ -151,25 +115,12 @@ !missing-selector! NSObject::setShouldGroupAccessibilityChildren: not bound !missing-selector! NSObject::shouldGroupAccessibilityChildren not bound -## @required members added to exixting interfaces (breaking change), fixed on .NET -!incorrect-protocol-member! UIFocusEnvironment::preferredFocusEnvironments is REQUIRED and should be abstract -!incorrect-protocol-member! UITextDocumentProxy::documentInputMode is REQUIRED and should be abstract -!incorrect-protocol-member! UITextDocumentProxy::documentIdentifier is REQUIRED and should be abstract -!incorrect-protocol-member! UITextDocumentProxy::selectedText is REQUIRED and should be abstract -!incorrect-protocol-member! UIViewControllerContextTransitioning::pauseInteractiveTransition is REQUIRED and should be abstract -!incorrect-protocol-member! UIViewControllerTransitionCoordinator::notifyWhenInteractionChangesUsingBlock: is REQUIRED and should be abstract -!incorrect-protocol-member! UIViewControllerTransitionCoordinatorContext::isInterruptible is REQUIRED and should be abstract - # Apple renamed it from UILineBreakMode and we kept the old name for API compatibility !missing-enum! NSLineBreakMode not bound # Apple renamed it from UITextAlignment and we kept the old name for API compatibility !missing-enum! NSTextAlignment not bound -## It got renamed from UITextWritingDirection to NSWritingDirection but it is a breaking change -## Fixed in .NET -!unknown-native-enum! UITextWritingDirection bound - ## macro is used in UIBarCommon.h: #define UIToolbarPosition UIBarPosition !unknown-native-enum! UIToolbarPosition bound @@ -205,14 +156,6 @@ !extra-ui-appearance-support! UIKit.UIStringAttributes UIKit.UISearchBar::GetScopeBarButtonTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] !extra-ui-appearance-support! UIKit.UIStringAttributes UIKit.UISegmentedControl::GetTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] !extra-ui-appearance-support! UIKit.UITextAttributes UIKit.UINavigationBar::GetTitleTextAttributes() should NOT be decorated with [Appearance] -!extra-ui-appearance-support! System.Void UIKit.UIBarItem::SetTitleTextAttributes(UIKit.UITextAttributes,UIKit.UIControlState) should NOT be decorated with [Appearance] -!extra-ui-appearance-support! System.Void UIKit.UISegmentedControl::SetTitleTextAttributes(UIKit.UITextAttributes,UIKit.UIControlState) should NOT be decorated with [Appearance] -!extra-ui-appearance-support! UIKit.UITextAttributes UIKit.UIBarItem::GetTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] -!extra-ui-appearance-support! UIKit.UITextAttributes UIKit.UISegmentedControl::GetTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] - -## manually bound (better, stronger signature) on `[setS|s]copeBarButtonTitleTextAttributes:forState:` which is decorated with `UI_APPEARANCE_SELECTOR` -!extra-ui-appearance-support! System.Void UIKit.UISearchBar::SetScopeBarButtonTitle(UIKit.UITextAttributes,UIKit.UIControlState) should NOT be decorated with [Appearance] -!extra-ui-appearance-support! UIKit.UITextAttributes UIKit.UISearchBar::GetScopeBarButtonTitleTextAttributes(UIKit.UIControlState) should NOT be decorated with [Appearance] ## [Wrap] over `[largeT|t]itleTextAttributes` which is decorated with `UI_APPEARANCE_SELECTOR` !extra-ui-appearance-support! UIKit.UIStringAttributes UIKit.UINavigationBar::get_LargeTitleTextAttributes() should NOT be decorated with [Appearance] @@ -249,8 +192,6 @@ !incorrect-protocol-member! UISearchSuggestion::setRepresentedObject: is REQUIRED and should be abstract # deprecated in xcode 14 beta 5 -!extra-enum-value! Managed value 8 for UIModalPresentationStyle.BlurOverFullScreen is available for the current platform while the value in the native header is not -!extra-enum-value! Managed value 2 for UIActivityIndicatorViewStyle.Gray is available for the current platform while the value in the native header is not # out trampolines generators does not support the following !missing-selector! UICollectionViewDiffableDataSourceReorderingHandlers::canReorderItemHandler not bound @@ -275,6 +216,3 @@ !missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound !missing-selector! NSDiffableDataSourceTransaction::difference not bound -!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound -!missing-selector! NSDiffableDataSourceTransaction::difference not bound - diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.ignore b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.ignore index 2f63570b8ba5..5f1fc6897d6c 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.ignore @@ -321,3 +321,6 @@ !missing-enum! UIListSeparatorVisibility not bound !missing-enum! UIPrintRenderingQuality not bound !missing-enum! UIBehavioralStyle not bound +!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceInsetGrouped = 2 not bound +!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceSidebar = 3 not bound +!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceSidebarPlain = 4 not bound diff --git a/tests/xtro-sharpie/common-UIKit.ignore b/tests/xtro-sharpie/common-UIKit.ignore index 1dd47c145560..1f3f75d4eb70 100644 --- a/tests/xtro-sharpie/common-UIKit.ignore +++ b/tests/xtro-sharpie/common-UIKit.ignore @@ -274,6 +274,3 @@ # no bound due to issues with foundation https://github.com/xamarin/xamarin-macios/issues/15577 !missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound !missing-selector! NSDiffableDataSourceTransaction::difference not bound - -!missing-selector! NSDiffableDataSourceSectionTransaction::difference not bound -!missing-selector! NSDiffableDataSourceTransaction::difference not bound diff --git a/tests/xtro-sharpie/tvOS-UIKit.ignore b/tests/xtro-sharpie/tvOS-UIKit.ignore index 8ab4f30a93d0..064357155b9f 100644 --- a/tests/xtro-sharpie/tvOS-UIKit.ignore +++ b/tests/xtro-sharpie/tvOS-UIKit.ignore @@ -330,11 +330,11 @@ !missing-null-allowed! 'UIKit.UIWindow UIKit.UIView::get_Window()' is missing an [NullAllowed] on return type ## not available on tvOS (iOS 14+ only) -!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceInsetGrouped = 2 not bound -!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceSidebar = 3 not bound -!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceSidebarPlain = 4 not bound ## Enums not needed on tvOS !missing-enum! UIListSeparatorVisibility not bound !missing-enum! UIPrintRenderingQuality not bound !missing-enum! UIBehavioralStyle not bound +!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceInsetGrouped = 2 not bound +!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceSidebar = 3 not bound +!missing-enum-value! UICollectionLayoutListAppearance native value UICollectionLayoutListAppearanceSidebarPlain = 4 not bound From a858fbe0bc969b7e3d0bf79fba2be81e753eafdb Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Thu, 18 Aug 2022 11:47:35 -0400 Subject: [PATCH 04/12] Apply suggestions from code review Co-authored-by: Rolf Bjarne Kvinge Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com> --- src/uikit.cs | 99 +++++++++++++++++++++++++--------------------------- src/xkit.cs | 6 ++-- 2 files changed, 50 insertions(+), 55 deletions(-) diff --git a/src/uikit.cs b/src/uikit.cs index f9b756747908..b58f33d32fb4 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -3113,12 +3113,12 @@ interface UIContextMenuInteractionDelegate { [iOS (16,0)] [Export ("contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:")] [return: NullAllowed] - UITargetedPreview GethighlightPreview (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier); + UITargetedPreview GetHighlightPreview (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier); [iOS (16,0)] [Export ("contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:")] [return: NullAllowed] - UITargetedPreview GetDismissalPreviewForItemWithIdentifier (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier); + UITargetedPreview GetDismissalPreview (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, INSCopying identifier); } [NoWatch, NoTV, iOS (13,0)] @@ -4308,11 +4308,11 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("collectionView:canPerformPrimaryActionForItemAtIndexPath:")] - bool CanPerformPrimaryActionForItemAtIndexPath (UICollectionView collectionView, NSIndexPath indexPath); + bool CanPerformPrimaryActionForItem (UICollectionView collectionView, NSIndexPath indexPath); [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("collectionView:performPrimaryActionForItemAtIndexPath:")] - void PerformPrimaryActionForItemAtIndexPath (UICollectionView collectionView, NSIndexPath indexPath); + void PerformPrimaryActionForItem (UICollectionView collectionView, NSIndexPath indexPath); [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:")] @@ -4322,12 +4322,12 @@ interface UICollectionViewDelegate : UIScrollViewDelegate { [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:")] [return: NullAllowed] - UITargetedPreview GetContextMenuConfigurationhighlightPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath); + UITargetedPreview GetContextMenuConfigurationHighlightPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath); [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:")] [return: NullAllowed] - UITargetedPreview GetContextMenuConfigurationDismissalPreview(UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath); + UITargetedPreview GetContextMenuConfigurationDismissalPreview (UICollectionView collectionView, UIContextMenuConfiguration configuration, NSIndexPath indexPath); } [Watch (8,0), TV (15,0), iOS (15,0), MacCatalyst (15,0)] @@ -7443,11 +7443,11 @@ interface UITextInput : UIKeyInput { [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("willPresentEditMenuWithAnimator:")] - void WillPresentEditMenuWithAnimator (IUIEditMenuInteractionAnimating animator); + void WillPresentEditMenu (IUIEditMenuInteractionAnimating animator); [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("willDismissEditMenuWithAnimator:")] - void WillDismissEditMenuWithAnimator (IUIEditMenuInteractionAnimating animator); + void WillDismissEditMenu (IUIEditMenuInteractionAnimating animator); [iOS (16,0)] [Export ("editMenuForTextRange:suggestedActions:")] @@ -8278,7 +8278,7 @@ [Static] [Export ("imageWithCGImage:")][Autorelease] [Static] [Export ("imageNamed:inBundle:variableValue:withConfiguration:")] [return: NullAllowed] - UIImage GetImageNamed (string name, [NullAllowed] NSBundle bundle, double value, [NullAllowed] UIImageConfiguration configuration); + UIImage FromBundle (string name, [NullAllowed] NSBundle bundle, double value, [NullAllowed] UIImageConfiguration configuration); } [Watch (6,0), TV (13,0), iOS (13,0)] @@ -10557,7 +10557,7 @@ interface UIPageControl : UIAppearance { [iOS (16,0), MacCatalyst (16,0)] [Export ("currentPageIndicatorImageForPage:")] [return: NullAllowed] - UIImage CurrentPageIndicatorImageForPage (nint page); + UIImage CurrentPageIndicatorImage (nint page); [iOS (16,0), MacCatalyst (16,0)] [Export ("setCurrentPageIndicatorImage:forPage:")] @@ -11674,7 +11674,7 @@ UIScreenMode CurrentMode { [Notification] NSString DidConnectNotification { get; } - [TV(16,0), iOS (16, 0), MacCatalyst (16,0)] + [TV (16,0), iOS (16, 0), MacCatalyst (16,0)] [Notification] [Field ("UIScreenReferenceDisplayModeStatusDidChangeNotification")] NSString ReferenceDisplayModeStatusDidChangeNotification { get; } @@ -14353,11 +14353,11 @@ interface UITableViewDelegate { [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("tableView:canPerformPrimaryActionForRowAtIndexPath:")] - bool CanPerformPrimaryActionForRowAtIndexPath (UITableView tableView, NSIndexPath indexPath); + bool CanPerformPrimaryActionForRow (UITableView tableView, NSIndexPath indexPath); [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("tableView:performPrimaryActionForRowAtIndexPath:")] - void PerformPrimaryAction (UITableView tableView, NSIndexPath indexPath); + void PerformPrimaryActionForRow (UITableView tableView, NSIndexPath indexPath); } [TV (15,0), Watch (8,0), iOS (15,0), MacCatalyst (15,0), NoWatch] @@ -14875,7 +14875,7 @@ interface UITextViewDelegate { [TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("textView:editMenuForTextInRange:suggestedActions:")] [return: NullAllowed] - UIMenu GetEditMenuForTextInRange (UITextView textView, NSRange range, UIMenuElement[] suggestedActions); + UIMenu GetEditMenuForText (UITextView textView, NSRange range, UIMenuElement[] suggestedActions); [IgnoredInDelegate] [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] @@ -22296,7 +22296,7 @@ interface UIWindowScene { [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("requestGeometryUpdateWithPreferences:errorHandler:")] - void RequestGeometryUpdateWithPreferences (UIWindowSceneGeometryPreferences geometryPreferences, [NullAllowed] Action errorHandler); + void RequestGeometryUpdate (UIWindowSceneGeometryPreferences geometryPreferences, [NullAllowed] Action errorHandler); [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("effectiveGeometry")] @@ -23973,24 +23973,24 @@ interface UISearchSuggestionItem : UISearchSuggestion { [NoTV, iOS (16,0), MacCatalyst (16,0)] [Static] [Export ("suggestionWithLocalizedAttributedSuggestion:descriptionString:")] - UISearchSuggestionItem Create (NSAttributedString suggestion, [NullAllowed] string description); + UISearchSuggestionItem Create (NSAttributedString localizedSuggestion, [NullAllowed] string description); [NoTV, iOS (16,0), MacCatalyst (16,0)] [Static] [Export ("suggestionWithLocalizedAttributedSuggestion:descriptionString:iconImage:")] - UISearchSuggestionItem Create (NSAttributedString suggestion, [NullAllowed] string description, [NullAllowed] UIImage iconImage); + UISearchSuggestionItem Create (NSAttributedString localizedSuggestion, [NullAllowed] string description, [NullAllowed] UIImage iconImage); [NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("initWithLocalizedAttributedSuggestion:")] - NativeHandle Constructor (NSAttributedString suggestion); + NativeHandle Constructor (NSAttributedString localizedSuggestion); [NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("initWithLocalizedAttributedSuggestion:localizedDescription:")] - NativeHandle Constructor (NSAttributedString suggestion, [NullAllowed] string description); + NativeHandle Constructor (NSAttributedString localizedSuggestion, [NullAllowed] string description); [NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("initWithLocalizedAttributedSuggestion:localizedDescription:iconImage:")] - NativeHandle Constructor (NSAttributedString suggestion, [NullAllowed] string description, [NullAllowed] UIImage iconImage); + NativeHandle Constructor (NSAttributedString localizedSuggestion, [NullAllowed] string description, [NullAllowed] UIImage iconImage); [NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("localizedAttributedSuggestion")] @@ -24187,8 +24187,7 @@ interface UIActivityItemsConfigurationProviding { [Abstract] [Export ("activityItemsConfiguration", ArgumentSemantic.Strong)] - [NullAllowed -] + [NullAllowed] IUIActivityItemsConfigurationReading ActivityItemsConfiguration { get; } } @@ -24399,7 +24398,7 @@ interface UISheetPresentationControllerDetent { [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Field ("UISheetPresentationControllerDetentInactive")] - nfloat ControllerDetentInactive { get; } + nfloat DetentInactive { get; } [Static] [Export ("mediumDetent")] @@ -24409,10 +24408,6 @@ interface UISheetPresentationControllerDetent { [Export ("largeDetent")] UISheetPresentationControllerDetent CreateLargeDetent (); - [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] - [Static] - [Export ("customDetentWithIdentifier:resolver:")] - UISheetPresentationControllerDetent GetCustomDetent ([NullAllowed] string identifier, Func resolver); [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("identifier", ArgumentSemantic.Strong)] @@ -24425,7 +24420,7 @@ interface UISheetPresentationControllerDetent { [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("resolvedValueInContext:")] - nfloat ResolvedValue (IUISheetPresentationControllerDetentResolutionContext context); + nfloat GetResolvedValue (IUISheetPresentationControllerDetentResolutionContext context); } [NoWatch, NoTV, iOS (15,0), MacCatalyst (15,0)] @@ -24748,7 +24743,7 @@ interface UICalendarViewDelegate [Abstract] [Export ("calendarView:decorationForDateComponents:")] [return: NullAllowed] - UICalendarViewDecoration GetDecorationForDateComponents (UICalendarView calendarView, NSDateComponents dateComponents); + UICalendarViewDecoration GetDecoration (UICalendarView calendarView, NSDateComponents dateComponents); } [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] @@ -24763,19 +24758,19 @@ interface UICalendarViewDecoration [Static] [Export ("decorationWithColor:size:")] - UICalendarViewDecoration DecorationWithColor ([NullAllowed] UIColor color, UICalendarViewDecorationSize size); + UICalendarViewDecoration Create ([NullAllowed] UIColor color, UICalendarViewDecorationSize size); [Static] [Export ("decorationWithImage:")] - UICalendarViewDecoration DecorationWithImage ([NullAllowed] UIImage image); + UICalendarViewDecoration Create ([NullAllowed] UIImage image); [Static] [Export ("decorationWithImage:color:size:")] - UICalendarViewDecoration DecorationWithImage ([NullAllowed] UIImage image, [NullAllowed] UIColor color, UICalendarViewDecorationSize size); + UICalendarViewDecoration Create ([NullAllowed] UIImage image, [NullAllowed] UIColor color, UICalendarViewDecorationSize size); [Static] [Export ("decorationWithCustomViewProvider:")] - UICalendarViewDecoration DecorationWithCustomViewProvider (Func customViewProvider); + UICalendarViewDecoration Create (Func customViewProvider); } [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] @@ -24822,7 +24817,7 @@ interface UICalendarView bool WantsDateDecorations { get; set; } [Export ("reloadDecorationsForDateComponents:animated:")] - void ReloadDecorationsForDateComponents (NSDateComponents[] dates, bool animated); + void ReloadDecorations (NSDateComponents[] dates, bool animated); } @@ -24854,16 +24849,16 @@ interface UIEditMenuInteractionDelegate { [Export ("editMenuInteraction:menuForConfiguration:suggestedActions:")] [return: NullAllowed] - UIMenu MenuForConfiguration (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, UIMenuElement[] suggestedActions); + UIMenu GetMenu (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, UIMenuElement[] suggestedActions); [Export ("editMenuInteraction:targetRectForConfiguration:")] - CGRect GetTargetRectForConfiguration (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration); + CGRect GetTargetRect (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration); [Export ("editMenuInteraction:willPresentMenuForConfiguration:animator:")] - void WillPresentMenuForConfiguration (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator); + void WillPresentMenu (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator); [Export ("editMenuInteraction:willDismissMenuForConfiguration:animator:")] - void WillDismissMenuForConfiguration (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator); + void WillDismissMenu (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator); } [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] @@ -24933,7 +24928,7 @@ interface UINavigationItemRenameDelegate { [Abstract] [Export ("navigationItem:didEndRenamingWithTitle:")] - void DidEndRenamingWithTitle (UINavigationItem navigationItem, string title); + void DidEndRenaming (UINavigationItem navigationItem, string title); [Export ("navigationItemShouldBeginRenaming:")] bool ShouldBeginRenaming (UINavigationItem navigationItem); @@ -24976,7 +24971,7 @@ interface UITextSearchAggregator [Abstract] [Export ("invalidateFoundRange:inDocument:")] - void InvalidateFoundRange (UITextRange range, [NullAllowed] INSCopying document); + void Invalidate (UITextRange foundRange, [NullAllowed] INSCopying document); [Abstract] [Export ("finishedSearching")] @@ -25010,7 +25005,7 @@ interface UITextSearching [Abstract] [Export ("compareFoundRange:toRange:inDocument:")] - NSComparisonResult CompareFoundRange (UITextRange foundRange, UITextRange toRange, [NullAllowed] INSCopying document); + NSComparisonResult Compare (UITextRange foundRange, UITextRange toRange, [NullAllowed] INSCopying document); [Abstract] [Export ("performTextSearchWithQueryString:usingOptions:resultAggregator:")] @@ -25018,7 +25013,7 @@ interface UITextSearching [Abstract] [Export ("decorateFoundTextRange:inDocument:usingStyle:")] - void DecorateFoundTextRange (UITextRange range, [NullAllowed] INSCopying document, UITextSearchFoundTextStyle style); + void Decorate (UITextRange foundRange, [NullAllowed] INSCopying document, UITextSearchFoundTextStyle style); [Abstract] [Export ("clearAllDecoratedFoundText")] @@ -25037,7 +25032,7 @@ interface UITextSearching void ReplaceAllOccurrences (string queryString, UITextSearchOptions options, string replacementText); [Export ("willHighlightFoundTextRange:inDocument:")] - void WillHighlightFoundTextRange (UITextRange range, [NullAllowed] INSCopying document); + void WillHighlight (UITextRange foundRange, [NullAllowed] INSCopying document); [Export ("scrollRangeToVisible:inDocument:")] void ScrollRangeToVisible (UITextRange range, [NullAllowed] INSCopying document); @@ -25077,7 +25072,7 @@ interface UIEditMenuInteraction : UIInteraction void UpdateVisibleMenuPositionAnimated (bool animated); [Export ("locationInView:")] - CGPoint LocationInView ([NullAllowed] UIView view); + CGPoint GetLocation ([NullAllowed] UIView inView); } [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] @@ -25200,16 +25195,16 @@ interface UIFindSession UIFindSessionSearchResultDisplayStyle SearchResultDisplayStyle { get; set; } [Export ("performSearchWithQuery:options:")] - void PerformSearchWithQuery (string query, [NullAllowed] UITextSearchOptions options); + void PerformSearch (string query, [NullAllowed] UITextSearchOptions options); [Export ("performSingleReplacementWithSearchQuery:replacementString:options:")] void PerformSingleReplacement (string searchQuery, string replacementString, [NullAllowed] UITextSearchOptions options); [Export ("replaceAllInstancesOfSearchQuery:withReplacementString:options:")] - void ReplaceAllInstancesOfSearchQuery (string searchQuery, string replacementString, [NullAllowed] UITextSearchOptions options); + void ReplaceAllInstances (string searchQuery, string replacementString, [NullAllowed] UITextSearchOptions options); [Export ("highlightNextResultInDirection:")] - void HighlightNextResultInDirection (UITextStorageDirection direction); + void HighlightNextResult (UITextStorageDirection direction); [Export ("invalidateFoundResults")] void InvalidateFoundResults (); @@ -25256,7 +25251,7 @@ interface UIFindInteractionDelegate [Abstract] [Export ("findInteraction:sessionForView:")] [return: NullAllowed] - UIFindSession GetSessionForView (UIFindInteraction interaction, UIView view); + UIFindSession GetSession (UIFindInteraction interaction, UIView view); [Export ("findInteraction:didBeginFindSession:")] void DidBeginFindSession (UIFindInteraction interaction, UIFindSession session); @@ -25291,7 +25286,7 @@ interface UITextSearchingFindSession } [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] - [BaseType (typeof(NSObject))] + [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface UIWindowSceneGeometry : NSCopying { @@ -25304,11 +25299,11 @@ interface UIWindowSceneGeometry : NSCopying } [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] - [BaseType (typeof(NSObject))] + [BaseType (typeof (NSObject))] interface UIWindowSceneGeometryPreferences {} [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] - [BaseType (typeof(UIWindowSceneGeometryPreferences))] + [BaseType (typeof (UIWindowSceneGeometryPreferences))] [DisableDefaultCtor] interface UIWindowSceneGeometryPreferencesMac { @@ -25324,7 +25319,7 @@ interface UIWindowSceneGeometryPreferencesMac } [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] - [BaseType (typeof(UIWindowSceneGeometryPreferences))] + [BaseType (typeof (UIWindowSceneGeometryPreferences))] [DisableDefaultCtor] interface UIWindowSceneGeometryPreferencesIOS { diff --git a/src/xkit.cs b/src/xkit.cs index e488be657e6a..5539738697b4 100644 --- a/src/xkit.cs +++ b/src/xkit.cs @@ -1902,12 +1902,12 @@ interface NSCollectionLayoutGroup : NSCopying { [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Static] [Export ("horizontalGroupWithLayoutSize:repeatingSubitem:count:")] - NSCollectionLayoutGroup GetHorizontalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem subitem, nint count); + NSCollectionLayoutGroup GetHorizontalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count); [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Static] [Export ("verticalGroupWithLayoutSize:repeatingSubitem:count:")] - NSCollectionLayoutGroup GetVerticalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem subitem, nint count); + NSCollectionLayoutGroup GetVerticalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count); } [NoWatch, TV (13,0), iOS (13,0)] @@ -4040,7 +4040,7 @@ enum NSTextListMarkerFormats [Flags] [Native] public enum NSTextListOptions : ulong { - PrependEnclosingMarker = 1 + PrependEnclosingMarker = 1, } [TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] From 60ab4c14fe99329b68610a523275ce356bfb25fd Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Thu, 18 Aug 2022 12:47:33 -0400 Subject: [PATCH 05/12] Address the last changes needed from the reviews. --- src/UIKit/UIEnums.cs | 5 ++-- src/UIKit/UIFont.cs | 36 ++++++++++++++++++++++++++ src/uikit.cs | 5 +++- tests/monotouch-test/UIKit/FontTest.cs | 7 +++++ tests/xtro-sharpie/tvOS-UIKit.ignore | 2 -- 5 files changed, 50 insertions(+), 5 deletions(-) diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index 81296e088853..40a74b10086d 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -780,7 +780,7 @@ public enum UIDataDetectorType : ulong { [iOS (10,0)] LookupSuggestion = 1 << 6, [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] - Money = 1uL << 7, + Money = 1 << 7, [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] PhysicalValue = 1uL << 8, @@ -1385,6 +1385,7 @@ public enum UIScrollViewKeyboardDismissMode : long { None, OnDrag, Interactive, + [TV (16,0), iOS (16,0), MacCatalyst (16,0)] OnDragWithAccessory, [TV (16,0), iOS (16,0), MacCatalyst (16,0)] InteractiveWithAccessory, @@ -2291,7 +2292,7 @@ public enum UISceneErrorCode : long MultipleScenesNotSupported, RequestDenied, GeometryRequestUnsupported = 100, - GeometryRequestDenied + GeometryRequestDenied, } [Watch (6,0), TV (13,0), iOS (13,0)] diff --git a/src/UIKit/UIFont.cs b/src/UIKit/UIFont.cs index 22f88da9977f..5fb3ae332b3a 100644 --- a/src/UIKit/UIFont.cs +++ b/src/UIKit/UIFont.cs @@ -176,6 +176,30 @@ static nfloat GetFontWeight (UIFontWeight weight) } } +#if NET + [SupportedOSPlatform ("ios16.0")] + [SupportedOSPlatform ("maccatalyst16.0")] + [SupportedOSPlatform ("tvos16.0")] +#else + [Watch (9,0), iOS (16,0), TV (16,0), MacCatalyst (16,0)] +#endif + static double GetFontWidth (UIFontWidth width) + { + switch (width) { + case UIFontWidth.Condensed: + return UIFontWidthConstants.Condensed; + case UIFontWidth.Standard: + return UIFontWidthConstants.Standard; + case UIFontWidth.Expanded: + return UIFontWidthConstants.Expanded; + case UIFontWidth.Compressed: + return UIFontWidthConstants.Compressed; + default: + throw new ArgumentException (width.ToString ()); + } + } + + #if NET [SupportedOSPlatform ("ios8.2")] [SupportedOSPlatform ("maccatalyst")] @@ -318,6 +342,18 @@ public static UIFont SystemFontOfSize (nfloat size) return ptr == IntPtr.Zero ? null : new UIFont (ptr); } +#if NET + [SupportedOSPlatform ("ios16.0")] + [SupportedOSPlatform ("maccatalyst16.0")] + [SupportedOSPlatform ("tvos16.0")] +#else + [Watch (9,0), iOS (16,0), TV (16,0), MacCatalyst (16,0)] +#endif + public static UIFont SystemFontOfSize (nfloat fontSize, UIFontWeight weight, UIFontWidth width) { + var ptr = _SystemFontOfSize (fontSize, GetFontWeight (weight), GetFontWidth (width)); + return ptr == IntPtr.Zero ? null : new UIFont (ptr); + } + #if NET [SupportedOSPlatform ("ios8.2")] [SupportedOSPlatform ("maccatalyst")] diff --git a/src/uikit.cs b/src/uikit.cs index b58f33d32fb4..b25d5b84f670 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -3092,11 +3092,13 @@ interface UIContextMenuInteractionDelegate { UIContextMenuConfiguration GetConfigurationForMenu (UIContextMenuInteraction interaction, CGPoint location); [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("contextMenuInteraction:previewForHighlightingMenuWithConfiguration:")] [return: NullAllowed] UITargetedPreview GetPreviewForHighlightingMenu (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration); [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("contextMenuInteraction:previewForDismissingMenuWithConfiguration:")] [return: NullAllowed] UITargetedPreview GetPreviewForDismissingMenu (UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration); @@ -6219,8 +6221,9 @@ [Static] [Export ("fontNamesForFamilyName:")] [Watch (9,0), iOS (16,0), TV (16,0), MacCatalyst (16,0)] [Static] + [Internal] [Export ("systemFontOfSize:weight:width:")] - UIFont SystemFontOfSize (nfloat fontSize, double weight, double width); + IntPtr _SystemFontOfSize (nfloat fontSize, double weight, double width); } diff --git a/tests/monotouch-test/UIKit/FontTest.cs b/tests/monotouch-test/UIKit/FontTest.cs index 803ea145656d..6a624431d961 100644 --- a/tests/monotouch-test/UIKit/FontTest.cs +++ b/tests/monotouch-test/UIKit/FontTest.cs @@ -118,6 +118,13 @@ public void Methods () f1 = UIFont.FromDescriptor (d, 12); f2 = UIFont.FromDescriptor (d, 12); SemiFactory_25511 (f1, f2, "FromDescriptor"); + + if (!TestRuntime.CheckXcodeVersion (16, 0)) + return; + + f1 = UIFont.SystemFontOfSize (12, UIFontWeight.UltraLight, UIFontWidth.Condensed); + f2 = UIFont.SystemFontOfSize (12, UIFontWeight.UltraLight, UIFontWidth.Condensed); + SemiFactory_25511 (f1, f2, "SystemFontOfSizeWeightWidth"); } [Test] diff --git a/tests/xtro-sharpie/tvOS-UIKit.ignore b/tests/xtro-sharpie/tvOS-UIKit.ignore index 064357155b9f..ace7275a5961 100644 --- a/tests/xtro-sharpie/tvOS-UIKit.ignore +++ b/tests/xtro-sharpie/tvOS-UIKit.ignore @@ -329,8 +329,6 @@ !missing-null-allowed! 'UIKit.UIWindow UIKit.UITouch::get_Window()' is missing an [NullAllowed] on return type !missing-null-allowed! 'UIKit.UIWindow UIKit.UIView::get_Window()' is missing an [NullAllowed] on return type -## not available on tvOS (iOS 14+ only) - ## Enums not needed on tvOS !missing-enum! UIListSeparatorVisibility not bound !missing-enum! UIPrintRenderingQuality not bound From b63b613fc1d33407dee8e86517fc6fadebd37375 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Thu, 18 Aug 2022 12:51:42 -0400 Subject: [PATCH 06/12] Wrong xcode version. --- tests/monotouch-test/UIKit/FontTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/monotouch-test/UIKit/FontTest.cs b/tests/monotouch-test/UIKit/FontTest.cs index 6a624431d961..9fd21a3886d7 100644 --- a/tests/monotouch-test/UIKit/FontTest.cs +++ b/tests/monotouch-test/UIKit/FontTest.cs @@ -119,7 +119,7 @@ public void Methods () f2 = UIFont.FromDescriptor (d, 12); SemiFactory_25511 (f1, f2, "FromDescriptor"); - if (!TestRuntime.CheckXcodeVersion (16, 0)) + if (!TestRuntime.CheckXcodeVersion (14, 0)) return; f1 = UIFont.SystemFontOfSize (12, UIFontWeight.UltraLight, UIFontWidth.Condensed); From 41da5ddc2a9667d48770c1a45045df77dd91d376 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Thu, 18 Aug 2022 16:55:45 -0400 Subject: [PATCH 07/12] Apply suggestions from code review Co-authored-by: Alex Soto --- src/uikit.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/uikit.cs b/src/uikit.cs index b25d5b84f670..79c7252db2f8 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -14356,11 +14356,11 @@ interface UITableViewDelegate { [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("tableView:canPerformPrimaryActionForRowAtIndexPath:")] - bool CanPerformPrimaryActionForRow (UITableView tableView, NSIndexPath indexPath); + bool CanPerformPrimaryAction (UITableView tableView, NSIndexPath rowIndexPath); [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Export ("tableView:performPrimaryActionForRowAtIndexPath:")] - void PerformPrimaryActionForRow (UITableView tableView, NSIndexPath indexPath); + void PerformPrimaryAction (UITableView tableView, NSIndexPath rowIndexPath); } [TV (15,0), Watch (8,0), iOS (15,0), MacCatalyst (15,0), NoWatch] @@ -14670,7 +14670,7 @@ interface UITextFieldDelegate { [NoTV, iOS (16,0), MacCatalyst (16,0)] [Export ("textField:willDismissEditMenuWithAnimator:")] - void WillDismissEditMenu (UITextField textField, IUIEditMenuInteractionAnimating aniamtor); + void WillDismissEditMenu (UITextField textField, IUIEditMenuInteractionAnimating animator); [IgnoredInDelegate] [TV (16,0), iOS (16,0), MacCatalyst (16,0)] @@ -25072,7 +25072,7 @@ interface UIEditMenuInteraction : UIInteraction void ReloadVisibleMenu (); [Export ("updateVisibleMenuPositionAnimated:")] - void UpdateVisibleMenuPositionAnimated (bool animated); + void UpdateVisibleMenuPosition (bool animated); [Export ("locationInView:")] CGPoint GetLocation ([NullAllowed] UIView inView); From 749aadc847a756369be2913fc2abb9816bc0d080 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Thu, 18 Aug 2022 17:19:24 -0400 Subject: [PATCH 08/12] Address reviews. --- src/uikit.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/uikit.cs b/src/uikit.cs index b25d5b84f670..b750f01426fa 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -10263,6 +10263,10 @@ UIBarButtonItem RightBarButtonItem { [NullAllowed] Func, UIMenu> TitleMenuProvider { get; set; } + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] + [Wrap ("WeakRenameDelegate")] + IUINavigationItemRenameDelegate RenameDelegate { get; set; } + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [NullAllowed, Export ("renameDelegate", ArgumentSemantic.Weak)] NSObject WeakRenameDelegate { get; set; } @@ -25137,6 +25141,9 @@ interface UIDocumentProperties bool WantsIconRepresentation { get; set; } } + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] + delegate UIMenu OptionsMenuProviderHandler (UIMenuElement [] elements); + [NoWatch, NoTV, iOS (16,0), MacCatalyst (16,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] @@ -25155,7 +25162,7 @@ interface UIFindInteraction : UIInteraction string ReplacementText { get; set; } [NullAllowed, Export ("optionsMenuProvider", ArgumentSemantic.Copy)] - Func, UIMenu> OptionsMenuProvider { get; set; } + OptionsMenuProviderHandler OptionsMenuProvider { get; set; } [Wrap ("WeakDelegate")] [NullAllowed] From aaad221b1e96aa19ed0f43d94f26f9480d28b0ad Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Fri, 19 Aug 2022 08:04:18 -0400 Subject: [PATCH 09/12] Update src/uikit.cs Co-authored-by: Rolf Bjarne Kvinge --- src/uikit.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uikit.cs b/src/uikit.cs index eb612dca35b3..69320eefb7ef 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -10564,7 +10564,7 @@ interface UIPageControl : UIAppearance { [iOS (16,0), MacCatalyst (16,0)] [Export ("currentPageIndicatorImageForPage:")] [return: NullAllowed] - UIImage CurrentPageIndicatorImage (nint page); + UIImage GetCurrentPageIndicatorImage (nint page); [iOS (16,0), MacCatalyst (16,0)] [Export ("setCurrentPageIndicatorImage:forPage:")] From 0a2c9635b0bf1dc6421b2d8eee17e5b96abdcbfb Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Thu, 25 Aug 2022 21:13:44 -0400 Subject: [PATCH 10/12] Fix tests Also we need to use named parameters so the C# overload resolution actually resolves the right constructor to call when using our convenience ctor. --- src/UIKit/UIBarButtonItem.cs | 2 +- src/uikit.cs | 5 +++-- src/xkit.cs | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/UIKit/UIBarButtonItem.cs b/src/UIKit/UIBarButtonItem.cs index 70760723e6ed..55f0b391487d 100644 --- a/src/UIKit/UIBarButtonItem.cs +++ b/src/UIKit/UIBarButtonItem.cs @@ -60,7 +60,7 @@ public UIBarButtonItem (UIBarButtonSystemItem systemItem, EventHandler handler) MarkDirty (); } - public UIBarButtonItem (UIBarButtonSystemItem systemItem) : this (systemItem, null, null) + public UIBarButtonItem (UIBarButtonSystemItem systemItem) : this (systemItem: systemItem, target: null, action: null) { } diff --git a/src/uikit.cs b/src/uikit.cs index 69320eefb7ef..a07a6097f1ec 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -8683,7 +8683,7 @@ UIScreen Screen { [NoWatch, TV (16, 0), iOS (16, 0), MacCatalyst (16,0)] [Export ("safeAreaAspectFitLayoutGuide", ArgumentSemantic.Strong)] - UILayoutGuideAspectFitting SafeAreaAspectFitLayoutGuide { get; } + IUILayoutGuideAspectFitting SafeAreaAspectFitLayoutGuide { get; } } delegate void UIControlEnumerateEventsIteratorHandler ([NullAllowed] UIAction actionHandler, [NullAllowed] NSObject target, [NullAllowed] Selector action, UIControlEvent controlEvents, out bool stop); @@ -24868,9 +24868,10 @@ interface UIEditMenuInteractionDelegate void WillDismissMenu (UIEditMenuInteraction interaction, UIEditMenuConfiguration configuration, IUIEditMenuInteractionAnimating animator); } + interface IUILayoutGuideAspectFitting {} + [NoWatch, TV (16,0), iOS (16,0), MacCatalyst (16,0)] [Protocol] - [BaseType (typeof (NSObject))] interface UILayoutGuideAspectFitting { [Abstract] diff --git a/src/xkit.cs b/src/xkit.cs index 5539738697b4..9e9220743290 100644 --- a/src/xkit.cs +++ b/src/xkit.cs @@ -1899,12 +1899,12 @@ interface NSCollectionLayoutGroup : NSCopying { [Export ("visualDescription")] string VisualDescription { get; } - [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0), Mac (13,0)] [Static] [Export ("horizontalGroupWithLayoutSize:repeatingSubitem:count:")] NSCollectionLayoutGroup GetHorizontalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count); - [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0), Mac (13,0)] [Static] [Export ("verticalGroupWithLayoutSize:repeatingSubitem:count:")] NSCollectionLayoutGroup GetVerticalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count); From f38c30e71f6c45af9ff3cde4d357b1e4a04f4337 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 26 Aug 2022 09:37:08 -0400 Subject: [PATCH 11/12] Fix incomplete bindings on UITableViewSource --- src/uikit.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/uikit.cs b/src/uikit.cs index a07a6097f1ec..e8011488e165 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -13914,6 +13914,14 @@ interface UITableViewSource { [Export ("tableView:willEndContextMenuInteractionWithConfiguration:animator:")] void WillEndContextMenuInteraction (UITableView tableView, UIContextMenuConfiguration configuration, [NullAllowed] IUIContextMenuInteractionAnimating animator); + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("tableView:canPerformPrimaryActionForRowAtIndexPath:")] + bool CanPerformPrimaryAction (UITableView tableView, NSIndexPath rowIndexPath); + + [Watch (9,0), TV (16,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("tableView:performPrimaryActionForRowAtIndexPath:")] + void PerformPrimaryAction (UITableView tableView, NSIndexPath rowIndexPath); + // WARNING: If you add more methods here, add them to UITableViewControllerDelegate as well. } From f7494ac827bcc466a863f7a0c532d76ba8a6a21a Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 26 Aug 2022 14:25:33 -0400 Subject: [PATCH 12/12] Add missing tvos attributes --- src/uikit.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/uikit.cs b/src/uikit.cs index e8011488e165..63144f0bb05a 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -10552,21 +10552,21 @@ interface UIPageControl : UIAppearance { [Export ("updateCurrentPageDisplay")] void UpdateCurrentPageDisplay (); - [iOS (16, 0), MacCatalyst (16,0)] + [iOS (16,0), TV (16,0), MacCatalyst (16,0)] [Export ("direction", ArgumentSemantic.Assign)] UIPageControlDirection Direction { get; set; } - [iOS (16, 0), MacCatalyst (16,0)] + [iOS (16,0), TV (16,0), MacCatalyst (16,0)] [Export ("preferredCurrentPageIndicatorImage", ArgumentSemantic.Strong)] [NullAllowed] UIImage PreferredCurrentPageIndicatorImage { get; set; } - [iOS (16,0), MacCatalyst (16,0)] + [iOS (16,0), TV (16,0), MacCatalyst (16,0)] [Export ("currentPageIndicatorImageForPage:")] [return: NullAllowed] UIImage GetCurrentPageIndicatorImage (nint page); - [iOS (16,0), MacCatalyst (16,0)] + [iOS (16,0), TV (16,0), MacCatalyst (16,0)] [Export ("setCurrentPageIndicatorImage:forPage:")] void SetCurrentPageIndicatorImage ([NullAllowed] UIImage image, nint page); }