<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MusicKit",
  "identifier" : "/documentation/MusicKit/MusicPropertyContainer",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "MusicKit"
    ],
    "preciseIdentifier" : "s:8MusicKit0A17PropertyContainerP"
  },
  "title" : "MusicPropertyContainer"
}
-->

# MusicPropertyContainer

A protocol for music items that allow loading additional
properties that you can fetch asynchronously.

```
protocol MusicPropertyContainer
```

## Topics

### Instance Methods

[`func with([PartialMusicAsyncProperty<Self>]) async throws -> Self`](/documentation/MusicKit/MusicPropertyContainer/with(_:))

Loads a new instance of the music item that includes
the specified properties.

[`func with([PartialMusicAsyncProperty<Self>], preferredSource: MusicPropertySource) async throws -> Self`](/documentation/MusicKit/MusicPropertyContainer/with(_:preferredSource:)-8ec7p)

Loads a new instance of the music item that includes
the specified properties.

[`func with(PartialMusicAsyncProperty<Self>..., preferredSource: MusicPropertySource) async throws -> Self`](/documentation/MusicKit/MusicPropertyContainer/with(_:preferredSource:)-9wqhc)

Loads a new instance of the music item that includes
the specified properties.

## Relationships

### Conforming Types

[`Song`](/documentation/MusicKit/Song)

[`Artist`](/documentation/MusicKit/Artist)

[`Album`](/documentation/MusicKit/Album)

[`RadioShow`](/documentation/MusicKit/RadioShow)

[`Genre`](/documentation/MusicKit/Genre)

[`Station`](/documentation/MusicKit/Station)

[`Playlist`](/documentation/MusicKit/Playlist)

[`Track`](/documentation/MusicKit/Track)

[`Item-swift.enum`](/documentation/MusicKit/Playlist/Entry/Item-swift.enum)

[`Curator`](/documentation/MusicKit/Curator)

[`MusicVideo`](/documentation/MusicKit/MusicVideo)

[`RecordLabel`](/documentation/MusicKit/RecordLabel)

[`Item-swift.enum`](/documentation/MusicKit/MusicPlayer/Queue/Entry/Item-swift.enum)

[`Entry`](/documentation/MusicKit/Playlist/Entry)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)