On Tue, 22 Sep 2009 11:40:10 +0100, Martin Hawkins
<martin.hawk...@gmail.com> said:
>I can set the initial value of the image by using
>
>actionImagePath = [NSMutableString stringWithString: @"/Users/.../one.jpg"];
>// the full path is hard coded at the moment - worry about that later
>
>as the value path for the  image view is bound to actionImagePath.
>
>What I cannot do is change the image. When I click on the second radio
>button, I use
>
>[actionImagePath setString:@"/Users/.../two.jpg"];
That change is happening "behind the back" of KVO (key-value observing), so
the binding does not know about it. m.

-- 
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to