Re: Binding table column to complex NSDictionary
Re: Binding table column to complex NSDictionary
- Subject: Re: Binding table column to complex NSDictionary
- From: Keary Suska <email@hidden>
- Date: Thu, 03 Jan 2008 13:13:33 -0700
- Thread-topic: Binding table column to complex NSDictionary
on 1/3/08 10:34 AM, email@hidden 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"
_______________________________________________
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