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