Created
October 29, 2017 14:47
-
-
Save nathangitter/4e56a8f19d918fba0c7c342f6a684426 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
var myCustomView = UIView() | |
override func viewDidLoad() { | |
myCustomView.backgroundColor = UIColor.blue | |
myCustomView.layer.cornerRadius = myCustomView.bounds.width / 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment