Re: Using bindings to set NSImageView from filename
Re: Using bindings to set NSImageView from filename
- Subject: Re: Using bindings to set NSImageView from filename
- From: Scott Anguish <email@hidden>
- Date: Sun, 5 Apr 2009 01:08:51 -0400
On 4-Apr-09, at 5:36 PM, Martin Cote wrote:
Hi,
I would like to know if there's a way to use bindings to set the
image of an
NSImageView from a filename in Interface Builder. As far as I can
see, you
can only set the image from an NSImage instance.
I'm feeling that I'll have to write some code to do it, but if
there's a way
to do it in IB, I would like to know how.
NSImageView has a valuePath binding. That's for just that purpose.
file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Reference/CocoaBindingsRef/BindingsText/NSImageView.html
_______________________________________________
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