alexsorokoletov / Xamarin.iOS.DatePickerDialog

Xamarin iOS C# port of https://github.com/squimer/DatePickerDialog-iOS-Swift
MIT License
24 stars 15 forks source link

Adding Cancel Callback #3

Closed bhrott closed 5 years ago

bhrott commented 6 years ago

Hi!

What?

I just add cancelCallback to cancel button.

Why?

Some forms have required validation. This validations commons trigger when the user leaves the edition in the field.

To trigger this kind of validation, we need to know when he/she cancels the action.

Have breaking changes?

Nop =). The parameter is optional and is added to the end of the method.

Thanks for this great component.

alexsorokoletov commented 6 years ago

Great! Thank you for your contribution, @benhurott!

Please let me review the changes. For some reason it shows like the whole file was changed

alexsorokoletov commented 5 years ago

I've changed diff settings and disabled whitespace changes. Looks good to me and ready to be merged.