david-swift 4937c36b3b Improve updating performance
And update docs reflecting the changes in the latest commits
2024-01-27 08:07:05 +01:00

405 B

EXTENSION

Toggle

Methods

init(_:icon:isOn:)

Initialize a toggle button.

  • Parameters:
    • label: The button's label.
    • icon: The button's icon.
    • isOn: Whether the toggle is on.

init(_:isOn:)

Initialize a toggle button.

  • Parameters:
    • label: The buttons label.
    • isOn: Whether the toggle is on.

checkButton()

Use the check button style.

  • Returns: The toggle.