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

Dates selection state issue. #321

Closed
RanjitKadam opened this issue Jun 7, 2016 · 1 comment
Closed

Dates selection state issue. #321

RanjitKadam opened this issue Jun 7, 2016 · 1 comment

Comments

@RanjitKadam
Copy link

Firstly, thanks for the awesome lib.

Hey, I have a requirement where I want to select multiple dates and when I come back again to the calendar, I need to show those dates selected, with some custom color, and when user clicks those dates again, then it should get deselected.

for ex: I open the calendar, select 4, 6, 7, then I close the calendar and open again, then it should show 4, 6, 7 as selected, now when I click on 4, 6, 7, then the dates should get deselected.

@WenchaoD
Copy link
Owner

WenchaoD commented Jun 9, 2016

  1. For multiple selection, see MultipleSelectionExample
  2. For selecting dates manually, use [calendar selectDate:date]
  3. For saving your selection dates, use NSUserDefaults or some other cache framework.

@WenchaoD WenchaoD closed this as completed Jun 9, 2016
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