• 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: NSComboBox, binding, multiple selection, multiple values == trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox, binding, multiple selection, multiple values == trouble


  • Subject: Re: NSComboBox, binding, multiple selection, multiple values == trouble
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 23 Jan 2013 12:51:23 -0800

On Jan 23, 2013, at 09:28 , Markus Spoettl <email@hidden> wrote:

>  in my app, I can edit a selection of model objects in a window which that consists of NSTextFields and NSComboBoxes to edit model properties, all via binding to an NSArrayController's selection proxy.
>
> When I'm editing a multi-selection that has property values are different for individual model objects in the selection, I get an undesired behavior from NSComboBox:
>
> When I tab over an NSComboBox which displays the multiple-values placeholder, upon exiting the combo box, the corresponding property for all selected objects is nil'd. (BAD)

Does the "Allows Editing Multiple Values Selection" binding option, if unchecked, prevent the problem?


_______________________________________________

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: NSComboBox, binding, multiple selection, multiple values == trouble
      • From: Markus Spoettl <email@hidden>
References: 
 >NSComboBox, binding, multiple selection, multiple values == trouble (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Using NSSavePanel to export to UTTypeFolder without a file extension.
  • Next by Date: Re: NSComboBox, binding, multiple selection, multiple values == trouble
  • Previous by thread: NSComboBox, binding, multiple selection, multiple values == trouble
  • Next by thread: Re: NSComboBox, binding, multiple selection, multiple values == trouble
  • Index(es):
    • Date
    • Thread