• 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: NSOutlineView multi cell type binding query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView multi cell type binding query


  • Subject: Re: NSOutlineView multi cell type binding query
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 5 Oct 2010 15:03:06 -0700

On Oct 5, 2010, at 03:53, email@hidden wrote:

> However it appears that the binding machinery causes the NSPopUpButtonCell selection to be reset after the user has interacted with the control.
>
> I therefore have to resync the NSPopUpButtonCell selection to the model in - outlineView:willDisplayCell:forTableColumn:item:

If I understand you correctly, then it's not the binding machinery that "resets" anything.

Instead, it's understood (as part of NSTableView's API contract) that the cell in outlineView:willDisplayCell:forTableColumn:item: is re-configured every time it is used, since it's potentially re-used for multiple rows. It's not surprising that you would have to set up the selected item(s) every time.

Or did I misunderstand what you're asking?


_______________________________________________

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: NSOutlineView multi cell type binding query
      • From: "email@hidden" <email@hidden>
References: 
 >NSOutlineView multi cell type binding query (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: NSImage is Caching
  • Next by Date: Re: NSOutlineView multi cell type binding query
  • Previous by thread: NSOutlineView multi cell type binding query
  • Next by thread: Re: NSOutlineView multi cell type binding query
  • Index(es):
    • Date
    • Thread