Releases: lynnswap/NavigationStackController
Releases · lynnswap/NavigationStackController
v0.1.1
NavigationStackController v0.1.1
Bug Fixes
- Fixed interactive back/forward swipe navigation when the current page or nested content contains a horizontal
NSScrollView. - Fixed cancelled and completed swipe transitions so both the foreground and background views animate to the correct final position.
- Prevented navigation swipe tracking from stealing zero-delta or small pre-threshold gestures from scrollable horizontal descendants.
Improvements
- Added MiniApp preview controls for switching between normal and horizontal-scroll content, making scroll/navigation gesture conflicts easier to verify.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
NavigationStackController v0.1.0
Improvements
- Added support for macOS 15.0+ and Swift 6.2+.
Full Changelog: v0.0.2...v0.1.0
v0.0.2
NavigationStackController v0.0.2
Bug Fixes
- Fixed back/forward trackpad swipe gestures in host environments where AppKit's native swipe tracking can stop before the gesture completes.
- Avoid consuming vertical or ambiguous scroll gestures while detecting horizontal back/forward swipes.
- Preserve
.mayBeginas part of normal gesture startup so swipes are not dropped on devices that emit a pre-begin phase.
Improvements
- Let the MiniApp SwiftUI preview use its natural canvas size instead of forcing a fixed minimum frame.
Full Changelog: v0.0.1...v0.0.2
v0.0.1
NavigationStackController v0.0.1
New Features
- Introduces
NavigationStackController, an AppKit navigation container forNSViewControllerstacks. - Adds UIKit-style stack navigation APIs, including push, back, forward, pop, pop-to-root, and stack replacement.
- Supports back/forward history with public
viewControllers,forwardViewControllers,canGoBack, andcanGoForwardstate. - Adds optional horizontal trackpad swipe navigation with interactive back/forward transitions.
- Supports right-to-left layout direction for navigation transitions.
- Provides delegate callbacks for visible-controller changes and navigation operations.
Requirements
- macOS 26.0+
- Swift 6.3+
- AppKit