loom & weft
Made for Swift.

Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.

LOOM Unreleased (PR #2) / WIDGETS

MenuItem

A visible label and optional right-aligned hint. Your app associates the row index with its action.

Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.

Example

let item = MenuItem("Open", hint: "Enter")
_ = Menu([item], selectedIndex: 0)
Members on this page

Feature guides and release status