• 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: 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

  • Follow-Ups:
    • Re: Scroller With CATiledLayer Running out of Memory
      • From: Gordon Apple <email@hidden>
References: 
 >Re: Scroller With CATiledLayer Running out of Memory (From: Gordon Apple <email@hidden>)

  • Prev by Date: -[NSMoveHelper _doAnimation] hangs
  • Next by Date: Re: Proper UTI for accepting files dropped on my table view?
  • Previous by thread: Re: Scroller With CATiledLayer Running out of Memory
  • Next by thread: Re: Scroller With CATiledLayer Running out of Memory
  • Index(es):
    • Date
    • Thread