Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- runAnimation(duration: 0.5, {
- self.leadingConstraint = self.infosView.leftAnchor.constraint(equalTo: self.view.leftAnchor, constant: -500)
- self.leadingConstraint.isActive = true
- self.leadingConstraint.constant = 500
- self.testButton.superview?.layoutSubtreeIfNeeded()
- self.infosViewOpened = true
- })
Add Comment
Please, Sign In to add comment