Re: NSTableView Protocol Help!
Re: NSTableView Protocol Help!
- Subject: Re: NSTableView Protocol Help!
- From: Keary Suska <email@hidden>
- Date: Thu, 04 Sep 2008 17:25:33 -0600
- Thread-topic: NSTableView Protocol Help!
9/4/08 5:10 PM, also sprach email@hidden:
> 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 (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