Skip to content

0.2.0

Latest

Choose a tag to compare

@nobottomline nobottomline released this 13 Aug 19:53

Sumi 0.2.0 adds first-class pointer feedback for iPad and Apple silicon Macs running the Designed for iPad version, together with safer alert emphasis and explicit cancellation for owned picker presentations.

Highlights

  • System pointer interactions across alerts, dialogs, menus, context menus, pickers, sheets, toasts, and steppers on iPadOS 13.4+.
  • Pointer feedback is enabled by default and uses each control's existing visual language. Per-action and per-component opt-out is available through SumiPointerBehavior.disabled.
  • Hover, press, loading, and disabled states compose safely; pointer movement cannot trigger actions, haptics, or hold-to-confirm progress.
  • Destructive alerts now emphasize the safe Cancel action while preserving the destructive action's red treatment.
  • ChoiceDialogCancellation lets an owner synchronously dismiss a multi-choice dialog when scene custody or authorization is revoked.
  • The Menu playground once again preserves the system Back button in the Demo catalog.

Compatibility

  • iOS 13+ remains supported.
  • Pointer behavior is progressive enhancement and is inert when no pointing device is present.
  • No external runtime dependencies were added.

See the changelog and pointer interaction documentation for details.

Install

.package(url: "https://github.com/nobottomline/Sumi.git", from: "0.2.0")