Created
November 13, 2017 07:18
-
-
Save cjinghong/211f5db793b492ab46810eb22406efaf 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
let square = UIView(frame: CGRect(x: 10, y: 10, width: 100, height: 100)) | |
square.backgroundColor = .brown | |
self.view.addSubview(square) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment