{"id":17163145,"url":"https://github.com/noppefoxwolf/drawerpresentation","last_synced_at":"2025-03-22T18:33:42.711Z","repository":{"id":218050371,"uuid":"745461843","full_name":"noppefoxwolf/DrawerPresentation","owner":"noppefoxwolf","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-26T23:00:37.000Z","size":840,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-27T00:19:18.878Z","etag":null,"topics":[],"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/noppefoxwolf.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}},"created_at":"2024-01-19T11:40:22.000Z","updated_at":"2024-10-26T23:00:08.000Z","dependencies_parsed_at":"2024-01-24T19:47:15.989Z","dependency_job_id":"5da5555c-57d8-492a-8e8c-23aebbe449e5","html_url":"https://github.com/noppefoxwolf/DrawerPresentation","commit_stats":null,"previous_names":["noppefoxwolf/drawerpresentation"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FDrawerPresentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FDrawerPresentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FDrawerPresentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FDrawerPresentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noppefoxwolf","download_url":"https://codeload.github.com/noppefoxwolf/DrawerPresentation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221832333,"owners_count":16888217,"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-10-14T22:47:55.046Z","updated_at":"2025-03-22T18:33:42.701Z","avatar_url":"https://github.com/noppefoxwolf.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DrawerPresentation\n\nDrawerPresentation is a library that provides a customizable drawer presentation style for iOS applications.\n\n![](https://github.com/noppefoxwolf/DrawerPresentation/blob/main/.github/example.gif)\n\n## Installation\n\n```\n.target(\n    name: \"YourProject\",\n    dependencies: [\n        .package(url: \"https://github.com/noppefoxwolf/DrawerPresentation\", from: \"1.0.0\")\n    ]\n)\n```\n\n## Usage\n\n```swift\n\n// Add Interaction\nlet interaction = DrawerInteraction(delegate: self)\nview.addInteraction(interaction)\n\n// Delegate Example\nextension ViewController: DrawerInteractionDelegate {\n    func viewController(for interaction: DrawerInteraction) -\u003e UIViewController {\n        self\n    }\n    \n    func drawerInteraction(_ interaction: DrawerInteraction, widthForDrawer drawerViewController: UIViewController) -\u003e CGFloat {\n        300\n    }\n    \n    func drawerInteraction(_ interaction: DrawerInteraction, presentingViewControllerFor viewController: UIViewController) -\u003e UIViewController? {\n        UIHostingController(rootView: Text(\"Interactive side menu\"))\n    }\n}\n\n// Perform interaction manually\ninteraction.present()\n\n// Using transitioningDelegate directly\nself.transitionController = DrawerTransitionController(drawerWidth: 300)\nlet vc = UIHostingController(rootView: Text(\"Hello, World!!\"))\nvc.modalPresentationStyle = .custom\nvc.transitioningDelegate = transitionController\npresent(vc, animated: true)\n```\n\n## Contributing\n\nLet people know how they can contribute into your project. A contributing guideline will be a big plus.\n\n## Apps Using\n\n\u003cp float=\"left\"\u003e\n    \u003ca href=\"https://apps.apple.com/app/id1668645019\"\u003e\u003cimg src=\"https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/ca/79/32/ca7932c7-ee99-02e8-4164-2a5a99828070/AppIcon-0-1x_U007epad-0-1-P3-85-220-0.png/100x100bb.jpg\" height=\"65\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## License\n\nThis project is licensed under the terms of the MIT license. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fdrawerpresentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoppefoxwolf%2Fdrawerpresentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fdrawerpresentation/lists"}