Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CALayer - delegate not being called?



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
References: 
 >CALayer - delegate not being called? (From: Neil Clayton <email@hidden>)
 >Re: CALayer - delegate not being called? (From: Paul Goracke <email@hidden>)
 >Re: CALayer - delegate not being called? (From: "stephen joseph butler" <email@hidden>)
 >Re: CALayer - delegate not being called? (From: Scott Anguish <email@hidden>)
 >Re: CALayer - delegate not being called? (From: John Clayton <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.