view gets drawRect called when scrolling into elastic area
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