MatthewYork / MYBlurIntroductionView

A super-charged version of MYIntroductionView for building custom app introductions and tutorials.
MIT License
1.53k stars 195 forks source link

Support changing to a specific panel #6

Closed misterwell closed 10 years ago

misterwell commented 10 years ago

Implemented -[MYBlurIntroductionView changeToPanelAtIndex:]. Supports both text directions, as far as I'm able to test. Unclear whether the original intention of the function was to take the absolute index of the panel to display or the index relative to the text direction.

MatthewYork commented 10 years ago

Funnyman, this looks great. I'm going to add support for the delegate method didChangeToPanel:withIndex, but besides that, excellent job.

bassrock commented 10 years ago

I am having a weird issue with this where when i use the changeToPanelAtIndex sometimes it works perfectly where sometimes it works perfectly and other times it goes to the specified page and then quickly jumps back. I am currently using only two introduction panels if that helps.

I did some tracing and it looks like with this method sometimes the scrollViewDidEndDecelerating delegate gets called while other times it does not. It looks like the right functionality is when scrollViewDidEndDecelerating does not get called.

Any ideas?