Important to mention tip from Ole: If you’re writing Swift co | Readaggregator - iOS, Swift, Apple, Programming, Mobile
Important to mention tip from Ole:
If you’re writing Swift concurrency code, add these compiler flags:
-Xfrontend
-warn-concurrency
-Xfrontend
-enable-actor-data-race-checks
Warnings in Swift 5.5 identify unsafe constructs, will become errors in Swift 6.
source: https://twitter.com/olebegemann/status/1421144304127463427?s=21
discussion: https://forums.swift.org/t/concurrency-in-swift-5-and-6/49337
#swift #concurrency