{"id":16685977,"url":"https://github.com/danielsaidi/deckkit","last_synced_at":"2025-04-05T03:10:34.541Z","repository":{"id":41111793,"uuid":"291626854","full_name":"danielsaidi/DeckKit","owner":"danielsaidi","description":"DeckKit is a Swift SDK that helps you build deck-based apps in SwiftUI.","archived":false,"fork":false,"pushed_at":"2024-05-06T08:16:00.000Z","size":13992,"stargazers_count":566,"open_issues_count":1,"forks_count":14,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-13T14:09:19.553Z","etag":null,"topics":["ios","macos","swift","swiftui","tvos","visionos","watchos"],"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/danielsaidi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["danielsaidi"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2020-08-31T05:51:52.000Z","updated_at":"2024-05-22T12:47:09.081Z","dependencies_parsed_at":"2023-11-27T13:07:46.841Z","dependency_job_id":"3b10e219-cfdb-4ddd-8c9b-970874871717","html_url":"https://github.com/danielsaidi/DeckKit","commit_stats":{"total_commits":129,"total_committers":1,"mean_commits":129.0,"dds":0.0,"last_synced_commit":"7924e5451dd065b8ba5880cdea5b1bd6316f42b1"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FDeckKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FDeckKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FDeckKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FDeckKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielsaidi","download_url":"https://codeload.github.com/danielsaidi/DeckKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280272,"owners_count":20912967,"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":["ios","macos","swift","swiftui","tvos","visionos","watchos"],"created_at":"2024-10-12T15:04:05.091Z","updated_at":"2025-04-05T03:10:34.523Z","avatar_url":"https://github.com/danielsaidi.png","language":"Swift","readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"Resources/Icon.png\" alt=\"Project Icon\" width=\"250\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/danielsaidi/DeckKit?color=%2300550\u0026sort=semver\" alt=\"Version\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Swift-6.0-orange.svg\" alt=\"Swift 6.0\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/platform-SwiftUI-blue.svg\" alt=\"Swift UI\" title=\"Swift UI\" /\u003e\n    \u003ca href=\"https://danielsaidi.github.io/DeckKit\"\u003e\u003cimg src=\"https://img.shields.io/badge/documentation-web-blue.svg\" alt=\"Documentation\" /\u003e\u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/danielsaidi/DeckKit\" alt=\"MIT License\" /\u003e\n\u003c/p\u003e\n\n\n# DeckKit\n\nDeckKit is a SwiftUI SDK that lets you build deck-based apps with ease. It has a `DeckView` that can render any list of items, with support for swipe gestures, edge swipes, shuffling, etc.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"Resources/Demo.gif\" width=300 alt=\"Demo video\" /\u003e\n\u003c/p\u003e\n\nDeckKit can be customized to great extent. You can change colors, fonts, etc. and use completely custom views. It also has tools to manage favorites.\n\n\n\n## Installation\n\nDeckKit can be installed with the Swift Package Manager:\n\n```\nhttps://github.com/danielsaidi/DeckKit.git\n```\n\n\n\n## Getting started\n\nWith DeckKit, you can create a deck of cards with any type that conforms to `Identifiable`:\n\n```swift\nstruct Hobby: Identifiable {\n    \n    var name: String\n    var text: String\n\n    var id: String { name }\n}\n\nstruct MyView: View {\n\n    @State \n    var hobbies: [Hobby] = ...\n\n    var body: some View {\n        DeckView($hobbies) { hobby in\n            RoundedRectangle(cornerRadius: 25.0)\n                .fill(.blue)\n                .overlay(Text(hobby.name))\n                .shadow(radius: 10)\n        }\n    }\n}\n```\n\nDeckKit has several view components for presenting decks, e.g. `DeckView` and `DeckPageView`.\n\nSee the online [getting started guide][Getting-Started] for more information.\n\n\n\n## Documentation\n\nThe online [documentation][Documentation] has more information, articles, code examples, etc.\n\n\n\n## Demo Application\n\nThe `Demo` folder has an app that lets you explore the library on iOS, macOS, and visionOS.\n\n\n\n## Support my work \n\nYou can [sponsor me][Sponsors] on GitHub Sponsors or [reach out][Email] for paid support, to help support my [open-source projects][OpenSource].\n\nYour support makes it possible for me to put more work into these projects and make them the best they can be.\n\n\n\n## Contact\n\nFeel free to reach out if you have questions or want to contribute in any way:\n\n* Website: [danielsaidi.com][Website]\n* E-mail: [daniel.saidi@gmail.com][Email]\n* Bluesky: [@danielsaidi@bsky.social][Bluesky]\n* Mastodon: [@danielsaidi@mastodon.social][Mastodon]\n\n\n\n## License\n\nDeckKit is available under the MIT license. See the [LICENSE][License] file for more info.\n\n\n\n[Email]: mailto:daniel.saidi@gmail.com\n\n[Website]: https://www.danielsaidi.com\n[GitHub]: https://www.github.com/danielsaidi\n[Bluesky]: https://bsky.app/profile/danielsaidi.bsky.social\n[Twitter]: https://www.twitter.com/danielsaidi\n[Mastodon]: https://mastodon.social/@danielsaidi\n[Sponsors]: https://github.com/sponsors/danielsaidi\n[OpenSource]: https://www.danielsaidi.com/opensource\n\n[Documentation]: https://danielsaidi.github.io/DeckKit/\n[Getting-Started]: https://danielsaidi.github.io/DeckKit/documentation/deckkit/getting-started\n\n[License]: https://github.com/danielsaidi/DeckKit/blob/master/LICENSE\n","funding_links":["https://github.com/sponsors/danielsaidi"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsaidi%2Fdeckkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielsaidi%2Fdeckkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsaidi%2Fdeckkit/lists"}