Re: NSImageView doesn't change with setImage
Re: NSImageView doesn't change with setImage
- Subject: Re: NSImageView doesn't change with setImage
- From: "John C. Randolph" <email@hidden>
- Date: Thu, 11 Aug 2005 07:12:58 -0700
On Aug 11, 2005, at 4:38 AM, email@hidden wrote:
I need change the image of an NSImageView with setImage:
[imageView setImage:[NSImage imageNamed:@"theImage"]];
why?
Probably because you didn't send [imageView setNeedsDisplay:YES];
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
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