Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
I see the same message with a MacOS app where I add entries into an array that is @Published from a class and in place sort the array after the append. The array is bound to swiftui List. The message comes up randomly when adding rows to the array (via a button click). If I comment out the sort, then the warning does not appear.
At a guess for me, appending to the array causes and objectWillChange, the sort similarly generates an objectWillChange and some sort of race condition is happening under the covers in which the append, sort and gui updates, probably running on different threads, are tripping over each other ?? Something like before the gui has finished updating, the underlying data is changing. Looks like a compiler issue that we have to hope is fixed BEFORE it becomes an assert that crashes apps....