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
2 changes: 1 addition & 1 deletion src/AppKit/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2542,7 +2542,7 @@ public enum NSVisualEffectMaterial : long {
[Mac (10,14)]
WindowBackground = 12,
[Mac (10,14)]
HUDWindow = 13,
HudWindow = 13,
[Mac (10,14)]
FullScreenUI = 15,
[Mac (10,14)]
Expand Down
15 changes: 6 additions & 9 deletions src/appkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4120,7 +4120,7 @@ partial interface NSColor : NSCoding, NSCopying, NSSecureCoding, NSPasteboardRea

[Mac (10,14, onlyOn64: true)]
[Export ("colorWithSystemEffect:")]
NSColor WithSystemEffect (NSColorSystemEffect systemEffect);
NSColor FromSystemEffect (NSColorSystemEffect systemEffect);

[Mac (10, 13)]
[Static]
Expand Down Expand Up @@ -7925,16 +7925,13 @@ partial interface NSMenu : NSCoding, NSCopying, NSAccessibility, NSAccessibility
[PostSnippet ("__mt_items_var = ItemArray();")]
void RemoveAllItems ();

#if XAMCORE_4_0
[Export ("itemArray", ArgumentSemantic.Copy)]
NSMenuItem[] ItemArray { get; [Mac (10, 14, onlyOn64: true)] set; }
#else
[Export ("itemArray")]
NSMenuItem [] ItemArray ();
NSMenuItem[] Items { get; [Mac (10, 14, onlyOn64: true)] set; }

[Mac (10, 14, onlyOn64: true)]
[Export ("setItemArray:")]
void SetItemArray (NSMenuItem [] items);
#if !XAMCORE_4_0
[Obsolete ("Use 'Items' instead.")]
[Wrap ("Items", IsVirtual = true)]
NSMenuItem [] ItemArray ();
#endif

[Export ("numberOfItems")]
Expand Down
4 changes: 4 additions & 0 deletions src/foundation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12351,7 +12351,11 @@ interface NSFileManager_NSUserInformation {
partial interface NSFilePresenter {
[Abstract]
[Export ("presentedItemURL", ArgumentSemantic.Retain)]
#if XAMCORE_4_0
NSUrl PresentedItemUrl { get; }
#else
NSUrl PresentedItemURL { get; }
#endif

#if XAMCORE_2_0
[Abstract]
Expand Down