Despite calling all changes to a Text view within a DispatchQueue.main.async call I still get the purple warning regarding Publishing changes
In my app, I am uploading a file to my server from my ObservableObject (HTTPHandler). The published strings from HTTPHandler are used by the view (UploadTemplate) to convey status and errors.
Is there a specific way to change the string of a Text View when calling from an ObservableObject in another thread?
In my app, I am uploading a file to my server from my ObservableObject (HTTPHandler). The published strings from HTTPHandler are used by the view (UploadTemplate), which creates HTTPHandler, to convey status and errors.
Issue in UI with @Observable
I migrated from an ObservableObject to the @Observable macro and I am now experiencing an issue with a simple functionality.