         // Rotating counter-clockwise, so we want to delay until
         // the end cap unwraps to the last loop
         let delay = angleRotationDuration(fromAngle, toAngle: toAngle) - CFTimeInterval(time)
-        
+
         return delay + CACurrentMediaTime()
     }
     

        ba.removedOnCompletion = true
        ba.fillMode = kCAFillModeBackwards

        print("arcDuration=\(ba.duration)")

        return ba
    }


        ba.removedOnCompletion = true
        ba.fillMode = kCAFillModeBackwards

        return ba
    }

