STRUCT
SimulatedLocation
Contents
- Properties
identifiergpxFilelondonjohannesburgmoscowmumbaitokyosydneyhongKonghonolulusanFranciscomexicoCitynewYorkrioDeJaneiro
- Methods
custom(gpxFile:)
swift
public struct SimulatedLocation: Codable, Equatable, SendableSimulated location represents a GPS location that is used when running an app on the simulator.
Properties
identifier
swift
public var identifier: String?The identifier of the location (e.g. London, England)
gpxFile
swift
public var gpxFile: Path?Path to a .gpx file that indicates the location
london
swift
public static var london: SimulatedLocationjohannesburg
swift
public static var johannesburg: SimulatedLocationmoscow
swift
public static var moscow: SimulatedLocationmumbai
swift
public static var mumbai: SimulatedLocationtokyo
swift
public static var tokyo: SimulatedLocationsydney
swift
public static var sydney: SimulatedLocationhongKong
swift
public static var hongKong: SimulatedLocationhonolulu
swift
public static var honolulu: SimulatedLocationsanFrancisco
swift
public static var sanFrancisco: SimulatedLocationmexicoCity
swift
public static var mexicoCity: SimulatedLocationnewYork
swift
public static var newYork: SimulatedLocationrioDeJaneiro
swift
public static var rioDeJaneiro: SimulatedLocationMethods
custom(gpxFile:)
swift
public static func custom(gpxFile: Path) -> SimulatedLocation