diff --git a/src/AppKit/Enums.cs b/src/AppKit/Enums.cs
index 2f9a5b9f0efd..eacda74380d0 100644
--- a/src/AppKit/Enums.cs
+++ b/src/AppKit/Enums.cs
@@ -517,6 +517,8 @@ public enum NSControlSize : ulong {
/// To be added.
Mini = 2,
Large = 3,
+ [Mac (26, 0)]
+ ExtraLarge = 4,
}
[NoMacCatalyst]
@@ -684,6 +686,8 @@ public enum NSEventType : ulong {
/// To be added.
DirectTouch = 37, // 10.10
ChangeMode = 38,
+ [Mac (26, 0)]
+ MouseCancelled = 40,
}
[NoMacCatalyst]
@@ -754,6 +758,8 @@ public enum NSEventMask : ulong {
/// To be added.
DirectTouch = 1UL << (int) NSEventType.DirectTouch, // 10.10
ChangeMode = 1UL << (int) NSEventType.ChangeMode,
+ [Mac (26, 0)]
+ MouseCancelled = 1UL << (int) NSEventType.MouseCancelled,
/// To be added.
AnyEvent = unchecked((ulong) UInt64.MaxValue),
}
@@ -1578,6 +1584,8 @@ public enum NSBezelStyle : ulong {
AccessoryBar = 13,
PushDisclosure = 14,
Badge = 15,
+ [Mac (20, 0)]
+ Glass = 16,
#if !XAMCORE_5_0
/// To be added.
[Obsoleted (PlatformName.MacOSX, 10, 14, message: "Use 'Push' instead.")]
@@ -4716,4 +4724,45 @@ enum NSPasteboardMetadataType {
[Field ("NSPasteboardMetadataTypeContentType")]
ContentType,
}
+
+ [MacCatalyst (26, 0), Mac (26, 0)]
+ [Native]
+ public enum NSToolbarItemStyle : long {
+ Plain,
+ Prominent,
+ }
+
+ [NoMacCatalyst, Mac (26, 0)]
+ [Native]
+ public enum NSImageSymbolColorRenderingMode : long {
+ Automatic = 0,
+ Flat,
+ Gradient,
+ }
+
+ [NoMacCatalyst, Mac (26, 0)]
+ [Native]
+ public enum NSImageSymbolVariableValueMode : long {
+ Automatic = 0,
+ Color,
+ Draw,
+ }
+
+ [NoMacCatalyst, Mac (26, 0)]
+ [Native]
+ public enum NSTintProminence : long {
+ Automatic = 0,
+ None,
+ Primary,
+ Secondary,
+ }
+
+ [NoMacCatalyst, Mac (26, 0)]
+ [Native]
+ public enum NSControlBorderShape : long {
+ Automatic,
+ Capsule,
+ RoundedRectangle,
+ Circle,
+ }
}
diff --git a/src/appkit.cs b/src/appkit.cs
index 6b3c931e4d8c..437b418e2427 100644
--- a/src/appkit.cs
+++ b/src/appkit.cs
@@ -143,6 +143,8 @@ enum NSWritingToolsResultOptions : ulong {
RichText = 1 << 1,
List = 1 << 2,
Table = 1 << 3,
+ [Mac (26, 0)]
+ PresentationIntent = 1uL << 4,
}
[NoMacCatalyst]
@@ -1009,6 +1011,14 @@ interface NSApplication : NSAccessibilityElementProtocol, NSUserInterfaceValidat
[Notification, Field ("NSApplicationDidChangeScreenParametersNotification")]
NSString DidChangeScreenParametersNotification { get; }
+ [Mac (26, 0)]
+ [Notification, Field ("NSApplicationShouldBeginSuppressingHighDynamicRangeContentNotification")]
+ NSString ShouldBeginSuppressingHighDynamicRangeContentNotification { get; }
+
+ [Mac (26, 0)]
+ [Notification, Field ("NSApplicationShouldEndSuppressingHighDynamicRangeContentNotification")]
+ NSString ShouldEndSuppressingHighDynamicRangeContentNotification { get; }
+
[Notification, Mac (12, 1)]
[Field ("NSApplicationProtectedDataWillBecomeUnavailableNotification")]
NSString ProtectedDataWillBecomeUnavailableNotification { get; }
@@ -1085,6 +1095,10 @@ interface NSApplication : NSAccessibilityElementProtocol, NSUserInterfaceValidat
[Export ("searchString:inUserInterfaceItemString:searchRange:foundRange:")]
bool SearchStringInUserInterface (string searchString, string stringToSearch, NSRange searchRange, out NSRange foundRange);
+ [Mac (26, 0)]
+ [Export ("applicationShouldSuppressHighDynamicRangeContent")]
+ bool ApplicationShouldSuppressHighDynamicRangeContent { get; set; }
+
// From the NSApplicationHelpExtension category
[Export ("activateContextHelpMode:")]
void ActivateContextHelpMode ([NullAllowed] NSObject sender);
@@ -3176,6 +3190,14 @@ interface NSButton : NSAccessibilityButton, NSUserInterfaceCompression, NSUserIn
[Export ("hasDestructiveAction")]
bool HasDestructiveAction { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("borderShape", ArgumentSemantic.Assign)]
+ NSControlBorderShape BorderShape { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("tintProminence", ArgumentSemantic.Assign)]
+ NSTintProminence TintProminence { get; set; }
}
[NoMacCatalyst]
@@ -9500,6 +9522,19 @@ interface NSGestureRecognizer : NSCoding {
[Export ("touchesCancelledWithEvent:")]
void TouchesCancelled (NSEvent touchEvent);
+
+ [Mac (26, 0)]
+ [Export ("modifierFlags")]
+ NSEventModifierMask ModifierFlags { get; }
+
+ [Mac (26, 0)]
+ [Export ("mouseCancelled:")]
+ void MouseCancelled (NSEvent mouseEvent);
+
+ [Mac (26, 0)]
+ [NullAllowed]
+ [Export ("name")]
+ string Name { get; set; }
}
interface INSGestureRecognizerDelegate { }
@@ -15736,6 +15771,10 @@ partial interface NSResponder : NSCoding, NSTouchBarProvider, NSUserActivityRest
[Export ("touchesCancelledWithEvent:")]
void TouchesCancelledWithEvent (NSEvent theEvent);
+ [Mac (26, 0)]
+ [Export ("mouseCancelled:")]
+ void MouseCancelled (NSEvent mouseEvent);
+
[Export ("noResponderFor:")]
void NoResponderFor (Selector eventSelector);
@@ -16292,6 +16331,11 @@ partial interface NSScreen {
[Mac (14, 0)]
[Export ("displayLinkWithTarget:selector:")]
CADisplayLink GetDisplayLink (NSObject target, Selector selector);
+
+ // CGDirectDisplayID = uint32_t
+ [Mac (26, 0)]
+ [Export ("CGDirectDisplayID")]
+ uint CGDirectDisplayId { get; }
}
[NoMacCatalyst]
@@ -16835,6 +16879,10 @@ interface NSSegmentedControl : NSUserInterfaceCompression {
[Export ("segmentDistribution", ArgumentSemantic.Assign)]
NSSegmentDistribution SegmentDistribution { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("borderShape", ArgumentSemantic.Assign)]
+ NSControlBorderShape BorderShape { get; set; }
}
[NoMacCatalyst]
@@ -17011,6 +17059,14 @@ interface NSSlider : NSAccessibilitySlider {
[NullAllowed, Export ("trackFillColor", ArgumentSemantic.Copy)]
NSColor TrackFillColor { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("tintProminence", ArgumentSemantic.Assign)]
+ NSTintProminence TintProminence { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("neutralValue")]
+ double NeutralValue { get; set; }
}
[NoMacCatalyst]
@@ -17918,6 +17974,42 @@ interface NSSplitViewItem : NSAnimatablePropertyContainer, NSCoding {
[Static]
[Export ("inspectorWithViewController:")]
NSSplitViewItem CreateInspector (NSViewController viewController);
+
+ [Mac (26, 0)]
+ [Export ("automaticallyAdjustsSafeAreaInsets")]
+ bool AutomaticallyAdjustsSafeAreaInsets { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("topAlignedAccessoryViewControllers", ArgumentSemantic.Copy)]
+ NSSplitViewItemAccessoryViewController [] TopAlignedAccessoryViewControllers { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("bottomAlignedAccessoryViewControllers", ArgumentSemantic.Copy)]
+ NSSplitViewItemAccessoryViewController [] BottomAlignedAccessoryViewControllers { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("addTopAlignedAccessoryViewController:")]
+ void AddTopAlignedAccessoryViewController (NSSplitViewItemAccessoryViewController childViewController);
+
+ [Mac (26, 0)]
+ [Export ("addBottomAlignedAccessoryViewController:")]
+ void AddBottomAlignedAccessoryViewController (NSSplitViewItemAccessoryViewController childViewController);
+
+ [Mac (26, 0)]
+ [Export ("insertTopAlignedAccessoryViewController:atIndex:")]
+ void InsertTopAlignedAccessoryViewController (NSSplitViewItemAccessoryViewController childViewController, nint index);
+
+ [Mac (26, 0)]
+ [Export ("insertBottomAlignedAccessoryViewController:atIndex:")]
+ void InsertBottomAlignedAccessoryViewController (NSSplitViewItemAccessoryViewController childViewController, nint index);
+
+ [Mac (26, 0)]
+ [Export ("removeTopAlignedAccessoryViewControllerAtIndex:")]
+ void RemoveTopAlignedAccessoryViewController (nint index);
+
+ [Mac (26, 0)]
+ [Export ("removeBottomAlignedAccessoryViewControllerAtIndex:")]
+ void RemoveBottomAlignedAccessoryViewController (nint index);
}
[NoMacCatalyst]
@@ -19778,6 +19870,10 @@ partial interface NSView : NSDraggingDestination, NSAnimatablePropertyContainer,
[Mac (15, 2)]
NSWritingToolsCoordinator WritingToolsCoordinator { get; set; }
#endif
+
+ [Mac (26, 0)]
+ [Export ("prefersCompactControlSizeMetrics")]
+ bool PrefersCompactControlSizeMetrics { get; set; }
}
[NoMacCatalyst]
@@ -22173,6 +22269,18 @@ NSTextContentType ContentType {
[Mac (15, 4)]
[Export ("allowsWritingToolsAffordance")]
bool AllowsWritingToolsAffordance { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("placeholderAttributedStrings", ArgumentSemantic.Copy)]
+ NSAttributedString [] PlaceholderAttributedStrings { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("placeholderStrings", ArgumentSemantic.Copy)]
+ string [] PlaceholderStrings { get; set; }
+
+ [Mac (26, 0)]
+ [Export ("resolvesNaturalAlignmentWithBaseWritingDirection")]
+ bool ResolvesNaturalAlignmentWithBaseWritingDirection { get; set; }
}
[NoMacCatalyst]
@@ -24518,6 +24626,42 @@ interface NSToolbarItem : NSCopying, NSMenuItemValidation, NSValidatedUserInterf
[MacCatalyst (13, 1)]
[Export ("itemWithItemIdentifier:barButtonItem:")]
NSToolbarItem Create (string itemIdentifier, UIBarButtonItem barButtonItem);
+
+ [MacCatalyst (26, 0), Mac (26, 0)]
+ [NullAllowed]
+ [Export ("backgroundTintColor", ArgumentSemantic.Copy)]
+ Color BackgroundTintColor { get; set; }
+
+ [MacCatalyst (26, 0), Mac (26, 0)]
+ [Export ("style", ArgumentSemantic.Assign)]
+ NSToolbarItemStyle Style { get; set; }
+
+ [MacCatalyst (26, 0), Mac (26, 0)]
+ [NullAllowed]
+ [Export ("badge", ArgumentSemantic.Copy)]
+ NSItemBadge Badge { get; set; }
+ }
+
+ [MacCatalyst (26, 0), Mac (26, 0)]
+ [BaseType (typeof (NSObject))]
+ [DisableDefaultCtor]
+ interface NSItemBadge {
+
+ [Static]
+ [Export ("badgeWithCount:")]
+ NSItemBadge Create (nint count);
+
+ [Static]
+ [Export ("badgeWithText:")]
+ NSItemBadge Create (string text);
+
+ // Returns new instance so not a property.
+ [Static]
+ [Export ("indicatorBadge")]
+ NSItemBadge CreateIndicatorBadge ();
+
+ [Export ("text")]
+ string Text { get; }
}
[MacCatalyst (13, 1)]
@@ -30402,6 +30546,51 @@ interface NSAccessibility {
[Field ("NSAccessibilityRowCollapsedNotification")]
NSString RowCollapsedNotification { get; }
+ [Mac (26, 0)]
+ [Notification]
+ [Field ("NSAccessibilityAutocorrectionOccurredNotification")]
+ NSString AutocorrectionOccurredNotification { get; }
+
+ [Mac (26, 0)]
+ [Notification]
+ [Field ("NSAccessibilityTextInputMarkingSessionBeganNotification")]
+ NSString TextInputMarkingSessionBeganNotification { get; }
+
+ [Mac (26, 0)]
+ [Notification]
+ [Field ("NSAccessibilityTextInputMarkingSessionEndedNotification")]
+ NSString TextInputMarkingSessionEndedNotification { get; }
+
+ [Mac (26, 0)]
+ [Notification]
+ [Field ("NSAccessibilityDraggingSourceDragBeganNotification")]
+ NSString DraggingSourceDragBeganNotification { get; }
+
+ [Mac (26, 0)]
+ [Notification]
+ [Field ("NSAccessibilityDraggingSourceDragEndedNotification")]
+ NSString DraggingSourceDragEndedNotification { get; }
+
+ [Mac (26, 0)]
+ [Notification]
+ [Field ("NSAccessibilityDraggingDestinationDropAllowedNotification")]
+ NSString DraggingDestinationDropAllowedNotification { get; }
+
+ [Mac (26, 0)]
+ [Notification]
+ [Field ("NSAccessibilityDraggingDestinationDropNotAllowedNotification")]
+ NSString DraggingDestinationDropNotAllowedNotification { get; }
+
+ [Mac (26, 0)]
+ [Notification]
+ [Field ("NSAccessibilityDraggingDestinationDragAcceptedNotification")]
+ NSString DraggingDestinationDragAcceptedNotification { get; }
+
+ [Mac (26, 0)]
+ [Notification]
+ [Field ("NSAccessibilityDraggingDestinationDragNotAcceptedNotification")]
+ NSString DraggingDestinationDragNotAcceptedNotification { get; }
+
[Notification]
[Field ("NSAccessibilitySelectedCellsChangedNotification")]
NSString SelectedCellsChangedNotification { get; }
@@ -31399,6 +31588,74 @@ partial interface NSAccessibilityAttributes {
/// To be added.
[Field ("NSAccessibilityAnnotationTextAttribute")]
NSString AnnotationTextAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityAutoInteractableAttribute")]
+ NSString AutoInteractableAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityDateTimeComponentsAttribute")]
+ NSString DateTimeComponentsAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityEmbeddedImageDescriptionAttribute")]
+ NSString EmbeddedImageDescriptionAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityPathAttribute")]
+ NSString PathAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityTextInputMarkedRangeAttribute")]
+ NSString TextInputMarkedRangeAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityBlockQuoteLevelAttribute")]
+ NSString BlockQuoteLevelAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityHeadingLevelAttribute")]
+ NSString HeadingLevelAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityLanguageAttribute")]
+ NSString LanguageAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityVisitedAttribute")]
+ NSString VisitedAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityFontBoldAttribute")]
+ NSString FontBoldAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityFontItalicAttribute")]
+ NSString FontItalicAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityChildrenInNavigationOrderAttribute")]
+ NSString ChildrenInNavigationOrderAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityIndexForChildUIElementAttribute")]
+ NSString IndexForChildUIElementAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityIndexForChildUIElementInNavigationOrderAttribute")]
+ NSString IndexForChildUIElementInNavigationOrderAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityTextCompletionAttribute")]
+ NSString TextCompletionAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityUIElementsForSearchPredicateParameterizedAttribute")]
+ NSString UIElementsForSearchPredicateParameterizedAttribute { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityResultsForSearchPredicateParameterizedAttribute")]
+ NSString ResultsForSearchPredicateParameterizedAttribute { get; }
}
[Static]
@@ -31783,6 +32040,22 @@ interface NSAccessibilityRoles {
/// To be added.
[Field ("NSAccessibilityPageRole")]
NSString PageRole { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityDateTimeAreaRole")]
+ NSString DateTimeAreaRole { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityHeadingRole")]
+ NSString HeadingRole { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityListMarkerRole")]
+ NSString ListMarkerRole { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityWebAreaRole")]
+ NSString WebAreaRole { get; }
}
[Static]
@@ -31979,6 +32252,10 @@ interface NSAccessibilitySubroles {
/// To be added.
[Field ("NSAccessibilitySectionListSubrole")]
NSString SectionListSubrole { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilitySuggestionSubrole")]
+ NSString SuggestionSubrole { get; }
}
[Static]
@@ -32071,6 +32348,10 @@ interface NSAccessibilityActions {
/// To be added.
[Field ("NSAccessibilityShowDefaultUIAction")]
NSString ShowDefaultUIAction { get; }
+
+ [Mac (26, 0)]
+ [Field ("NSAccessibilityScrollToVisibleAction")]
+ NSString ScrollToVisibleAction { get; }
}
[NoMacCatalyst]
@@ -34696,6 +34977,16 @@ interface NSImageSymbolConfiguration : NSCopying, NSSecureCoding {
[Static]
[Export ("configurationPreferringHierarchical")]
NSImageSymbolConfiguration CreateConfigurationPreferringHierarchical ();
+
+ [Mac (26, 0)]
+ [Static]
+ [Export ("configurationWithColorRenderingMode:")]
+ NSImageSymbolConfiguration Create (NSImageSymbolColorRenderingMode colorRenderingMode);
+
+ [Mac (26, 0)]
+ [Static]
+ [Export ("configurationWithVariableValueMode:")]
+ NSImageSymbolConfiguration Create (NSImageSymbolVariableValueMode variableValueMode);
}
[NoMacCatalyst, Mac (13, 0)]
@@ -34975,4 +35266,252 @@ interface NSTextPreview {
[BindAs (typeof (CGRect []))]
NSValue [] CandidateRects { get; }
}
+
+ [NoMacCatalyst, Mac (26, 0)]
+ [BaseType (typeof (NSView))]
+ interface NSBackgroundExtensionView {
+
+ [Export ("initWithFrame:")]
+ NativeHandle Constructor (CGRect frameRect);
+
+ [NullAllowed, Export ("contentView", ArgumentSemantic.Strong)]
+ NSView ContentView { get; set; }
+
+ [Export ("automaticallyPlacesContentView")]
+ bool AutomaticallyPlacesContentView { get; set; }
+ }
+
+ [NoMacCatalyst, Mac (26, 0)]
+ [BaseType (typeof (NSView))]
+ interface NSGlassEffectContainerView {
+
+ [Export ("initWithFrame:")]
+ NativeHandle Constructor (CGRect frameRect);
+
+ [NullAllowed, Export ("contentView", ArgumentSemantic.Strong)]
+ NSView ContentView { get; set; }
+
+ [Export ("spacing")]
+ nfloat Spacing { get; set; }
+ }
+
+ [NoMacCatalyst, Mac (26, 0)]
+ [BaseType (typeof (NSView))]
+ interface NSGlassEffectView {
+
+ [Export ("initWithFrame:")]
+ NativeHandle Constructor (CGRect frameRect);
+
+ [NullAllowed, Export ("contentView", ArgumentSemantic.Strong)]
+ NSView ContentView { get; set; }
+
+ [Export ("cornerRadius")]
+ nfloat CornerRadius { get; set; }
+
+ [NullAllowed, Export ("tintColor", ArgumentSemantic.Copy)]
+ Color TintColor { get; set; }
+ }
+
+ [NoMacCatalyst, Mac (26, 0)]
+ [BaseType (typeof (NSViewController))]
+ interface NSSplitViewItemAccessoryViewController : NSAnimatablePropertyContainer {
+
+ [Export ("initWithNibName:bundle:")]
+ NativeHandle Constructor ([NullAllowed] string nibNameOrNull, [NullAllowed] NSBundle nibBundleOrNull);
+
+ [Export ("hidden")]
+ bool Hidden { [Bind ("isHidden")] get; set; }
+
+ [Export ("automaticallyAppliesContentInsets")]
+ bool AutomaticallyAppliesContentInsets { get; set; }
+
+ [Export ("viewWillAppear")]
+ [RequiresSuper]
+ void ViewWillAppear ();
+
+ [Export ("viewDidAppear")]
+ [RequiresSuper]
+ void ViewDidAppear ();
+
+ [Export ("viewWillDisappear")]
+ [RequiresSuper]
+ void ViewWillDisappear ();
+
+ [Export ("viewDidDisappear")]
+ [RequiresSuper]
+ void ViewDidDisappear ();
+ }
+
+ // Not using smart enum intentionally as they would complicate the API
+ [NoMacCatalyst, Mac (26, 0)]
+ [Static]
+ interface NSAccessibilitySearchKey {
+
+ [Field ("NSAccessibilityAnyTypeSearchKey")]
+ NSString AnyType { get; }
+
+ [Field ("NSAccessibilityArticleSearchKey")]
+ NSString Article { get; }
+
+ [Field ("NSAccessibilityBlockquoteSameLevelSearchKey")]
+ NSString BlockquoteSameLevel { get; }
+
+ [Field ("NSAccessibilityBlockquoteSearchKey")]
+ NSString Blockquote { get; }
+
+ [Field ("NSAccessibilityBoldFontSearchKey")]
+ NSString BoldFont { get; }
+
+ [Field ("NSAccessibilityButtonSearchKey")]
+ NSString Button { get; }
+
+ [Field ("NSAccessibilityCheckBoxSearchKey")]
+ NSString CheckBox { get; }
+
+ [Field ("NSAccessibilityControlSearchKey")]
+ NSString Control { get; }
+
+ [Field ("NSAccessibilityDifferentTypeSearchKey")]
+ NSString DifferentType { get; }
+
+ [Field ("NSAccessibilityFontChangeSearchKey")]
+ NSString FontChange { get; }
+
+ [Field ("NSAccessibilityFontColorChangeSearchKey")]
+ NSString FontColorChange { get; }
+
+ [Field ("NSAccessibilityFrameSearchKey")]
+ NSString Frame { get; }
+
+ [Field ("NSAccessibilityGraphicSearchKey")]
+ NSString Graphic { get; }
+
+ [Field ("NSAccessibilityHeadingLevel1SearchKey")]
+ NSString HeadingLevel1 { get; }
+
+ [Field ("NSAccessibilityHeadingLevel2SearchKey")]
+ NSString HeadingLevel2 { get; }
+
+ [Field ("NSAccessibilityHeadingLevel3SearchKey")]
+ NSString HeadingLevel3 { get; }
+
+ [Field ("NSAccessibilityHeadingLevel4SearchKey")]
+ NSString HeadingLevel4 { get; }
+
+ [Field ("NSAccessibilityHeadingLevel5SearchKey")]
+ NSString HeadingLevel5 { get; }
+
+ [Field ("NSAccessibilityHeadingLevel6SearchKey")]
+ NSString HeadingLevel6 { get; }
+
+ [Field ("NSAccessibilityHeadingSameLevelSearchKey")]
+ NSString HeadingSameLevel { get; }
+
+ [Field ("NSAccessibilityHeadingSearchKey")]
+ NSString Heading { get; }
+
+ [Field ("NSAccessibilityItalicFontSearchKey")]
+ NSString ItalicFont { get; }
+
+ [Field ("NSAccessibilityKeyboardFocusableSearchKey")]
+ NSString KeyboardFocusable { get; }
+
+ [Field ("NSAccessibilityLandmarkSearchKey")]
+ NSString Landmark { get; }
+
+ [Field ("NSAccessibilityLinkSearchKey")]
+ NSString Link { get; }
+
+ [Field ("NSAccessibilityListSearchKey")]
+ NSString List { get; }
+
+ [Field ("NSAccessibilityLiveRegionSearchKey")]
+ NSString LiveRegion { get; }
+
+ [Field ("NSAccessibilityMisspelledWordSearchKey")]
+ NSString MisspelledWord { get; }
+
+ [Field ("NSAccessibilityOutlineSearchKey")]
+ NSString Outline { get; }
+
+ [Field ("NSAccessibilityPlainTextSearchKey")]
+ NSString PlainText { get; }
+
+ [Field ("NSAccessibilityRadioGroupSearchKey")]
+ NSString RadioGroup { get; }
+
+ [Field ("NSAccessibilitySameTypeSearchKey")]
+ NSString SameType { get; }
+
+ [Field ("NSAccessibilityStaticTextSearchKey")]
+ NSString StaticText { get; }
+
+ [Field ("NSAccessibilityStyleChangeSearchKey")]
+ NSString StyleChange { get; }
+
+ [Field ("NSAccessibilityTableSameLevelSearchKey")]
+ NSString TableSameLevel { get; }
+
+ [Field ("NSAccessibilityTableSearchKey")]
+ NSString Table { get; }
+
+ [Field ("NSAccessibilityTextFieldSearchKey")]
+ NSString TextField { get; }
+
+ [Field ("NSAccessibilityTextStateChangeTypeKey")]
+ NSString TextStateChan { get; }
+
+ [Field ("NSAccessibilityTextStateSyncKey")]
+ NSString TextSta { get; }
+
+ [Field ("NSAccessibilityUnderlineSearchKey")]
+ NSString Underline { get; }
+
+ [Field ("NSAccessibilityUnvisitedLinkSearchKey")]
+ NSString UnvisitedLink { get; }
+
+ [Field ("NSAccessibilityVisitedLinkSearchKey")]
+ NSString VisitedLink { get; }
+ }
+
+ [NoMacCatalyst, Mac (26, 0)]
+ [Static]
+ interface NSAccessibilityForSearchPredicateKey {
+
+ [Field ("NSAccessibilitySearchIdentifiersKey")]
+ NSString Identifiers { get; }
+
+ [Field ("NSAccessibilitySearchCurrentElementKey")]
+ NSString CurrentElement { get; }
+
+ [Field ("NSAccessibilitySearchCurrentRangeKey")]
+ NSString CurrentRange { get; }
+
+ [Field ("NSAccessibilitySearchDirectionKey")]
+ NSString Direction { get; }
+
+ [Field ("NSAccessibilitySearchResultsLimitKey")]
+ NSString ResultsLimit { get; }
+
+ [Field ("NSAccessibilitySearchTextKey")]
+ NSString Text { get; }
+
+ [Field ("NSAccessibilitySearchDirectionNext")]
+ NSString DirectionNext { get; }
+
+ [Field ("NSAccessibilitySearchDirectionPrevious")]
+ NSString DirectionPrevious { get; }
+
+ [Field ("NSAccessibilitySearchResultElementKey")]
+ NSString ResultElement { get; }
+
+ [Field ("NSAccessibilitySearchResultRangeKey")]
+ NSString ResultRange { get; }
+
+ [Field ("NSAccessibilitySearchResultDescriptionOverrideKey")]
+ NSString ResultDescriptionOverride { get; }
+
+ [Field ("NSAccessibilitySearchResultLoaderKey")]
+ NSString ResultLoader { get; }
+ }
}
diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AppKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AppKit.todo
deleted file mode 100644
index a7c1b2c72a03..000000000000
--- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AppKit.todo
+++ /dev/null
@@ -1,12 +0,0 @@
-!missing-enum! NSToolbarItemStyle not bound
-!missing-selector! NSToolbarItem::backgroundTintColor not bound
-!missing-selector! NSToolbarItem::setBackgroundTintColor: not bound
-!missing-selector! NSToolbarItem::setStyle: not bound
-!missing-selector! NSToolbarItem::style not bound
-!missing-selector! +NSItemBadge::badgeWithCount: not bound
-!missing-selector! +NSItemBadge::badgeWithText: not bound
-!missing-selector! +NSItemBadge::indicatorBadge not bound
-!missing-selector! NSItemBadge::text not bound
-!missing-selector! NSToolbarItem::badge not bound
-!missing-selector! NSToolbarItem::setBadge: not bound
-!missing-type! NSItemBadge not bound
diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.ignore b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.ignore
index 10f3693fe036..3260329ff005 100644
--- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.ignore
+++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.ignore
@@ -81,6 +81,7 @@
!missing-protocol-conformance! NSTitlebarAccessoryViewController should conform to NSAnimatablePropertyContainer
!missing-protocol-conformance! NSView should conform to NSAnimatablePropertyContainer
!missing-protocol-conformance! NSWindow should conform to NSAnimatablePropertyContainer
+!missing-protocol-conformance! NSSplitViewItemAccessoryViewController should conform to NSAnimatablePropertyContainer
!missing-protocol-member! NSApplicationDelegate::applicationDidChangeOcclusionState: not found
!missing-protocol-member! NSBrowserDelegate::browser:draggingImageForRowsWithIndexes:inColumn:withEvent:offset: not found
!missing-protocol-member! NSCollectionViewDelegate::collectionView:draggingImageForItemsAtIndexes:withEvent:offset: not found
@@ -1615,3 +1616,5 @@
# which works fine.
!missing-selector! NSGradient::initWithColorsAndLocations: not bound
+# Likely a mistake '_' denotes internal selector
+!missing-selector! +NSCell::_bulletStringForString:bulletCharacter: not bound
diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo
deleted file mode 100644
index 735cdc92bc5e..000000000000
--- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo
+++ /dev/null
@@ -1,175 +0,0 @@
-!missing-enum! NSImageSymbolColorRenderingMode not bound
-!missing-enum! NSImageSymbolVariableValueMode not bound
-!missing-enum! NSToolbarItemStyle not bound
-!missing-enum-value! NSBezelStyle native value NSBezelStyleGlass = 16 not bound
-!missing-enum-value! NSControlSize native value NSControlSizeExtraLarge = 4 not bound
-!missing-enum-value! NSEventMask native value NSEventMaskMouseCancelled = 1099511627776 not bound
-!missing-enum-value! NSEventType native value NSEventTypeMouseCancelled = 40 not bound
-!missing-enum-value! NSWritingToolsResultOptions native value NSWritingToolsResultPresentationIntent = 16 not bound
-!missing-field! NSAccessibilityAnyTypeSearchKey not bound
-!missing-field! NSAccessibilityArticleSearchKey not bound
-!missing-field! NSAccessibilityAutocorrectionOccurredNotification not bound
-!missing-field! NSAccessibilityAutoInteractableAttribute not bound
-!missing-field! NSAccessibilityBlockQuoteLevelAttribute not bound
-!missing-field! NSAccessibilityBlockquoteSameLevelSearchKey not bound
-!missing-field! NSAccessibilityBlockquoteSearchKey not bound
-!missing-field! NSAccessibilityBoldFontSearchKey not bound
-!missing-field! NSAccessibilityButtonSearchKey not bound
-!missing-field! NSAccessibilityCheckBoxSearchKey not bound
-!missing-field! NSAccessibilityChildrenInNavigationOrderAttribute not bound
-!missing-field! NSAccessibilityControlSearchKey not bound
-!missing-field! NSAccessibilityDateTimeAreaRole not bound
-!missing-field! NSAccessibilityDateTimeComponentsAttribute not bound
-!missing-field! NSAccessibilityDifferentTypeSearchKey not bound
-!missing-field! NSAccessibilityDraggingDestinationDragAcceptedNotification not bound
-!missing-field! NSAccessibilityDraggingDestinationDragNotAcceptedNotification not bound
-!missing-field! NSAccessibilityDraggingDestinationDropAllowedNotification not bound
-!missing-field! NSAccessibilityDraggingDestinationDropNotAllowedNotification not bound
-!missing-field! NSAccessibilityDraggingSourceDragBeganNotification not bound
-!missing-field! NSAccessibilityDraggingSourceDragEndedNotification not bound
-!missing-field! NSAccessibilityEmbeddedImageDescriptionAttribute not bound
-!missing-field! NSAccessibilityFontBoldAttribute not bound
-!missing-field! NSAccessibilityFontChangeSearchKey not bound
-!missing-field! NSAccessibilityFontColorChangeSearchKey not bound
-!missing-field! NSAccessibilityFontItalicAttribute not bound
-!missing-field! NSAccessibilityFrameSearchKey not bound
-!missing-field! NSAccessibilityGraphicSearchKey not bound
-!missing-field! NSAccessibilityHeadingLevel1SearchKey not bound
-!missing-field! NSAccessibilityHeadingLevel2SearchKey not bound
-!missing-field! NSAccessibilityHeadingLevel3SearchKey not bound
-!missing-field! NSAccessibilityHeadingLevel4SearchKey not bound
-!missing-field! NSAccessibilityHeadingLevel5SearchKey not bound
-!missing-field! NSAccessibilityHeadingLevel6SearchKey not bound
-!missing-field! NSAccessibilityHeadingLevelAttribute not bound
-!missing-field! NSAccessibilityHeadingRole not bound
-!missing-field! NSAccessibilityHeadingSameLevelSearchKey not bound
-!missing-field! NSAccessibilityHeadingSearchKey not bound
-!missing-field! NSAccessibilityIndexForChildUIElementAttribute not bound
-!missing-field! NSAccessibilityIndexForChildUIElementInNavigationOrderAttribute not bound
-!missing-field! NSAccessibilityItalicFontSearchKey not bound
-!missing-field! NSAccessibilityKeyboardFocusableSearchKey not bound
-!missing-field! NSAccessibilityLandmarkSearchKey not bound
-!missing-field! NSAccessibilityLanguageAttribute not bound
-!missing-field! NSAccessibilityLinkSearchKey not bound
-!missing-field! NSAccessibilityListMarkerRole not bound
-!missing-field! NSAccessibilityListSearchKey not bound
-!missing-field! NSAccessibilityLiveRegionSearchKey not bound
-!missing-field! NSAccessibilityMisspelledWordSearchKey not bound
-!missing-field! NSAccessibilityOutlineSearchKey not bound
-!missing-field! NSAccessibilityPathAttribute not bound
-!missing-field! NSAccessibilityPlainTextSearchKey not bound
-!missing-field! NSAccessibilityRadioGroupSearchKey not bound
-!missing-field! NSAccessibilityResultsForSearchPredicateParameterizedAttribute not bound
-!missing-field! NSAccessibilitySameTypeSearchKey not bound
-!missing-field! NSAccessibilityScrollToVisibleAction not bound
-!missing-field! NSAccessibilitySearchCurrentElementKey not bound
-!missing-field! NSAccessibilitySearchCurrentRangeKey not bound
-!missing-field! NSAccessibilitySearchDirectionKey not bound
-!missing-field! NSAccessibilitySearchDirectionNext not bound
-!missing-field! NSAccessibilitySearchDirectionPrevious not bound
-!missing-field! NSAccessibilitySearchIdentifiersKey not bound
-!missing-field! NSAccessibilitySearchResultDescriptionOverrideKey not bound
-!missing-field! NSAccessibilitySearchResultElementKey not bound
-!missing-field! NSAccessibilitySearchResultLoaderKey not bound
-!missing-field! NSAccessibilitySearchResultRangeKey not bound
-!missing-field! NSAccessibilitySearchResultsLimitKey not bound
-!missing-field! NSAccessibilitySearchTextKey not bound
-!missing-field! NSAccessibilityStaticTextSearchKey not bound
-!missing-field! NSAccessibilityStyleChangeSearchKey not bound
-!missing-field! NSAccessibilitySuggestionSubrole not bound
-!missing-field! NSAccessibilityTableSameLevelSearchKey not bound
-!missing-field! NSAccessibilityTableSearchKey not bound
-!missing-field! NSAccessibilityTextCompletionAttribute not bound
-!missing-field! NSAccessibilityTextFieldSearchKey not bound
-!missing-field! NSAccessibilityTextInputMarkedRangeAttribute not bound
-!missing-field! NSAccessibilityTextInputMarkingSessionBeganNotification not bound
-!missing-field! NSAccessibilityTextInputMarkingSessionEndedNotification not bound
-!missing-field! NSAccessibilityTextStateChangeTypeKey not bound
-!missing-field! NSAccessibilityTextStateSyncKey not bound
-!missing-field! NSAccessibilityUIElementsForSearchPredicateParameterizedAttribute not bound
-!missing-field! NSAccessibilityUnderlineSearchKey not bound
-!missing-field! NSAccessibilityUnvisitedLinkSearchKey not bound
-!missing-field! NSAccessibilityVisitedAttribute not bound
-!missing-field! NSAccessibilityVisitedLinkSearchKey not bound
-!missing-field! NSAccessibilityWebAreaRole not bound
-!missing-field! NSApplicationShouldBeginSuppressingHighDynamicRangeContentNotification not bound
-!missing-field! NSApplicationShouldEndSuppressingHighDynamicRangeContentNotification not bound
-!missing-selector! +NSCell::_bulletStringForString:bulletCharacter: not bound
-!missing-selector! +NSImageSymbolConfiguration::configurationWithColorRenderingMode: not bound
-!missing-selector! +NSImageSymbolConfiguration::configurationWithVariableValueMode: not bound
-!missing-selector! NSApplication::applicationShouldSuppressHighDynamicRangeContent not bound
-!missing-selector! NSBackgroundExtensionView::automaticallyPlacesContentView not bound
-!missing-selector! NSBackgroundExtensionView::contentView not bound
-!missing-selector! NSBackgroundExtensionView::setAutomaticallyPlacesContentView: not bound
-!missing-selector! NSBackgroundExtensionView::setContentView: not bound
-!missing-selector! NSGestureRecognizer::modifierFlags not bound
-!missing-selector! NSGestureRecognizer::mouseCancelled: not bound
-!missing-selector! NSGestureRecognizer::name not bound
-!missing-selector! NSGestureRecognizer::setName: not bound
-!missing-selector! NSGlassEffectContainerView::contentView not bound
-!missing-selector! NSGlassEffectContainerView::setContentView: not bound
-!missing-selector! NSGlassEffectContainerView::setSpacing: not bound
-!missing-selector! NSGlassEffectContainerView::spacing not bound
-!missing-selector! NSGlassEffectView::contentView not bound
-!missing-selector! NSGlassEffectView::cornerRadius not bound
-!missing-selector! NSGlassEffectView::setContentView: not bound
-!missing-selector! NSGlassEffectView::setCornerRadius: not bound
-!missing-selector! NSGlassEffectView::setTintColor: not bound
-!missing-selector! NSGlassEffectView::tintColor not bound
-!missing-selector! NSResponder::mouseCancelled: not bound
-!missing-selector! NSScreen::CGDirectDisplayID not bound
-!missing-selector! NSSlider::neutralValue not bound
-!missing-selector! NSSlider::setNeutralValue: not bound
-!missing-selector! NSSplitViewItem::addBottomAlignedAccessoryViewController: not bound
-!missing-selector! NSSplitViewItem::addTopAlignedAccessoryViewController: not bound
-!missing-selector! NSSplitViewItem::automaticallyAdjustsSafeAreaInsets not bound
-!missing-selector! NSSplitViewItem::bottomAlignedAccessoryViewControllers not bound
-!missing-selector! NSSplitViewItem::insertBottomAlignedAccessoryViewController:atIndex: not bound
-!missing-selector! NSSplitViewItem::insertTopAlignedAccessoryViewController:atIndex: not bound
-!missing-selector! NSSplitViewItem::removeBottomAlignedAccessoryViewControllerAtIndex: not bound
-!missing-selector! NSSplitViewItem::removeTopAlignedAccessoryViewControllerAtIndex: not bound
-!missing-selector! NSSplitViewItem::setAutomaticallyAdjustsSafeAreaInsets: not bound
-!missing-selector! NSSplitViewItem::setBottomAlignedAccessoryViewControllers: not bound
-!missing-selector! NSSplitViewItem::setTopAlignedAccessoryViewControllers: not bound
-!missing-selector! NSSplitViewItem::topAlignedAccessoryViewControllers not bound
-!missing-selector! NSSplitViewItemAccessoryViewController::automaticallyAppliesContentInsets not bound
-!missing-selector! NSSplitViewItemAccessoryViewController::isHidden not bound
-!missing-selector! NSSplitViewItemAccessoryViewController::setAutomaticallyAppliesContentInsets: not bound
-!missing-selector! NSSplitViewItemAccessoryViewController::setHidden: not bound
-!missing-selector! NSSplitViewItemAccessoryViewController::viewDidAppear not bound
-!missing-selector! NSSplitViewItemAccessoryViewController::viewDidDisappear not bound
-!missing-selector! NSSplitViewItemAccessoryViewController::viewWillAppear not bound
-!missing-selector! NSSplitViewItemAccessoryViewController::viewWillDisappear not bound
-!missing-selector! NSTextField::placeholderAttributedStrings not bound
-!missing-selector! NSTextField::placeholderStrings not bound
-!missing-selector! NSTextField::setPlaceholderAttributedStrings: not bound
-!missing-selector! NSTextField::setPlaceholderStrings: not bound
-!missing-selector! NSToolbarItem::backgroundTintColor not bound
-!missing-selector! NSToolbarItem::setBackgroundTintColor: not bound
-!missing-selector! NSToolbarItem::setStyle: not bound
-!missing-selector! NSToolbarItem::style not bound
-!missing-selector! NSView::prefersCompactControlSizeMetrics not bound
-!missing-selector! NSView::setPrefersCompactControlSizeMetrics: not bound
-!missing-type! NSBackgroundExtensionView not bound
-!missing-type! NSGlassEffectContainerView not bound
-!missing-type! NSGlassEffectView not bound
-!missing-type! NSSplitViewItemAccessoryViewController not bound
-!missing-enum! NSTintProminence not bound
-!missing-selector! +NSItemBadge::badgeWithCount: not bound
-!missing-selector! +NSItemBadge::badgeWithText: not bound
-!missing-selector! +NSItemBadge::indicatorBadge not bound
-!missing-selector! NSButton::setTintProminence: not bound
-!missing-selector! NSButton::tintProminence not bound
-!missing-selector! NSItemBadge::text not bound
-!missing-selector! NSSlider::setTintProminence: not bound
-!missing-selector! NSSlider::tintProminence not bound
-!missing-selector! NSTextField::resolvesNaturalAlignmentWithBaseWritingDirection not bound
-!missing-selector! NSTextField::setResolvesNaturalAlignmentWithBaseWritingDirection: not bound
-!missing-selector! NSToolbarItem::badge not bound
-!missing-selector! NSToolbarItem::setBadge: not bound
-!missing-type! NSItemBadge not bound
-!missing-enum! NSControlBorderShape not bound
-!missing-selector! NSButton::borderShape not bound
-!missing-selector! NSButton::setBorderShape: not bound
-!missing-selector! NSSegmentedControl::borderShape not bound
-!missing-selector! NSSegmentedControl::setBorderShape: not bound