Re: view gets drawRect called when scrolling into elastic area
Re: view gets drawRect called when scrolling into elastic area
- Subject: Re: view gets drawRect called when scrolling into elastic area
- From: Kyle Sluder <email@hidden>
- Date: Tue, 18 Jun 2013 08:22:39 -0700
On Tue, Jun 18, 2013, at 06:12 AM, Steve Mills wrote:
> On Jun 17, 2013, at 14:07:09, Kyle Sluder <email@hidden> wrote:
>
> > Elastic scrolling is pretty rough around the edges. There's no API for
> > drawing into that area, yet apparently it's willing to invalidate all
> > your other content.
>
> How could they have missed that?
They didn't miss it, but the API for drawing in that area is private to
the Apple frameworks. I don't know why it's not public; I expressed my
concerns about that at WWDC.
>
> > I guess you could set a breakpoint on -setNeedsDisplay:inRect: to figure
> > out where to stave off invalidation, but _please_ file a Radar about
> > improving the API around elastic scrolling.
>
> I've done the breakpoint thing, but it mostly looks like private methods
> that we don't have access to. No way to prevent it that I can see. I've
> filed radar://14188000 for this.
Bummer. Good luck.
--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