 
     /// Customizes the view's images.
     func customizeViewImage() {
+        guard self is ImageStyleRepresentable else { return }
+
         if let view = self as? CustomBackgroundImage {
             view.customizeBackgroundImage(using: view.backgroundImageStyle)
         }


    /// Customizes the view's texts.
    func customizeViewText() {
        if let view = self as? CustomPlaceholder {
            view.customizePlaceholder(using: view.placeholderStyle)
        }


    /// Customizes the view's fonts.
    func customizeViewFont() {
        guard self is FontStyleRepresentable else { return }

        if let view = self as? CustomFont {
            view.customizeFont(using: view.fontStyle)
        }
