{"id":23108048,"url":"https://github.com/donggyushin/dgbottomsheet","last_synced_at":"2025-06-22T00:04:15.007Z","repository":{"id":41581148,"uuid":"447218433","full_name":"donggyushin/DGBottomSheet","owner":"donggyushin","description":"The lightest swift bottom sheet library","archived":false,"fork":false,"pushed_at":"2022-01-30T16:16:32.000Z","size":30,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T09:09:45.202Z","etag":null,"topics":["bottomsheet","ios","swift"],"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/donggyushin.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":"2022-01-12T12:57:37.000Z","updated_at":"2023-06-06T17:56:29.000Z","dependencies_parsed_at":"2022-08-10T02:50:44.408Z","dependency_job_id":null,"html_url":"https://github.com/donggyushin/DGBottomSheet","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/donggyushin/DGBottomSheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donggyushin%2FDGBottomSheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donggyushin%2FDGBottomSheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donggyushin%2FDGBottomSheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donggyushin%2FDGBottomSheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donggyushin","download_url":"https://codeload.github.com/donggyushin/DGBottomSheet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donggyushin%2FDGBottomSheet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261212459,"owners_count":23125581,"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":["bottomsheet","ios","swift"],"created_at":"2024-12-17T01:17:14.129Z","updated_at":"2025-06-22T00:04:09.993Z","avatar_url":"https://github.com/donggyushin.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n1. [DGBottomSheet](#DGBottomSheet)\n2. [Requirements](#Requirements)\n3. [Installation](#Installation)\n4. [Usage](#Usage)\n\n# DGBottomSheet\nThe lightest swift bottom sheet library\n\n\n\u003cdiv\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/34573243/149148650-16227608-d503-4239-aa35-5b31815fc2a1.gif\" width=250 /\u003e\n\u003c/div\u003e\n\n## Requirements\n- iOS 12.0+\n- Swift 5.5+\n- Xcode 10.0+\n\n\n## Installation\n\n### SPM\n```\nFile \u003e Add Packages \u003e https://github.com/donggyushin/DGBottomSheet\n```\n\n### CocoaPod\n```\npod 'DGBottomSheet', :git =\u003e 'https://github.com/donggyushin/DGBottomSheet.git'\n```\n\n## Usage\n```\nfunc showBottomSheet() {\n    let contentsView: UIView = {\n        let view = UIView()\n        view.translatesAutoresizingMaskIntoConstraints = false\n        // You should give view height constraint anyway\n        view.heightAnchor.constraint(equalToConstant: 300).isActive = true\n        view.backgroundColor = .white\n        return view\n    }()\n    let vc = DGBottomSheet(view: contentsView)\n    // Make sure animated false \n    self.present(vc, animated: false)\n}\n\n// You can also hide DGBottomSheet programmatically\nlet vc = DGBottomSheet(view: contentsView)\nvc.hide()\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonggyushin%2Fdgbottomsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonggyushin%2Fdgbottomsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonggyushin%2Fdgbottomsheet/lists"}