The Pragmatic Ball boy

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

2026-08-29から1日間の記事一覧

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…