• 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: NSButtonCell binds only readonly; Non-bool bindings OK.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButtonCell binds only readonly; Non-bool bindings OK.


  • Subject: Re: NSButtonCell binds only readonly; Non-bool bindings OK.
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 23 Apr 2009 11:40:20 -0700


On 2009 Apr 23, at 11:27, Kyle Sluder wrote:

IIRC NSTokenFieldCell is not supported inside of NSTableView.  I'm
pretty sure I had that problem not too long ago.

Now that you mentioned it, that does ring a bell. But it seems to work OK for me. Actually, I'm using my own subclass of NSTokenFieldCell, but that is simply for improved handling of placeholders.


I'm understanding your architecture correctly, you may be subtly
violating KVO.  Have you instead tried just dynamically unbinding and
rebinding the columns in response to your user input?

No. Having to do that would some of the fun out of bindings. Maybe I'll try it. But just so I don't repeat the same mistake, what possible subtle violation do you see?




_______________________________________________

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: 
 >NSButtonCell binds only readonly; Non-bool bindings OK. (From: Jerry Krinock <email@hidden>)
 >Re: NSButtonCell binds only readonly; Non-bool bindings OK. (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Subclassing add: of NSArraycontroller
  • Next by Date: Best practice regarding display of many similar items in a lengthy view
  • Previous by thread: Re: NSButtonCell binds only readonly; Non-bool bindings OK.
  • Next by thread: Re: NSButtonCell binds only readonly; Non-bool bindings OK.
  • Index(es):
    • Date
    • Thread