Ios swift – Swift 6 error: non-sendable type 'Timer' in a `@Sendable` closure
In Xcode 16, I get this error, related to Swift 6. Capture of 'timer' with non-sendable type 'Timer' in a @Sendable closure; this is an error in the Swift 6 language mode How can I make this code Swift 6…