Re: Bindings detail column shows dictionary description, not value
Re: Bindings detail column shows dictionary description, not value
- Subject: Re: Bindings detail column shows dictionary description, not value
- From: Miguel Sanchez <email@hidden>
- Date: Fri, 9 Dec 2005 14:16:20 -0800
I'm assuming that iRecipients.name is just a simple string value,
right? If so, why do you bind the detail array to
selection.iRecipients.name which would be an array created by
concatenating all the name values. Have you tried just
selection.iRecipients?
- Miguel
On Dec 9, 2005, at 12:24 PM, Paul Collins wrote:
In my master-detail interface nib, I've got a master
NSArrayController that seems to be working fine, bound to an array
of a custom class GSFile. In a detail NSTableView, I want to
display an array of NSDictionary held by GSFile called
"iRecipients". I've got a second NSArrayController, bound to the
master controller as
contentArray = selection.iRecipients.name [masterController]
A column in my detail table is bound:
arrangedObjects.name [detailController]
When run, instead of showing the name, the detail column shows what
looks like a description of the dictionary in the iRecipients
array. Here's what the "name" cell displays in my view:
{address = "email@hidden"; name = "Paul"; }
I want to just see "Paul" - any suggestions?
--Paul Collins
** Gracion Software LLC http://www.gracion.com/ **
** Tel: +1 (541) 488-3488 iChat/AV/AIM: gracionsoft **
** DigiTunnel 1.4 PPTP/VPN client for OS X **
** Pronto Patent - search/download US patents fast **
** And check out: http://www.opendoor.com/doorstop/ **
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden