So I\'ve been developing an app in Swift, and today I spent nearly an hour debugging a problem that turned out to be completely unexpected. It all resulted from the code bel
my advice is to use this nice coalescing ??
??
if textfieldDate.text?.isEmpty ?? true { // the text is either nil or empty but its all we want to know }