Skip to content
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

ActionSheetDatePicker: set selectedDate in response to custom button press #73

Closed
mts749 opened this issue Oct 10, 2014 · 4 comments
Closed

Comments

@mts749
Copy link

mts749 commented Oct 10, 2014

The selectedDate property of ActionSheetDatePicker is declared locally (in ActionSheetDatePicker.m) and therefore is not available to other classes. I would like to implement a custom button that sets the date when a user taps on this button. (A "Today" button). Could a public interface be added to ActionSheetDatePicker to allow this kind of interaction?

@skywinder
Copy link
Owner

It's not implemented yet. It will be available in the next version. (see #33)
Also in commets to this feature-request you can find temporary workaround for your case with customButtonPressed

@mts749
Copy link
Author

mts749 commented Oct 10, 2014

Thanks. Will the next version accomplish this without the need for a subclass?

@skywinder
Copy link
Owner

Yes. Likely it will be implemented by delegate method.

@mts749
Copy link
Author

mts749 commented Oct 10, 2014

Great. Thanks.

@mts749 mts749 closed this as completed Oct 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants