Created
May 11, 2017 08:50
-
-
Save chriswebb09/a5fdbb5f7e240b230594b3b9aa6defa4 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
let viewOne = UIView() | |
let viewTwo = UIView() | |
let viewThree = UIView() | |
viewOne.tag = 1 | |
viewTwo.tag = 2 | |
viewThree.tag = 3 | |
viewOne.addSubview(viewTwo) | |
viewOne.addSubview(viewThree) | |
print(viewTwo.superview) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment