{"id":21198236,"url":"https://github.com/b3ll/swiftygesturerecognition","last_synced_at":"2025-07-10T05:32:34.139Z","repository":{"id":152599884,"uuid":"52752664","full_name":"b3ll/SwiftyGestureRecognition","owner":"b3ll","description":"Aids with prototyping UIGestureRecognizers in Xcode Playgrounds","archived":false,"fork":false,"pushed_at":"2019-12-19T06:18:35.000Z","size":8,"stargazers_count":162,"open_issues_count":0,"forks_count":19,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-18T16:35:59.869Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b3ll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-02-29T00:33:05.000Z","updated_at":"2023-09-08T05:34:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0d839d5-feba-4b9a-b277-3f6ec6d1816d","html_url":"https://github.com/b3ll/SwiftyGestureRecognition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3ll%2FSwiftyGestureRecognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3ll%2FSwiftyGestureRecognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3ll%2FSwiftyGestureRecognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3ll%2FSwiftyGestureRecognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b3ll","download_url":"https://codeload.github.com/b3ll/SwiftyGestureRecognition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225622929,"owners_count":17498168,"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-11-20T19:49:40.576Z","updated_at":"2024-11-20T19:49:41.852Z","avatar_url":"https://github.com/b3ll.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftyGestureRecognition\n\nA drop-in library for extending UIGestureRecognizers to aid in prototyping with them in Xcode Playgrounds. \n\nDefinitely not prime for shipping I wrote it just for demo purposes, but it's fun to mess with. Use it to write less boilerplate code when trying out UIGestureRecognizers in Xcode Playgrounds.\n\nWas built for my presentation at [try! Swift 2016](http://www.tryswift.com), so be sure to check out my talk when it's posted! :D\n\nExample includes a playground that shows logging a UIPanGestureRecognizer.\n\n### How do I use it?\n\nCreate an Xcode Workspace with a playground. Drag + drop SwiftyGestureRecognition.xcodeproj into the workspace and import it into your playground: `import SwiftyGestureRecognition`.\n\nUsing UIGestureRecognizers is now pretty simple!\n\n```swift\nlet gestureRecognizer = UIPanGestureRecognizer(view: aView)\n  .didBegin { (gestureRecognizer) in\n    print(\"began\")\n  }.didChange { (gestureRecognizer) in\n    print(\"changed\")\n  }.didEnd { (gestureRecognizer) in\n    print(\"ended\")\n}\n```\n\n### How do I compile?\nXcode pretty much.\n\n### License?\nPretty much the BSD license, just don't repackage it and call it your own please!\n\nAlso if you do make some changes, feel free to make a pull request and help make things more awesome!\n\n### Contact Info?\n\nFeel free to follow me on twitter: [@b3ll](https://www.twitter.com/b3ll)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3ll%2Fswiftygesturerecognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb3ll%2Fswiftygesturerecognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3ll%2Fswiftygesturerecognition/lists"}