Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/appkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26158,6 +26158,10 @@ interface NSTitlebarAccessoryViewController : NSAnimationDelegate, NSAnimatableP

[Export ("automaticallyAdjustsSize")]
bool AutomaticallyAdjustsSize { get; set; }

[Mac (26, 1)]
[Export ("preferredScrollEdgeEffectStyle", ArgumentSemantic.Strong)]
NSScrollEdgeEffectStyle PreferredScrollEdgeEffectStyle { get; set; }
}

[NoMacCatalyst]
Expand Down Expand Up @@ -35037,6 +35041,10 @@ interface NSSplitViewItemAccessoryViewController : NSAnimatablePropertyContainer
[Export ("viewDidDisappear")]
[RequiresSuper]
void ViewDidDisappear ();

[Mac (26, 1)]
[Export ("preferredScrollEdgeEffectStyle", ArgumentSemantic.Strong)]
NSScrollEdgeEffectStyle PreferredScrollEdgeEffectStyle { get; set; }
}

// Not using smart enum intentionally as they would complicate the API
Expand Down Expand Up @@ -35211,4 +35219,22 @@ interface NSAccessibilityForSearchPredicateKey {
[Field ("NSAccessibilitySearchResultLoaderKey")]
NSString ResultLoader { get; }
}

[NoMacCatalyst, Mac (26, 1)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
interface NSScrollEdgeEffectStyle {

[Static]
[Export ("automaticStyle", ArgumentSemantic.Strong)]
NSScrollEdgeEffectStyle AutomaticStyle { get; }

[Static]
[Export ("softStyle", ArgumentSemantic.Strong)]
NSScrollEdgeEffectStyle SoftStyle { get; }

[Static]
[Export ("hardStyle", ArgumentSemantic.Strong)]
NSScrollEdgeEffectStyle HardStyle { get; }
}
}
6 changes: 6 additions & 0 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18411,6 +18411,9 @@ P:AppKit.NSPopUpButtonCell.Item(System.IntPtr)
P:AppKit.NSPopUpButtonCell.Item(System.String)
P:AppKit.NSRulerView.WeakMeasurementUnits
P:AppKit.NSSavePanel.GetDisplayName
P:AppKit.NSScrollEdgeEffectStyle.AutomaticStyle
P:AppKit.NSScrollEdgeEffectStyle.HardStyle
P:AppKit.NSScrollEdgeEffectStyle.SoftStyle
P:AppKit.NSSharingServiceDidFailToShareItemsEventArgs.Error
P:AppKit.NSSharingServiceDidFailToShareItemsEventArgs.Items
P:AppKit.NSSharingServiceItemsEventArgs.Items
Expand All @@ -18420,6 +18423,7 @@ P:AppKit.NSSharingServicePickerToolbarItem.Delegate
P:AppKit.NSSoundFinishedEventArgs.Finished
P:AppKit.NSSpellChecker.IsAutomaticInlinePredictionEnabled
P:AppKit.NSSplitViewItemAccessoryViewController.Hidden
P:AppKit.NSSplitViewItemAccessoryViewController.PreferredScrollEdgeEffectStyle
P:AppKit.NSTableView.UserCanChangeVisibility
P:AppKit.NSTableViewCellEventArgs.Cell
P:AppKit.NSTableViewCellEventArgs.Row
Expand Down Expand Up @@ -18461,6 +18465,7 @@ P:AppKit.NSTextViewDraggedCellEventArgs.TheEvent
P:AppKit.NSTextViewportLayoutController.Delegate
P:AppKit.NSTextViewWillChangeNotifyingTextViewEventArgs.NewView
P:AppKit.NSTextViewWillChangeNotifyingTextViewEventArgs.OldView
P:AppKit.NSTitlebarAccessoryViewController.PreferredScrollEdgeEffectStyle
P:AppKit.NSToolbar.GetItemCanBeInsertedAt
P:AppKit.NSToolbar.GetToolbarImmovableItemIdentifiers
P:AppKit.NSToolbarItem.Hidden
Expand Down Expand Up @@ -25138,6 +25143,7 @@ T:AppKit.NSRunResponse
T:AppKit.NSSaveOperationType
T:AppKit.NSSavePanelComplete
T:AppKit.NSScrollArrowPosition
T:AppKit.NSScrollEdgeEffectStyle
T:AppKit.NSScrollElasticity
T:AppKit.NSScrollerArrow
T:AppKit.NSScrollerKnobStyle
Expand Down
8 changes: 0 additions & 8 deletions tests/xtro-sharpie/api-annotations-dotnet/macOS-AppKit.todo

This file was deleted.