I'm working on an extension of Core Data functionality. I've got a block of code where I'd like to test if a user's
No, there is not, because:
The test for an AppKit version is the idiomatic way to do this sort of thing in the preprocessor.
However, i don't see why you need the preprocessor for this.
BOOL delegateImplementsAccessor = [[[NSClassFromString(@"NSApplication") sharedApplication] delegate] respondsToSelector:@selector(managedObjectContext)];