components/pop_up_button library
Classes
-
CNPopUpButton<
T> - A native pop-up button: a button that shows the current choice and opens a menu of choices when pressed, the standard picker of a value from a short list.
-
CNPopUpButtonDivider<
T> - A line between the items of a CNPopUpButton menu.
-
CNPopUpButtonEntry<
T> - An entry of a CNPopUpButton menu: a CNPopUpButtonItem, a CNPopUpButtonDivider or a CNPopUpButtonSection.
-
CNPopUpButtonItem<
T> - A choice of a CNPopUpButton: the value it stands for and what the menu and the button show for it.
-
CNPopUpButtonSection<
T> - A group of items in a CNPopUpButton menu, set apart from the other entries, with an optional title above them.
Constants
- kCNPopUpButtonPressDelay → const Duration
-
How long a finger rests on the button before the touch goes to it as a
press, so that the menu opens under the finger and a drag chooses an item.
UIKit's scroll views wait as long (
delaysContentTouches) before they hand a touch to a control; a scroll that starts sooner still scrolls.