Skip to content

Instantly share code, notes, and snippets.

@chriswebb09
Created May 11, 2017 08:52
Show Gist options
  • Select an option

  • Save chriswebb09/a39bacf4c6d33e53ac7e0fdda2a861e1 to your computer and use it in GitHub Desktop.

Select an option

Save chriswebb09/a39bacf4c6d33e53ac7e0fdda2a861e1 to your computer and use it in GitHub Desktop.
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(viewOne.subviews)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment