Plays or pauses a composition in a view.
- macOS 10.5+
The object (such as a button or menu item) sending the message to play the composition. You need to connect the object in the interface to the action.
The message sent to the target.
This method starts rendering a composition if it is not already rendering, pauses a composition that is rendering, or resumes rendering for a composition whose rendering is paused. The method is invoked when the user clicks a button or issues a command from some other user interface element, such as a menu.