Swift strict concurrency checker flags MainActor-isolated self access from
nonisolated CBCentralManagerDelegate methods when using Task{@MainActor in}.
DispatchQueue.main.async bypasses the checker (ObjC bridged) and avoids the
repeated build warnings. Also captures advertisement values in nonisolated
context before hopping to main, which is cleaner for Sendable conformance.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| App | ||
| Assets.xcassets | ||
| en.lproj | ||
| Models | ||
| Provisioners | ||
| Services | ||
| Utils | ||
| Views | ||
| BeaconProvisioner.swift | ||
| Info.plist | ||
| payfrit-favicon-light-outlines.svg | ||