On Apr 16, 2009, at 3:02 PM, Mohan Parthasarathy wrote:

I am implementing actionForLayer:forKey for the property "sublayers". How do I do this unless I am implementing the Views Layer delegate because i am adding/removing layers from the Views root Layer ? Does this mean I have to add a dummy Layer and be the delegate of that to which I can add/remove layers ?


There are alternatives to using the delegate protocol to add animations to a layer, one of which may be appropriate here. See the documentation for -actionForKey: for more details.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to