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: Fri, 6 Aug 2010 17:13:30 -0700
On Aug 6, 2010, at 2:09 PM, Gordon Apple wrote:
> BTW, the reason I went to a tiled layer in the first place is that CALayer
> crapped out long before that and only allowed a fairly short document view
> length.
The trick is to do something similar to what UITableView does – (re)use a small set of layers or views that do your drawing as you scroll through the document. This allows you to maintain control of memory usage as well.
--
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