{"id":13751806,"url":"https://github.com/AndreaMiotto/PartialSheet","last_synced_at":"2025-05-09T18:32:21.869Z","repository":{"id":37546666,"uuid":"220800387","full_name":"AndreaMiotto/PartialSheet","owner":"AndreaMiotto","description":"A SwiftUI Partial Sheet fully customizable with dynamic height","archived":false,"fork":false,"pushed_at":"2023-08-30T13:39:59.000Z","size":526,"stargazers_count":1678,"open_issues_count":14,"forks_count":191,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-08-03T09:03:18.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/AndreaMiotto/PartialSheet/wiki","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/AndreaMiotto.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}},"created_at":"2019-11-10T14:19:31.000Z","updated_at":"2024-08-01T23:03:51.000Z","dependencies_parsed_at":"2023-10-21T10:00:26.966Z","dependency_job_id":null,"html_url":"https://github.com/AndreaMiotto/PartialSheet","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreaMiotto%2FPartialSheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreaMiotto%2FPartialSheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreaMiotto%2FPartialSheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreaMiotto%2FPartialSheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreaMiotto","download_url":"https://codeload.github.com/AndreaMiotto/PartialSheet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224876976,"owners_count":17384699,"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":[],"created_at":"2024-08-03T09:00:55.130Z","updated_at":"2025-05-09T18:32:21.854Z","avatar_url":"https://github.com/AndreaMiotto.png","language":"Swift","funding_links":[],"categories":["Swift","etc","🌎 by the community"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"150\" src=\"https://user-images.githubusercontent.com/11211914/80854827-92824400-8c7e-11ea-898f-7232aaaf69ed.png\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n     \u003cimg src=\"https://img.shields.io/github/license/AndreaMiotto/PartialSheet\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/andreamiotto/PartialSheet\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/andreamiotto/PartialSheet\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/AndreaMiotto/PartialSheet\"\u003e\n\u003c/p\u003e\n\n# PartialSheet\n\n**Deprecated: The owner has no more time to maantain this project.**\n\nA custom SwiftUI modifier to present a Partial Modal Sheet based on his content size.\n\n**Version 3.0 has been released, there are a lot of breaking changes, make sure to read the guide before update!**\n\n## Index\n\n- [Features](#features)\n- [Version 3](#version-3)\n- [Installation](#installation)\n- [How To Use](#how-to-use)\n- [Wiki - Full Guide](https://github.com/AndreaMiotto/PartialSheet/wiki)\n- [Version 2](#version-2)\n\n\n## iPhone Preview\n\n| Dynamic Height | Scrollable Content | Pickers Compatible\n--|--|--\n\u003cvideo src=\"https://user-images.githubusercontent.com/11211914/156180442-0f17b29a-8a7f-4655-a74b-9ef8c58f5b7c.mov\"\u003e|\u003cvideo src=\"https://user-images.githubusercontent.com/11211914/156180453-eaebb944-14d9-4994-b4d2-2adb45e1e136.mov\"\u003e|\u003cvideo src=\"https://user-images.githubusercontent.com/11211914/156180464-52cf9a21-e892-4e1e-bfde-a36d3324977b.mov\"\u003e\n\n## iPad \u0026 Mac Preview\n  \niPad Version | Mac Version\n--|--\n\u003cimg src=\"https://user-images.githubusercontent.com/11211914/79673521-af019380-821d-11ea-82f5-49d75e83d7c0.png\" width=\"500\"\u003e | \u003cimg src=\"https://user-images.githubusercontent.com/11211914/79673482-7eb9f500-821d-11ea-93e0-60fc32e554ee.png\" width=\"600\"\u003e\n\n\n## Features\n\n#### Availables\n- \\[x] Slidable and dismissable with drag gesture\n- \\[x] Variable height based on his content\n- \\[x] Allow scrollable contents\n- \\[x] Compatible with pickers\n- \\[x] Customizable colors\n- \\[x] Keyboard compatibility\n- \\[x] Landscape compatibility\n- \\[x] iOS compatibility\n- \\[x] iPad compatibility\n- \\[x] Mac compatibility\n\n#### Nice to have\nAt the moment we developed all the most requested features, feel free to open an issue if you feel something is missing.\n\n## Version 3\nThe new version brings a lot of breaking changes and a lot of improvments:\n- A more **SwiftUI way** to call the PartialSheet.\n- Add support to **scrollable content**.\n- Add support to **Material** effect.\n- A new **Button** to avoid the *rage tapping*.\n- More Support for the pickers.\n\n## Installation\n\n#### Requirements\n- iOS 15.0+ / macOS 12.0+\n- Xcode 13+\n- Swift 5+\n\n#### Via Swift Package Manager\n\nIn Xcode 13 or grater, in you project, select: `File \u003e Add Pacakages`.\n\nIn the search bar type **PartialSheet** and when you find the package, with the **next** button you can proceed with the installation.\n\nIf you can't find anything in the panel of the Swift Packages you probably haven't added yet your github account.\nYou can do that under the **Preferences** panel of your Xcode, in the **Accounts** section.\n\n##  How to Use\n\n*You can read more on the [wiki - full guide](https://github.com/AndreaMiotto/PartialSheet/wiki).*\n\nTo use the **Partial Sheet** you need to follow just two simple steps\n\n1. Attach the **Partial Sheet** instance to your Root View in you\n```Swift\nrootView.attachPartialSheetToRoot()\n```\n2. Then in any view on the hierarchy you can use:\n\n```Swift\nview\n    .partialSheet(isPresented: $isPresented) {\n        Text(\"Content of the Sheet\")\n     }\n```\n\nYou can also use the **PSButton** to avoid the rage tapping:\n```Swift\nPSButton(\n    isPresenting: $isSheetPresented,\n    label: {\n        Text(\"Display the Partial Sheet\")\n    })\n```\n\nRemember to always add `import PartialSheet` in every file you want to use the PartialSheet.\n\nIn the **Example** directory you can find more runnable examples with more complex structures.\n\n## Version 2\nThe new version brings a lot of new features and improvements, but for now I had to drop the compatibility with iOS systems before the 15.0. If you need you can still use the version 2 pointing to the correct tag in the Package Manager.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndreaMiotto%2FPartialSheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAndreaMiotto%2FPartialSheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndreaMiotto%2FPartialSheet/lists"}