Contents

paragraphStyle

The paragraph style of the text.

Declaration

static let paragraphStyle: NSAttributedString.Key

Discussion

The value of this attribute is an NSParagraphStyle object. Use this attribute to apply multiple attributes to a range of text. If you do not specify this attribute, the string uses the default paragraph attributes, as returned by the default method of NSParagraphStyle.

See Also

Getting rendering attribute keys