Tuesday, March 9, 2021

Thank you SwiftLee! I've been trying, and failing, to understand the Autoclosure keyword since its release in Swift 5.1.

Thank you SwiftLee! I've been trying, and failing, to understand the Autoclosure keyword since its release in Swift 5.1.


Autoclosure converts a simple expression into a closure, so it can be invoked at a later time (rather than immediately).


https://www.avanderlee.com/swift/autoclosure/


No comments:

Post a Comment