Trip Planning
-
The
TKUIRoutingResultsViewController
class provides a user interface for viewing routing options.Upon selection of a route by the user, the details of the trip will be displayed.
Customisation points:
TKUICustomization
for the visual style of the cardsTKUIRoutingResultsCard
.TKUIRoutingResultsCard/config
for the comparison of routing optionsTKUITripOverviewCard
.TKUITripOverviewCard/config
for the trip detailsTKUITripModeByModeCard
.TKUITripModeByModeCard/config
for the step-by-step details of a trip
Declaration
Swift
public class TKUIRoutingResultsViewController : TGCardViewController
-
Undocumented
Declaration
Swift
public protocol TKUIRoutingResultsViewControllerDelegate : TGCardViewControllerDelegate
-
An interactive card for displaying routing results, including updating from/to location, time and selected modes.
Can be used standalone or via
See moreTKUIRoutingResultsViewController
.Declaration
Swift
public class TKUIRoutingResultsCard : TKUITableCard
extension TKUIRoutingResultsCard: UITableViewDelegate
extension TKUIRoutingResultsCard: TKUIRoutingQueryInputCardDelegate
extension TKUIRoutingResultsCard: TKUITimePickerSheetDelegate
-
Undocumented
See moreDeclaration
Swift
public protocol TKUIRoutingResultsCardDelegate : AnyObject
-
An interactive card for searching for from and to locations.
Can be used standalone and is also integrated into
TKUIRoutingResultsCard
.When using standalone, you can provide a
See morequeryDelegate
to determine what to do when the “Route” button is pressed. Otherwise, aTKUIRoutingResultsCard
will be pushed onto the card stack.Declaration
Swift
public class TKUIRoutingQueryInputCard : TKUITableCard
extension TKUIRoutingQueryInputCard: UITableViewDelegate
-
Undocumented
See moreDeclaration
Swift
public protocol TKUIRoutingQueryInputCardDelegate : AnyObject
-
The
TKUITripOverviewViewController
class provides a user interface for viewing a individual trip.Customisation points:
TKUICustomization
for the visual style of the cardsTKUITripOverviewCard.config
for the trip detailsTKUITripModeByModeCard.config
for the step-by-step details of a trip
Declaration
Swift
public class TKUITripOverviewViewController : TGCardViewController
-
Undocumented
See moreDeclaration
Swift
public class TKUITripOverviewCard : TKUITableCard
extension TKUITripOverviewCard: TKUITripModeByModeCardDelegate
-
Undocumented
See moreDeclaration
Swift
public class TKUITripModeByModeViewController : TGCardViewController
-
Undocumented
Declaration
Swift
public protocol TKUITripModeByModeViewControllerDelegate : TGCardViewControllerDelegate
-
Undocumented
See moreDeclaration
Swift
public class TKUITripModeByModeCard : TGPageCard
-
Undocumented
See moreDeclaration
Swift
public protocol TKUITripModeByModePageBuilder