Post

Replies

Boosts

Views

Activity

Reply to Could not find landmarks in scope.
Adding the var landmarks: [Landmark] = load("landmarkData.json") line to the modeldata.swift works, but doesn't this defeat the purpose of using a variable filename (which should come from the main bundle) in the load function? I am new to Swift so I may be missing something here.
Jan ’22