     size: CGSize(width: 80, height: 80)))
 progress.center = CGPoint(x: view.bounds.width * 0.5, y: view.bounds.height * 0.5)
 view.addSubview(progress)
-XCPlaygroundPage.currentPage.liveView = view
-progress.startAnimating(3.0)
+PlaygroundPage.current.liveView = view
+progress.startAnimating(duration: 3.0)

        strokeEnd.duration              = duration - AfterpartDuration
        strokeEnd.fillMode              = kCAFillModeForwards
        strokeEnd.timingFunction        = easeInOutSineTimingFunc
        strokeEnd.removedOnCompletion   = false
        let pathAnim                 = CAAnimationGroup()
        pathAnim.animations          = [strokeEnd]
        pathAnim.duration            = duration - AfterpartDuration
        pathAnim.fillMode            = kCAFillModeForwards
        pathAnim.removedOnCompletion = false
        CATransaction.begin()
        CATransaction.setCompletionBlock {
            self.startCompletionAnimation()
        }
        circleOutlineLayer.addAnimation(pathAnim, forKey: "stroke")
        CATransaction.commit()
    }
    

                                    "strokeStart" : NSNull(),
                                    "transform" : NSNull(),
                                    "strokeColor" : NSNull()]
        circleOutlineLayer.backgroundColor = UIColor.clear.cgColor
        circleOutlineLayer.strokeColor     = UIColor.blue.cgColor
        circleOutlineLayer.fillColor       = UIColor.clear.cgColor
        circleOutlineLayer.lineWidth       = outLineWidth
        circleOutlineLayer.strokeStart     = 0
        circleOutlineLayer.strokeEnd       = MinStrokeLength
