• 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: More CALayer Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More CALayer Questions


  • Subject: Re: More CALayer Questions
  • From: Steven W Riggins <email@hidden>
  • Date: Sat, 19 Jul 2008 14:41:18 -0700


On Jul 8, 2008, at 2:54 AM, Scott Anguish wrote:

I've got a longer answer coming... but

There are two ways to interact with layers.

- making a view layer-backed (that is, the view and its subviews will use CALayers as a caching mechanism)
- using a view to host layers (inserting your custom layers into the layer hierarchy with the view's layer as the root layer)


in the first case, you should ignore the layers and not interact with them
in the second case you should ignore the view, with the exception of resizing, and do all the layer manipulation yourself.



In the second case, would the view handle all interaction, or do the layers get those events as well?



_______________________________________________

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: More CALayer Questions
      • From: Scott Anguish <email@hidden>
References: 
 >Re: More CALayer Questions (From: Gordon Apple <email@hidden>)
 >Re: More CALayer Questions (From: Scott Anguish <email@hidden>)

  • Prev by Date: Outline View not retaining objects it uses. Why?
  • Next by Date: Re: NSTimer, and NSTimeInterval help?
  • Previous by thread: Re: More CALayer Questions
  • Next by thread: Re: More CALayer Questions
  • Index(es):
    • Date
    • Thread