FROM : mw
DATE : Sun Jan 26 20:35:39 2003
First off, you don't need #import <AppKit/NSTableView.h> because it's
redundant.
Second, there is no protocol called NSTableDataSource. The docs say that it
is an informal protocol, not a formal protocol. So take out
<NSTableDataSource> and be sure to implement the methods the docs tell you
to, and you'll be fine.
On your computer, the documentation for this is located at:
file:///Developer/Documentation/Cocoa/TasksAndConcepts/ProgrammingTopics/Tab
leView/index.html
mw
On 1/26/03 2:22 PM, "Pierre Neihouser" <<email_removed>> 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.
DATE : Sun Jan 26 20:35:39 2003
First off, you don't need #import <AppKit/NSTableView.h> because it's
redundant.
Second, there is no protocol called NSTableDataSource. The docs say that it
is an informal protocol, not a formal protocol. So take out
<NSTableDataSource> and be sure to implement the methods the docs tell you
to, and you'll be fine.
On your computer, the documentation for this is located at:
file:///Developer/Documentation/Cocoa/TasksAndConcepts/ProgrammingTopics/Tab
leView/index.html
mw
On 1/26/03 2:22 PM, "Pierre Neihouser" <<email_removed>> 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 mails | Author | Date |
|---|---|---|
| Pierre Neihouser | Jan 26, 20:22 | |
| mw | Jan 26, 20:35 | |
| Andrew Pinski | Jan 26, 20:36 | |
| Max Seelemann | Jan 26, 20:38 | |
| j o a r | Jan 26, 20:44 | |
| Jonathan Jackel | Jan 26, 20:46 | |
| Jeff Disher | Jan 26, 20:49 | |
| Pierre Neihouser | Jan 27, 12:08 |






Cocoa mail archive

