From e2ecd31fba69846cd0a3d9d8016b4b31cc4c67c3 Mon Sep 17 00:00:00 2001 From: Chris Hamons Date: Wed, 12 Sep 2018 15:21:31 -0500 Subject: [PATCH 1/2] AppKit for Xcode 10 GM --- src/coredata.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 From 79638dcaa87037aa9e02310a6389b88a3be45646 Mon Sep 17 00:00:00 2001 From: Chris Hamons Date: Wed, 12 Sep 2018 20:10:24 -0500 Subject: [PATCH 2/2] Clear todo --- tests/xtro-sharpie/macOS-AppKit.todo | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 tests/xtro-sharpie/macOS-AppKit.todo 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)