---
title: attributes
framework: medialibrary
role: symbol
role_heading: Instance Property
path: medialibrary/mlmediagroup/attributes
---

# attributes

A dictionary of attributes describing the media group.

## Declaration

```swift
var attributes: [String : Any] { get }
```

## Discussion

Discussion These attributes are usually defined by the source app, such as iTunes. For example, an iTunes playlist is represented as a group. iTunes attaches attributes such as “Playlist Persistent ID” to the group in its attributes. The attribute names vary based on the media source. Attributes common to all sources are called out as separate properties.

## See Also

### Accessing Group Attributes

- [name](medialibrary/mlmediagroup/name.md)
- [iconImage](medialibrary/mlmediagroup/iconimage.md)
- [url](medialibrary/mlmediagroup/url.md)
- [modificationDate](medialibrary/mlmediagroup/modificationdate.md)
