[ad_1]
You’re assigning instead of checking for equality…
if (oName.text == "" || oWeight.text == "") {
print("Field Empty")
}
[ad_2]
solved If statement in Swift 3 using OR || operator [closed]
[ad_1]
You’re assigning instead of checking for equality…
if (oName.text == "" || oWeight.text == "") {
print("Field Empty")
}
[ad_2]
solved If statement in Swift 3 using OR || operator [closed]