Re: NSTableColumn not usable with binder of class NSTextValueBinder?
Re: NSTableColumn not usable with binder of class NSTextValueBinder?
- Subject: Re: NSTableColumn not usable with binder of class NSTextValueBinder?
- From: Dave Dribin <email@hidden>
- Date: Tue, 19 Aug 2008 16:20:11 -0500
On Aug 19, 2008, at 3:27 PM, Dave Dribin wrote:
Hello,
When I hit the "Delete" key in one of my table views, I get the
following error logged to the console:
Object <NSTableColumn: 0x256740> is not usable with binder of class
NSTextValueBinder
Further information: I have one column with a custom NSCell subclass.
However, in IB, this column's cell is an NSTextFieldCell, and I
replace the cell in awakeFromNib. I don't see a way to set the
column's cell to a direct NSCell subclass in IB.
As a test, I changed my custom cell to subclass NSTextFieldCell
instead of NSCell and the console error goes away and the "Delete" key
actually deletes the row. But this seems wrong as it's not displaying
any text, though.
-Dave
_______________________________________________
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