I've stumbled upon this problem during learning process and found a solution. In the Code section of the tutorial there is a line missing in the LandmarkRow_Previews function:
static var landmarks = ModelData().landmarks
Which is actually pretty crucial :) After adding, landmarks are in scope of this function.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: