The new Swift Syntax for animations would be: `[UIView .animate(withDuration: 1.0, animations: { self.progressBar.value = 55.f })]`