Animation closure - UIView.animate

According to the documentation, it’s just a regular Void returning closure where you make the changes to the view.

Here’s a tutorial that might help you: Basic UIView Animation Tutorial: Getting Started | Kodeco