PageControl Linear SwiftUI - admiral-team/admiralui-ios GitHub Wiki

Struct

An object that display view with number of steps.


Declaration

public struct LinerPageControll: View

Overview

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

Live example

Configure a LinerPageControll

@State private var selectionItem = 1
LinerPageControll(currentPage: $selectionItem, numberOfPages: 5, displayedItems: 5)

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.