Re: Fixing my massive memory leak with NSImage/CALayer
Re: Fixing my massive memory leak with NSImage/CALayer
- Subject: Re: Fixing my massive memory leak with NSImage/CALayer
- From: Jens Alfke <email@hidden>
- Date: Tue, 1 Apr 2008 22:32:16 -0700
On 1 Apr '08, at 7:47 PM, Nathan Vander Wilt wrote:
Looks like I'll have to design a smarter architecture to keep the
right images in memory at the right time.
IKImageBrowserView (new in 10.5) pretty much does this for you. If its
look and feel are compatible with what you're doing (it's not very
customizable) it's definitely the easiest way to go.
If you're doing it yourself, though, and need maximum control over
image memory usage, consider using CGImage instead. It doesn't cache
anything for you, so it's easier to tell what it's doing.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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