matovsky.com
How to disable a Button if a TextField is empty? (Swift 4.x)
I think it’s pointless make the button for sending data available if data is empty. This is also meaningless for the user. All he'll get is also empty data.