Re: What is using up so much memory here?
Re: What is using up so much memory here?
- Subject: Re: What is using up so much memory here?
- From: David Duncan <email@hidden>
- Date: Tue, 10 Mar 2009 16:45:30 -0700
On Mar 10, 2009, at 4:41 PM, James Cicenia wrote:
Interesting... I didn't know that, but then it begs the question....
what do the cool kids do?
Should I be taking a different approach here? If so, any pointers or
doc chapter would be
great.
All depends on what you are trying to accomplish. Typically you avoid
loading anything you don't need and release anything when your done
with it. And you may want to switch to imageWithContentsOfFile: until
you can prove that the caching behavior of imageNamed: is providing
you with a performance improvement.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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