Contents

sizeThatFits(_:)

Returns the space needed by the text view, for a proposed size.

Declaration

func sizeThatFits(_ proposal: ProposedViewSize) -> CGSize

Parameters

  • proposal:

    The proposed size of the text view.

Return Value

The size that the text view requires for the given proposal.