     
     /// Start the animation.
     public func start() {
-        setuppulse()
+        setupPulse()
         setupAnimateionGroup()
         pulse.addAnimation(animationGroup, forKey: kPulsatorAnimationKey)
     }

        }
    }
}

extension UIColor {
    var components:(red: CGFloat, green: CGFloat, blue: CGFloat, alpha: CGFloat) {
        var r: CGFloat = 0, g: CGFloat = 0, b: CGFloat = 0, a: CGFloat = 0
        getRed(&r, green: &g, blue: &b, alpha: &a)
        return (r,g,b,a)
    }
}

    
    // MARK: - Private Methods
    
    private func setupPulse() {
        pulse.contentsScale = UIScreen.mainScreen().scale
        pulse.opacity = 0
        addSublayer(pulse)
