• 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: Constrained layer-backed control stops responding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Constrained layer-backed control stops responding


  • Subject: Re: Constrained layer-backed control stops responding
  • From: David Duncan <email@hidden>
  • Date: Mon, 9 Feb 2009 11:27:13 -0800

On Feb 8, 2009, at 9:54 PM, Alejandro Rodriguez wrote:

I have a NSView that is layer-backed (setWantsLayer:YES) and when I add it to another subview it works fine. But if I use a CAConstraint to chage it's location then controls inside the view stop responding to events. Any clues anyone?


Your more than likely desynchronizing the logical and visual locations of the view when you do this. AppKit manages the location of views separately from Core Animation, and thus if you move a view's layer via Core Animation, you are likely to confuse AppKit.
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________

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: 
 >Constrained layer-backed control stops responding (From: Alejandro Rodriguez <email@hidden>)

  • Prev by Date: Re: CGFloat and 64 Bit
  • Next by Date: Re: CGFloat and 64 Bit
  • Previous by thread: Constrained layer-backed control stops responding
  • Next by thread: Creating audio files in iphone
  • Index(es):
    • Date
    • Thread