• 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: Layer-hosting views and layer-backed scroll views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Layer-hosting views and layer-backed scroll views


  • Subject: Re: Layer-hosting views and layer-backed scroll views
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 25 May 2010 15:54:02 -0700

On Mon, May 24, 2010 at 2:24 PM, Kyle Sluder <email@hidden> wrote:
> At this point, I don't think there's anything further I can do to work
> around this bug.

Well, Tim Wood gave me the idea to call -_updateLayerGeometryFromView
in an override of -viewWillDraw. This does the trick, and avoids the
single frame flicker of the layer in the wrong spot. So I think it's
as good as I'm going to get for now. I don't know if this workaround
works on 10.5, since -viewWillDraw is documented to not be called in
many cases of non-traditional drawing. But since we've publicly
announced that all new major versions of our apps will be 10.6-only, I
really don't care.

I do hope someone at Apple takes the time to fix this bug, and I hope
my workaround holds up.

--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: 
 >Layer-hosting views and layer-backed scroll views (From: Kyle Sluder <email@hidden>)
 >Re: Layer-hosting views and layer-backed scroll views (From: Kyle Sluder <email@hidden>)
 >Re: Layer-hosting views and layer-backed scroll views (From: Troy Stephens <email@hidden>)
 >Re: Layer-hosting views and layer-backed scroll views (From: Kyle Sluder <email@hidden>)
 >Re: Layer-hosting views and layer-backed scroll views (From: Troy Stephens <email@hidden>)
 >Re: Layer-hosting views and layer-backed scroll views (From: Kyle Sluder <email@hidden>)
 >Re: Layer-hosting views and layer-backed scroll views (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: -[NSMutableSet randomObject]
  • Next by Date: Re: Deallocation while key value observers still registered
  • Previous by thread: Re: Layer-hosting views and layer-backed scroll views
  • Next by thread: How does NSSavePanel support UTIs?
  • Index(es):
    • Date
    • Thread