Skip to content

GMSnagNav 0.6.0

Latest

Choose a tag to compare

@kerker00 kerker00 released this 04 Dec 08:06
fd90ce4

Rows with details: a subtitle in OutlineLabel, content-sized row heights and accessories with
controls of their own. Rows that use none of them keep their native height and behavior.

Added

  • OutlineLabel(_:subtitle:systemImage:allowsWrapping:): an optional subtitle below the title,
    in the same text column, and optional wrapping instead of truncation. Title and subtitle form
    one accessibility element. Existing calls without a subtitle are unchanged.
  • outlineRowSizing(_:) with OutlineRowSizing: .native keeps the platform height,
    .content(minimumHeight:) measures the row's content and keeps at least the minimum for the
    whole row. On macOS, content rows are measured again when their content, width or row size
    changes.
  • outlineRowAccessory(_:): native controls in an area of their own at the trailing edge of a
    row. A click or tap runs only the control's action, without selecting, opening, expanding or
    dragging the row; the controls stay separate accessibility elements.
  • Demo app: "Show Details" shows each document's folder and an info button.

Full changelog: 0.5.2...0.6.0 (#72)