{"id":23749691,"url":"https://github.com/frzi/swiftuirouter-examples","last_synced_at":"2025-09-04T23:31:38.216Z","repository":{"id":47120167,"uuid":"432489296","full_name":"frzi/SwiftUIRouter-Examples","owner":"frzi","description":"Examples of path-based routing using SwiftUI Router","archived":false,"fork":false,"pushed_at":"2023-09-14T07:55:03.000Z","size":1968,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-23T00:50:23.110Z","etag":null,"topics":["examples","router","routing","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-27T14:55:42.000Z","updated_at":"2024-12-09T15:40:46.000Z","dependencies_parsed_at":"2022-09-16T17:51:20.491Z","dependency_job_id":null,"html_url":"https://github.com/frzi/SwiftUIRouter-Examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frzi%2FSwiftUIRouter-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frzi%2FSwiftUIRouter-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frzi%2FSwiftUIRouter-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frzi%2FSwiftUIRouter-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frzi","download_url":"https://codeload.github.com/frzi/SwiftUIRouter-Examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232005260,"owners_count":18459032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["examples","router","routing","swiftui"],"created_at":"2024-12-31T15:38:23.511Z","updated_at":"2024-12-31T15:38:24.092Z","avatar_url":"https://github.com/frzi.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftUI Router examples\n\n[![SwiftUI](https://img.shields.io/badge/SwiftUI-blue.svg?style=for-the-badge\u0026logo=swift\u0026logoColor=black)](https://developer.apple.com/xcode/swiftui)\n[![Swift](https://img.shields.io/badge/Swift-5.5-orange.svg?style=for-the-badge\u0026logo=swift)](https://swift.org)\n[![Xcode](https://img.shields.io/badge/Xcode-13-blue.svg?style=for-the-badge\u0026logo=Xcode\u0026logoColor=white)](https://developer.apple.com/xcode)\n\nThis repository contains examples demonstrating how to utilize path-based routing using the [SwiftUI Router](https://github.com/frzi/SwiftUIRouter) library. These examples are not made to look pretty, but rather, are simplified to better showcase *SwiftUI Router*'s features as well as giving examples on how to structure your routes and code.\n\n## The examples\n\n| Example | Platforms\u003csup\u003e1,2\u003c/sup\u003e | Description |\n| ------- | ---------- | ----------- |\n| [RandomUsers](RandomUsers) | iOS, macOS | A simple contacts-like app with 100 randomly generated users from [randomuser.me](https://randomuser.me). It demonstrates most of the features *SwiftUI Router* has to offer, how to organize routes and being able to redirect users to different parts of the app with a single button. |\n| [Swiping](Swiping) | iOS | A featureless app trying to replicate iOS's swipe-to-return navigation. |\n| [TabView](TabViewRouting) | iOS, macOS | Example of how to combine *SwiftUI Router* and SwiftUI's builtin `TabView`. |\n\n\u003csup\u003e1\u003c/sup\u003e *SwiftUI Router* is available on iOS (and iPadOS), macOS, tvOS and watchOS. Due to the interest of time the examples were only made and tested on iOS and macOS. 🙇  \n\u003csup\u003e2\u003c/sup\u003e All projects are made for iOS 15+ or macOS 12+.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrzi%2Fswiftuirouter-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrzi%2Fswiftuirouter-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrzi%2Fswiftuirouter-examples/lists"}