text(in:)
Returns the text in the specified range.
Declaration
func text(in range: UITextRange) -> String?Parameters
- range:
A range of text in a document.
Return Value
A substring of a document that falls within the specified range.
Returns the text in the specified range.
func text(in range: UITextRange) -> String?A range of text in a document.
A substring of a document that falls within the specified range.