VMMSWaypath
Objective-C
@interface VMMSWaypath : NSObject
Swift
class VMMSWaypath : NSObject
Model to represent a waypath and any other data that may need to be associated with a waypath.
Since
1.0-
Designated initializer.
Declaration
Objective-C
- (nonnull instancetype)initWithShortestPath:(nonnull NSArray *)waypoints;
Swift
init(shortestPath waypoints: [Any])
Parameters
waypoints
An array of VMMSWaypoint objects that make up the waypath.
Return Value
A VMMSWaypath instance.
-
An array of VMMSWaypoint objects.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<VMMSWaypoint *> *_Nonnull waypoints;
Swift
var waypoints: [VMMSWaypoint] { get set }