Update README.md
BRPageControl is a custom UIView which mimics the behaviour of UIPageControl and has some additional features.
A border can be added to your controls, and a custom UIColor can be given to it
Set a custom diameter to your controls
Set custom spacing between controls
BRPageControl is available to install via CocoaPods
CocoaPods
Just add pod 'BRPageControl' to your podfile and then run pod install
pod 'BRPageControl'
pod install
Carthage
gitHub "kjoneandrei/BRPageControl"
Create an instance of BRPageControl
let brPageControl = BRPageControl()
Set BRPageControl allingment
brPageControl.contentHorizontalAlignment = .center
Set Colors to your controls by accessing the following properties
brPageControl.currentPageTintColor = .white brPageControl.currentPageBorderColor = .black brPageControl.pageTintColor = .gray brPageControl.pageBorderColor = .black
Set diameter and spacing
brPageControl.diameter = 7.5 brPageControl.spacing = 7
Made by Andrei Hogea
BRPageControl is available under the MIT license.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
BRPageControl
About
BRPageControl is a custom UIView which mimics the behaviour of UIPageControl and has some additional features.
Additional Features
A border can be added to your controls, and a custom UIColor can be given to it
Set a custom diameter to your controls
Set custom spacing between controls
Instalation
BRPageControl is available to install via CocoaPods
CocoaPods
Just add
pod 'BRPageControl'
to your podfile and then runpod install
Carthage
How to use
Create an instance of BRPageControl
Set BRPageControl allingment
Set Colors to your controls by accessing the following properties
Set diameter and spacing
👥 Credits
Made by Andrei Hogea
📄 License
BRPageControl is available under the MIT license.