diff --git a/Sources/Instructions/Managers/Public/FlowManager.swift b/Sources/Instructions/Managers/Public/FlowManager.swift index 2619a24..c8fe5f3 100644 --- a/Sources/Instructions/Managers/Public/FlowManager.swift +++ b/Sources/Instructions/Managers/Public/FlowManager.swift @@ -8,6 +8,9 @@ public class FlowManager { /// `true` if coach marks are currently being displayed, `false` otherwise. public var isStarted: Bool { return currentIndex > -1 } + /// The index (in `coachMarks`) of the coach mark being currently displayed. + private(set) public var currentIndex = -1 + /// Sometimes, the chain of coach mark display can be paused /// to let animations be performed. `true` to pause the execution, /// `false` otherwise. @@ -49,9 +52,6 @@ public class FlowManager { /// `true` if a new coach mark can be shown, `false` otherwise. private var canShowCoachMark = true - /// The index (in `coachMarks`) of the coach mark being currently displayed. - internal var currentIndex = -1 - init(coachMarksViewController: CoachMarksViewController) { self.coachMarksViewController = coachMarksViewController }