Returns the animation that should be performed for the specified key.
- macOS 10.5+
The action name or property specified as a string.
The animation to perform. A subclass of
When the action specified by
key is triggered for an object, this method is consulted to find the animation, if any, that should be performed in response.
Like its Core Animation
action(for, this method is a funnel point that defines the order in which the search for an animation proceeds.It first checks the receiver's Getting the Animator Proxy dictionary for a value matching
key, then falls back to
animator() for the receiver's class.
Subclasses should not typically need to override this method.