• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cannot find protocol declaration for 'NSTableViewDelegate'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Cannot find protocol declaration for 'NSTableViewDelegate'
      • From: Laurent Daudelin <email@hidden>
References: 
 >Cannot find protocol declaration for 'NSTableViewDelegate' (From: Thomas Wetmore <email@hidden>)

  • Prev by Date: Re: Setting (not saving) NSPersistentDocument Metadata changes file Modification Date
  • Next by Date: Re: Switching app type from background only to full UI, and back?
  • Previous by thread: Cannot find protocol declaration for 'NSTableViewDelegate'
  • Next by thread: Re: Cannot find protocol declaration for 'NSTableViewDelegate'
  • Index(es):
    • Date
    • Thread