I\'ve been experimenting with UITextField and how to work with it\'s cursor position. I\'ve found a number of relation Objective-C answers, as in
UITextField
let range = field.selectedTextRange field.text = "hello world" field.selectedTextRange = range