-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
SDK 25.8.0
I am using the AttachmentGroup with the operation CameraMenuItem
so far so good but Xcode complaint about this warning
\PurchaseOrderDetailsViewModel.attachmentUrls is isolated to the main actor. Accessing it via Binding from a different actor will cause undefined behaviors, and potential data races; This warning will become a runtime crash in a future version of SwiftUI.
I annotated my ViewModel property like so
@mainactor @published var attachmentUrls = URL


thanks
Metadata
Metadata
Assignees
Labels
No labels