Le 5 nov. 2010 à 05:48, Thomas Wetmore <[email protected]> a écrit :
> I've been staring at this error message for the past hour. > > When trying to compile the code ... > > ------------------------------------- > #import <Cocoa/Cocoa.h> > > @interface TWInterpreterController : NSWindowController <NSTableViewDelegate> > ... > @end > -------------------------------------- > > the compiler issues the error: > > "Cannot find protocol declaration for 'NSTableViewDelegate'" > > The import of Cocoa/Cocoa.h causes the import of AppKit/NSTableView.h which > contains the protocol definition What happens if you import AppKit/NSTableView.h directly? Since Xcode uses header precompiling, maybe something goes wrong during this preliminary stage? Vincent_______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
