     
     @IBInspectable public var fontStyle:String = "Medium";
     @IBInspectable public var fontColorStyle:String! = nil;
+    
+    //Maintainig Own delegate
+    private weak var _delegate:UITextFieldDelegate?;
+    public override weak var delegate: UITextFieldDelegate? {
+        get {
+            return _delegate;
+        }
+        
+        set {
+            _delegate = newValue;
+        }
+    } //P.E.
     
     @IBInspectable public var placeholderColor:String? = nil {
         didSet {

        }
        
        /*
        if let txt:String = self.text where txt.hasPrefix("#") == true{
            self.text = txt; // Assigning again to set value from synced data
        }
         */
    } //F.E.
    
    override public func layoutSubviews() {

                    self.attributedPlaceholder = NSAttributedString(string:plcHolder, attributes: [NSForegroundColorAttributeName: SyncedColors.color(forKey: colorStyl)!]);
                }
            }
        }
    } //P.E.
    
    
    private var _maxCharLimit: Int = 50;
    @IBInspectable public var maxCharLimit: Int {
        get {
            return _maxCharLimit;
        }
        
        set {
            if (_maxCharLimit != newValue)
            {_maxCharLimit = newValue;}
        }
    } //P.E.
    
