Contents

setContentWidth(_:type:)

Sets the width of the text block.

Declaration

func setContentWidth(_ val: CGFloat, type: NSTextBlock.ValueType)

Parameters

  • val:

    The new value for the width.

  • type:

    The type of value being provided. This controls how val is interpreted.

See Also

Working with dimensions of content