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

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


References: 
 >view gets drawRect called when scrolling into elastic area (From: Steve Mills <email@hidden>)
 >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: core data lightweight migration woes
  • Next by Date: Re: core data lightweight migration woes
  • Previous by thread: Re: view gets drawRect called when scrolling into elastic area
  • Next by thread: UIPageViewController
  • Index(es):
    • Date
    • Thread