         pathAnimation.fromValue = NSNumber(float: 0)
         pathAnimation.toValue = NSNumber(float: 1)
         pathLayer?.addAnimation(pathAnimation, forKey: nil)
+        textLayer?.addAnimation(pathAnimation, forKey: nil)
     }
     
     override func viewDidLoad() {

        
        let attrs = [NSFontAttributeName : font]
        
        let attrString = NSAttributedString(string: "Hello World!", attributes: attrs)
        
        let line = CTLineCreateWithAttributedString(attrString)
        
        let runArray = CTLineGetGlyphRuns(line)
        
        for index in 0..<CFArrayGetCount(runArray)
        {
            let run = CFArrayGetValueAtIndex(runArray, index)
        }
    }
    
    func setupDrawingLayer() {

        setupAnimationLayer()
        view.layer.addSublayer(animationLayer)
        
//        setupDrawingLayer()
        setupTextLayer()
        
        startAnimation()
    }
