 
 import UIKit
 
+/**
+ A MinoruTextField is a subclass of the TextFieldEffects object, is a control that displays an UITextField with a customizable visual effect around the edges of the control.
+ */
 @IBDesignable public class MinoruTextField: TextFieldEffects {
     
-    @IBInspectable dynamic public var placeholderColor: UIColor? {
+    /**
+     The color of the placeholder text.
+     
+     This property applies a color to the complete placeholder string. The default value for this property is a black color.
+     */
+    @IBInspectable dynamic public var placeholderColor: UIColor = .blackColor() {
         didSet {
             updatePlaceholder()
         }

    private let borderLayer = CALayer()
    private var backgroundLayerColor: UIColor?    
    
    // MARK: - TextFieldsEffectsProtocol
    
    override public func drawViewsForRect(rect: CGRect) {
        let frame = CGRect(origin: CGPointZero, size: CGSize(width: rect.size.width, height: rect.size.height))

    
    override public var backgroundColor: UIColor? {
        set {
            backgroundLayerColor = newValue
        }
        get {
            return backgroundLayerColor
