Re: CALayer - delegate not being called?
- Subject: Re: CALayer - delegate not being called?
- From: Paul Goracke <email@hidden>
- Date: Wed, 28 Nov 2007 07:34:32 -0800
- Delivered-to: email@hidden
- Delivered-to: email@hidden
On Nov 28, 2007, at 2:21 AM, John Clayton wrote:
But Neil is saying that the border of the layer is visible, thus the
layer must be drawing itself at some point already, right?
The CALayer style properties (described at <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/LayerVisProps.html
>) are applied "regardless of type of media a layer displays."
Providing/drawing the CALayer's _content_ requires either setting the
content property, providing a delegate, or subclassing:
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/ProvidingCALayerContent.html
>
pg
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.