init(_:)
Creates an attributed string from a discontiguous attributed substring.
Declaration
init(_ substring: DiscontiguousAttributedSubstring)Parameters
- substring:
A discontiguous attributed substring to create the new attributed string from.
Creates an attributed string from a discontiguous attributed substring.
init(_ substring: DiscontiguousAttributedSubstring)A discontiguous attributed substring to create the new attributed string from.