The Pragmatic Ball boy

iOSを中心にやってる万年球拾いの老害エンジニアメモ

Swift Concurrency

新着順 人気順

Cannot access property 'xxx' with a non-sendable type 'XXX' from nonisolated deinitの解決方法の詳解

こちらのコードをSwift6でビルドすると、 deinitのところで Cannot access property 'timer' with a non-sendable type 'Timer' from nonisolated deinit というエラーになります。 class ExampleViewController: UIViewController { private let timer = Ti…