RCPageControl icon indicating copy to clipboard operation
RCPageControl copied to clipboard

Feature/custom view indicator

Open SimonMcFarlane opened this issue 9 years ago • 3 comments

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

SimonMcFarlane avatar Oct 18 '15 16:10 SimonMcFarlane

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

looping avatar Oct 19 '15 02:10 looping

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

looping avatar Oct 19 '15 03:10 looping

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

SimonMcFarlane avatar Oct 19 '15 21:10 SimonMcFarlane