{"id":17977940,"url":"https://github.com/coderyi/yiviewdrag","last_synced_at":"2025-09-22T17:57:52.327Z","repository":{"id":56930176,"uuid":"413364164","full_name":"coderyi/YiViewDrag","owner":"coderyi","description":"UIView extension that adds dragging capabilities","archived":false,"fork":false,"pushed_at":"2021-10-04T09:55:58.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T23:34:56.324Z","etag":null,"topics":["drag","ios","swift","view"],"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/coderyi.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":"2021-10-04T09:53:17.000Z","updated_at":"2023-03-05T00:07:56.000Z","dependencies_parsed_at":"2022-08-21T05:50:23.225Z","dependency_job_id":null,"html_url":"https://github.com/coderyi/YiViewDrag","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FYiViewDrag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FYiViewDrag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FYiViewDrag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FYiViewDrag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderyi","download_url":"https://codeload.github.com/coderyi/YiViewDrag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247099301,"owners_count":20883355,"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":["drag","ios","swift","view"],"created_at":"2024-10-29T17:30:13.760Z","updated_at":"2025-09-22T17:57:52.190Z","avatar_url":"https://github.com/coderyi.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YiViewDrag\n\n[![CI Status](https://img.shields.io/travis/coderyi/YiViewDrag.svg?style=flat)](https://travis-ci.org/coderyi/YiViewDrag)\n[![Version](https://img.shields.io/cocoapods/v/YiViewDrag.svg?style=flat)](https://cocoapods.org/pods/YiViewDrag)\n[![License](https://img.shields.io/cocoapods/l/YiViewDrag.svg?style=flat)](https://cocoapods.org/pods/YiViewDrag)\n[![Platform](https://img.shields.io/cocoapods/p/YiViewDrag.svg?style=flat)](https://cocoapods.org/pods/YiViewDrag)\n\n\n## Installation\n\nYiViewDrag is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'YiViewDrag'\n```\n\n## Usage \n\nenable drag\n\n```\nview.vd_enableDrag()\n```\n\nThe movement area can be restricted to a given rect:\n\n```swift\nview.vd_cagingArea = CGRect(x: 0, y: 0, width: 300, height: 300)\n```\n\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## License\n\nYiViewDrag 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%2Fcoderyi%2Fyiviewdrag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderyi%2Fyiviewdrag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderyi%2Fyiviewdrag/lists"}