This commit is contained in:
Ivan Vorobei
2019-06-06 22:36:07 +03:00
parent 6d351cf167
commit 27a7f9fae6
129 changed files with 2634 additions and 1 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)
}
}