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

# load(_:)

Loads a QCComposition object into the view.

## Declaration

```swift
func load(_ composition: QCComposition!) -> Bool
```

## Parameters

- `composition`: The doc://com.apple.quartz/documentation/Quartz/QCComposition object to load.

## Return Value

Return Value true if successful; otherwise false. If unsuccessful, any composition that’s already loaded in the view remains loaded.

## See Also

### Loading a Composition

- [loadComposition(fromFile:)](quartz/qcview/loadcomposition(fromfile:).md)
- [loadedComposition()](quartz/qcview/loadedcomposition().md)
- [unloadComposition()](quartz/qcview/unloadcomposition().md)
