         }
     } //P.E.
     
+    override public init(frame: CGRect) {
+        super.init(frame: frame);
+        //--
+        self.commonInit();
+    } //C.E.
+    
+    required public init?(coder aDecoder: NSCoder) {
+        super.init(coder: aDecoder);
+        //--
+        self.commonInit();
+    } //C.E.
+    
+    private func commonInit() {
+        super.delegate = self;
+    } //F.E.
+    
     override public func awakeFromNib() {
         super.awakeFromNib()
         //--

        return self.textRectForBounds(bounds)
    } //F.E.
    
} //CLS END

                    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.
    
