Re: ImageNamed not refreshing
Re: ImageNamed not refreshing
- Subject: Re: ImageNamed not refreshing
- From: Joe Zobkiw <email@hidden>
- Date: Mon, 30 Sep 2002 12:56:42 -0400
The magic seems to be to use a COPY of the imageNamed when calling setImage.
NSImage *theImage = [[NSImage imageNamed:@"picture.tiff"] copy];
What seems to have been happening was the picture.tiff itself was being
"edited" by the image editing function. By using a COPY instead, the problem
is solved. Hopefully this will help others.
--
Joe Zobkiw
TripleSoft Inc.
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.