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