• 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
view gets drawRect called when scrolling into elastic area
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

view gets drawRect called when scrolling into elastic area


  • Subject: view gets drawRect called when scrolling into elastic area
  • From: Steve Mills <email@hidden>
  • Date: Mon, 17 Jun 2013 11:50:58 -0500

Can anyone explain why our view subclass is getting drawRect called when I scroll into the elastic area with 2-finger scrolling (OS X, not iOS)? The view has at least one CALayer and self.wantsLayer has been set to YES. This causes it to draw in tiles. All tiles have been rendered, yet when I scroll past the actual bounds of the view into the elastic area, we get drawRects for *all* tiles. For a complex document, it brings it to a crawl if you happen to swipe aggressively into any elastic area.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

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: view gets drawRect called when scrolling into elastic area
      • From: Kyle Sluder <email@hidden>
    • Re: view gets drawRect called when scrolling into elastic area
      • From: Steve Mills <email@hidden>
  • Prev by Date: Re: scrollPoint in NSScrollView does not scroll
  • Next by Date: Re: view gets drawRect called when scrolling into elastic area
  • Previous by thread: Rules for IBOutlet Strong/Weak References
  • Next by thread: Re: view gets drawRect called when scrolling into elastic area
  • Index(es):
    • Date
    • Thread