본문 바로가기
iOS/Swift

text property

by Jiseong 2021. 9. 10.

the text property of a textfield is never going to equal nil, even if it's empty, it's going to be set

 

https://stackoverflow.com/questions/24102641/how-to-check-if-a-text-field-is-empty-or-not-in-swift

 

How to check if a text field is empty or not in swift

I am working on the code below to check the textField1 and textField2 text fields whether there is any input in them or not. The IF statement is not doing anything when I press the button. @IBO...

stackoverflow.com

 

'iOS > Swift' 카테고리의 다른 글

[Swift] Functions  (0) 2021.09.23
M1 error running pod install  (0) 2021.09.20
IOS Application Lifecycle  (2) 2021.09.09
[Swift] Control Flow  (1) 2021.09.08
Design Pattern - MVC  (0) 2021.08.31

댓글