Contents

truncatesLastVisibleLine

A Boolean value indicating whether the cell truncates text that does not fit within the cell’s bounds.

Declaration

var truncatesLastVisibleLine: Bool { get set }

Discussion

When the value of this property is true, the cell truncates text and adds an ellipsis character to the last visible line when the text does not fit. The value in the lineBreakMode property must be NSLineBreakMode.byWordWrapping or NSLineBreakMode.byCharWrapping for this option to have any effect.

See Also

Modifying Textual Attributes