To expand on this, I have another bug, linked again to core data and swift ui.
The bug appears only in the M1 simulator.
I have an edit screen where I can add or remove "IngredientLine" items to a "Recipe" item. I have implemented swipe to delete.
When you delete an item, the table gets messed up, cells are somehow drawn (I see the correct number of cells) but they are empty. If I close this view and open it again, I see that the delete operation was successful.
Similarly, if I add an IngredientLine, via a presented sheet, when the sheet is dismissed the view load without any content.
I am quite sure I might be doing something in a way that is not the most canonical; but the bugs appear only on the M1 simulator.
Anyone else with something similar happening?
Cheers,
Davide
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: