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: Corbin Dunn <email@hidden>
- Date: Tue, 19 Aug 2008 15:19:16 -0700
On Aug 19, 2008, at 2:20 PM, Dave Dribin wrote:
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.
You can in IB3; just double click on the cell...then set the class.
Otherwise, you have to manually set up your binding in code after you
set the [tableColumn dataCell]. The binding is specific to the cell
type. If you need a code example, I can dig one up.
corbin
_______________________________________________
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