     
     
     
-    override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
+    override public func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
         guard let touch = touches.first else { return }
 
         let s: [UITouch]?

        return path
    }
    
    func appendTouchPoints(path: UIBezierPath, touchPoints: [CGPoint]) {
        var prev = touchPoints[0]
        var current = touchPoints[0]
        
        for i in 1 ..< touchPoints.count {
            current = touchPoints[i]
            let mid = midPoint(prev, current)
            path.addQuadCurveToPoint(mid, controlPoint: prev)
            prev = current
        }

        
        self.setNeedsDisplay()
    }
}