• 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: Dave Dribin <email@hidden>
  • Date: Fri, 29 Aug 2008 09:29:07 -0500

On Aug 27, 2008, at 1:34 AM, Ron Lue-Sang wrote:

Woah.
If you really want to use a custom cell, you're gonna want a custom column as well. The bindings for the tableColumn come from the tableColumn's dataCell's available bindings. Yea, as you've found, NSActionCell has a value binding, not plain old NSCell.


[.. snip ..]

Does any of this make sense?
Possibly, you've already solved this some other way, but hopefully I've cleared up a couple of things.

Yeah, this all mostly makes sense. I'm content just subclassing NSActionCell for this case, though.


FWIW, what I am trying to do is create a circular, nondeterminate (pie chart style) progress indicator cell and use it in a table column. So it's just doing some drawing based on objectValue (I'm using nil to mean hide the progress). Of course, I want to use bindings to hook this up to my model, too. Subclassing NSCell and binding the column's "value" seemed like the best approach.

-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


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>)
 >Re: NSTableColumn not usable with binder of class NSTextValueBinder? (From: Corbin Dunn <email@hidden>)
 >Re: 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>)
 >Re: NSTableColumn not usable with binder of class NSTextValueBinder? (From: "Ken Ferry" <email@hidden>)
 >Re: NSTableColumn not usable with binder of class NSTextValueBinder? (From: Dave Dribin <email@hidden>)
 >Re: NSTableColumn not usable with binder of class NSTextValueBinder? (From: Ron Lue-Sang <email@hidden>)

  • Prev by Date: Path animation with CGPathAddArcToPoint
  • Next by Date: Image in NSOutlineView
  • 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