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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to