{"id":17991736,"url":"https://github.com/frankdilo/fdrotationgesturerecognizer","last_synced_at":"2025-03-25T23:32:26.961Z","repository":{"id":34047224,"uuid":"37823931","full_name":"frankdilo/FDRotationGestureRecognizer","owner":"frankdilo","description":"A gesture recognizer for rotations","archived":true,"fork":false,"pushed_at":"2015-07-20T18:42:17.000Z","size":2840,"stargazers_count":22,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T23:51:25.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/frankdilo.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":"2015-06-21T20:04:41.000Z","updated_at":"2025-02-09T11:24:13.000Z","dependencies_parsed_at":"2022-07-29T18:18:54.299Z","dependency_job_id":null,"html_url":"https://github.com/frankdilo/FDRotationGestureRecognizer","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/frankdilo%2FFDRotationGestureRecognizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2FFDRotationGestureRecognizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2FFDRotationGestureRecognizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2FFDRotationGestureRecognizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frankdilo","download_url":"https://codeload.github.com/frankdilo/FDRotationGestureRecognizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245562287,"owners_count":20635896,"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-29T19:23:57.142Z","updated_at":"2025-03-25T23:32:25.096Z","avatar_url":"https://github.com/frankdilo.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FDRotationGestureRecognizer\n\nA `UIGestureRecognizer` subclass that, once added to a view, allows to easily measure the rotation performed by the user dragging on the screen.\n\n## Demo\n\nThis is just a little demo built around the gesture recognizer:\n\n![](https://github.com/frankdilo/FDRotationGestureRecognizer/raw/master/Other/demo.gif)\n\n(Video available [here](https://github.com/frankdilo/FDRotationGestureRecognizer/raw/master/Other/demo.mov) if you don't like gifs.)\n\n## How it works\n\nBasically when the user starts the gesture, the initial tap coordinates are recorded and, as the gesture continues, the angle is updated as explained in this image.\n\n![](https://github.com/frankdilo/FDRotationGestureRecognizer/raw/master/Other/explanation.png)\n\n## Credits\n\nI created this component while building the [MyFertility app](https://itunes.apple.com/it/app/my-fertility/id862972591?mt=8) to implement the circular day picker. Thanks to [@dzamir](https://twitter.com/dzamir) and Return Service for letting me open source it :)\n\n![](https://github.com/frankdilo/FDRotationGestureRecognizer/raw/master/Other/myfert.jpeg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankdilo%2Ffdrotationgesturerecognizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrankdilo%2Ffdrotationgesturerecognizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankdilo%2Ffdrotationgesturerecognizer/lists"}