• 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: Mon, 24 May 2010 14:24:00 -0700

On Fri, May 21, 2010 at 3:20 PM, Kyle Sluder <email@hidden> wrote:
> I'm hoping I've done something wrong in setting up the layer. Is it
> perhaps because of the way I've turned off the redraw policy and set
> the layer resizing behavior? The documentation seems to imply that I
> have done the correct thing (setting the "resize independently"
> behavior and turning off layer redraw).

Nothing I do to -setLayerContentsPlacement: and/or
-setLayerContentsRedrawPolicy: (including doing nothing at all) is
able to fix the issue. The only thing I've gotten to work is to do a
delay-perform of -_updateLayerGeometryFromView, wrapped in a
CATransaction whose disableActions=YES. Even then, results are
suboptimal since the layer starts out positioned incorrectly and snaps
into the right spot on the next window refresh.

At this point, I don't think there's anything further I can do to work
around this bug.

--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

  • Follow-Ups:
    • Re: Layer-hosting views and layer-backed scroll views
      • From: Kyle Sluder <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>)

  • Prev by Date: Re: Beginner question on controls and NSCopying
  • Next by Date: Re: NSDoc's Magic File Watcher Ruins Core Data Migration [SOLVED]
  • Previous by thread: Re: Layer-hosting views and layer-backed scroll views
  • Next by thread: Re: Layer-hosting views and layer-backed scroll views
  • Index(es):
    • Date
    • Thread