Created
October 23, 2022 00:38
-
-
Save cjnevin/927f7d5b9477ef67428e255d723b75f8 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
| addSubview(redView) { | |
| $0.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 20) | |
| $0.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -20) | |
| $0.topAnchor.constraint(equalTo: topAnchor, constant: 20) | |
| $0.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -20) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment