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: Kyle Sluder <email@hidden>
- Date: Sat, 7 Aug 2010 20:36:44 -0700
On Sat, Aug 7, 2010 at 8:19 PM, David Duncan <email@hidden> wrote:
> The simplest method would likely be to take the same approach that UITableView takes. Create a subclass of UIScrollView that lays out some small number of views that you render parts of your text into. This is very similar to what ScrollViewSuite does.
I think it might be important to point out that layers with no content
have no backing store. So if you take the UITableView approach, you
don't have to worry about your view's layer being the appropriate
height as long as it has no content of its own. No reimplementation of
UIScrollView needed.
--Kyle Sluder
_______________________________________________
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