         }, completion: nil)
     }
     
+    // MARK:- Gestures
+    
+    func userDidTap(_ recognizer: UIGestureRecognizer) {
+        delegate?.didTap(at: markIndex)
+        
+        // Go to the next coach mark
+        goToCoachmark(index: markIndex+1)
+    }
     
     func cleanup() {
 

import Foundation
import UIKit

let kAnimationDuration = 0.3
let kCutoutRadius = 2.0
let kMaxLblWidth = 230.0
let kLblSpacing = 35.0

protocol CoachMarksViewDelegate: class {
    func coachMarksView(_ coachMarksView: CoachMarksView, willNavigateTo index: Int)
    func coachMarksView(_ coachMarksView: CoachMarksView, didNavigateTo index: Int)


}

// MARK:- CAAnimation Delegate

extension CoachMarksView: CAAnimationDelegate {
    func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
        delegate?.coachMarksView(self, didNavigateTo: markIndex)
