Contents

titleLineBreakMode

The line break mode the button uses to lay out the button’s title.

Declaration

var titleLineBreakMode: NSLineBreakMode { get set }

Discussion

Word and character wrapping modes enable multiline text, while other modes restrict the text to a single line.

The default value is NSLineBreakMode.byWordWrapping.

See Also

Configuring titles