• 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: Bindings detail column shows dictionary description, not value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings detail column shows dictionary description, not value


  • Subject: Re: Bindings detail column shows dictionary description, not value
  • From: Paul Collins <email@hidden>
  • Date: Fri, 9 Dec 2005 16:37:30 -0800

Oops - email typo. The 2nd array controller is in fact bound to selection.iRecipients, producing the result described. Thanks for the note anyway.--Paul

On Dec 9, 2005, at 2:16 PM, Miguel Sanchez wrote:

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

(Corrected:)
contentArray = selection.iRecipients [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?




** 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
References: 
 >Bindings detail column shows dictionary description, not value (From: Paul Collins <email@hidden>)
 >Re: Bindings detail column shows dictionary description, not value (From: Miguel Sanchez <email@hidden>)

  • Prev by Date: Re: NSTextField undo in a sheet?
  • Next by Date: Re: [DO-Question] NSString works, NSImage not
  • Previous by thread: Re: Bindings detail column shows dictionary description, not value
  • Next by thread: Re: Bindings detail column shows dictionary description, not value
  • Index(es):
    • Date
    • Thread