On Mar 10, 2009, at 4:50 PM, James Cicenia wrote:
I am just overlaying colored state images over a map of the US.
I don't need performance here, just memory efficiency. I will try
imageWithContetsOfFile.
And just to be clear, imageWithContentsOfFile: vs imageNamed: won't
save you any memory per image, it only prevents the image from being
put into the image cache, which may help your performance in other ways.
Dave Camp's suggestions are probably a good starting point. Only load
images you need to display, and if they don't need to be as large as
they are, shrink them (when creating the content, not after loading
them).
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com