Re: Setting position of CALayer doesn't animate
Re: Setting position of CALayer doesn't animate
- Subject: Re: Setting position of CALayer doesn't animate
- From: Steve Mills <email@hidden>
- Date: Tue, 02 Apr 2013 14:04:11 -0500
On Apr 2, 2013, at 13:49, David Duncan <email@hidden> wrote:
> By default a UIView will disable animations on its layer via the CALayer informal delegate protocol (if you are creating this layer yourself, you should not assign a UIView subclass as its delegate). This is why you aren't seeing implicit animations when you set the layer's position. You should either use UIView's animation APIs (if this layer belongs to a UIView) or you should assign something else as the layer's delegate (I would probably recommend the former).
UIView? On OS X?
Steve via iPad
_______________________________________________
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