In iOS 16 beta I am using the insert method but keep getting the purple 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.". Is this a bug or am I doing something wrong?
Topic:
Programming Languages
SubTopic:
Swift
Tags: