Re: Any way to delay drawing after scrolling?
Re: Any way to delay drawing after scrolling?
- Subject: Re: Any way to delay drawing after scrolling?
- From: Steve Mills <email@hidden>
- Date: Tue, 06 Aug 2013 13:08:08 -0500
On Aug 6, 2013, at 11:09:51, Kyle Sluder <email@hidden>
wrote:
> If scrolling your view always requires a redraw, I’d just turn it on in the nib and leave it on.
No, it doesn't always need to do this. This is only needed when scaling our view, when the new scroll loc is calculated and set. Regular swipe or scrollbar scrolling will still use the optimized copiesOnScroll behavior.
> Also, since we now know how copiesOnScroll affects things: are you sure you were seeing double drawing?
Yes. I know because I overrode display:, set a breakpoint in it, and it was called by the call to scrollPoint.
--
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