AdmiralSwiftUI Controls CodeInputControl - admiral-team/admiralui-ios GitHub Wiki
CodeInputControl - A control of the entered user characters. Used for secure password entry.
CodeInputControl(
text: .constant("1234"),
itemsCount: 5,
status: .normal)
You can create a CodeInputControl by specifying the following parameters in the initializer
Initializer parameters:
- text - Binding<String> Observable property for control count input text
- itemsCount - value of Int. The property is responsible for the possible number of input characters
- status - this parameter is responsible for the display style CodeInputControl. Can be in three states: normal, success, error. Default state is a normal.
To run live demo with CodeInputControl open Xcode and run project with Example target. Then in the main page -> RadioButton:
You can help us to find bugs or ask us to add features.
- To start
issueplease use ready-made templates. - To make changes to the repository, you need to create a
forkof the project, make changes to the code and create apull requestin our project. You can read more about this in the Github documentation.