Re: Illegal NSTableView data source
Re: Illegal NSTableView data source
- Subject: Re: Illegal NSTableView data source
- From: Robert Cerny <email@hidden>
- Date: Sat, 13 Jan 2007 08:25:42 +0100
Well,
nothing against it. But I didn't have these methods implemented,
everything worked and suddenly I get this error.
Robert
On 13.1.2007, at 2:11, Adam Leonard wrote:
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
_______________________________________________
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