HI , I am going through the Swift UI tutorial “ Landmarks” app.
Under building the landmarks list view section
https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation
I found that the instruction to add Identifiable option to the Landmark structure is not given.
Due to this the preview of the LandmarkList fails to load in the SwiftUI canvas.
The error shows “ cannot parse landmakData.json.
Please correct the documentation.
Under building the landmarks list view section
https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation
I found that the instruction to add Identifiable option to the Landmark structure is not given.
Due to this the preview of the LandmarkList fails to load in the SwiftUI canvas.
The error shows “ cannot parse landmakData.json.
Please correct the documentation.