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

didScrollToDateSegmentWith() gets called twice on every swipe to next/previous month #189

Closed
skipadu opened this issue Nov 5, 2016 · 2 comments

Comments

@skipadu
Copy link

skipadu commented Nov 5, 2016

  1. Are you using the latest version of JTAppleCalendar? Latest version is currently 6.0.1
  • Yes, I have the latest version 6.0.1
  1. Is your question already answered in the tutorials and guides —> https://patchthecode.github.io/
  1. Looking for some feature you cant find? Than have you already looked at the UserInteractionFunctions.swift file?
  • I looked, but didn't find help from there

I currently have UIView which have the label for the month, like in the example code.
But when swiping the month back or forth, didScrollToDateSegmentWith will be called twice on every time. This is no affecting my functionality, but I thought it should be called just once.
So, is it intended to call it twice?

Thanks for this great component, really offers versatility to make it look just like I want.

@patchthecode
Copy link
Owner

patchthecode commented Nov 5, 2016

@skipadu youre right. It is a work around i intentionally coded. But its time i now find a proper solution. Thanks for the reminder.

@patchthecode
Copy link
Owner

I have now fixed this.Thanks.
It will be included in next release.

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

No branches or pull requests

2 participants