             imageName = "default"
             NSLog("ccTypew \(ccType) does not have an icon")
         }
-        if let image = BSViewsManager.getImage(imageName: "cc_\(imageName!)") {
-            self.image = image
-        }
+        return BSViewsManager.getImage(imageName: "cc_\(imageName!)")
     }
     
     private func checkMaxLength(textField: UITextField!, maxLength: Int) -> Bool {


/**
 BSCcInputLine is a Custom control for CC details input (Credit Card number, expiration date and CVV).
 It inherits configurable properties from BSBaseTextInput and adds some.
 We use the BSBaseTextInput for the CCN field and image,and add fields for EXP and CVV.

 The control has 2 states:
 * Open: when we edit the CC number, the field gets longer, EXP and CVV fields are hidden; a "next" button is shown if the field already has a value

import UIKit

/**
 This protocol should be implemented by the view which owns the BSCcInputLine control; Although the component's functionality is sort-of self-sufficient, we still have some calls to the parent
 */
protocol BSCcInputLineDelegate : class {
    /**
