{"repo":"SwiftfulThinking/SwiftfulRouting","free":true,"listed":false,"github":"https://github.com/SwiftfulThinking/SwiftfulRouting","clone":"git clone https://github.com/SwiftfulThinking/SwiftfulRouting.git","description":"Programmatic navigation for SwiftUI applications.","language":"Swift","stars":992,"topics":["ios","swift","swiftui"],"license":"MIT","category":"mobile-apps","readme_excerpt":"🚀 Learn how to build and use this package: https://www.swiftful-thinking.com/offers/REyNLwwH SwiftfulRouting 🤙 Programmatic navigation for SwiftUI applications. - ✅ Segues - ✅ Alerts - ✅ Modals - ✅ Transitions - ✅ Modules How to use this package: - 1️⃣ Read the docs below - 2️⃣ Watch YouTube Tutorial - 3️⃣ Practice with Sample Project - 4️⃣ Test the Starter Project Versioning: - ➡️ iOS 17+ use version 6.0 or above - ➡️ iOS 14+ use version 5.3.6 - ➡️ iOS 13+ use version 2.0.2 Quick Start (TLDR) Details (Click to expand) Use a RouterView to replace NavigationStack in your SwiftUI code. Before SwiftfulRouting: With SwiftfulRouting: Use a router to perform actions. All available methods in router are in AnyRouter.swift. Examples: How It Works Details (Click to expand) As you segue to a new screen, the framework adds a set view modifiers to the root of the destination View that will support all potential navigation routes. This allows declarative code to behave as programmatic code, since the view modifiers are connected in advance. Screen destinations are erased to generic types, allowing the developer to determine the destination at the time of execution. Version 6.0 adds many new features to the framework by implementing an internal RouterViewModel across the screen heirarchy that allows and screen's router to perform actions that affect the entire heirarchy. The solution introduces [AnyDestinationStack] which is a single array that holds bindings for all active segues in the","default_branch":null,"files":null,"tree":[],"storefront":"/r/SwiftfulThinking","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SwiftfulThinking/SwiftfulRouting/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}