Releases: erikdrobne/SwiftUICoordinator
Version 2.4.1
What's Changed
- feat: shows/hides back button and navigation bar by @nunocaseiro in #42
New Contributors
- @nunocaseiro made their first contribution in #42
Full Changelog: 2.4.0...2.4.1
Version 2.4.0
Version 2.3.4
Version 2.3.3
Changes
Full changelog: 2.3.2...2.3.3
Version 2.3.2
New features
Custom modal transitions
#32 Introducing the ability to create custom modal transitions, providing a unique way to present
and dismiss
views.
Changes
- Updated example project
- Updated docs
Full changelog: 2.3.1...2.3.2
Version 2.3.1
Changes
- #31
makeNavigationDelegate
method returns non-optionalNavigationControllerDelegateProxy
. - #30 Updated and improved code docs.
Full changelog: 2.3.0...2.3.1
Version 2.3.0
New features
Coordinator
#24 Separated coordinator deep link handling into the CoordinatorDeepLinkHandling
protocol.
Transitionable
#25 Refactored the Transition
protocol.
Introduced a TransitionProvider
class that holds an array of transitions, ensuring they are retained in memory as long as needed.
NavigationControllerDelegateProxy
#26 Decoupled UINavigationControllerDelegate
from NavigationController
into the NavigationControllerDelegateProxy
object.
Logger
#28 Refactored coordinator log categories: deep_link
& coordinator
into DeepLink
& Coordinator
Changes
- Added SwiftLint rules
- Added new unit tests
- Updated docs
Full changelog: 2.2.0...2.3.0
Version 2.2.0
New features
RootCoordinator
#23 Added RootCoordinator
class which serves as the top-level coordinator in the application's coordinator hierarchy. It initializes the main window and navigation controller, manages child coordinators, and registers transitions.
WeakCoordinator & WeakTransition
#23 Use weak reference objects when storing child coordinators and transitions into a collection to avoid runtime errors such as dangling pointers.
Changes
- Improved Example project (
AppCoordinator
,DependencyContainer
,CoordinatorFactory
,...) - Updated docs
- Updated unit tests
Full changelog: 2.1.1...2.2.0
Version 2.1.1
New features
NavigationController
- #22 Add the
isNavigationBarHidden
parameter to theNavigationController
initializer that indicates whether the navigation bar should be hidden on the created instance.
Changes
- Updated code docs
- New unit tests
Full changelog: 2.1.0...2.1.1
Version 2.1.0
New features
NavigationRoute
- Added
attachCoordinator
property
/// A property that indicates whether the Coordinator should be attached to the View as an EnvironmentObject.
var attachCoordinator: Bool { get }
- Added
appearance
property
/// A property that provides the info about the appearance and styling of a route in the navigation system.
var appearance: RouteAppearance? { get }
DeepLinkHandling
- Added
DeepLinkHandling
protocol - Added
func handle(_ deepLink: DeepLink, with params: [String: String])
to theCoordinator
Changes
Full changelog: 2.0.0...2.1.0