ENUM
RunActionOptions.SimulatedLocation
Contents
- Cases
reference(_:)gpxFile(_:)
- Properties
londonjohannesburgmoscowmumbaitokyosydneyhongKonghonolulusanFranciscomexicoCitynewYorkrioDeJaneiro
- Methods
custom(gpxFile:)
swift
public enum SimulatedLocation: Codable, EquatableSimulated location represents a GPS location that is used when running an app on the simulator.
Cases
reference(_:)
swift
case reference(String)The identifier of the location (e.g. London, England)
gpxFile(_:)
swift
case gpxFile(FilePath)Path to a .gpx file that indicates the location
Properties
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: FilePath) -> SimulatedLocation