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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com