转载

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

PageControls

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

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

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:

pod "PageControls"

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.

原文  https://github.com/popwarsweet/PageControls
正文到此结束
Loading...