Re: NSImageView bindings readonly ?
Re: NSImageView bindings readonly ?
- Subject: Re: NSImageView bindings readonly ?
- From: Rich Dearlove <email@hidden>
- Date: Sun, 07 Mar 2010 14:07:15 +0000
I wish it was readonly. But it appears to set the value to blank if you drop an image on, unless I'm doing something wrong.
RD
On 6 Mar 2010, at 16:33, Keary Suska wrote:
> On Mar 6, 2010, at 6:17 AM, Rich Dearlove wrote:
>
>> I've been trying to bind an NSImageView to a Dictionary element.
>>
>> I can get the NSImageView to display the image from the valuepath that is in the dictionary, but I would like to be able drop an image onto the NSimageview and have the bindings set the path to the image into the dictionary element. Is this possible ?
>
> The valuePath binding is read-only, and would likely too much subclassing witchery to work. It also doesn't seems sensible to use a path. Consider: user drags an image from a Word document. What is the path?
>
> 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