---
title: loadedComposition()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/qcview/loadedcomposition()
---

# loadedComposition()

Returns the composition loaded in the view.

## Declaration

```swift
func loadedComposition() -> QCComposition!
```

## Return Value

Return Value The composition loaded in the view; otherwise nil.

## See Also

### Loading a Composition

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