InputNumber - admiral-team/admiralui-ios GitHub Wiki

Class

A control that displays an editable text area with incrementing or decrementing a value and leading label text.


Declaration

public class InputNumber: UIControl, AnyAppThemable, AccessibilitySupport

Overview

An input field with the ability to enter numerical values ​​by pressing with a given step.

Live example

Live example

Configure a InputNumber

Configure InputNumber width left label, minimum and maximum value, steps value

let inputTextField = InputNumber()
inputTextField.text = "Optional label"
inputTextField.value = 1
inputTextField.minimumValue = 0
inputTextField.maximumValue = 20000

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.