     
     private func prepareToAnimateCounterLabel(count: Int) {
         
-        var animationType : AnimationType = .Unknown
+        var animationType : animationType = .unknown
         
         if (count >= self.maxLength) {
-            animationType = .DidReachLimit
+            animationType = .didReachLimit
         } else if (count <= self.maxLength) {
-            animationType = .Default
+            animationType = .basic
         }
         
         self.animateTo(type: animationType)
     }
     
-    private func animateTo(type: AnimationType) {
+    private func animateTo(type: animationType) {
         
         switch type {
-        case .Default:
+        case .basic:
             self.animateCounterLabelColor(color: self.counterColor)
             break
-        case .DidReachLimit:
+        case .didReachLimit:
             self.animateCounterLabelColor(color: self.limitColor)
             
             if (self.animate) {

        super.init(frame: frame)
        
        if !self.isValidMaxLength(max: limit) {
            self.maxLength = TextFieldCounter.minLength
        } else {
            self.maxLength = limit
        }

    
    // MARK: Enumerations and Constants
    
    enum animationType {
        case basic
        case didReachLimit
        case unknown
    }
    
    static let defaultLength = 30
    
    // MARK: Init
    
