Re: Cannot find protocol declaration for 'NSTableViewDelegate'
Re: Cannot find protocol declaration for 'NSTableViewDelegate'
- Subject: Re: Cannot find protocol declaration for 'NSTableViewDelegate'
- From: vincent habchi <email@hidden>
- Date: Fri, 5 Nov 2010 06:54:29 +0100
Le 5 nov. 2010 à 05:48, Thomas Wetmore <email@hidden> 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@hidden)
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:
This email sent to email@hidden