the parameter should be PacoDatePickerView instead of a generic UIView