Protocol

CAAction

The CAAction protocol provides an interface that allows an object to respond to an action triggered by an CALayer. When queried with an action identifier (a key path, an external action name, or a predefined action identifier) the layer returns the appropriate action object–which must implement the CAAction protocol–and sends it a run(forKey:object:arguments:) message.

Symbols

Responding to an action

func run(forKey: String, object: Any, arguments: [AnyHashable : Any]?)
Required.

Called to trigger the action specified by the identifier.

Relationships

Adopted By