Created
October 19, 2022 22:55
-
-
Save xmhafiz/80dd0a9a9bb4582ab17ef0e048ba63d9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
lazy var errorLabel: UILabel = { | |
let label = UILabel() | |
label.text = "Oops, incorrect email or password!" | |
label.textColor = .white | |
label.backgroundColor = .red | |
label.textAlignment = .center | |
label.translatesAutoresizingMaskIntoConstraints = false | |
label.alpha = 0 | |
return label | |
}() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment