{"id":21347288,"url":"https://github.com/zddhub/poems","last_synced_at":"2025-09-01T07:41:20.718Z","repository":{"id":37213033,"uuid":"505503498","full_name":"zddhub/poems","owner":"zddhub","description":"A poem book using NavigationSplitView + NavigationStack","archived":false,"fork":false,"pushed_at":"2022-06-26T03:09:12.000Z","size":3650,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T23:09:59.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/zddhub.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":"2022-06-20T15:46:49.000Z","updated_at":"2023-11-26T18:28:21.000Z","dependencies_parsed_at":"2022-07-31T23:48:40.503Z","dependency_job_id":null,"html_url":"https://github.com/zddhub/poems","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zddhub/poems","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zddhub%2Fpoems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zddhub%2Fpoems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zddhub%2Fpoems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zddhub%2Fpoems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zddhub","download_url":"https://codeload.github.com/zddhub/poems/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zddhub%2Fpoems/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265025496,"owners_count":23699757,"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":[],"created_at":"2024-11-22T02:13:36.812Z","updated_at":"2025-07-12T17:31:54.433Z","avatar_url":"https://github.com/zddhub.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Poems\n\nA poem app to demonstrate Navigation APIs that were introduced from [WWDC22 10054](https://developer.apple.com/videos/play/wwdc2022/10054).\n\nRead [【WWDC22 10054】SwiftUI 新导航方案](https://xiaozhuanlan.com/topic/7841259603) to know more about this App.\n\n![Screenshot](./assets/poems-app-screenshot.png)\n\n## Navigation Stack\n\n\u003c!-- ![![Stack](./assets/navigation-stack-diagram.gif)](./assets/poems-navigation-stack.mp4) --\u003e\n\n\u003cdiv align=\"centor\"\u003e\n      \u003ca href=\"./assets/poems-navigation-stack.mp4\"\u003e\n         \u003cimg src=\"./assets/navigation-stack-diagram.gif\" style=\"width:100%;\"\u003e\n      \u003c/a\u003e\n\u003c/div\u003e\n\n## Deeplink\n\n`zddhub://poems?type=0\u0026poemId=5\u0026pathIds=1,2,3,4`\n\n## Known issues\n\n- [ ] `@SceneStorage` can't store the data\n- [ ] Don't know how to subscribe to the change of `navigationModel`, No objectWillChangeSequence function is available in the video\n- [ ] The `poemId` and `path` are reset after restoring from `@AppStorage`\n- [ ] Update NavigationAuthority bound path tried to update multiple times per frame\n- [ ] The i18n of back button doesn't work\n- [ ] Conditional views in columns of NavigationSplitView fail to update on some state changes. (91311311)\n- [ ] Selection-driven, three-column NavigationSplitView sometimes fails to push when collapsed to a single column. (93673059)\n- [ ] NavigationPath store and restore error: NavigationPath.swift:596: Fatal error: throw through?\n\n  ```\n  Failed to decode item in navigation path at index 0. Perhaps the navigationDestination declarations have changed since the path was encoded?\n  SwiftUI/NavigationPath.swift:596: Fatal error: throw through? 2022-06-23 21:26:29.584175+0800 Poems[12912:4425684] SwiftUI/NavigationPath.swift:596: Fatal error: throw through?\n  ```\n\n- [ ] Still need to wait for macOS 13.0 to build macOS App\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzddhub%2Fpoems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzddhub%2Fpoems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzddhub%2Fpoems/lists"}