richardtop / CalendarKit

📅 Calendar for Apple platforms in Swift
https://www.youtube.com/watch?v=cJ63-_z1qg8
MIT License
2.49k stars 334 forks source link

Generated Events calls only once #271

Closed shaikhshoeb closed 3 years ago

shaikhshoeb commented 3 years ago

There is no way to recall/referesh and call generateEventsForDate methods to referesh/reload.

suppose if we want to insert multiple event at one call events are not coming on right date it miss match the days.

richardtop commented 3 years ago

Please, explain problem in detail. Also, this type of question is more likely to get an answer faster on StackOverflow with the CalendarKit tag: https://stackoverflow.com/questions/tagged/calendarkit

shaikhshoeb commented 3 years ago

i need to add multiple events in one shot how can i do this in this?

On Sat, Oct 17, 2020 at 7:15 PM Richard Topchii notifications@github.com wrote:

Please, explain problem in detail.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/richardtop/CalendarKit/issues/271#issuecomment-710977157, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFVYE7OR23VXL6MQE2JLBTSLGNXPANCNFSM4STM4Q5Q .

richardtop commented 3 years ago

Please, provide a sample project or sample code.

This kind of questions (not a bug report, feature request) are better to be asked on StackOverflow with the CalendarKit tag. Please ask it there. https://stackoverflow.com/questions/tagged/calendarkit

As for adding multiple events at the same time, just do the changes to your datasource and then call dayView.reloadData() method to reload all events at once.