Releases: poetmountain/Destinations
Releases · poetmountain/Destinations
1.1.0
- Destinations now supports split views:
UISplitViewController
on UIKit andNavigationSplitView
on SwiftUI. You can present or target them with the new presentation typesplitView(column: SplitViewColumn)
.
Example:
let colorSelection = PresentationConfiguration(destinationType: .colorDetail,
presentationType: .splitView(column: SplitViewColumn(uiKit: .secondary)),
assistantType: .custom(ChooseColorFromListActionAssistant()))
- Moved the
navigator
property out of theNavigatingDestinationInterfacing
protocol and into a new Destination state typeNavigationDestinationInterfaceState
, in order to reduce setup requirements ofNavigationStack
-containingView
s. Thenavigator
can now be accessed from theView
through thedestinationState
state object. - Fixed Flow objects not removing Destinations that are children of
GroupedDestinationable
objects when they are removed internally by the group. - Renamed
DestinationsOptions
toDestinationsSupport
. - Updated tests and example projects.
1.0.2
- Fixed Swift strict concurrency issues
- Fixed
replaceCurrent
presentation type not removing Destinations on UIKit in navigation controllers - Fixed
ControllerFlow
not properly updating current Destination when presentation switches tabs - Fixed
replaceCurrent
presentation type for SwiftUI - Updated Package.swift to use 6.0 swift tools
- Updated tests
1.0.1
Added the ability to disable animations when presenting a Destination in a navigation stack, either for SwiftUI's NavigationStack
or UIKit's UINavigationController
. You can add navigation presentation options on a per-Destination basis by setting a NavigationStackPresentationOptions
model on a DestinationPresentation
's navigationStackOptions
property.
Note that the destinationPath
presentation type will automatically disable the navigation stack presentation animations of all of its Destination presentations to better support deep linking use cases. This default behavior can be overridden by adding a NavigationStackPresentationOptions
model with its shouldAnimate
property set to true for each DestinationPresentation
you want to change.