https://i.stack.imgur.com/SEYrT.png
Please see this image
https://i.stack.imgur.com/SEYrT.png
Please see this image
if (label!.text != nil) != “”
What exactly are you trying to compare there? The part inside the parentheses would presumably evaluate to a Boolean, which you then compare to a String?? Maybe you meant text != nil && text != “”?
label is implicitly unwrapped, so you should write:
il (label.text != nil)
But please, next time, take time to paste the code here, not just post a screen copy. Screen copies are good to show a view, but do not replace text for code.