Hi all, how to clear the text field everytime you get a new question and click the textfield to enter a value? I have tried initiate a UITextChecker, but not sure how to put that textChecker = UITextChecker() instance to use in my current code: The clearButtonMode only works on an instantialized textfield.
Other than that, if I understand the prompt correctly, the rest of the program works fine, and can serve as a reference for those who got stuck a bit.
SAVE 50% To celebrate WWDC22, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.
You need to create an account or log in to reply.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.