     required public init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
         createIconLabel()
+        createIconImageView()
+        
+        switch self.iconType {
+        case .font:
+            self.iconLabel.isHidden = false
+            self.iconImageView.isHidden = true
+        
+        case .image:
+            self.iconLabel.isHidden = true
+            self.iconImageView.isHidden = false
+            
+        }
+        
     }
 
     // MARK: Creating the icon label

    override public init(frame: CGRect) {
        super.init(frame: frame)
        createIconLabel()
    }

    /**

    }

    // MARK: Initializers
    /**
     Initializes the control
     - parameter type the type of icon
     */
    convenience public init(frame: CGRect, iconType: IconType) {
        self.init(frame: frame)
        
        self.iconType = iconType       
        
    }
    

    /**
    Initializes the control
