/AYPaging

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.

Primary LanguageSwiftMIT LicenseMIT

AYPaging

CI Status Version License Platform

About

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.

Installation

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

Demo

Usage

// '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

Author

📧 Anton Yereshchenko

License

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

Used in project

Icons & photos:

Icons8 - https://icons8.com

Unsplash - https://unsplash.com