<!--
{
  "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" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributedString/UnicodeScalarView",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation16AttributedStringV17UnicodeScalarViewV"
  },
  "title" : "AttributedString.UnicodeScalarView"
}
-->

# AttributedString.UnicodeScalarView

A view into the underlying storage of the attributed string, as Unicode scalars.

```
struct UnicodeScalarView
```

## Topics

### Default Implementations

[Collection Implementations](/documentation/Foundation/AttributedString/UnicodeScalarView/Collection-Implementations)

## Relationships

### Conforms To

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

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

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

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

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

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

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

[`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)