Skip to main content
2
results
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I received the following warning: Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.  What was happening? The functionality of the code uses URLSession to get a user's name via API and the display is simple piece that initially message of Hello {user}. The view code consists of: MainView : View Main...
Andrew Fletcher
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...