PageControls:定制的页面控制组件替换 UIPageControl 组件

1,652 阅读1分钟
原文链接: github.com

CI Status Version License Platform

This is a selection of custom page controls to replace UIPageControl, inspired by a dribbble found here. The appearance (color, size, # of pages) of each control can be customized using Interface Builder.

Demo

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

PageControls is available through CocoaPods. To install it, simply add the following line to your Podfile:

Installation (individual controls)

Each page control can be installed individually using cocoapods subspecs with one of the following lines:

pod "PageControls/SnakePageControl"
pod "PageControls/FilledPageControl"
pod "PageControls/PillPageControl"
pod "PageControls/ScrollingPageControl"

Author

Kyle Zaragoza, popwarsweet@gmail.com

License

PageControls is available under the MIT license. See the LICENSE file for more info.