Do I need to disable the save button until the text is entered in all the necessary text fields? I am developing an application in Swift and I have found many answers in Objective-c. Since I have absolutely knowledge of Objective-c, I cannot understand what this means.
Does anyone have a solution for this that can be made in Swift?
I know how to enable / disable a button. I also know how to check if a text field is empty. I'm just not sure how to make my code always check if it is empty or not. I tried the while loop, but, as I expected, it all froze.
source
share