Closed mayoff closed 3 months ago
In Swift 6, _initializeClass as a static var produces an error:
_initializeClass
static var
Static property '_initializeClass' is not concurrency-safe because it is non-isolated global shared mutable state
There's no reason to for it to be a var, so make it a let instead.
var
let
Thank you very much!
In Swift 6,
_initializeClass
as astatic var
produces an error:There's no reason to for it to be a
var
, so make it alet
instead.