Hello,
I don’t understand how this code is working
Chapter 16: Replicating Animations
let rotation = CABasicAnimation(keyPath: "instanceTransform.rotation")
rotation.fromValue = 0.01
rotation.toValue = -0.01
...
replicator.add(rotation, forKey: "replicatorRotation")
replicator
is CAReplicatorLayer()
, instanceTransform
is CATransform3D
and CATransform3D
doesn’t have rotation
property. Any ideas, how does it work ?