setContentWidth(_:type:)
Sets the width of the text block.
Declaration
func setContentWidth(_ contentWidth: CGFloat, type: NSTextBlock.ValueType)Parameters
- contentWidth:
The new value for the width.
- type:
The type of value being provided. This controls how
contentWidthis interpreted.