Vehicle

Objective-C

@interface Vehicle : NSManagedObject

// Core Data

@property (nonatomic, retain, nullable) NSNumber * latitude;
@property (nonatomic, retain, nullable) NSNumber * longitude;
@property (nonatomic, retain, nullable) NSDate * lastUpdate;
@property (nonatomic, retain, nullable) NSNumber * bearing;
@property (nonatomic, retain, nullable) NSData * componentsData;
@property (nonatomic, retain, nullable) NSString * label;
@property (nonatomic, retain, nullable) NSString * identifier;
@property (nonatomic, retain, nullable) NSString * icon;
@property (nonatomic, retain, nullable) Service *service;
@property (nonatomic, retain) NSSet<Service *> *serviceAlternatives;
@property (nonatomic, retain, nullable) SegmentReference *segment;
@property (nonatomic, retain) NSSet<SegmentReference *> *segmentAlternatives;

// Non-persistent

@property (nonatomic, assign) BOOL displayAsPrimary;

- (void)setSubtitle:(nullable NSString *)title;

@end
extension Vehicle : MKAnnotation

Swift

class Vehicle : NSManagedObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) NSNumber * latitude

    Swift

    var latitude: NSNumber? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) NSNumber * longitude

    Swift

    var longitude: NSNumber? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) NSDate * lastUpdate

    Swift

    var lastUpdate: Date? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) NSNumber * bearing

    Swift

    var bearing: NSNumber? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) NSData * componentsData

    Swift

    var componentsData: Data? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) NSString * label

    Swift

    var label: String? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) NSString * identifier

    Swift

    var identifier: String? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) NSString * icon

    Swift

    var icon: String? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) Service *service

    Swift

    var service: Service? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain) NSSet<Service *> *serviceAlternatives

    Swift

    var serviceAlternatives: Set<AnyHashable> { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) SegmentReference *segment

    Swift

    var segment: SegmentReference? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain) NSSet<SegmentReference *> *segmentAlternatives

    Swift

    var segmentAlternatives: Set<AnyHashable> { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL displayAsPrimary

    Swift

    var displayAsPrimary: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    - (void)setSubtitle:(nullable NSString *)title;

    Swift

    func setSubtitle(_ title: String?)
  • Declaration

    Swift

    public static func components(from data: Data) -> [[TKAPI.VehicleComponents]]?
  • Declaration

    Swift

    public var components: [[TKAPI.VehicleComponents]]? { get set }
  • Declaration

    Swift

    @objc
    public var serviceNumber: String? { get }
  • Declaration

    Swift

    @objc
    public var serviceColor: TKColor? { get }
  • Declaration

    Swift

    @objc
    public var ageFactor: Double { get }
  • Declaration

    Swift

    public var averageOccupancy: (TKAPI.VehicleOccupancy, title: String)? { get }

MKAnnotation

  • Declaration

    Swift

    public var coordinate: CLLocationCoordinate2D { get }
  • Declaration

    Swift

    @objc
    public func setCoordinate(_ newValue: CLLocationCoordinate2D)
  • Declaration

    Swift

    public var title: String? { get }
  • Declaration

    Swift

    public var subtitle: String? { get }