TanguyAladenise / TAPageControl

A versatile and easily customizable page control for iOS.
MIT License
430 stars 83 forks source link

Pages bullets clickable #1

Closed daniesy closed 9 years ago

daniesy commented 9 years ago

Pages bullets are clickable in the example, but don't change the page.

TanguyAladenise commented 9 years ago

Hi,

My bad, I forgot implementing a delegate on this :/ The PageControl will never move to the page for you though. Your controller should handle this via a delegate for example. For the time being I suggest you use KVO on currentPage. I will fix this. Thanks for the input.

daniesy commented 9 years ago

No problem! You're welcome! I thank you!

TanguyAladenise commented 9 years ago

I fix the issue and added a delegate, so both KVO and delegate can help you work with bullet touch event. The example project has been updated to work with middle carousel. Just update your pod if you use cocoapods. I hope it will answer your need ;)