ealeksandrov / EAIntroView

Highly customizable drop-in solution for introduction views.
MIT License
3.76k stars 501 forks source link

Better PageControl for Swift #161

Open oenama opened 8 years ago

oenama commented 8 years ago

http://stackoverflow.com/q/36965228/4837354

ealeksandrov commented 8 years ago

Good catch. Try looking for custom page controls that are subclasses of UIPageControl.

I'll update demo when I have time.

ealeksandrov commented 7 years ago

After looking through this - there is no ability to effectively subclass UIPageControl so we need to ultimately choose some particular custom PageControl that will suit all our customization needs.

Since there is no good open-source solution (SMPageControl is not maintained) - I will return to choosing/creating dependency when rewriting EAIntroView in Swift.

For obj-c SMPageControl hack is ok but I don't recommend it for Swift. I won't add SMPageControl as dependency now as I don't think that it is needed for most of users and others can use current workaround.