From c5b4a45dd44fae16f0db80b07d2e5a30c5af1601 Mon Sep 17 00:00:00 2001 From: Bobby Sudekum Date: Mon, 2 Apr 2018 13:11:48 -0700 Subject: [PATCH 1/3] Make Lane initalizer public --- MapboxDirections/MBLane.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MapboxDirections/MBLane.swift b/MapboxDirections/MBLane.swift index 89dfd8a07..a4696599c 100644 --- a/MapboxDirections/MBLane.swift +++ b/MapboxDirections/MBLane.swift @@ -10,7 +10,11 @@ public class Lane: NSObject, NSSecureCoding { */ @objc public let indications: LaneIndication - internal init(indications: LaneIndication) { + + /** + Initalize a new `Lane` from an array of `LaneIndication`. + */ + public init(indications: LaneIndication) { self.indications = indications } From 60e2e477a8525d0309eff2b258303d8a1b4179c1 Mon Sep 17 00:00:00 2001 From: Bobby Sudekum Date: Mon, 2 Apr 2018 13:13:22 -0700 Subject: [PATCH 2/3] sp --- MapboxDirections/MBLane.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapboxDirections/MBLane.swift b/MapboxDirections/MBLane.swift index a4696599c..22ae58f0a 100644 --- a/MapboxDirections/MBLane.swift +++ b/MapboxDirections/MBLane.swift @@ -12,7 +12,7 @@ public class Lane: NSObject, NSSecureCoding { /** - Initalize a new `Lane` from an array of `LaneIndication`. + Initialize a new `Lane` from an array of `LaneIndication`. */ public init(indications: LaneIndication) { self.indications = indications From b893b2bf8fd149125d3e868e6b0d3994a9409e3c Mon Sep 17 00:00:00 2001 From: Bobby Sudekum Date: Mon, 2 Apr 2018 15:01:46 -0700 Subject: [PATCH 3/3] fix --- MapboxDirections/MBLane.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapboxDirections/MBLane.swift b/MapboxDirections/MBLane.swift index 22ae58f0a..c3d2d7c5a 100644 --- a/MapboxDirections/MBLane.swift +++ b/MapboxDirections/MBLane.swift @@ -12,7 +12,7 @@ public class Lane: NSObject, NSSecureCoding { /** - Initialize a new `Lane` from an array of `LaneIndication`. + Initializes a new `Lane` using the given lane indications. */ public init(indications: LaneIndication) { self.indications = indications