Open bobongski opened 8 years ago
Hi,
With the EventKit controllers, events are loaded in the background to prevent blocking the main thread. But I guess one reason for the laggy behavior when you deal with a lot of events would be the cell layout calculations (in MGCAllDayEventsViewLayout
and MGCTimedEventsViewLayout
). They should also be done in the background, but that might be more difficult to implement...
Same here. Reloading a day with more than 3-4 events causes serious lag in scrolling. Reloading events from a background thread does not work.
A recorded a video: http://gk.lka.hu/x/calendarlib_lag.mov
I have continued investigating the issue. It appears that -reloadEventsAtDate:
is realoading the full view not only the given date. (I was logging out every -dayPlannerView:viewForEventOfType:atIndex:date:
call, and it seems all of the on-screen views get this call even when the day is not reloaded which they belong to.)
Hi, I am studying calendar lib to use in my project. I just want to use its planner view to show my events but I am not able to insert any event on that. Each time it shows me different errors. I want to insert event for start date as current date and end as the next day. Please help.
Hi, I also encountered a similar problem. gklka, please show me fix this bug. Thanks you.
Hi love your calendar by the way. Is there a way that the scroll will not be laggy? When the events reaches 200 in a single day when scrolling its laggy.