{"id":15562970,"url":"https://github.com/shingt/draggablemodaltransition","last_synced_at":"2025-10-05T01:57:18.008Z","repository":{"id":56908729,"uuid":"80338141","full_name":"shingt/DraggableModalTransition","owner":"shingt","description":"Enables dragging interaction and animation of scrollView in a similar way to Facebook Messenger app.","archived":false,"fork":false,"pushed_at":"2019-02-02T12:24:28.000Z","size":1738,"stargazers_count":64,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-13T08:57:54.486Z","etag":null,"topics":["animation","ios","scrollview","swift","uitableview"],"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/shingt.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":"2017-01-29T09:31:33.000Z","updated_at":"2025-02-24T04:13:20.000Z","dependencies_parsed_at":"2022-08-20T19:50:30.977Z","dependency_job_id":null,"html_url":"https://github.com/shingt/DraggableModalTransition","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/shingt/DraggableModalTransition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingt%2FDraggableModalTransition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingt%2FDraggableModalTransition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingt%2FDraggableModalTransition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingt%2FDraggableModalTransition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shingt","download_url":"https://codeload.github.com/shingt/DraggableModalTransition/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingt%2FDraggableModalTransition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399689,"owners_count":25980332,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["animation","ios","scrollview","swift","uitableview"],"created_at":"2024-10-02T16:16:58.972Z","updated_at":"2025-10-05T01:57:17.973Z","avatar_url":"https://github.com/shingt.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DraggableModalTransition\n\n[![Build Status](https://www.bitrise.io/app/774d809f168e4285/status.svg?token=WCF_C3OBjA-7ejReXNwuuQ\u0026branch=master)](https://www.bitrise.io/app/774d809f168e4285)\n[![Version](https://img.shields.io/cocoapods/v/DraggableModalTransition.svg?style=flat)](http://cocoapods.org/pods/DraggableModalTransition)\n[![License](https://img.shields.io/cocoapods/l/DraggableModalTransition.svg?style=flat)](http://cocoapods.org/pods/DraggableModalTransition)\n![Xcode 10.0+](https://img.shields.io/badge/Xcode-10.0%2B-blue.svg)\n![iOS 10.0+](https://img.shields.io/badge/iOS-10.0%2B-blue.svg)\n![Swift 4.2+](https://img.shields.io/badge/Swift-4.2%2B-orange.svg)\n\n## Introduction\n\nDraggableModalTransition enables dragging interaction and animation of scrollView in a similar way to Facebook Messenger app.  \nInspired by [zoonooz/ZFDragableModalTransition](https://github.com/zoonooz/ZFDragableModalTransition). Key difference is you can **continue dragging scrollView after you have finished scrolling to top of it** (See example below).\n\n## Example\n\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/1391330/22452012/930df092-e7b6-11e6-814a-76f5dde45d01.gif\" width=\"260\"\u003e\n\nExample project is available at `Example/DraggableModalTransition.xcodeproj`.\n\n## Usage\n\nSet an instance of `DraggableModalTransition` to `transitioningDelegate` of viewController you want to present.  \nNote that you have to keep an instance of `DraggableModalTransition` even after view is presented.\n\n```swift\nfunc presentModalView() {\n    let controller = ModalViewController()\n    let navigationController = UINavigationController(rootViewController: controller)\n \n    modalTransition = DraggableModalTransition(with: controller)\n    navigationController.transitioningDelegate = modalTransition\n    controller.modalViewControllerDelegate = modalTransition\n    present(navigationController, animated: true, completion: nil)\n}\n```\n\nFor now you also need to call `modalViewDidScroll` in your `scrollViewDidScroll`.\n\n```swift\nclass ModalViewController {\n    weak var modalViewControllerDelegate: ModalViewControllerDelegate?\n    ...\n    func scrollViewDidScroll(_ scrollView: UIScrollView) {\n        modalViewControllerDelegate?.modalViewDidScroll(scrollView)\n    }\n} \n```\n\nSee example project for more details.\n\n## Requirements\n\n* iOS9+\n* Swift 4.2+\n* Xcode 10.0+\n\n## Installation\n\nDraggableModalTransition is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"DraggableModalTransition\"\n```\n\n## Author\n\nshingt\n\n## License\n\nDraggableModalTransition is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshingt%2Fdraggablemodaltransition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshingt%2Fdraggablemodaltransition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshingt%2Fdraggablemodaltransition/lists"}