Skip to content

1.1.0: window routes and visionOS

Latest

Choose a tag to compare

@nashysolutions-bot nashysolutions-bot released this 01 Dec 09:41
ab1aaf2

Additive release. No existing public signature changes, so code written against 1.0.0 builds unchanged.

Added

  • visionOS 1 is a supported platform, beside iOS 17 and macOS 14.
  • Window routes: WindowRoute, WindowRequest, WindowStep and WindowOutcome map an app's windows to a scene id and an optional Codable & Hashable value, so a tap and a link open the same window through the coordinator.
  • WindowNavigator, which the coordinator calls from apply(_:_:). It hands the baton to the opened window through a handoff registry, and the window's root view claims it with onLink(from:).
  • providingWindowActions(to:), which registers a scene's openWindow and dismissWindow actions with the navigator.
  • A step that cannot run is reported, never dropped: .noOpener, .unsupported (a scene that cannot open more than one window) or .cancelled under latest wins.
  • A DocC article, Windows.

Known issue

  • The optional onLink(from:) overload resets a view's state when it claims its baton (#24).

Full change: #25.