StopLocation

@objc(StopLocation)
public class StopLocation : NSManagedObject
extension StopLocation: MKAnnotation
extension StopLocation: UIActivityItemSource
extension StopLocation: TKURLShareable

Represents a public transport location

Fetcher

  • Stops to for displaying a timetable for this stop – includes its children

    Declaration

    Swift

    public func stopsToMatchTo() -> [StopLocation]
  • Deletes all StopVisits associated with this stop, including its children

    Declaration

    Swift

    public func clearVisits()
  • Undocumented

    Declaration

    Swift

    @nonobjc
    public class func fetchRequest() -> NSFetchRequest<StopLocation>
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var alertHashCodes: Array<NSNumber>? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var filter: String? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var location: TKNamedCoordinate? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var name: String? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var regionName: String? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var shortName: String? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var sortScore: NSNumber? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var stopCode: String { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var stopModeInfo: TKModeInfo? { get set }
  • Zone ID of this stop, as defined by GTFS. Useful for ticketing calculaations.

    Declaration

    Swift

    @NSManaged
    public var zoneID: String? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var children: Set<StopLocation>? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var endVisits: Set<StopVisits>? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var parent: StopLocation? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var visits: Set<StopVisits>? { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var timeZone: TimeZone? { get }
  • Undocumented

    Declaration

    Swift

    @objc
    public var region: TKRegion? { get }
  • Undocumented

    Declaration

    Swift

    @objc
    public var modeTitle: String { get }

MKAnnotation

  • Undocumented

    Declaration

    Swift

    public var title: String? { get }
  • Undocumented

    Declaration

    Swift

    public var subtitle: String? { get }
  • Undocumented

    Declaration

    Swift

    public var coordinate: CLLocationCoordinate2D { get }

UIActivityItemSource

Wheelchair accessibility extensions

  • Accessibility of the stop. Note that whether you can get onto a specific service it’ll also depend on the accessibility of the service. See StopVisits.getWheelchairAccessibility()

    Declaration

    Swift

    internal(set) var wheelchairAccessibility: TKWheelchairAccessibility { get set }
  • Undocumented

    Declaration

    Swift

    public var shareURL: URL? { get }