Posts

Post not yet marked as solved
3 Replies
Ok, thanks for reply. Apple's tutorial showed following example:NavigationView { List(landmarkData) { landmark in NavigationLink(destination: LandmarkDetail(landmark: landmark)) { LandmarkRow(landmark: landmark) } } .navigationBarTitle(Text("Landmarks"))In that case after tapping on list item it will create other View with same type and send element of same type to this View.In my case i need to create Views of different type. Each item creates View of different type.In case of others GUI frameworks i would receive id of tapped row of list and according this id create new window of correct type for example in switch block....but in that GUI framework i can not see how to do such things. All things is doing statically, no runtime checks...