Skip to content

Structure

DiscontiguousAttributedSubstring

iOS 26.0+ iPadOS 26.0+ Mac Catalyst 26.0+ macOS 26.0+ tvOS 26.0+ visionOS 26.0+ watchOS 26.0+
A discontiguous portion of an attributed string.
@dynamicMemberLookup struct DiscontiguousAttributedSubstring

Topics

Instance Properties

Subscripts

  • subscript(_:)
    Returns a discontiguous substring of this discontiguous attributed string using a set of ranges to indicate the discontiguous substring bounds.
  • subscript(dynamicMember:)
    Returns an attribute value that a key path indicates.

Default Implementations

Relationships

Conforms To

  • AttributedStringAttributeMutation
  • Swift.Copyable
  • Swift.CustomStringConvertible
  • Swift.Equatable
  • Swift.Escapable
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype