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

modifications for self protection in CVCalendarMonthContentVC, and CV… #466

Merged
merged 1 commit into from Aug 4, 2017

Conversation

djayhsu
Copy link
Contributor

@djayhsu djayhsu commented Aug 1, 2017

…Date comma removal

@elsesiy
Copy link
Member

elsesiy commented Aug 2, 2017

@dhsu210 Thanks for the PR. Can you please explain to me what you're trying to achieve or what this PR aims to fix?

@djayhsu
Copy link
Contributor Author

djayhsu commented Aug 2, 2017

I noticed that you used a guard let for strongSelf in nextMonth (but not previousMonth), which was causing the calendar to crash if users selected a date in the previous month by clicking on some of the greyed out dates (i.e. if they are in August 2017, but select July 31st). This was meant to be an internal PR, but I figured it might help everyone else who is experiencing the crashes. You can ignore the comma change in CVDate though, that was just a UI preference for my own implementation. Feel free to close this PR (I couldn't quite figure out how to close it from my end) and only implement the changes that you feel are necessary.

@elsesiy
Copy link
Member

elsesiy commented Aug 4, 2017

I'm adapting your PR as it is as I think it's a good fix, thank you! Feel free to add further PRs 👍

@elsesiy elsesiy merged commit 9457e2a into CVCalendar:master Aug 4, 2017
@elsesiy elsesiy mentioned this pull request Aug 4, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants