Posts

Post marked as solved
2 Replies
I think I see what you are doing there, your code runs fine and have tried to implement it in my own. The result? The compiler is unable to type-check this expression in reasonable time... I have it narrowed down to the navlink. If I get rid of tag: and selection: it compiles just fine, if I add either of them back, I get the compiler message. It's not that complicated a view. I've tried replacing RoomView with a Text("") same deal. I think I'm doing it right, it just wont compile. I've tried making selection an Int a String and a UUID no difference. NavigationLink (destination: RoomEditView(room: room), tag: room.uuid, selection: selection) { RoomView(room: room)}