• 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: Image cache: Where is it and how do I refresh it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image cache: Where is it and how do I refresh it?


  • Subject: Re: Image cache: Where is it and how do I refresh it?
  • From: Heinrich Giesen <email@hidden>
  • Date: Tue, 30 May 2006 11:17:31 +0200


On May 30, 2006, at 10:26 AM, Gregory Weston wrote:

There's not any explicit way to signal to the view that
any cached data is likely to be invalid?

tell the NSImage object that the representation(s) changed and new rendering must be done: [theImage recache]; The docs say:
Invalidates and frees the offscreen caches of all image representations.

Maybe you should/must also say that the imageRep should be retained: theImage = [[NSImage alloc] initWithSize:NSZeroSize]; [theImage addRepresentation:theImageRep]; [theImage setDataRetained:YES];

	Heinrich

--
Heinrich Giesen
email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Re: Image cache: Where is it and how do I refresh it?
      • From: Gregory Weston <email@hidden>
  • Prev by Date: Re: appending a string to an NSTextView
  • Next by Date: Re: appending a string to an NSTextView
  • Previous by thread: Re: Image cache: Where is it and how do I refresh it?
  • Next by thread: Re: Image cache: Where is it and how do I refresh it?
  • Index(es):
    • Date
    • Thread