{"id":28491200,"url":"https://github.com/markiv/tryswiftstarwars","last_synced_at":"2026-02-16T13:05:07.158Z","repository":{"id":59254475,"uuid":"536176405","full_name":"markiv/TrySwiftStarWars","owner":"markiv","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-14T10:29:13.000Z","size":327,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-14T19:45:39.490Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markiv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-13T14:52:43.000Z","updated_at":"2023-12-30T16:16:09.000Z","dependencies_parsed_at":"2023-01-18T07:10:12.835Z","dependency_job_id":null,"html_url":"https://github.com/markiv/TrySwiftStarWars","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/markiv/TrySwiftStarWars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markiv%2FTrySwiftStarWars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markiv%2FTrySwiftStarWars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markiv%2FTrySwiftStarWars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markiv%2FTrySwiftStarWars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markiv","download_url":"https://codeload.github.com/markiv/TrySwiftStarWars/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markiv%2FTrySwiftStarWars/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278956330,"owners_count":26075221,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-06-08T07:31:46.356Z","updated_at":"2025-10-08T14:09:06.306Z","avatar_url":"https://github.com/markiv.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Star Wars Universe Explorer\n\nThis is the Swift project we built during our **Swift Concurrency** workshop at [try! Swift World](https://www.tryswift.co/world/).\n\nIt's a SwiftUI app to explore the free data kindly provided by [The Star Wars API](https://swapi.dev).\n\nYou can step through our progress with each commit, tagged in git as follos:\n\n- **tag 1**: Intial project with a `People` DTO.\n- **tag 2**: Fetch a single \"People\" with `await`.\n- **tag 3**: Generalize fetching with `URL` extension.\n- **tag 4**: Generalize fetching with `Decodable` extension function.\n- **tag 5**: Generalize fetching with async `init` in `Decodable` extension.\n- **tag 6**: Handle HTTP error status codes.\n- **tag 7**: Generalize with `URLRequest` extension. Add aggressive caching!\n- **tag 8**: Add `PeoplePage` DTO. Fetch a page of people form API.\n- **tag 9**: Fetch all pages from API in a loop.\n- **tag 10**: Add a `People` detail view. Add a `Film` DTO.\n- **tag 11**: Thought experiment with `async let`. Add snake case decoding.\n- **tag 12**: Fetch all `Film`s with a task group.\n- **tag 13**: Move extensions. Fetch all people pages in a background task.\n- **tag 14**: Generalize fetching collections of `Decodable`s from collections of `URL`s.\n- **tag 15**: Add mock JSON to previews. Add Film detail view.\n- **tag 16**: Backport URLSession async method. Add README.\n- **tag 17**: Add an opening crawl view.\n- **tag 18**: Update README. Refactor. Use shared JSONDecoder. Update comments.\n\nhttps://user-images.githubusercontent.com/55100/190010598-5fa00a09-f76a-4256-b21b-4137969ca56a.mp4\n\n![Screenshot 1](Screenshots/1.png)\n![Screenshot 2](Screenshots/2.png)\n![Screenshot 3](Screenshots/3.png)\n![Screenshot 4](Screenshots/4.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkiv%2Ftryswiftstarwars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkiv%2Ftryswiftstarwars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkiv%2Ftryswiftstarwars/lists"}