UserLocation

public protocol UserLocation : AnyObject

Represents a type which holds user location coordinates. This protocol can only be adopted by class types and can be a weak reference.

  • User location coordinates as a tuple with latitude and longitued as Double values.

    Declaration

    Swift

    var coordinates: (latitude: Double, longitude: Double)? { get }