What class is acting as the layer's delegate? On Mar 31, 2013, at 8:45 PM, Steve Mills <[email protected]> wrote:
> Trying to learn animation stuff here, but it isn't working as documented. I > have a CALayer installed on my view (subclass of ScreenSaverView). Then > another CALayer is added as a subLayer on that first layer. At some point > after the layer has been initially drawn, I want to move it to a new > position, so: > > self.subLayer1.position = SSRandomPointForSizeWithinRect(NSMakeSize(100, > 100), self.frame); > > Rather than using the default animation timing, it jumps directly to the new > location. Maybe I'm confused after reading all the docs, but I thought this > was what Apple refers to as an implicit transaction, and any changes in the > layer properties would be animated with default values. If not, I guess I'll > use the more complex explicit transaction methods. Could it be because this > is a screensaver plugin instead of an app? > > -- > Steve Mills > Drummer, Mac geek > > > _______________________________________________ > > 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/david.duncan%40apple.com > > This email sent to [email protected] -- 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]
