AdmiralSwiftUI PinCodeKeyboard - admiral-team/admiralui-ios GitHub Wiki

Overview

PinCodeKeyboard - A view for secure pin code entry.

Code

 PinCodeKeyboard(
     leftButtonTitle: "Не могу войти",
     rightButtonImage: Image("Your image"),
     didTapNumber: {},
     didTapLeftButton: {},
     didTapRightButton: {}
 )

You can create a PinCodeKeyboard by specifying the following parameters in the initializer

 - leftButtonTitle: String - Title for left button
 - rightButtonImage: Image - Image for right button
 - didTapNumber: Handle number tap
 - didTapLeftButton: Handle left button tap
 - didTapRightButton: Handle right button tap

Live Example

To run live demo with PinCodeKeyboard open Xcode and run project with Example target. Then in the Main -> PinCodeKeyboard

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.