You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static let shared = AVMediaCache.init() // Class property 'shared' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
The text was updated successfully, but these errors were encountered:
public static let shared = AVMediaCache.init() // Class property 'shared' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
In Swift 6, due to enhanced concurrency checks, you may encounter warnings about class properties shared not being concurrency-safe. This is because it involves shared mutable state. I will be compatible with Swift 6 syntax in the future, but not now, my macOS system is not upgraded. thx~
public static let shared = AVMediaCache.init() // Class property 'shared' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
The text was updated successfully, but these errors were encountered: