• 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 with NSNumberFormatter DataSource works but not Content binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox with NSNumberFormatter DataSource works but not Content binding


  • Subject: Re: NSComboBox with NSNumberFormatter DataSource works but not Content binding
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 13 Sep 2012 00:43:33 -0700

On Sep 4, 2012, at 23:12 , Luke Evans <email@hidden> wrote:

> I understand that I must present NSDecimalNumber objects for list content and I'd prefer to use bindings for this,

Why must you use NSDecimalNumber instead of NSNumber?

> so I create a simple NSArray of NSDecimalNumber values and provide this as the Content binding.  I get a drop down list with no visible values.

The "content" binding is documented to require a NSArrayController.


_______________________________________________

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: 
 >NSComboBox with NSNumberFormatter DataSource works but not Content binding (From: Luke Evans <email@hidden>)

  • Prev by Date: Re: Converting NSImage with multiple image representations (HiDPI+LowDPI) into grayscale NSImage
  • Next by Date: Re: Targeting actions/methods on selected object in NSObjectController
  • Previous by thread: NSComboBox with NSNumberFormatter DataSource works but not Content binding
  • Next by thread: Mac cursor hotspot is not at the tip of the cursor
  • Index(es):
    • Date
    • Thread