Last active
June 13, 2017 20:52
-
-
Save xxtesaxx/b71e6d44e842a8fbcd2a014b74b93830 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if let text = myModel.someString, !text.isEmpty { | |
cell.myLabel.text = text | |
} else { | |
cell.myLabel.text = "Text is empty" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment