Apple has released Swift 5.3 along with Xcode 12. We have added support for Swift 5.3, you can now choose between Swift 5.2 and Swift 5.3 in the online version of Swiftify.
What's New in Swift 5.3?
Swift 5.3 increases the availability of implicit self
in @escaping
closures when reference cycles are unlikely to occur.
This problem was commonly encountered and has now finally been improved leading to a slightly more concise code when dealing with closures.
This can be better understood through a simple code sample:
Converted Code in Swift 5.2
Converted Code in Swift 5.3
Comments
1 comment
Any feedback or comments are welcome here!
Please sign in to leave a comment.