Quivr / iOS-Week-View

QVRWeekView is a framework which provides a calendar view that can be customized to display between 1 to 7 days in both portrait and landscape mode. Includes customization features to customize colours, fonts and sizes.
MIT License
39 stars 21 forks source link

How to know when i do horizontal scroll [Listenner method] #16

Open 2161352 opened 5 years ago

2161352 commented 5 years ago

Hi, I am using this library and i did use your library in android. And now, i am using for Swift. I am developer with this library but i don't know how to know the range of days when scrolling, in real time.

In the Android library, i can change label when i scrolled but in the iOS i can't find the method who is called when scrolling.

Can you help me ?

Thank you

reilem commented 5 years ago

Currently we only have an activeDayChanged callback which will trigger when scrolling from one day column to another. I might add some continuous vertical and horizontal scroll listeners in the future. :)

reilem commented 5 years ago

I've had another look at this, and it is quite tricky to get 100% perfect because there's lots of custom scrolling and contentOffset changes that I do to get the WeekView to look just right.

Right now I only have time to add the occasional customisation property, or do a bit of refactoring of existing things. So it might take some time before I get this fully implemented. Sorry for the delay.