public class TKUITimetableViewController : TGCardViewController
TKUITimetableViewController class provides a user interface for
viewing the departures from a public transport stop or for viewing the
public transport connections between two public transport stops.
Upon selection of a departure by the user, the details of the service will be displayed.
public var timetableDelegate: TKUITimetableViewControllerDelegate?
Configure for showing the departures from a public transport stop.
Make sure that the stop provides the correct region and stop code, or otherwise you’ll get a blank view. Best to use stop annotations provided from TripKit, e.g., from
public init(stop: TKUIStopAnnotation, filter: String? = nil)
The stop for which to show departures, includes departures from any child stops (e.g., platforms)
An optional string used to filter the resulting departures
Configure for showing the connections between two public transport stops.
public init(dlsTable: TKDLSTable, startDate: Date = Date())
The object describing what pair of stops for which you want connections
Optional date of first connection, defaults to current time
required public init(coder aDecoder: NSCoder)