---
title: "stop(_:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/qcview/stop(_:)"
---

# stop(_:)

Stops rendering a composition in a view.

## Declaration

```swift
@IBAction func stop(_ sender: Any!)
```

## Parameters

- `sender`: The object (such as a button or menu item) sending the message to stop rendering. You need to connect the object in the interface to the action.

## Discussion

Discussion The method is invoked when the user clicks a button or issues a command from some other user interface element, such as a menu. It is equivalent to the stopRendering() method.

## See Also

### Using Interface Builder

- [play(_:)](quartz/qcview/play(_:).md)
- [start(_:)](quartz/qcview/start(_:).md)
