Re: Illegal NSTableView data source
Re: Illegal NSTableView data source
- Subject: Re: Illegal NSTableView data source
- From: Adam Leonard <email@hidden>
- Date: Fri, 12 Jan 2007 17:11:59 -0800
Just implement both of the methods referenced in the assertion and
return anything you want (probably 0 for numberOfRowsInTableView: and
nil for tableView:objectValueForTableColumn:row:)
Bindings will still do its magic, everything will still work, and you
will not get those errors.
Adam Leonard
On Jan 12, 2007, at 2:08 PM, Robert Cerny wrote:
Hi folks,
I have ann issue which is driving me nuts. I'm writing a small app,
where I use bindings. I implemented a subclass of NSArrayController
to support drag&drop into my tableview.
My problem is that the console started to report:
*** Illegal NSTableView data source (<DDArrayController: 0x35e6f0>
[object class: RCTPath, number of selected objects: 0]). Must
implement numberOfRowsInTableView: and
tableView:objectValueForTableColumn:row:
Everything is working correctly but this error is very annoying.
Any idea?
Robert
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40caffeinatedcocoa.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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