I find some code like this:
CABasicAnimation *anim = [CABasicAnimation animation]; anim.keyPath = @\"transform.scale\"; anim.fromValue = [NSNumber numberWithFloa
I'm not sure, but I found a solution that could probably help.
IN SWIFT: Instead of writing a String you can use this:
let shadowAnimation = CABasicAnimation(keyPath: #keyPath(CALayer.shadowRadius))
When you type CALayer. <- autocomplete should give you the available keyPaths.
I hope this helps.