---
title: AttributedString.UnicodeScalarView
framework: foundation
role: symbol
role_heading: Structure
path: foundation/attributedstring/unicodescalarview
---

# AttributedString.UnicodeScalarView

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

## Declaration

```swift
struct UnicodeScalarView
```

## Topics

### Default Implementations

- [Collection Implementations](foundation/attributedstring/unicodescalarview/collection-implementations.md)

## Relationships

### Conforms To

- [BidirectionalCollection](swift/bidirectionalcollection.md)
- [Collection](swift/collection.md)
- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [RangeReplaceableCollection](swift/rangereplaceablecollection.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Sequence](swift/sequence.md)

## See Also

### Accessing Views into the Attributed String

- [characters](foundation/attributedstring/characters.md)
- [AttributedString.CharacterView](foundation/attributedstring/characterview.md)
- [unicodeScalars](foundation/attributedstring/unicodescalars.md)
- [runs](foundation/attributedstring/runs-swift.property.md)
- [AttributedString.Runs](foundation/attributedstring/runs-swift.struct.md)
