• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ImageNamed not refreshing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >ImageNamed not refreshing (From: Joe Zobkiw <email@hidden>)

  • Prev by Date: Re: Problem calling InternetConfig in Jaguar
  • Next by Date: Cocoa Developer Group: North Carolina & South Carolina
  • Previous by thread: ImageNamed not refreshing
  • Next by thread: Re: ImageNamed not refreshing
  • Index(es):
    • Date
    • Thread