{"id":13777592,"url":"https://github.com/terminatorover/RGStack","last_synced_at":"2025-05-11T11:33:55.842Z","repository":{"id":54465476,"uuid":"266909148","full_name":"terminatorover/RGStack","owner":"terminatorover","description":"This UI attempts to capture the Quibi Card Stack and the associated User Interaction.","archived":false,"fork":false,"pushed_at":"2021-03-06T04:11:44.000Z","size":3849,"stargazers_count":112,"open_issues_count":1,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-03-16T05:35:11.215Z","etag":null,"topics":["card","ios","stack","swift","swiftui","ui"],"latest_commit_sha":null,"homepage":"","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/terminatorover.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":"2020-05-26T00:40:18.000Z","updated_at":"2024-03-14T20:35:02.000Z","dependencies_parsed_at":"2022-08-13T16:30:57.389Z","dependency_job_id":null,"html_url":"https://github.com/terminatorover/RGStack","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminatorover%2FRGStack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminatorover%2FRGStack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminatorover%2FRGStack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminatorover%2FRGStack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terminatorover","download_url":"https://codeload.github.com/terminatorover/RGStack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224997329,"owners_count":17404622,"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":["card","ios","stack","swift","swiftui","ui"],"created_at":"2024-08-03T18:00:45.885Z","updated_at":"2024-11-17T13:30:56.406Z","avatar_url":"https://github.com/terminatorover.png","language":"Swift","readme":"# RGStack \r\n\r\nThis UI attempts to capture the Quibi Card Stack and the associated User Interaction. \r\n\r\n![Demo](RGStack.gif)\r\n\r\n### Required\r\nA View that conforms to the `ConfigurableCard` protocol\r\n\r\nRGStack is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:\r\n\r\n```ruby\r\npod 'RGStack'\r\n```\r\n\r\n### Simplest Setup\r\n\r\n```swift\r\nimport RGStack\r\n\r\nstruct ContentView: View {\r\n  let demos: [Demo]\r\n  var body: some View {\r\n      RGStack\u003cDemoCard\u003e(data: demos, size: .init(width: 320, height: 530))//convenience initializer\r\n  }\r\n}\r\n```\r\n\r\n### More configuration \r\n\r\nUse the CardInfo, which is passed to the RGStack initializer, to control more aspects of the UI Layout\r\n```swift\r\nstruct CardInfo {\r\n    let size: CGSize\r\n    let gapDistance: CGFloat\r\n    let minScaleForBackCard: CGFloat\r\n    let visibleFractionOfBottomCard: CGFloat\r\n}\r\n```\r\n\r\nA full Demo is included in the `ContentView` of the Project.\r\n\r\n## License\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n\r\n","funding_links":[],"categories":["Card"],"sub_categories":["Content"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterminatorover%2FRGStack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterminatorover%2FRGStack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterminatorover%2FRGStack/lists"}