<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/attributed-string-supporting-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Attributed String Supporting Types"
}
-->

# Attributed String Supporting Types

Types that the attributed string, attributed substring, and helper types extend or conform to, for sharing common functionality.

## Topics

### Shared Attributed String Functionality

[`protocol AttributedStringProtocol`](/documentation/Foundation/AttributedStringProtocol)

A protocol that provides common functionality to attributed strings and attributed substrings.

### Defining Attribute Scopes

[`protocol AttributeScope`](/documentation/Foundation/AttributeScope)

A type that organizes attributes into a grouping, and supports dynamic member lookup and serialization of attribute keys.



---

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)