I finished Codecademy’s course for Swift yesterday and it was fantastic. I’ve now been working through Apple’s Swift UI Tutorial over the past few hours and have made good progress, but now I’m stumped.
I’m attempting to implement the “favorites” user input field within LandmarkRow.swift and continue getting the error message “value of type ‘Landmark’ has no member ‘isFavorite’”.
“isFavorite” is listed as a variable within the Landmark structure in Landmark.swift and is also included in the referenced landmarkData.json file. Any idea where I’m going wrong?