UITextRange
public extension UITextRange
-
Converts this range to
NSRange
. Returns nil if range cannot be converted.Declaration
Swift
func toNSRange(in input: UITextInput) -> NSRange?
Parameters
input
Input to use to get range.