Hi
I have a simple UIKit app that lets the user enter temperatures in floating point and converts them to a different unit. So steer the user in the right direction, first I made the UITextField.keyboardType property = decimalPad.
Then I set the UITextField.delegate to a UITextFieldDelegate with the method textfield(:shouldChangeCharactersIn:replacementString)
I want to convert the app to SwiftUI but I haven't found any equivalents for those .
Are there replacements for those?
I have a simple UIKit app that lets the user enter temperatures in floating point and converts them to a different unit. So steer the user in the right direction, first I made the UITextField.keyboardType property = decimalPad.
Then I set the UITextField.delegate to a UITextFieldDelegate with the method textfield(:shouldChangeCharactersIn:replacementString)
I want to convert the app to SwiftUI but I haven't found any equivalents for those .
Are there replacements for those?