This commit is contained in:
Ivan Vorobei
2019-06-26 22:12:35 +03:00
parent 2477f5d038
commit 48001a8e9a
1363 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
/*
See LICENSE folder for this samples licensing information.
Abstract:
The model for an individual landmark.
*/
import SwiftUI
struct ZoneModel: Hashable, Codable, Identifiable {
var id: Int
var name: String
var imageName: String
var category: String
func image(forSize size: Int) -> Image {
ImageStore.shared.image(name: imageName, size: size)
}
}