Skip to content

v1.1.0

Choose a tag to compare

@almonk almonk released this 26 Jan 23:38

Two-Way Synchronization API

Geometry Query

  • layoutSnapshot() - Get flat list of pane geometries with pixel coordinates
  • treeSnapshot() - Get full tree structure for external consumption
  • findSplit(_:) - Check if a split exists by UUID

Programmatic Updates

  • setDividerPosition(_:forSplit:fromExternal:) - Set divider position with loop prevention
  • setContainerFrame(_:) - Update container frame when window moves/resizes

Geometry Notifications

  • didChangeGeometry delegate callback - Notified when any pane geometry changes
  • shouldNotifyDuringDrag delegate callback - Opt-in to real-time notifications during divider drag

New Types

  • LayoutSnapshot, PixelRect, PaneGeometry, ExternalTreeNode, ExternalPaneNode, ExternalSplitNode, ExternalTab

Debug Tools

  • Debug window in Example app for testing synchronization features