QueryDetails

struct QueryDetails
  • Declaration

    Swift

    public static let empty: TKShareHelper.QueryDetails
  • Declaration

    Swift

    public enum Time : Equatable
  • Declaration

    Swift

    public var start: CLLocationCoordinate2D?
  • end

    Declaration

    Swift

    public var end: CLLocationCoordinate2D
  • Declaration

    Swift

    public var title: String?
  • Declaration

    Swift

    public var timeType: Time
  • Declaration

    Swift

    public var modes: [String]
  • Declaration

    Swift

    public var additional: [URLQueryItem]

Query URLs

  • Converts the query details into a TripRequest

    Declaration

    Swift

    public func toTripRequest(in tripKit: NSManagedObjectContext = TripKit.shared.tripKitContext) -> TripRequest

    Parameters

    tripKit

    TripKit’s managed object context into which to insert the request