{"id":25421806,"url":"https://github.com/rodrigoelp/cycliccarousel","last_synced_at":"2026-04-25T12:35:07.178Z","repository":{"id":137673507,"uuid":"252432166","full_name":"rodrigoelp/CyclicCarousel","owner":"rodrigoelp","description":"Sample code (experiment) to implement a cyclic carousel in SwiftUI.","archived":false,"fork":false,"pushed_at":"2020-04-03T12:54:57.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T19:22:34.662Z","etag":null,"topics":["carousel-component","swift","swiftui"],"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/rodrigoelp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-04-02T11:08:33.000Z","updated_at":"2020-04-03T12:55:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0fbff3e-1b8f-407f-af85-9bdc5b88070c","html_url":"https://github.com/rodrigoelp/CyclicCarousel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rodrigoelp/CyclicCarousel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2FCyclicCarousel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2FCyclicCarousel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2FCyclicCarousel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2FCyclicCarousel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigoelp","download_url":"https://codeload.github.com/rodrigoelp/CyclicCarousel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2FCyclicCarousel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32262801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["carousel-component","swift","swiftui"],"created_at":"2025-02-16T20:50:20.328Z","updated_at":"2026-04-25T12:35:07.170Z","avatar_url":"https://github.com/rodrigoelp.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cyclic Carousel.\n\nWho doesn't like presenting cards on a screen and go around the world? \u003csub\u003e\u003csmall\u003e(Flat earth believer? maybe?)\u003c/small\u003e\u003c/sub\u003e\n\nWhat if you need to do this in SwiftUI?\n\nWell, wait no more. Here you will find a sample code to achieve this.\n\n\u003csub\u003eSales pitch is over.\u003c/sub\u003e\n\nBasically, I was bored and saw an image of this on the internet and decided to implement it in SwiftUI.\n\n## Requirements\n- Written on xcode 11.4. \n- No extra requirements.\n\n## Pending to do:\n\n- [ ] Use `GeometryReader`, read the size already provided on each element to set it to the internal frame.\n- [ ] Allow providing the footer and header, allowing the user customise if they want it top, center or bottom aligned.\n- [ ] Make it a Swift Package if the code is good enough for anybody else to use it.\n- [ ] Update the documentation to explain how to use it.\n- [ ] Maybe defer `views` initialization when the entire view is loaded so the impact doesn't happen on initialization of the `CarouselView`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoelp%2Fcycliccarousel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigoelp%2Fcycliccarousel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoelp%2Fcycliccarousel/lists"}