• 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: NSTableView Popup Column issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView Popup Column issue


  • Subject: Re: NSTableView Popup Column issue
  • From: Keary Suska <email@hidden>
  • Date: Fri, 6 Feb 2009 09:13:21 -0700


On Feb 6, 2009, at 8:47 AM, Jon C. Munson II wrote:

The issue is that the popup displays a left paren, and when the list is
displayed, shows the item as an array dump (instead of the proper
attribute's value). I also cannot select that value and have it "stick" to
the underlying datasource (which is an intermediary table in a SQLite store,
provided by Core Data).

This generally means that you are binding a single value representation to an array (multiple).


I know the popup is getting the proper values from its supporting
NSArraryController as I removed the binding for the Selected Object and the
popup works as expected (minus the saving of the selected object) - the
attribute's value is displayed correctly in the list. The problem occurs
when I set the selected object binding.


The Selected Object binding is configured thus:

Bind to:  tblPattern_Yarn
Controller Key:  arrangedObjects
Model Key path: relYarn

And here you do it. Selected Object needs to be bound to something that returns a single value. arrangedObjects returns an array. Perhaps you want "selection"?


HTH,

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


  • Follow-Ups:
    • RE: NSTableView Popup Column issue
      • From: "Jon C. Munson II" <email@hidden>
    • RE: NSTableView Popup Column issue
      • From: "Jon C. Munson II" <email@hidden>
References: 
 >NSTableView Popup Column issue (From: "Jon C. Munson II" <email@hidden>)

  • Prev by Date: Re: garbage collection is ON NSCFDictionary crash
  • Next by Date: Re: Simple memory problem
  • Previous by thread: NSTableView Popup Column issue
  • Next by thread: RE: NSTableView Popup Column issue
  • Index(es):
    • Date
    • Thread