     public func setStyle(_ editable : Bool, isProfileTable : Bool){
         if (editable){
             if (isProfileTable){
-                _style = .dark
+                style = .dark
             } else {
-                _style = .light
+                style = .light
             }
         } else {
-            _style = .readOnly
-        }
-        setStyle(_style)
+            style = .readOnly
+        }
     }
     
     public func checkInputCharacters(shouldChangeCharactersIn range: NSRange,

            backgroundColor = UIColor.clear
            borderStyle = .none
        case .wrongFormat:
            backgroundColor = UIColor.red.withAlphaComponent(0.4)
//            borderStyle = .roundedRect
//            layer.borderColor = UIColor.red.cgColor
//            layer.borderWidth = 1

    }
    
    var _style : Style = .dark
    var style : Style {
        get {
            return _style
        }
        set {
            _style = newValue
            setStyle(_style)
        }
    }
    
    public var shouldMoveUpOnBeginEdit : Bool = true
    
    public required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
