Public Transit Route Instructions
- UIKit
This example demonstrates how to use GEMKit in a UIKit application to calculate a public transit route and display a detailed step-by-step breakdown of each transit segment, including departure times, line colours, and walking legs.
Check the full implementation on GitHub.

Public Transit Route Instructions
UI and Map Integration
The view controller calculates the route and stores the first result. A list-button in the navigation bar launches the instructions screen:
Building the Instructions Model
PTRouteDescriptionViewController iterates the route's segments, casting each to PTRouteSegmentObject to access transit-specific properties such as departure time and line colour. Walking legs are handled separately: