https://developer.apple.com/documentation/uikit/uiview/1622574-transition specifies for the animation parameter:
This parameter must not be NULL.
Yet the animation parameter is defined as (() -> Void)? and passing nil seems to work fine, performing an animation on the latest update to the with view.
2
0
317