runs
The attributed runs of the attributed string, as a view into the underlying string.
Declaration
var runs: AttributedString.Runs { get }Discussion
Runs begin and end when the attributes for the characters change. Use this property to iterate over the runs with for-in syntax.