sizeThatFits(proposal:text:)
Returns the size of the text in proposal. The provided text proxy value may be used to query the sizing behavior of the underlying text layout.
Declaration
func sizeThatFits(proposal: ProposedViewSize, text: TextProxy) -> CGSizeDiscussion
The default implementation of this function returns text.size(proposal).