Class YMKMasstransitThread
Describes a public transport thread.
A thread is one of the YMKMasstransitLine variants. For example, one line can have two threads: direct and return.
Class Methods
Properties
essentialStops | List of important stops on the thread, such as the first and last stops. |
id | Thread ID. |
essentialStops | List of important stops on the thread, such as the first and last stops. |
id | Thread ID. |
Method Detail
+threadWithId:essentialStops:
+ (nonnull YMKMasstransitThread *)threadWithId:(nonnull NSString *)id
essentialStops:(nonnull NSArray< YMKMasstransitStop * > *)essentialStops
Property Detail
essentialStops
(assign, readonly) NSArray< YMKMasstransitStop * > * essentialStops
List of important stops on the thread, such as the first and last stops.
id
(assign, readonly) NSString * id
Thread ID.