AYPagingView - is a view that displays a horizontal series of stripes or dots, each of which corresponds to a page in the app’s document or other data-model entity.
AYPaging is available through CocoaPods. To install it, simply add the following line to your Podfile:
inhibit_all_warnings!
target 'YOUR_TARGET_NAME' do
use_frameworks!
pod 'AYPaging'
end
// 'count' - object of 'Int' type. Number of items.
pagingView.count = count
pagingView.cornerRadiusFactor = 2
pagingView.fillingAnimationDuration = 0.32
pagingView.scalingAnimationDuration = 0.32
pagingView.scalingAnimationFactor = 0.8
pagingView.color = .gray
pagingView.selectedColor = .white
// pagingView.isCircles = true
📧 Anton Yereshchenko
AYPaging is available under the MIT license. See the LICENSE file for more info.
Icons & photos:
Icons8 - https://icons8.com
Unsplash - https://unsplash.com