       
       // CGContextAddArc(context, centerPoint.x, centerPoint.y, radius, start, end, 0)
       context?.addArc(center: centerPoint, radius: radius, startAngle: start, endAngle: end, clockwise: true)
-      CGContextStrokePath(context)
+      context!.strokePath()
       
       
       let labelFontAttributes: NSDictionary = [ NSForegroundColorAttributeName: labelFontColor,

      let delimiter = "\t:\t"
      let timeLabel: NSString = counterTimeValues.minutes + delimiter + counterTimeValues.seconds + delimiter + counterTimeValues.milliseconds
      let center = CGPoint(x:bounds.width/2, y: bounds.height/2)
      let size = timeLabel.sizeWithAttributes((labelFontAttributes as! [String : AnyObject]))

      timeLabel.drawInRect(CGRectMake(center.x - size.width/2,center.y - size.height/2,size.width,size.height), withAttributes: (labelFontAttributes as! [String : AnyObject]))
    
      
      

  // TODO: Check reference day as parameter!
  func updateCounter() {
    
    let now = NSDate.timeIntervalSinceReferenceDate
    totalTime += now - lastInterval
    lastInterval = now
    
