PageConrol Circle SwiftUI - admiral-team/admiralui-ios GitHub Wiki

Struct

The view that display circle view with progress indicator.


Declaration

public struct CirclePageControlStyle: ButtonStyle

Live example

Overview

A group of components is used for navigation and indicates the number of possible pages (steps).

Configure a CirclePageControlStyle

To create circle page control style you show pass the number of steps and style.

Button(action: {}, label: {})
     .buttonStyle(CirclePageControlStyle(totalPages: 7, style: .additional))

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.