             }
         }
     }
+    
+    /**
+     expPlaceholder (default = "MM/YY") determines the placeholder text for the EXP field
+     */
+    @IBInspectable var expPlaceholder: String = "MM/YY" {
+        didSet {
+            self.expTextField.placeholder = expPlaceholder
+        }
+    }
+    /**
+     cvcPlaceholder (default = "CVV") determines the placeholder text for the CVV field
+     */
+    @IBInspectable var cvcPlaceholder: String = "CVV" {
+        didSet {
+            self.cvvTextField.placeholder = cvcPlaceholder
+        }
+    }
+    
     /**
      ccnWidth (default = 220) determines the CCN text field width in the "open" state (value will change at runtime according to the device)
      */

        return result
    }

    // private functions
    
    private func updateCcIcon(ccType : String?) {
        
        // change the image in ccIconImage
        var imageName : String?
        if let ccType = ccType?.lowercased() {
            imageName = ccImages[ccType]


/**
 BSCcInputLine is a Custom control for CC details input (Credit Card number, expiration date and CVV).
 It inherits configurable properties from BSBaseTextInput that let you adjust the look&feel and adds some.
 [We use 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
