Contents

setValue(_:type:for:)

Sets a dimension of the text block.

Declaration

func setValue(_ value: CGFloat, type: NSTextBlock.ValueType, for dimension: NSTextBlock.Dimension)

Parameters

  • value:

    The new value for the dimension.

  • type:

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

  • dimension:

    The dimension to set.

See Also

Working with dimensions of content