WHS
@objcMembers
final class WHS : Object, PlaceMappable, ServiceProvider
extension WHS: PlaceInfo
Realm representation of a WHS place
-
Link to the Mappable object for this location
Declaration
Swift
dynamic var map: Mappable?
-
parentId
Declaration
Swift
dynamic var parentId: Int
-
Place’s MTP ID
Declaration
Swift
dynamic var placeId: Int
-
unescoId
Declaration
Swift
dynamic var unescoId: Int
-
Constructor from MTP endpoint data
Declaration
Swift
convenience init?(from: WHSJSON, // swiftlint:disable:previous function_body_length parents: inout Set<Int>, realm: RealmDataController)
-
Declaration
Swift
override var description: String { get }
-
For WHS, whether place has a parent place
Declaration
Swift
var placeParent: PlaceInfo? { get }
-
Does WHS have a parent?
Declaration
Swift
var hasParent: Bool { get }
-
Parent if any
Declaration
Swift
var parent: WHS? { get }
-
Is this WHS visited?
Declaration
Swift
var visited: Bool { get }