Skip to content

Releases: JoryShilmover/DualPane

DualPane 0.1.1

Choose a tag to compare

@JoryShilmover JoryShilmover released this 25 Sep 23:38
42de6a3
  • Linux support. DualPaneCore builds and lays out correctly on Linux. The solver now uses its own rectangle overlap tests, because CGRect.intersects counts shared edges as an intersection on Linux but not on Apple platforms. That produced wrong layouts next to hinges. Layouts on Apple platforms are unchanged, which the parity tests confirm.
  • DualPaneSwiftUI compiles only where SwiftUI is available.
  • README: badges, a "Why DualPane?" section, and demo GIFs.
  • Demo app: scripted tours (-tour fold|hinge|resize) and record-gifs.sh.

No API changes.

.package(url: "https://github.com/JoryShilmover/DualPane.git", from: "0.1.1")

DualPane 0.1.0

Choose a tag to compare

@JoryShilmover JoryShilmover released this 25 Sep 22:58
44dc403

First release of DualPane, a two-pane layout solver for foldable, dual-screen and regular displays.

  • DualPaneCore: DualPaneSolver and DualPaneConfiguration, covering pane sizing (fill or aspect ratio), gutter, the size measure, the legibility threshold and optional accessory regions. The .ds preset reproduces the Duo DS emulator's layouts exactly.
  • DualPaneUIKit: DisplayEnvironmentAdapter reads iOS 27.1 fold regions and hinge changes, and falls back to the safe area on older SDKs.
  • DualPaneSwiftUI: DualPaneLayout, a SwiftUI Layout for two views.
  • Examples/DualPaneDemo: an iOS and macOS app for trying the solver.
.package(url: "https://github.com/JoryShilmover/DualPane.git", from: "0.1.0")

This is a 0.x release, so breaking changes are possible before 1.0.