-
-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ActionSheetDatePicker as CountDownTimer-Picker #72
Comments
|
Good to know. I'll wait for that :-) Thanks for your effort! |
Couldn't wait :-) The issue with the additional hour is addressed in #74. The value which with the action block is called is a |
Hi @mgmart, I'm the one who fixed up #50 (as mentioned by @skywinder) and have looked through your changes and think you're right - in that you need to set "duration" instead of the "minuteInterval" on the ActionSheetDatePicker. The diff also looks good and same with the new constructor for setting the initial duration. Re: The action callback returning an NSTimeInterval (which is a double) instead of an NSDate, I think this is correct behaviour though, as I'm not sure how else you'd represent the number of minutes the user has selected using an NSDate? @skywinder - up to you how you want to proceed |
I tried to use the ActionSheetDatePicker in CountDownTimer mode.
I would expect the DatePicker to be preset at 0h and 10min but it is preset at 1h 10min
More important I assume the function
datePicked
is called byActionSheetDatePicker
with aNSNumber
instead of aNSDate
. The number / date is most of the time 60, regardless of the selection I make in the picker.The text was updated successfully, but these errors were encountered: