Re: optimizing background image drawing with -drawRect
Re: optimizing background image drawing with -drawRect
- Subject: Re: optimizing background image drawing with -drawRect
- From: Shawn Erickson <email@hidden>
- Date: Mon, 02 Apr 2007 14:37:28 -0700
On Apr 2, 2007, at 2:08 PM, Shamyl Zakariya wrote:
Glad to be of service.
That being said, I Savant's approach is a little more clever,
deferring the load of the image until the moment it's actually needed.
Additionally you could give the image a name using the facilities
that NSImage provides and let it take care of the caching.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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