         initialization()
     }
     
-    required init?(coder aDecoder: NSCoder) {
+    required public init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
         initialization()
     }

        }
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
        
        textField.frame = textFieldFrame()

        delegate?.animatedTextFieldDidEndEditing?(self)
    }
    
    public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange,
                   replacementString string: String) -> Bool {
        var result = true
        
