Skip navigation.
 
mlRe: Binding table column to complex NSDictionary
FROM : Keary Suska
DATE : Thu Jan 03 21:13:33 2008

on 1/3/08 10:34 AM, <email_removed> purportedly said:

> [[myObject properties] valueForKeyPath:@"employees.name"]
>
> properties is an NSMutableDictionary; the key "employees" is an
> NSArray; each object in the NSArray is an NSDictionary which in this
> case has a key "name".
>
> The valueForKeyPath statement above returns an array of names as I
> expected but I would like to bind that (given myObject) to a table
> column within IB.


You'll need the "employees" array as the content of an NSArrayController, to
which you will bind your column value.

Best,

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

Related mailsAuthorDate
mlBinding table column to complex NSDictionary David Bainbridge Jan 3, 18:34
mlRe: Binding table column to complex NSDictionary Keary Suska Jan 3, 21:13