Re: Scroller With CATiledLayer Running out of Memory
Re: Scroller With CATiledLayer Running out of Memory
- Subject: Re: Scroller With CATiledLayer Running out of Memory
- From: David Duncan <email@hidden>
- Date: Sat, 7 Aug 2010 10:57:15 -0700
On Aug 6, 2010, at 6:07 PM, Gordon Apple wrote:
> I thought that was what the scroller was supposed to do for you, at least if
> you actually optimized drawing to use the "rect" in drawRect, which is what
> I am currently trying to do.
That's how it works on AppKit in non-layer backed mode. In UIKit and in AppKit under layer backed mode however a layer will retain backing store for its entire content area (generally bounds.size * contentsScale). You can ask for partial draws, but if the content isn't going to change then that may not be worth it.
--
David Duncan
_______________________________________________
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