Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numberOfEventsForDate gets called multiple times. #290

Closed
JorgeAGomez opened this issue May 11, 2016 · 1 comment
Closed

numberOfEventsForDate gets called multiple times. #290

JorgeAGomez opened this issue May 11, 2016 · 1 comment

Comments

@JorgeAGomez
Copy link

I am new implementing calendars and I am trying to understand why the function "numberOfEventsForDate" gets called multiple time during runtime?

I set a break point and NSLog the dates and it looks like the function goes through every week first day every time.

How can I make this function run only once when I call it?

@WenchaoD
Copy link
Owner

WenchaoD commented May 11, 2016

It provides number of events for every date on screen. So it will get called for every 'date'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants