Contents

lineBreakMode

The behavior of the last line inside the text container.

Declaration

var lineBreakMode: NSLineBreakMode { get set }

Discussion

The NSLineBreakMode constants specify what happens when a line is too long for its container. For example, wrapping can occur on word boundaries (the default) or character boundaries, or the line can be clipped or truncated. The default value of this property is NSLineBreakMode.byWordWrapping.

See Also

Defining the container shape