Swift 5.5 auto conversions between CGFloat and Double

Now, Swift converts CGFloat to double and double to CGFloat implicitly for us.

latest addition in Swift 5.5 to convert CGFloat to Double. Xcode13
Photo by Jean-Philippe Delberghe on Unsplash