I'm confused as to why the keyPath is a string when animating a specific property on a CALayer. Would it not be better and safer just to use an enum? Just wondering as to the advantage of typing out a string literal.
Example: let flash = CASpringAnimation(keyPath: "borderColor")