ComposableCoreLocation Documentation

Structure Visit

@available(iOS 8, macCatalyst 13, *)
@available(macOS, unavailable)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
public struct Visit: Hashable  

A value type wrapper for CLVisit. This type is necessary so that we can do equality checks and write tests against its values.

%25 Visit Visit Hashable Hashable Visit->Hashable

Conforms To

Hashable

Initializers

init(arrival​Date:​coordinate:​departure​Date:​horizontal​Accuracy:​)

public init(
    arrivalDate: Date,
    coordinate: CLLocationCoordinate2D,
    departureDate: Date,
    horizontalAccuracy: CLLocationAccuracy
  )  

Properties

raw​Value

public let rawValue: CLVisit? 

arrival​Date

public var arrivalDate: Date

coordinate

public var coordinate: CLLocationCoordinate2D

departure​Date

public var departureDate: Date

horizontal​Accuracy

public var horizontalAccuracy: CLLocationAccuracy

Methods

hash(into:​)

public func hash(into hasher: inout Hasher)  

Operators

==

public static func == (lhs: Self, rhs: Self) -> Bool