Skip to content

Conversation

SimonMcFarlane
Copy link

Hello there!

Think this is way the best custom page control that I found on Cocoapods. Really like the use of pop for the animations.

Anyway I've added support so that the user can customise the indicator with a custom view (whilst keeping to the current project architecture and coding style). I've updated the example project to show how the user can initialise a RCPageControl with custom indicator views and also how to customise the views for both default and current states.

Let me know what you think.

Cheers
++

simulator screen shot 18 oct 2015 17 36 57

Modified RCPageControl to handle creation of custom views instead of the current default UIView.
Added happy/sad icon assets for example project.
@looping
Copy link
Owner

looping commented Oct 19, 2015

Done right, I'll check it later. Thx!

@looping
Copy link
Owner

looping commented Oct 19, 2015

I think we should use a protocol instead of declaring an abstract class. Using RCIndicatorViewProtocol is perfect.

@SimonMcFarlane
Copy link
Author

Yeah, I agree, A protocol would be a better approach. Will get onto as soon as I get a free moment.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants