9/4/08 5:10 PM, also sprach [EMAIL PROTECTED]:

> So, I've written a practice application with NSTableView, and
> NSMutableArray. I have NSTableView connected to AppController as a
> dataSource, and I connected all outlets.
> 
> I have ALREADY defined the protocols needed, but for some reason, this
> message keeps on appearing in the debugger:
> 
> *** Illegal NSTableView data source (<MyDocument: 0x167290>).  Must
> implement numberOfRowsInTableView: and
> tableView:objectValueForTableColumn:row:

As the error shows, the datasource for the tableview is set as a MyDocument
instance, and not your AppController class.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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]

Reply via email to