JTAppleCalendar icon indicating copy to clipboard operation
JTAppleCalendar copied to clipboard

deselectAllDates()

Open mark-mj-maker opened this issue 6 years ago • 7 comments

when I use deselectAllDates() function with v7.1.0, not perform calendar(_ calendar: JTAppleCalendarView, shouldDeselectDate date: Date, cell: JTAppleCell?, cellState: CellState) but I use v7.1.7 or v 8.0.0+, it can perform shouldDeselectDate? I need not perform, What shall I do?

mark-mj-maker avatar Nov 22 '19 02:11 mark-mj-maker

why you do not want it to call shouldSelect?

patchthecode avatar Nov 22 '19 03:11 patchthecode

why you do not want it to call shouldSelect?

I setup triggerSelectionDelegate == false, I think it should not call shouldSelect shouldSelect function has a callback, resulting in cyclic calls v7.1.0 not support Swift 5 regrettably This problem only appears after the latest update.

mark-mj-maker avatar Nov 22 '19 03:11 mark-mj-maker

is it fixed in version 7.1.8?

patchthecode avatar Nov 22 '19 04:11 patchthecode

If not I will look at this over the weekend. I have a number of issues to fix that I have put on the desk for a while.

patchthecode avatar Nov 22 '19 04:11 patchthecode

If not I will look at this over the weekend. I have a number of issues to fix that I have put on the desk for a while.

yes, I found v7.1.6, v7.1.7,v8.0.0+ which support Swift 5's version all has this problem. thanks.

mark-mj-maker avatar Nov 22 '19 05:11 mark-mj-maker

OK, will look at it over the weekend. The fix should be simple. --> If user has triggerSelectionDelegate set to false then i will not trigger the should select

patchthecode avatar Nov 22 '19 13:11 patchthecode

OK, will look at it over the weekend. The fix should be simple. --> If user has triggerSelectionDelegate set to false then i will not trigger the should select

ok, thank you. when can I update it?

mark-mj-maker avatar Nov 25 '19 03:11 mark-mj-maker