SWIFT > Ideas > Flashcards
Check if string is empty for login page
Determine whether a String value is empty by checking its Boolean isEmpty property:
if emptyString.isEmpty { print(“String is empty”)}