{"id":19093072,"url":"https://github.com/ryanlintott/layoutthatfits","last_synced_at":"2025-07-04T21:07:53.259Z","repository":{"id":115710226,"uuid":"501854372","full_name":"ryanlintott/LayoutThatFits","owner":"ryanlintott","description":"A SwiftUI Layout that chooses the Layout that fits.","archived":false,"fork":false,"pushed_at":"2022-08-10T17:57:48.000Z","size":19,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T13:08:31.182Z","etag":null,"topics":["layout","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/ryanlintott.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-10T00:55:15.000Z","updated_at":"2025-03-28T09:35:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"99b4b184-1f3a-41e5-a98b-f5e7d4369cb2","html_url":"https://github.com/ryanlintott/LayoutThatFits","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanlintott/LayoutThatFits","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlintott%2FLayoutThatFits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlintott%2FLayoutThatFits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlintott%2FLayoutThatFits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlintott%2FLayoutThatFits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanlintott","download_url":"https://codeload.github.com/ryanlintott/LayoutThatFits/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanlintott%2FLayoutThatFits/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263619808,"owners_count":23489563,"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":["layout","swiftui"],"created_at":"2024-11-09T03:23:14.340Z","updated_at":"2025-07-04T21:07:53.240Z","avatar_url":"https://github.com/ryanlintott.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LayoutThatFits\n\nViewThatFits is awesome but I didn't like the duplicate content and the lack of animation so I created LayoutThatFits which takes a single closure for content and an array of \"any Layout\"\n\nThe example shows an HStack and VStack but it can take any other custom layout.\n\n![2022-06-09 21 18 22](https://user-images.githubusercontent.com/2143656/172971424-aeed37fb-ed19-4e0d-9364-d2e7cb074ebb.gif)\n\nMy [tweet](https://twitter.com/ryanlintott/status/1534706352177700871) about it.\n\nThe original [Gist](https://gist.github.com/ryanlintott/d03140dd155d0493a758dcd284e68eaa)\n\n*Submission for [Dub Dub Series](https://www.swiftuiseries.com)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanlintott%2Flayoutthatfits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanlintott%2Flayoutthatfits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanlintott%2Flayoutthatfits/lists"}