Skip navigation.
 
mlRe: Newbie problem with protocol
FROM : Jonathan Jackel
DATE : Sun Jan 26 20:46:08 2003

I think the answer is that NSTableDataSource is an informal protocol,
not a "real" protocol.  Eliminate the reference to <NSTableDataSource>
and you should be fine.  Perhaps someone who knows more about protocols
can say why.

Jonathan




On Sunday, January 26, 2003, at 02:22  PM, Pierre Neihouser wrote:

> Hi,
>
> Trying to implement NSTableDataSource protocol, I get an error message
> when I build my project.
> Here is the interface:
>
> #import <AppKit/NSTableView.h>
> #import <Cocoa/Cocoa.h>
>
> @interface TableLogger : NSObject <NSTableDataSource>
>
> {
> }
>
> - (void)process:(NSTableView *)table;
>
> @end
>
> I get a "cannot find protocol declaration for `NSTableDataSource' "
> error message on build.
> I thought I imported everything needed, but it looks like I forgot
> something.
> Thanks for your help, if you need more information from me don't
> hesitate to ask.
>
> -- Pierre
> _______________________________________________
> cocoa-dev mailing list | <email_removed>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.

_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNewbie problem with protocol Pierre Neihouser Jan 26, 20:22
mlRe: Newbie problem with protocol mw Jan 26, 20:35
mlRe: Newbie problem with protocol Andrew Pinski Jan 26, 20:36
mlRe: Newbie problem with protocol Max Seelemann Jan 26, 20:38
mlRe: Newbie problem with protocol j o a r Jan 26, 20:44
mlRe: Newbie problem with protocol Jonathan Jackel Jan 26, 20:46
mlRe: Newbie problem with protocol Jeff Disher Jan 26, 20:49
mlRe: Newbie problem with protocol Pierre Neihouser Jan 27, 12:08