Re: Bind to element in dictionary in array
Re: Bind to element in dictionary in array
- Subject: Re: Bind to element in dictionary in array
- From: Matt Neuburg <email@hidden>
- Date: Thu, 29 Jun 2006 07:09:15 -0700
- Thread-topic: Bind to element in dictionary in array
On Wed, 28 Jun 2006 16:43:30 +0000, Trygve Inda <email@hidden>
said:
>Dict
>- someValueA
>- someValueB
>- someValueC
>--- Array (key: MyArray)
> - Dict (element 1)
> - someBoolValueD
> - someBoolValueE
> - Dict (element 2)
> - someBoolValueD
> - someBoolValueE
>--- (End of Array)
>
>So, it's easy to bind to the first part with dict.someValueA, but how do I
>notate a bind to a element in the array? (in Interface Builder)
>
>dict.MyArray[index].someBoolValueD <- this does not seem to work
If you pass through an NSArrayController you can bind to
theArrayController.selection.someBoolValueD, and the selection is in your
control. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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