diff --git a/src/coredata.cs b/src/coredata.cs index 84c34c3f2fab..b2abb00f8e07 100644 --- a/src/coredata.cs +++ b/src/coredata.cs @@ -10,6 +10,9 @@ using System; using Foundation; using ObjCRuntime; +#if MONOMAC +using AppKit; +#endif #if !WATCH using CoreSpotlight; #endif @@ -909,7 +912,10 @@ interface NSQueryGenerationToken : NSSecureCoding, NSCopying interface NSManagedObjectContext : NSCoding #if !WATCH && !TVOS , NSLocking -#endif // !WATCH +#endif +#if MONOMAC + , NSEditor, NSEditorRegistration +#endif { [NullAllowed] // by default this property is null diff --git a/tests/xtro-sharpie/macOS-AppKit.todo b/tests/xtro-sharpie/macOS-AppKit.todo deleted file mode 100644 index 4f32faef65f4..000000000000 --- a/tests/xtro-sharpie/macOS-AppKit.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-protocol-conformance! NSManagedObjectContext should conform to NSEditor (defined in 'NSEditorAndEditorRegistrationConformance' category) -!missing-protocol-conformance! NSManagedObjectContext should conform to NSEditorRegistration (defined in 'NSEditorAndEditorRegistrationConformance' category)