• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableColumn not usable with binder of class NSTextValueBinder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTableColumn not usable with binder of class NSTextValueBinder?
      • From: Dave Dribin <email@hidden>
References: 
 >NSTableColumn not usable with binder of class NSTextValueBinder? (From: Dave Dribin <email@hidden>)
 >Re: NSTableColumn not usable with binder of class NSTextValueBinder? (From: Dave Dribin <email@hidden>)

  • Prev by Date: Re: Receiving mouseEnter and mouseExit events.
  • Next by Date: From JavaMail to Cocoa?
  • Previous by thread: Re: NSTableColumn not usable with binder of class NSTextValueBinder?
  • Next by thread: Re: NSTableColumn not usable with binder of class NSTextValueBinder?
  • Index(es):
    • Date
    • Thread