---
title: attributes()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/qccomposition/attributes()
---

# attributes()

Returns the attributes of the composition.

## Declaration

```swift
func attributes() -> [AnyHashable : Any]!
```

## Return Value

Return Value A dictionary of composition attributes. See Attribute Keys for the attributes that can be returned.

## See Also

### Getting Information About a Composition

- [protocols()](quartz/qccomposition/protocols().md)
- [identifier()](quartz/qccomposition/identifier().md)
