Skip to content

Instantly share code, notes, and snippets.

@efremidze
Created March 9, 2018 00:05
Show Gist options
  • Save efremidze/0f979ff9e8023f7d6a1ac441529c56f8 to your computer and use it in GitHub Desktop.
Save efremidze/0f979ff9e8023f7d6a1ac441529c56f8 to your computer and use it in GitHub Desktop.
extension UIStackView {
func reverseZIndex() {
for view in arrangedSubviews {
sendSubview(toBack: view)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment