<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MusicKit",
  "identifier" : "/documentation/MusicKit/TitledSection",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MusicKit"
    ],
    "preciseIdentifier" : "s:8MusicKit13TitledSectionV"
  },
  "title" : "TitledSection"
}
-->

# TitledSection

A section you can use to request items from the library grouped by title.

```
struct TitledSection
```

## Overview

For example, when you perform a library sectioned request of albums,
the library sectioned response will contain albums grouped
by the first letter of their title, and the [`title`](/documentation/MusicKit/TitledSection/title) property of this section
will be equal to that first letter.

## Topics

### Instance Properties

[`var id: MusicItemID`](/documentation/MusicKit/TitledSection/id)

The unique identifier for the titled section.

[`let title: String`](/documentation/MusicKit/TitledSection/title)

The title of the section.

## Relationships

### Conforms To

[`Escapable`](/documentation/Swift/Escapable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Copyable`](/documentation/Swift/Copyable)

[`Hashable`](/documentation/Swift/Hashable)

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

[`Equatable`](/documentation/Swift/Equatable)

[`Identifiable`](/documentation/Swift/Identifiable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)