SwiftUI, How can I select text in TextField as we can in UIKit UITextField selectAll() or range of text
UITextField
selectAll()
if let textRange = myTextVie