Post

Replies

Boosts

Views

Activity

TextField does not work correctly
Hello everyone I have been studying SwiftUI for 1 month and ran into a problem. TextField does not work correctly, namely it is difficult to print text on the simulator. When you quickly type 5 characters, it displays only 1. When you try to finish a word at the beginning, the cursor jumps to the end. And when I tested it on my own device, the application was closed altogether. I think it's because of incorrect data saving. Please tell me how to fix this problem and whether I am saving the data correctly. About the app: I am creating this app for myself. This is a collection of tasks solved by me (something like notes). You can see the code below.
1
0
1.1k
May ’23