Contents

setValue(_:type:for:)

Sets a dimension of the text block.

Declaration

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

Parameters

  • val:

    The new value for the dimension.

  • type:

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

  • dimension:

    The dimension to set.

See Also

Working with dimensions of content