Contents

textLayoutSections

The layout orientations for each section.

Declaration

static let textLayoutSections: NSAttributedString.DocumentAttributeKey

Discussion

An NSArray containing NSDictionary objects, each dictionary describing a layout orientation section. The dictionary can have two attributes: orientation and range. When there is a gap between sections, it’s assumed to have NSLayoutManager.TextLayoutOrientation.horizontal.

See Also

Getting document appearance keys