Created
July 26, 2017 04:45
-
-
Save AlexZverusha/30f1c11af8e0615a873b6055928d4495 to your computer and use it in GitHub Desktop.
UIView.animate
This file contains 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
UIView.animate(withDuration: 1.0, animations: { [weak self] in | |
self?.view.layoutIfNeeded() | |
}) | |
UIView.animate(withDuration: 0.0, delay: 0.0, options: [.curveEaseOut], animations: { | |
//self.calendarHeight.constant = self.minCalendarHeight | |
self.view.layoutIfNeeded() | |
self.calendarView.layoutIfNeeded() | |
}) { (suu) in | |
self.containerViewController?.changeHeight() | |
} | |
UIView.animate(withDuration: 1, animations: { | |
// self.bonacinno.backgroundColor = .brown | |
}, completion: nil) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment