Jtapplecalendar: Cell reloaded when programatically selected by code

Created on 11 Sep 2016  ·  1Comment  ·  Source: patchthecode/JTAppleCalendar

Hi, the default behavior is to reload cells in https://github.com/patchthecode/JTAppleCalendar/blob/master/Sources/UserInteractionFunctions.swift#L210

This cause problem with animating all the selected cells. I want to animate all the selected cell when I select a range of dates. I have a func to do that in didSelectDate, but the animation is cut short by the reloading.

If I remove your comment in the first condition of line 210, the animation works for every selected cell.

Btw, great calendar, keep it up 👍

Already Fixed on Master Branch enhancement

Most helpful comment

Thank you.
Now that I look at the code, I believe I might have forgotten to remove the condition as a comment.
I believe I had it commented for testing purposes, and I forgot to re-enable it on release. I'll fix this now.

>All comments

Thank you.
Now that I look at the code, I believe I might have forgotten to remove the condition as a comment.
I believe I had it commented for testing purposes, and I forgot to re-enable it on release. I'll fix this now.

Was this page helpful?
0 / 5 - 0 ratings