On Apr 2, 2013, at 11:43 AM, Steve Mills <[email protected]> wrote:

> On Apr 2, 2013, at 13:35, David Duncan <[email protected]> wrote:
> 
>> What class is acting as the layer's delegate?
> 
> My ScreenSaverView is the delegate.


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).
--
David Duncan


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to