• 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: popupbutton cell in an NSTableView displaying No Value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: popupbutton cell in an NSTableView displaying No Value


  • Subject: Re: popupbutton cell in an NSTableView displaying No Value
  • From: Keary Suska <email@hidden>
  • Date: Thu, 13 Sep 2007 08:19:17 -0600
  • Thread-topic: popupbutton cell in an NSTableView displaying No Value

on 9/12/07 8:46 PM, email@hidden purportedly said:

> I have an ISTModelList which have the values populated.
> This ISTModelList is associated with the pop up using bindings.
> If i display the values in this ISTModelList using NSLog, the values are
> displayed properly ( There is no "No Value" being displayed in the NSLog).
> But in the pop up, i can see a "No Value" being shown.
> What might be the issue?

It usually means the binding for the current selected item (such as
"selectedObject, selectedValue, etc") is either: 1) returning a nil value or
2) returning an object that doesn't correspond to the bound controller's
content. In other words, for "selectedObject" for instance, the object
returned by the binding must exist in the bound content, and not just
equivalently but the *exact same object*.

In the case of #1, a nil value may be acceptable, in which case you need to
supply a nil value placeholder so it shows something more informative.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: 
 >Re: popupbutton cell in an NSTableView displaying No Value (From: "vibhatha v" <email@hidden>)

  • Prev by Date: connection kit
  • Next by Date: Re: NSImage inside(?) NSBezierPath
  • Previous by thread: Re: popupbutton cell in an NSTableView displaying No Value
  • Next by thread: Test
  • Index(es):
    • Date
    • Thread