Skip to content

Instantly share code, notes, and snippets.

@quangtqag
Created June 28, 2016 01:33
Show Gist options
  • Save quangtqag/76c269b9ee3d7ea24d19244723efee35 to your computer and use it in GitHub Desktop.
Save quangtqag/76c269b9ee3d7ea24d19244723efee35 to your computer and use it in GitHub Desktop.
NSLayoutConstraint.activateConstraints(constraints)
UIView.animateWithDuration(0.5) {
self.view.layoutIfNeeded()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment