• 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: Scroller With CATiledLayer Running out of Memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Scroller With CATiledLayer Running out of Memory (From: Gordon Apple <email@hidden>)
 >Re: Scroller With CATiledLayer Running out of Memory (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Scroller With CATiledLayer Running out of Memory
  • Next by Date: Re: NSGlyphGenerator behavior
  • Previous by thread: Re: Scroller With CATiledLayer Running out of Memory
  • Next by thread: Wow! Just installed OPENSTEP ENTERPRISE 4.2
  • Index(es):
    • Date
    • Thread