I'm using JTCalendar in my project. I've to show indicators (round dots) under dates if an event for that day is available. Response from the API gives me an array of dictionaries. Dictionary has a key "service_date" and value in string like "10/02/2017".
How can i use the method haveTaskForDay to check service dates?
In JTCalendar's delegate:
and in your
haveTaskForDaymethod, you will get date parameter from above delegate then you can check if date is similar with the one in your dictionary:Note: I did not run this code. You should make corrections if necessary.