• 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: Fri, 21 May 2010 15:20:47 -0700

On Fri, May 21, 2010 at 11:06 AM, Troy Stephens <email@hidden> wrote:
> Sure.  Let us know if you run into further difficulty with this.

Unfortunately I have indeed hit more difficulty.  I've attached an
updated demo project to the Radar as well as uploaded it to
http://www.lanechng.com/ScrolledLayerHostingView.zip , and despite (I
believe) correctly handing over the layer to AppKit, it still has the
repositioning problem.

Instructions to trigger it:

1. Open the app.
2. Scroll the document around such that the scrollers are left at a
non-zero position.
3. Save the document.
4. Close the document.
5. Reopen the document.

The layer will be positioned incorrectly. :(

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

Thanks,
--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>)

  • Prev by Date: Forcing NSImage to cache images at certain sizes
  • Next by Date: Compatibility of Data iPhone / Mac
  • 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