• 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: optimizing background image drawing with -drawRect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >optimizing background image drawing with -drawRect (From: Artemiy Pavlov <email@hidden>)
 >Re: optimizing background image drawing with -drawRect (From: Shamyl Zakariya <email@hidden>)
 >Re: optimizing background image drawing with -drawRect (From: Artemiy Pavlov <email@hidden>)
 >Re: optimizing background image drawing with -drawRect (From: Shamyl Zakariya <email@hidden>)

  • Prev by Date: Re: NSObjectController can't observe NSArrayController's selection?
  • Next by Date: Re: updating UI during long loop using cocoa objective-c
  • Previous by thread: Re: optimizing background image drawing with -drawRect
  • Next by thread: Re: optimizing background image drawing with -drawRect
  • Index(es):
    • Date
    • Thread