mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fix Swift 6.4 warnings (#6240)
This commit is contained in:
@@ -279,7 +279,7 @@ Services = where product-level opinions live (Rust SDK stays spec-faithful).
|
||||
|
||||
## Concurrency & Actors
|
||||
|
||||
- All targets **Swift 6.2**, approachable concurrency.
|
||||
- All targets **Swift 6** language mode (`SWIFT_VERSION: 6`), approachable concurrency. Compiler version come from Xcode toolchain.
|
||||
- **ElementX** app, **UnitTests** + **PreviewTests**: `SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor` — no redundant `@MainActor`. Other targets (incl. app extensions) nonisolated.
|
||||
- Services + data-layer types: `nonisolated` + `Sendable` when background work need.
|
||||
- Never `@unchecked Sendable` / `nonisolated(unsafe)`. Dev add these.
|
||||
|
||||
Reference in New Issue
Block a user