add this code
var landmarks: [Landmark] = load("landmarkData.json")
inside of modeldata.swift
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: