     
     // MARK: Actions
     
-    /**
-    Default Done action for picker. It will hide picker with animation and call's delegate datePicker(:didPickDate) method.
-    */
+    /// Default Done action for picker. It will hide picker with animation and call's delegate datePicker(:didPickDate) method.
     open func pressedDone(_ sender: AnyObject) {
         hidePickerAnimation(true)
         
         delegate?.datePicker?(self, didPickDate: picker.date)
     }
     
-    /**
-    Default Cancel actions for picker.
-    */
+    /// Default Cancel actions for picker.
     open func pressedCancel(_ sender: AnyObject) {
         hidePickerAnimation(true)
         
         delegate?.datePickerDidCancel?(self)
     }
-
 }


@objc open class SMDatePicker: UIView {
    
    /** Picker's delegate that conforms to SMDatePickerDelegate protocol */
    open weak var delegate: SMDatePickerDelegate?
    
    /** UIToolbar title */
    open var title: String?
    open var titleFont: UIFont = UIFont.systemFont(ofSize: 13)
    open var titleColor: UIColor = UIColor.gray
    
    /** You can define your own toolbar height. By default it's 44 pixels. */
    open var toolbarHeight: CGFloat = 44.0
    
    /** Specify different UIDatePicker mode. By default it's UIDatePickerMode.DateAndTime */
    open var pickerMode: UIDatePickerMode = UIDatePickerMode.dateAndTime {
        didSet { picker.datePickerMode = pickerMode }
    }
    
    /** You can set up different color for picker and toolbar. */
    open var toolbarBackgroundColor: UIColor? {
        didSet {
            toolbar.backgroundColor = toolbarBackgroundColor

        }
    }
    
    /// You can set up different color for picker and toolbar.
    open var pickerBackgroundColor: UIColor? {
        didSet { picker.backgroundColor = pickerBackgroundColor }
    }
    
    /// Initial picker's date
    open var pickerDate: Date = Date() {
        didSet { picker.date = pickerDate }
    }
